Hello all -
Just migrated a PHP/MySQL-driven web site from a development box to the live box. Development running FreeBSD, live running Redhat.
Problem: no forms are working that carry more than one variable in the form action.
For example:
action='/admin/index.php?sec=5&subsec=1'
Forms that have only one variable work fine. More than one, it just ignores it. Submits with no error messages, but does not perform the task.
I tried changing them into hidden inputs instead of passing them through the form action URL, still doesn't work.
This worked fine on my development server, so the code is fine. Just ignores the action variables.
Any clues? Config problem?
Many thanks,
Steve
Form actions
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
There's also a bit in the php.ini you may want to check:
Could be that that is set to ignore &.
In regards to register_globals are you using the $_GET array to get the information from the URL.
Mac
Code: Select all
; List of separator(s) used by PHP to parse input URLs into variables.
; Default is "&".
; NOTE: Every character in this directive is considered as separator!
;arg_separator.input = ";&"In regards to register_globals are you using the $_GET array to get the information from the URL.
Mac