Re: Variables not passed on localhost setup
| From: | Ray Hunter | Date: | Wed, 01 Oct 2003 16:55:35 +0000 |
| Subject: | Re: Variables not passed on localhost setup | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164581@lists.php.net to get a copy of this message | ||
rename php.ini-recommended to php.ini and put it in C:\windows and you
can now use that file.
--
Ray
On Wed, 2003-10-01 at 10:52, Greg Watson wrote:
> Thank you for that answer! That worked perfectly!
>
> That leads me to another query, again, which I have searched for...
>
> I'd like to be able to switch Register_Globals ON, but I can't find my
> php.ini file.
>
> Running phpinfo(); tells me that my 'php.ini' file is stored in
> C:\WINDOWS, but it's not there. I've ran a file search and still can't
> find it.
> The only ones that appear are 'php.ini-dist' and 'php.ini-recommended'
> which live in the installation directory. I followed a tutorial to
> install PHP, which didn't say anything about specifying whether you have
> a php.ini file or not.
>
> Any clue as to why I don't have one, and how I should get one? I
> installed PHP v4.3.3 on Apache 1.3.
>
> Thank you again for your time, I appreciate it.
>
> Greg Watson
>
> CPT John W. Holmes wrote:
>
> >From: "Greg Watson" <greg@sportbrain.com>
> >
> >
> >>doesn't look as
> >>though variables are being passed from page to page.
> >>
> >>
> >
> >Register_globals is OFF in your php.ini file, so you need to use
> >$_GET['testvar'] instead of $testvar.
> >
> >---John Holmes...
> >
> >
> >