|
Author |
Message |
verto
Senior WebHelper


Joined: 14 Jan 2002
Posts: 220
Location: Cambridge MA USA
|
Posted:
Sun Mar 02, 2003 4:33 am (22 years, 1 month ago) |
  |
Have a PHP script that reloads itself into one of two modes, depending on which text link you click on. Right now it's done using the GET method, by appending different variables to the URLs, but I'd like to convert it to POST if that's not too hard. Any tips on how to do this? |
________________________________ >>>>>>>>>>>>>
GENERAL DISCLAIMER:This disclaimer may be void where null in all cases unless explicitly not unprohibited or (p)re-exclusively assigned by sufficient presedimentation on behalf of every non-interested party to wit (or so it was said).
:::
.: :. . : :....: :.: .: :. verto .: :. . : :....: :.: .: :. |
|
    |
 |
adam
Forum Moderator & Developer

Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Sun Mar 02, 2003 10:23 am (22 years, 1 month ago) |
  |
how 'bout adding an <input type="hidden" name="link" value="link1" /> or something similar, then check what $_POST['link'] is... |
________________________________ It's turtles all the way down... |
|
     |
 |
verto
Senior WebHelper


Joined: 14 Jan 2002
Posts: 220
Location: Cambridge MA USA
|
Posted:
Tue Mar 04, 2003 12:08 am (22 years, 1 month ago) |
  |
thanks for the suggestion, adam. I was trying to avoid JS, so may use a different suggestion from another forum instead. Know it's minimal tho', so who knows, may probably try both, esp. as someone else also suggested the hidden var as a good alternative. |
________________________________ >>>>>>>>>>>>>
GENERAL DISCLAIMER:This disclaimer may be void where null in all cases unless explicitly not unprohibited or (p)re-exclusively assigned by sufficient presedimentation on behalf of every non-interested party to wit (or so it was said).
:::
.: :. . : :....: :.: .: :. verto .: :. . : :....: :.: .: :. |
|
    |
 |
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.135112 seconds :: 16 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |