[PHP] php 4.2.3 giving prob.

2002-10-02 Thread Anil Garg

hi,
i am facing a strange problem
i am using php 4.2.3 the url says
http://ipaddress/admin/add_doc.php?id=264mode=add;.
but in the php file when i try to print $id and $mode it couldnt print the
values..

but in some other files it successfully reads the parameters from url.

moreover, the same code is working fine in some older version of php..(on
another machine)

what m i doing wrong here?
can someone give me some pointers.

thanx and regards
anil


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] php 4.2.3 giving prob.

2002-10-02 Thread Rasmus Lerdorf

Turn on register_globals in your php.ini

On Wed, 2 Oct 2002, Anil Garg wrote:

 hi,
 i am facing a strange problem
 i am using php 4.2.3 the url says
 http://ipaddress/admin/add_doc.php?id=264mode=add;.
 but in the php file when i try to print $id and $mode it couldnt print the
 values..

 but in some other files it successfully reads the parameters from url.

 moreover, the same code is working fine in some older version of php..(on
 another machine)

 what m i doing wrong here?
 can someone give me some pointers.

 thanx and regards
 anil


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php