You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jim Mohler <ja...@email.msn.com> on 2002/12/09 00:16:44 UTC
[users@httpd] php4 and form variables on apache
I have been working to configure RedHat 8.0, Apache with virtual servers,
php4 and mysql. I intend to use this server strictly as an internal
development server. I have the virtual server, php4, and mysql working as
near as I can tell but... when I submit a form to php scripts using the post
method the variables are not passed. These scripts work with my hosting
site on the net. I have taken the following steps:
1. Verified the directories have adequate permissions: 755
2. Made the files and the directory owners the same - root
3. Verified the scripts still work on the live host
4. Read and reviewed any documentation I could find on both PHP4 and Apache
regarding Get and Post methods
The php scripts run and produce the page but I have error handling that
looks for appropriate values in the variables that should be passed. For
debugging purposes I display the variable names, and values and if required
fields are empty and the scripts terminate.
I believe there must be an option in httpd.conf that must be set for this to
work but at this point I must ask for help because I cannot find it. Hope
someone knows what to do to get this working.
Jim Mohler
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] php4 and form variables on apache
Posted by "Thomas C. Meggs" <to...@plik.net>.
No, the problem is with PHP. They don't support Apache2.
Regards,
Tom
Ciolo_-^DusT^-_WebMaster wrote:
> the problem is with apache 2.x
>
> php have to much problem....
> by
> CioloWeb
> ----- Original Message -----
> From: "Jim Mohler" <ja...@email.msn.com>
> To: <us...@httpd.apache.org>
> Sent: Monday, December 09, 2002 12:16 AM
> Subject: [users@httpd] php4 and form variables on apache
>
>
>
>>I have been working to configure RedHat 8.0, Apache with virtual servers,
>>php4 and mysql. I intend to use this server strictly as an internal
>>development server. I have the virtual server, php4, and mysql working as
>>near as I can tell but... when I submit a form to php scripts using the
>
> post
>
>>method the variables are not passed. These scripts work with my hosting
>>site on the net. I have taken the following steps:
>>
>>1. Verified the directories have adequate permissions: 755
>>2. Made the files and the directory owners the same - root
>>3. Verified the scripts still work on the live host
>>4. Read and reviewed any documentation I could find on both PHP4 and
>
> Apache
>
>>regarding Get and Post methods
>>
>>The php scripts run and produce the page but I have error handling that
>>looks for appropriate values in the variables that should be passed. For
>>debugging purposes I display the variable names, and values and if
>
> required
>
>>fields are empty and the scripts terminate.
>>
>>I believe there must be an option in httpd.conf that must be set for this
>
> to
>
>>work but at this point I must ask for help because I cannot find it. Hope
>>someone knows what to do to get this working.
>>
>>Jim Mohler
>>
>>
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] php4 and form variables on apache
Posted by Ciolo_-^DusT^-_WebMaster <ci...@tin.it>.
the problem is with apache 2.x
php have to much problem....
by
CioloWeb
----- Original Message -----
From: "Jim Mohler" <ja...@email.msn.com>
To: <us...@httpd.apache.org>
Sent: Monday, December 09, 2002 12:16 AM
Subject: [users@httpd] php4 and form variables on apache
> I have been working to configure RedHat 8.0, Apache with virtual servers,
> php4 and mysql. I intend to use this server strictly as an internal
> development server. I have the virtual server, php4, and mysql working as
> near as I can tell but... when I submit a form to php scripts using the
post
> method the variables are not passed. These scripts work with my hosting
> site on the net. I have taken the following steps:
>
> 1. Verified the directories have adequate permissions: 755
> 2. Made the files and the directory owners the same - root
> 3. Verified the scripts still work on the live host
> 4. Read and reviewed any documentation I could find on both PHP4 and
Apache
> regarding Get and Post methods
>
> The php scripts run and produce the page but I have error handling that
> looks for appropriate values in the variables that should be passed. For
> debugging purposes I display the variable names, and values and if
required
> fields are empty and the scripts terminate.
>
> I believe there must be an option in httpd.conf that must be set for this
to
> work but at this point I must ask for help because I cannot find it. Hope
> someone knows what to do to get this working.
>
> Jim Mohler
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] php4 and form variables on apache
Posted by Ciolo_-^DusT^-_WebMaster <ci...@tin.it>.
I can tell you that it will not work anyway!
----- Original Message -----
From: "Jonathan Villa" <ap...@ftbwebsolutions.com>
To: <us...@httpd.apache.org>
Sent: Monday, December 09, 2002 1:22 AM
Subject: RE: [users@httpd] php4 and form variables on apache
>
> When you look for your submitted form values, try $_REQUEST['your_var']
>
> Or just set register globals = on in your php.ini file, but that's not
> recommended.
>
> Reason it works on your host could be because they register_globals set
> to on.
>
>
> -----Original Message-----
> From: Jim Mohler [mailto:jamoe@email.msn.com]
> Sent: Sunday, December 08, 2002 5:17 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] php4 and form variables on apache
>
> I have been working to configure RedHat 8.0, Apache with virtual
> servers,
> php4 and mysql. I intend to use this server strictly as an internal
> development server. I have the virtual server, php4, and mysql working
> as
> near as I can tell but... when I submit a form to php scripts using the
> post
> method the variables are not passed. These scripts work with my hosting
> site on the net. I have taken the following steps:
>
> 1. Verified the directories have adequate permissions: 755
> 2. Made the files and the directory owners the same - root
> 3. Verified the scripts still work on the live host
> 4. Read and reviewed any documentation I could find on both PHP4 and
> Apache
> regarding Get and Post methods
>
> The php scripts run and produce the page but I have error handling that
> looks for appropriate values in the variables that should be passed.
> For
> debugging purposes I display the variable names, and values and if
> required
> fields are empty and the scripts terminate.
>
> I believe there must be an option in httpd.conf that must be set for
> this to
> work but at this point I must ask for help because I cannot find it.
> Hope
> someone knows what to do to get this working.
>
> Jim Mohler
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] php4 and form variables on apache
Posted by Jonathan Villa <ap...@ftbwebsolutions.com>.
When you look for your submitted form values, try $_REQUEST['your_var']
Or just set register globals = on in your php.ini file, but that's not
recommended.
Reason it works on your host could be because they register_globals set
to on.
-----Original Message-----
From: Jim Mohler [mailto:jamoe@email.msn.com]
Sent: Sunday, December 08, 2002 5:17 PM
To: users@httpd.apache.org
Subject: [users@httpd] php4 and form variables on apache
I have been working to configure RedHat 8.0, Apache with virtual
servers,
php4 and mysql. I intend to use this server strictly as an internal
development server. I have the virtual server, php4, and mysql working
as
near as I can tell but... when I submit a form to php scripts using the
post
method the variables are not passed. These scripts work with my hosting
site on the net. I have taken the following steps:
1. Verified the directories have adequate permissions: 755
2. Made the files and the directory owners the same - root
3. Verified the scripts still work on the live host
4. Read and reviewed any documentation I could find on both PHP4 and
Apache
regarding Get and Post methods
The php scripts run and produce the page but I have error handling that
looks for appropriate values in the variables that should be passed.
For
debugging purposes I display the variable names, and values and if
required
fields are empty and the scripts terminate.
I believe there must be an option in httpd.conf that must be set for
this to
work but at this point I must ask for help because I cannot find it.
Hope
someone knows what to do to get this working.
Jim Mohler
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org