Re: [PHP] form post without pathinfo

2001-03-18 Thread Clayton Dukes

Yeah,
I just can't figure out how to do it.
Anyone care to enlighten me?
Clayton Dukes

- Original Message - 

From: Chris Anderson 
To: Clayton Dukes 
Sent: Wednesday, March 14, 2001 1:04 PM
Subject: Re: [PHP] form post without pathinfo


Sounds like you just need to use $PHP_Self with your other variables after it, 
that way it gets the right settings
ex:
echo $PHP_SELF$color$etc
  - Original Message - 
  From: Clayton Dukes 
  To: [EMAIL PROTECTED] 
  Sent: Saturday, March 17, 2001 4:57 PM
  Subject: [PHP] form post without pathinfo


  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



--


  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]



[PHP] form post without pathinfo

2001-03-17 Thread Clayton Dukes



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]