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
--- 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
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
--- 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:
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
--- 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
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
7 matches
Mail list logo