473,609 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Apache 1.3.27, PHP 4, SuSE 8.2 PRO - Form-Post Failure

I've recently done an upgrade installation to SuSE PRO 8.2 from
same/8.0.

The problem now is that I don't seem to be receiving data from forms
to PHP-processing pages using either POST or GET for the form method.

When I use GET, I see that the URL has been correctly formed with the
variable name embedded in the URL along with the properly formed
value:

http://www.whatever.com/test.php?mai...rocess+Request

Then, in a sample php script:
<?
print "main: $main<BR/>\n";
if ($main == "") {
print "main is blank<BR/>\n";
}
?>

All I get in the output HTML on the test php script is the "main: "
portion of the print command - the variable is reported as a null and
tests positive for a null.

The php function test() shows mod_php4 is loaded. I have
performed/duplicated these results with the firewall on and the
firewall off. Not that I think the firewall is an issue since the GET
method shows, via the URL, that the variable information is passed
across forms. But I did read somewhere that a firewall can impact the
POST method so I turned it off to try it - no change in the results.

Even tho the info is being passed (GET), it's not accessible by
var-name access in the PHP script. All the php scripts on my server
are so affected and were working prior to the upgrade.

Any ideas? I also suspect this is why my squirrelmail installation
stopped working.

Thanks!

--Mike
Jul 16 '05 #1
1 2746
Got it...

In my php receiver script, I added the code as follows:

$<PHPVARNAME> = "$_POST[<HTTPVARNAME>]";

For example, I am passing the variable txtName from the HTTP input
form (text box) to the PHP script. In the PHP script, then, I would
write:

$txtName = "$_POST[txtName]";

Now, I can "see" $txtName within the PHP code instead of it being
blank.

--Mike
Jul 16 '05 #2

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

Similar topics

0
2886
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ??
3
2091
by: Oliver | last post by:
Hi, I have a strange problem and I am not sure where to look for the core reason. I have a homepage in php which is working fine since ages and I have now a new server with a fresh Suse 9.1 installation and all apache + php modules installed (coming with Suse). My side is working allright apart from my image gallery which does not generate any error message but I can only see a few "random" images. First I thought ok my php script needs...
2
1648
by: Andrew Pasetti | last post by:
Hello, Executing phpinfo() from the command line and on the browser reveal that the CLI and Apache API have different config statements. How would I resolve this? I would like the CLI API to have the same config as the Apache API. Your advice will be greatly appreciated. Thanks,
1
1634
by: Lukas Schnieper | last post by:
Hi all I tried to install the mod_python (www.modpython.org) for Apache Webserver. By configure with ../configure --with-apxs /usr/sbin/apxs2-prefork i get this error: configure: error: yes not found or not executable SuSE Linux 8.2
18
1697
by: Randell D. | last post by:
Folks, This must get asked reasonably often however I've had tried viewing groups.google.com and the apache/php web pages and not found a specific answer. Basically, is Apache 2 officially supported with PHP, and if so, which version of PHP? The last I heard the PHP website had Apache 2 with PHP4 running for
2
2651
by: s2s Paris | last post by:
<<"failed to open stream no such directory or file>> Avez vous trouve ? J'ai le meme genre de probleme en essayant d'installer en local avec SuSE 10 apache2 php4 , il me semble qu'il manque un package mais lequel ? Le problème vient probablement de la variable include_path du fichier /etc/php.ini qui est mal configurée.
3
5164
by: madunix | last post by:
My Server is suffering bad lag (High Utlization) I am running on that server Oracle10g with apache_1.3.35/ php-4.4.2 Web visitors retrieve data from the web by php calls through oci cobnnection from 10g release2 PHP is configured with the following parameters './configure' '--prefix=/opt/oracle/php' '--with-apxs=/opt/oracle/apache/bin/apxs' '--with-config-file-path=/opt/oracle/apache/conf' '--enable-safe-mode' '--enable-session'...
0
1736
by: sebor | last post by:
October 29, 2007 -- The Apache C++ Standard Library project is pleased to announce that the official stdcxx 4.2.0 release is now available for download from the following location: http://people.apache.org/dist/incubator/stdcxx/releases/ For additional details see the stdcxx Download page: http://incubator.apache.org/stdcxx/download.html#releases The Apache C++ Standard Library is a full implementation of the C++ Standard Library...
13
2846
by: Ilias Lazaridis | last post by:
How to detect memory leaks of python programms, which run in an environment like this: * Suse Linux 9.3 * Apache * mod_python The problem occoured after some updates on the infrastructure. It's most possibly caused by trac and it's dependencies, but several components of the OS where updated, too.
1
3392
by: reptoid | last post by:
Hi there, I know this question has been probably asked before, but all the answers I found couldn't help me. I am a noob when it comes to Linux, so please bear with me. I am running Suse Enterprise Server 10 and I installed Apache 2 and PHP 5 according to the installation guidelines, and I created the common test.php file. The Problem is I keep getting this error (from apache errorlog): (13) Permission denied: file permissions deny server...
0
8121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8559
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8519
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8208
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8386
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6987
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6050
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4010
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4068
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.