Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old December 18th, 2004, 11:33 AM
jcb jcb is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 4 jcb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Apache, PHP, and reqeust methods problem

Apache 1.3.33
PHP/5.0.2

I've set up the apache server and have simple php pages displaying properly. However, when I try to do a simlpe form, the form methods result in empty arrays on the php side. I have tried using get and post to no avail.
When using "get", the query string has the appended information, but the $_GET variable is empty. Because I am not trying any complex code, and have tried using multiple examples from different sites with form code, I have to guess there is some sort of config problem with either Apache or php. Any help would be great.

Reply With Quote
  #2  
Old December 18th, 2004, 11:24 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
ok in order for us to help you, you will need to be more detailed as to what the problem is. without telling us, what's wrong how can we help you.

1.what operating system is apache on
2.what did you add to the httpd.conf for apache
3.what error are you getting exactly
__________________
Apache Expert

Reply With Quote
  #3  
Old December 19th, 2004, 09:08 AM
jcb jcb is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 4 jcb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry...

1. running on Windows XP pro
2. other than changing the server address and name the only things I added were the php lines: loadmodule, addmodule, and addtype - attc the conf
3. I am not getting errors, only notices when I try to acces the _GET and _POST.
the notice is 'PHP Notice: Undefined index: variable....'
I have tested code that works on a seperate Apache and php installation and it fails as well, so I am fairly confident the problem is not with the code directly.

Thanks.
Attached Files
File Type: txt httpd.txt (35.8 KB, 284 views)

Reply With Quote
  #4  
Old December 19th, 2004, 03:10 PM
jcb jcb is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 4 jcb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The _GET and _POST are empty arrays. With _GET I can see the variable information correctly in the query string, but when I var_dump the variable to the screen it is an empty array. Somehow the values are not getting set to the variables.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache, PHP, and reqeust methods problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway