PHP and mysql script error in webhosting
| From: | Sukanto Kho | Date: | Tue, 10 Aug 2004 03:45:14 +0000 |
| Subject: | PHP and mysql script error in webhosting | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-35648@lists.php.net to get a copy of this message | ||
Hi all,
My php files run well in my local PC
but some of PHP and mysql script just getting error when running in webhosting server.
I found out that the problem is in the way webhosting server handling global variable.
for example :
In my local PC : $_GET['var'] is different with $var
but in webhosting server : $GET['var'] is the same with $var... I don't need to
declare $var=$_GET['var'] 'cause $var is the same with $_GET['var']...
Anyone have such a problem before?
Thanx
By regard;
Flame