http://www.php.net/manual/sv/security.registerglobals.php

$_SERVER['PHP_SELF']
$_GET['id']=2

hth
Jeff


                                                                                       
                             
                    Ailon Katsutsy                                                     
                             
                    <ailonk@yahoo.       To:     [EMAIL PROTECTED]             
                             
                    com>                 cc:                                           
                             
                                         Subject:     [PHP-INST] $PHP_SELF             
                             
                    11/12/2002                                                         
                             
                    05:43 AM                                                           
                             
                                                                                       
                             
                                                                                       
                             





Hi there,

I have installed php and tried creating a basic "hello world" script.
Worked fine.

Tried to do a simple query to a MySql table. Worked fine too.

Two problems I am facing though:

1. When using $PHP_SELF i get the following error: Undefined variable:
PHP_SELF

2. When calling a php page with arguments (e.g.
http://my_server/test.php?id=2 ) i get an error: Undefined variable: id
when tring to use the passed argument.

Please help.

Thanks,

Ailon [EMAIL PROTECTED]



---------------------------------
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD




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

Reply via email to