Re: PHP] can't pass complete URL (part of the query string) from
| From: | Nicole Lallande | Date: | Tue, 26 Nov 2002 17:27:32 +0000 |
| Subject: | Re: PHP] can't pass complete URL (part of the query string) from | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-126135@lists.php.net to get a copy of this message | ||
Chris -- thanks! didn't think to look - the 'ref' variable is being passed correctly in the form action=:
<form action="http://embitec.com/fishcart/email.php?ref=http://embitec.com/fishcart/displayem.php3?cat=5&olimit=0&zid=1&lid=1" method="post">
but below in the text area where I display it:
<?php echo $ref; ?> or even <?php echo $_GET['ref']; ?>
it comes out as:
http://embitec.com/fishcart/displayem.php3?cat=5
???
Best,
Nicole
--- Nicole Lallande <nicole@nmlconsulting.com> wrote:
<a href="email.php?ref=<?=urlencode($pageURL);?>">this page</a> where the url is http://mydomain.com/displayem.php3?cat=5&olimit=0&zid=1&lid=1 results in http://mydomain.com/displayem.php3?cat=5 being passed and the '&olimit=0&zid=1&lid=1' gets cut offCan you visit this page, view source, and show us what the <a href> tag looks like after it is processed by PHP? Chris -- ######################## Nicole Lallande nicole@nmlconsulting.com 760.753.6766 ########################