GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 17-Dec-2004, 12:05
nniehoff nniehoff is offline
Member
 
Join Date: Aug 2001
Location: US
Posts: 115
nniehoff has a spectacular aura about

Forms and PHP


I am helping someone with their code and I have run into an interesting problem. There are 14 php scripts each generate a form and post to the next. Each form has about ten elements. Everything works fine until the 6th form. At which time the $_SERVER variables go null. I put a phpinfo() in this 6th script and all of the variables under the "PHP Variables" section are empty. Any ideas?
BTW this is php 4.2.2.
Nick
  #2  
Old 18-Dec-2004, 03:16
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
all $_SERVER vars empty?

that can only mean something is wrong with php or your webserver.

a php upgrade might solve it, 4.3.10 is the latest.
And a webserver upgrade might also help.

unless the 6th script does something like a
PHP Code:

unset($_SERVER); 


it must be php/webserver related.

try lokking for a "unset" in the scripts and comment it out when it unsets a var that starts with "$_"
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #3  
Old 20-Dec-2004, 07:33
nniehoff nniehoff is offline
Member
 
Join Date: Aug 2001
Location: US
Posts: 115
nniehoff has a spectacular aura about
That was it thanks. I was hoping this would be something simple I am not looking forward to a server upgrade.

Nick
 
 

Recent GIDBlogToyota - 2008 August Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP form needs validation jabesign MySQL / PHP Forum 16 05-Jan-2005 00:23
passing parameters between forms eeschumann MySQL / PHP Forum 4 31-Oct-2003 00:12
Why do we need PHP by itself? conkermaniac MySQL / PHP Forum 5 27-May-2003 06:09
[class] Generate Forms Without Using HTML! Elmseeker PHP Code Library 6 11-Mar-2003 12:05

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 17:34.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.