[PHP] Re: PHP] can't pass complete URL (part of the query string) from

2002-11-26 Thread Nicole Lallande
Dear Martin Erwin, Tried the urlencode - same thing happened - the variables after the first one were chopped off - so a href=email.php?ref=?=urlencode($pageURL);?this page/a where the url is http://mydomain.com/displayem.php3?cat=5olimit=0zid=1lid=1 results in

Re: [PHP] Re: PHP] can't pass complete URL (part of the query string) from

2002-11-26 Thread Chris Shiflett
--- Nicole Lallande [EMAIL PROTECTED] wrote: a href=email.php?ref=?=urlencode($pageURL);?this page/a where the url is http://mydomain.com/displayem.php3?cat=5olimit=0zid=1lid=1 results in http://mydomain.com/displayem.php3?cat=5 being passed and the 'olimit=0zid=1lid=1' gets cut off

[PHP] Re: PHP] can't pass complete URL (part of the query string) from

2002-11-26 Thread Nicole Lallande
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=5olimit=0zid=1lid=1; method=post but below in the text area where I display it: ?php

Re: [PHP] Re: PHP] can't pass complete URL (part of the query string) from

2002-11-26 Thread Chris Shiflett
--- Nicole Lallande [EMAIL PROTECTED] wrote: form action=http://embitec.com/fishcart/email.php?ref=http://embitec.com/fishcart/displayem.php3?cat=5olimit=0zid=1lid=1; method=post There is your problem right there. Here are the variables you are passing:

[PHP] Re: PHP] can't pass complete URL (part of the query string)

2002-11-26 Thread Nicole Lallande
Chris - Tried that -- I have urlencode in the script that sends the url and I have url encode right below the form action -- ref is getting cut off at the first ampersand - regardless: where: form

Re: [PHP] Re: PHP] can't pass complete URL (part of the query string)

2002-11-26 Thread Chris Shiflett
--- Nicole Lallande [EMAIL PROTECTED] wrote: Tried that I'm thinking you haven't, but I might be wrong. The HTML you showed us previously was of a form tag. The action attribute of that form tag is where your problem lies. form

[PHP] Re: PHP] can't pass complete URL (part of the query string) - aha-- that worked - except for the javascript

2002-11-26 Thread Nicole Lallande
Chris -- I took out the javascript call to window.open and included the fix the way you described it and it worked! Thanks for clearing it up for me. Now I just have to figure own why the javascript is chopping the variable. Thanks for all your help! Best regards, Nicole I'm thinking