473,799 Members | 3,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
3
7,659
thread by: Mike | last post Nov 1 '05 by: Chung Leong
I'm new to PHP - moving over from ASP. I have a number of include files, the first of which sets the value of a variable $loginmsg. I use that variable in a subsequent include file, but get a "Notice: Undefined variable loginmsg" warning. I've had a good look at previous posts concerning this warning, and see that isset() is recommended...
7
5,847
thread by: 7 | last post Nov 1 '05 by: Jerry Stuckle
I installed postgres and phppgadmin debian unstable (on ProMepis RC4) but I can't seem to access it. I type http://localhost/phppgadmin and it says file not found. Look in /var/www and sure enough, its not there and neither are any files relating to the phppgadmin. How do I get this thing to work?
7
23,824
thread by: Maximus | last post Oct 31 '05 by: Tezza
a simple questions. how can I echo a variable made on in a PHP file inside a tpl file. the TPL file is included inside the PHP file. any suggestions?
121
10,188
thread by: typingcat | last post Oct 31 '05 by: Andrew DeFaria
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode support IDEs are DreamWeaver 8 and Zend PHP Studio. DreamWeaver provides full support for Unicode. However, DreamWeaver is a web editor rather...
5
1,543
thread by: Nicole | last post Oct 31 '05 by: Ian B
My website gathers some data on its first page, which is used on other pages. I would like to 'store' the data in some session variables between visits, to prevent any problems that may occur if a visitor bookmarks a different page. What is the best way of achieving this? Can I store the values in a cookie on the clients pc? Thanks for...
11
2,199
thread by: John Moore | last post Oct 31 '05 by: John Moore
Hi, I must be missing something obvious. I cannot get this function to run the update query on Line 6, although the call to run the query evaluates true, and both update_cat_total functions execute, while the function itself returns true. A var_dump shows that all the variables are valid, and I can run the exact same update query at...
1
1,436
thread by: PaowZ | last post Oct 31 '05 by: Joe Estock
Hello there! Just wondered which mailing class do you use for your php sites? I've been using phpmailer for several months but I encounter some troubles using it now... Do you know good mailer class ? thanks a lot.
2
2,687
thread by: ZioBit | last post Oct 31 '05 by: ZioBit
Hello, I am still a beginner of PHP, and while I found out the way to print all the variables passed as a POST, I was wondering (for debugging purposes) if there is a simple way to tell the PHP interpreter to print out all the variables that have been used during that session, without storing anything anywhere, and without buying a...
1
1,603
thread by: mirnazim | last post Oct 31 '05 by: mirnazim
Hi, I have to develop a web based information system for an educational institution. It is going to be a 100% OO code. Therefore I also need an Object Relational Mapper. I have not used any object relational mapper so far, apart from some home grown classes that implement simple Row to Object mappings. Now these classes are becomming...
6
1,864
thread by: AP | last post Oct 31 '05 by: Lennart Björk
I have not seen any good examples on how to connect to a mySQL db. My website uses phpMyAdmin to administer the SQL databases. What confuses me is where are the databases that I create located? For example, if my website is www.mywebsite.com and I have installed myphpadmin in the folder tkd, now using this I have created two databases, one...
1
2,476
thread by: f3l_ | last post Oct 31 '05 by: Marcin Dobrucki
I need to deflate a tar.gz file, using php, and i have no shell access, please, im using php 4.3.11 on a iis 5.0 (i know, i sucks), i need to know weather or not thats possible thanks in advance.
5
1,800
thread by: Krustov | last post Oct 31 '05 by: Chung Leong
<?php $dirname = "."; $dh = opendir($dirname); while ($file = readdir($dh)) { if (is_dir ("$dirname/$file")) { print ""; } print "$file<br>";
2
2,506
thread by: codefixer | last post Oct 30 '05 by: Philip Ronan
Hello: The phpBB sites are hacked. If you search for "HACKED BY CYBER-ATTACK" on msn.com you will get a list of all the sites hacked. Anyone knows what is the way to clean this up ? Thanks.
4
4,079
thread by: swayze | last post Oct 30 '05 by: Chung Leong
Hi, I'm sending some vars to php from javascript. These vars contain special chars (like "&" ,",")and also turkish characters. Therefore I'm using javascripts escape() function to be able to send them properly. My problem is on the php side. I am using rawurldecode to convert them back. However, Turkish characters like "I" (capital "I"...
7
7,771
thread by: Marius III | last post Oct 30 '05 by: Gordon Burditt
Hi there, I want to get the file version of a file in PHP. Do somebody have the code for this? Thanks alot!
2
8,685
thread by: Techie Guy | last post Oct 30 '05 by: Techie Guy
I'm trying to process a tab delimited file where each line in the file has around 12 tab delimited elements. My problem is the elements are surrounded by "quotes" and I need the script to remove the quotes after loading the file to the $addresses variable. The quotes need to be removed somewhere within the code below or by processing the file...
0
1,982
thread by: Florian Lindner | last post Oct 30 '05 by: Florian Lindner
Hello, I have a recent version of phpBB (http://xgm.de/forum) on my own webserver. Everything works fine, only the automatic login does not work with all browsers. Cookies are accepted of course. Anyone got a idea what could be the problem? Thanks, Florian
13
1,540
thread by: kimshapiro100 | last post Oct 30 '05 by: Ewoud Dronkert
Question on PhP, MySQL I am thinking of a consumer internet business for which I will have to build a database driven site. I am thinking of using PhP, MySQL as the main technologies amd Linux hosting( and some Dreamweaver). My question is:
4
1,581
thread by: Jimmy Clay (www.songofthecoyote.com) | last post Oct 30 '05 by: Peter van Schie
On my website I have Guestmap that is written in PHP. I did not write it but got it from a freeware site. Anyway it works well, except I've discovered that if someone writes a message and uses the enter key, that will hangup the GuestMap. There is no error message, the icons simple will not load and no one else can enter a message. My...
3
1,714
thread by: John | last post Oct 30 '05 by: paul
Hi all The following code ( using target='_blank' ) opens a "normal" big size window. <a target='_blank' href='page2.php'>HERE</a> How can I open a window with a small size? TIA
4
1,571
thread by: BN | last post Oct 30 '05 by: Ira Baxter
Are there any free php source obfuscation tools? Thanks
5
2,334
thread by: Thierry | last post Oct 30 '05 by: Geoff Berrow
Hello. Is it possible to send an email with some HTML code ? I tried the following code, where $msg == '<html><body>... blah blab blah etc.</body></html>' : // Adresse de l'expediteur $entete = "From: $from \n";
0
1,799
thread by: Marius III | last post Oct 30 '05 by: Marius III
Hi there, I am building a File download counter in PHP5. It's working fine but the problem is that its not working with any Download Managers for ex: Free Download Manager / DAP etc. The download manager downloads the actual PHP script file. How can I correct this? Here is my code:
1
2,522
thread by: andrew.hearne | last post Oct 29 '05 by: Dana Cartwright
Hello I've almost finished my website, though the client has asked for an extra field in the Admin Panel, I've managed to do this in SQL and Admin/English/products.php though I was just wondering how to get this displayed in the admin panel itself It's called Products Location which needs to go under Products Model Thanks
5
1,438
thread by: el_roachmeister | last post Oct 29 '05 by: R. Rajesh Jeba Anbiah
I am working on a spider script but I only want to parse english pages. Is there a way I can check to see what language the content is in? I suppose I could restrict my spider to just .com , .org, etc so foreign countries would not get parsed.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.