Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
Moderator / Template Diva
Offline
Joined: Mar 2000
Posts: 3,594
Ok, I am very new to PHP and MySQL, so please forgive my ignorance with this stuff. But the company I work for has appointed me to do their website, and I figure PHP/MySQL is prolly gonna be the easiest way to do it. So I'm teaching myself those languages in order to start working on it. But I'm running into problems.

I'm running Apache 2.0.36, PHP 4.2.1, and MySQL 3.23.49 all on my localhost Windows 2000 box. These work mostly fine, as far as I can tell. I can run PHP scripts (including PHPMyAdmin), connect to the database with them, etc. But my problem is, in either Apache or PHP, something is causing HTTP header information to not get sent or received correctly. Like, I make a form and attempt to send all the fields via GET/POST and have PHP add them all to the database, but the fields either don't get sent or don't get received correctly, regardless of whether I'm using GET or POST. Thus, nothing gets added to the database. The GET version does put all the form fields into the URL, but when the page is reloaded they do not get interpreted or something. They're just skipped over like they aren't even there.

Now, I've uploaded the script to my own actual website (which is on Linux) and it works perfectly. You can see it here - fill in the form and hit Submit, and it just echoes back what you filled in. Works fine and dandy. But it won't work on my localhost one.

So my question is, did I do something wrong with either PHP or Apache that's causing it to not use the header vars? Some configuration setting I missed, maybe? Thanks in advance for any help you can provide, it's much appreciated!!!

---Jamin


Don't put that signature in your mouth! You don't know where it's been!
Sponsored Links
Entire Thread
Subject Posted By Posted
HTTP header vars not working in PHP Jamin 06/07/2002 9:06 PM
Re: HTTP header vars not working in PHP Brett 06/13/2002 11:26 PM
Re: HTTP header vars not working in PHP Jamin 06/15/2002 12:20 AM
Re: HTTP header vars not working in PHP Brett 06/17/2002 11:58 PM
Re: HTTP header vars not working in PHP Matt Jacob 06/18/2002 11:40 AM
Re: HTTP header vars not working in PHP Jamin 06/21/2002 4:34 PM
Re: HTTP header vars not working in PHP AllenAyres 06/27/2002 9:47 PM
Re: HTTP header vars not working in PHP Matt Jacob 07/03/2002 9:10 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)