473,396 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can't read form variables after reinstalling Apache

I reinstalled Apache (2.0.52) and added the appropriate lines to run
php scripts to the bottom of the httpd.conf file. The scripts run fine
(for example, 'print "Hello!"' yields "Hello!" rather than displaying
all of the code (which would occur if the php script wasn't being
processed by php.exe first). However, variables passed from a form are
read as null/empty. Any idea why, and/or how I can fix this? I found
it hard to believe that there would ever be a configuration setting
for that kind of thing (since it's the 'meat and potatoes' of
server-side web scripting), but I looked through the httpd.conf file
extensively nonetheless and could find nothing that looked like it
could be set to adjust for this. I'm having the same problem now when
I install it on my Linux system as well.

thanks for any help/advice

Jonathan
Jul 17 '05 #1
1 1515
"Jonathan" <th***************@yahoo.com>
However, variables passed from a form are
read as null/empty. Any idea why, and/or how I can fix this?


<? phpinfo(); ?>

Direct your form to another page with only this line and check if you get
$_REQUEST, $_POST or $_GET -variables of any kind. If you dont find your
values anywhere in those, then maybe its your form or also check those
register_globals, gpc etc. etc.

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Spidah | last post by:
I have set up PHP with Apache on windows xp. However I notice that the SCRIPT_NAME & SCRIPT_FILENAME enviromental variables are incorrectly being set to php.exe Is there a way around this? ...
7
by: cantelow | last post by:
Greetings all. Is there a way to turn off the zend code that comes with php so that I can see if some errors we are getting are coming from there? I can't find anything in install docs or in...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
3
by: tigerwang1974 | last post by:
I had previously installed php-4.3.9 and apache-2.0.49 on my solaris9 server and written a php script for user login, it ran well until today...:-( today for some reasons I upgraded php to...
6
by: dylan.boudreau | last post by:
My configuration is Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7d PHP/5.0.4 on Solaris 10. phpinfo() lists the location of php.ini as /usr/local/apache/conf and my php.ini file is there but...
1
by: Shashank | last post by:
Hi all, I am a new member of this community. I am making a http request to a html file placed on a Apache server. On this page there is an embeded perl statement which requires reading ...
11
by: cybervigilante | last post by:
I can't seem to change the include path on my local winmachine no matter what I do. It comes up as includ_path .;C:\php5\pear in phpinfo() but there is no such file. I installed the WAMP package...
2
by: Deane | last post by:
Is it possible to *set* Apache credentials via PHP? I know you can read Apache credentials from PHP, but I want PHP to tell Apache that a session is authenticated. Essentially, I want to do...
8
lifeisgreat20009
by: lifeisgreat20009 | last post by:
What might be the possible cause ? I have created a website using struts framework, jsp In my transaction page the money is not getting transferred.. When I hit the submit button in my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.