|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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.
|
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Apache, PHP, and reqeust methods problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|