Re: [PHP-INST] PHP_SELF

2003-01-06 Thread Jeffrey_N_Dyke
o.za>cc: Subject: [PHP-INST] PHP_SELF 01/06/2003

[PHP-INST] PHP_SELF

2003-01-06 Thread Eugene Wolff
Hi, I am very new to php. I have installed and done some simple scripts for eg. Display 'Hello World', read entries from a database but when I try and put something into a database I get problems. I use $PHP_SELF in the script but when I open it I get the following error:- Notice:

Re: [PHP-INST] $PHP_SELF

2002-11-12 Thread Jeffrey_N_Dyke
Ailon Katsutsy cc: Subject: [PHP-INST] $PHP_SELF

[PHP-INST] $PHP_SELF

2002-11-12 Thread Ailon Katsutsy
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 pa

RE: [PHP-INST] PHP_SELF

2002-04-29 Thread LIMBOURG Arnaud
hello, it is probably because in 4.2 register globals are set to off by default. you have two choices: 1. do a search and replace on your scripts looking for $PHP_SELF and changing it to $_SERVER['PHP_SELF'] 2. assuming you use a common config file you can add $PHP_SELF = $_SERVER['PHP_SELF']

Re: [PHP-INST] PHP_SELF

2002-04-29 Thread Jim Thome
Scott-- The variable PHP_SELF requires the directive "register_globals" (automatically create variables) to be on, which it is by default in PHP < 4.2. For security reasons, enabling this directive IS NOT a good idea, and the default installation has been changed in PHP 4.2. For more informa

[PHP-INST] PHP_SELF

2002-04-29 Thread Scott McAnally
I am relatively new to PHP, but I have a problem that no one else has talk about, so I'm guessing it's something simple. I'm running PHP on WinXP (with IIS). I upgraded from PHP 4.1.2 to PHP 4.2, and now all of of my scripts that use the variable PHP_SELF do not work. Undefined variable. I figured

Re: [PHP-INST] $PHP_SELF = php4/php.exe on win2000

2001-09-20 Thread Bertrand PERRINE
Use the function phpinfo() in your script and choose. B. Le 2001.09.20 15:27, [EMAIL PROTECTED] a écrit : > Hi, > I'm sure this point has been discussed thousand of times, but does anyone > know what to do to make the $PHP_SELF working well under win2000 because > in > my case, > > echo $PHP_SEL

Re: [PHP-INST] $PHP_SELF = php4/php.exe on win2000

2001-09-20 Thread Data Driven Design
nt: Thursday, September 20, 2001 9:27 AM Subject: [PHP-INST] $PHP_SELF = php4/php.exe on win2000 Hi, I'm sure this point has been discussed thousand of times, but does anyone know what to do to make the $PHP_SELF working well under win2000 because in my case, echo $PHP_SELF retu

[PHP-INST] $PHP_SELF = php4/php.exe on win2000

2001-09-20 Thread youx
Hi, I'm sure this point has been discussed thousand of times, but does anyone know what to do to make the $PHP_SELF working well under win2000 because in my case, echo $PHP_SELF returns php4/php.exe/path_to_my_file.php I understood tha this piece of path (php4/php.exe) is tooken in the Apache