form post without pathinfo
| From: | Clayton Dukes | Date: | Sat, 17 Mar 2001 21:57:28 +0000 |
| Subject: | form post without pathinfo | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44411@lists.php.net to get a copy of this message | ||
Hi :-)
How can I convert from this:
<form method=POST action="<? echo $PHP_SELF; ?>/approve">
</form>
...snip
} elseif ($pathinfo == "/approve") {
do something...
to something that posts to itself without altering the path?
My problem is, I'm using themes which are dependent on the path, so if I post using the method
above, the path changes and screws up the images, colors, etc after the user submits.
TIA!
Clayton Dukes