Create a document in your html root directory called info.php. Make it contain the following (no html is needed here, just the three lines below) :
<?php echo phpinfo(); ?> Now access this file in a browswer and look at the top for Configuration File Path. That will be where php is expecting to see the php.ini file. Good luck, Michael PS Your hotmail account is bouncing mail due to disk space usage. > -----Original Message----- > From: b b [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 20, 2003 4:22 PM > To: Stembridge, Michael > Subject: RE: [PHP-INST] php and forms > > > > Hi, > I am using Linux. Where would I find it there? > Cheers, > b. > --- "Stembridge, Michael" > <[EMAIL PROTECTED]> wrote: > > register_globals is set in php.ini. > > > > You'll need to restart apache in order for the > > changes to take effect. > > > > (fyi... register_globals is not affected by > > ini_set().) > > > > Michael > > > > > > > -----Original Message----- > > > From: b b [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, March 20, 2003 4:14 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [PHP-INST] php and forms > > > > > > > > > > > > You are right Tiago. When I did the _POST ... it > > > finally saw it. So where do I find and set > > > register_globals. In the Apache config files? > > > > > > > > > > > > > > > --- "Tiago N. Sampaio" <[EMAIL PROTECTED]> wrote: > > > > Whats´s your php version? > > > > > > > > In newer versions of php, register_globals is > > off > > > > by default, or you > > > > enable it on php.ini > > > > or you use $_GET["Variable_name"] in your case > > > > $_GET["TestVar"] (This > > > > can be $_POST["VAR"]) > > > > > > > > Ok... > > > > test this and say the result... > > > > > > > > > > > > Thanks... > > > > > > > > PS: Sorry my poor english... > > > > > > > > Hugs > > > > Tiago N. Sampaio > > > > Departamento Internet > > > > www.planae.com.br > > > > (14) 224-3066 > > > > Bauru/São Paulo/Brazil > > > > > > > > ----- Original Message ----- > > > > From: "b b" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Thursday, March 20, 2003 5:19 PM > > > > Subject: [PHP-INST] php and forms > > > > > > > > > > > > > > > > > > Hi, > > > > > This could be a silly mistake or it could be > > a > > > > sign > > > > > of configuratin problems. Simply put, my > > submitted > > > > > form variables are not reaching the recieving > > end: > > > > > > > > > > A form: > > > > > > > > > > <form method=post action="testForm.php"> > > > > > <input type="text" name="testVar"> > > > > > <input type="submit" name="submit" > > > > value="submit"> > > > > > > > > > > </form> > > > > > > > > > > A recieving file testForm.php: > > > > > <html> > > > > > <body> > > > > > <?php > > > > > printf("<br>testVar is : %s", $testVar); > > > > > ?> > > > > > </body> > > > > > </html> > > > > > > > > > > > > > > > When entering value like testtest in the form > > > > element > > > > > I still get the following in the recieving > > file: > > > > > > > > > > testVar is : > > > > > > > > > > > > > > > i.e. the form variable is not submitted or > > not > > > > > recieved. I also tried doing it through the > > url > > > > > .../testForm.php?testVar=whatever and still > > the > > > > > testVar is empty. > > > > > > > > > > Is there a configuration problem I should be > > > > aware of > > > > > as clearly it is not a code issue? > > > > > > > > > > Thanks, > > > > > b. > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > > Do you Yahoo!? > > > > > Yahoo! Platinum - Watch CBS' NCAA March > > Madness, > > > > live on your desktop! > > > > > http://platinum.yahoo.com > > > > > > > > > > -- > > > > > PHP Install Mailing List (http://www.php.net/) > > > > > To unsubscribe, visit: > > > > http://www.php.net/unsub.php > > > > > > > > > > > > > > > > > > > > > > -- > > > > PHP Install Mailing List (http://www.php.net/) > > > > To unsubscribe, visit: > > http://www.php.net/unsub.php > > > > > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > Yahoo! Platinum - Watch CBS' NCAA March Madness, > > live on your desktop! > > > http://platinum.yahoo.com > > > > > > -- > > > PHP Install Mailing List (http://www.php.net/) > > > To unsubscribe, visit: > > http://www.php.net/unsub.php > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > http://platinum.yahoo.com > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php