PDA

View Full Version : $_POST with 404?



Moh
27-11-2010, 06:01 AM
Is there a way that you can still process a $_POST if the 404 page is php?

triston220
27-11-2010, 01:45 PM
Can you please explain your problem in greater detail?

Dentafrice
27-11-2010, 05:39 PM
Unless it redirects (which will lose the POST data)... should be able to...

Put this on your 404 page and see if you can process any POST data..



<?php
echo "<pre>" . print_r($_POST);
?>


Should work.. I think.

Moh
28-11-2010, 01:02 PM
Unless it redirects (which will lose the POST data)... should be able to...

Put this on your 404 page and see if you can process any POST data..



<?php
echo "<pre>" . print_r($_POST);
?>


Should work.. I think.
Doesn't take any post :(

Hum, is there any way to set the server to send across the post with the redirect?

Dentafrice
29-11-2010, 01:58 AM
I'm not posting this Google search to be a ****, but the first few links are helpful and easier than posting each individual link:

http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=apache+404+POST

Want to hide these adverts? Register an account for free!