PHP on localhost
PHP on localhost
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- unfittoprint0
Due to security issues register_globals are set to off. And should remain like that.
To make every (form or others) variable work when passed to PHP you should include at the beginning:
foreach ($HTTP_POST_VARS as $key => $value) {
$$key = $value;
//echo "$key = $value";
}or
foreach ($HTTP_GET_VARS as $key => $value) {
$$key = $value;
//echo "$key = $value";
}