PHP has no $_POST values
| Newsgroups | php.general |
|---|---|
| Message-ID | <CACOt7mEOZTX8g_p1Oz7S0G5V6E4r=gYpmDpNj4XOmkTDWJb28Q@mail.gmail.com> |
Hi,
Ive got an odd situation. Ive been developing a new page / section to
my website (PHP / PHP Smarty templates)
A week ago, it was working fine for this particular script, But today
when i revisit it, there's NO $_POST values being received by the
script at all.
Other scripts in the same directory, work fine. Ive created a
sub-directory and moved the scripts (included files & main script for
the one I'm working on) into the subdirectory and still no $_POST
values.
The top of my script looks like this (no other information or processing)
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
echo "<pre>1\n".print_r($_POST,true)."</pre>\n";
RESULT = a blank/empty array. Other scripts in the directory (now
parent directory) work fine.
Does anyone have ideas on what may be preventing the POST values ?
PS the htaccess file only contains 2 lines :-
RewriteEngine on
DirectoryIndex provisional.php
QUESTION 2:- Are there any instructions on how to use this php forum ?
I'm getting NO information at the footer of these messages - archive ?
how to change settings etc ?
--
Gordon.