Hello everyone,
I have XAMPP for Linux and installed in my Mandriva 2006 box.
I changed httpd.conf default 404 page to:
ErrorDocument 404 http://localhost/showy/showy.php
When a page that does not exist is reached, apache redirects it to showy.php ok.
The problem is: if I have a form page like this:
<html>
<body>
<form action="nonexistent.php" method="post">
Text: <input type="text" name="txt1"><br />
<input type="submit">
</form>
</body>
</html>
When I submit it, I get an empty $_POST array on my custom 404 page (showy.php)
According too PHP docs it should work fine. I suspect it's some parameter on httpd.conf that comes with XAMPP.
Has somebody gone through that ?
Thaks
Emerson Ribeiro