|
Posted by Dotan Cohen on 10/21/61 11:26
On 9/12/05, Ryan A <Ryan@coinpass.com> wrote:
>
> On 9/12/2005 9:00:46 AM, Dotan Cohen (dotancohen@gmail.com) wrote:
> > I am running php 5.0.4 at home on my Fedora Core 4 box. Post and get
> > variables are not available in my scripts. For instance, in
> > file.php?foo=bar the variable $foo is empty. Same thing for variables
> > passed in forms (get or post), which is how I came across this.
> >
> > What could cause this? How could I repair it? Thanks.
>
>
> Have you checked your register_globals?
>
The 'problem' was in fact register globals. I did a little research
and decided to leave it off. So I'm accessing the variables like
$_POST['foo']. Thanks.
Dotan
http://lyricslist.com/lyrics/artist_albums/332/mccartney_paul.php
McCartney, Paul Song Lyrics
Navigation:
[Reply to this message]
|