[wellylug] php help on Ubuntu needed
Brent Wood
pcreso at pcreso.com
Mon Apr 18 16:18:36 NZST 2005
Hey y'all...
I'm struggling to wrap my head around php/html... I have a problem which I hope
some of the Linux/php gurus around can help with.
My first efforts were on a Fedora system, all went as well as any programming I
undertake is likely to :-)
I then had to move it all to an Ubuntu system & the problem started....
(see, Linux is actually in here somewhere :-)
I have a recursive php file, it gets values from the system & from a Postgres
DB, prompts the user for input, all pretty trivial & working OK.
Pressing the submit button should invoke the same file, with several variables
populated, which are written to a db table & the user can continue. All fine
under Fedora...
On the Ubuntu box, I get the initial form OK, the location string (as I'm using
get, not post) shows all the variables OK on the "command line" when I press
the submit button, but none of the vars are populated if I access them.
eg: http://localhost/session.php?save=insert (location bar sfter submit)
in the php:
echo "save :$save:<br>" shows only "save ::" on screen. Same for all the other
vars listed in the location.
So the file always goes to the form where no variables are set, tries to fill
them, invokes itself with the variables & loses them all somehow to go to the
same place I just left.
Does anyone know why? Some php package I need but didn't install?? Do I need a
cgi package or something (just some wild guesses).
Any help appreciated.
(One free NZ GIS LiveCD to the person who gets the correct answer!!!)
Brent
More information about the wellylug
mailing list