RE: [PHP] HREFs that can't be

From: Date: Fri, 02 Mar 2001 03:36:26 +0000
Subject: RE: [PHP] HREFs that can't be
Groups: php.general 
Request: Send a blank email to php-general+get-42277@lists.php.net to get a copy of this message
>> <a href="/hispage.php?var1=xxx&var2=yyy">Here<a/><br> >> <a href="/otherpage.php">There<a/><br> >> <a href="/thatpage.php?joe=bob">This Place<a/><br> >> <a href="/lapage.php?this=that&his=hers&here=there">That >> Place<a/><br> >> ----------- >> As you know, those variables are being passed to the >> linked page via GET variables. Now, here comes the >> oddball question: >> How can I (is it even possible) pass those variables >> to each page w/o using GETs and w/o using Cookies. > POST. So basically each one of my links would have to be it's own form with each one of the variable number of GET vars as hidden elements along with the SESSID? And no, I couldn't make it one big form because: a) the GET variables can have the same name but different values b) these links could be right next to or miles apart from each other, depending on positioning. And if they each have to be their own form, that would do some funky things with regards to display... Lining them up would be a bitch. :p Also, how would I set the (previously GET) vars up as session variables? I'd have to post to yet another script which would set the session variables and in turn SUBMIT (with just the SESSID this time) to the actual page (remember, I can no longer use any GET variables so the header() function would be out) that is the final destination... Like I said, it's been one of those days and the above is the only solution I can come up with to my environment scenario/dilema. I'm hoping there is a better way. Chris

« previous php.general (#42277) next »