On Mon, 11 Apr 2005 10:09:05 -0500, in comp.lang.javascript kaeli
<tiny_one@NOSPAM.comcast.net> wrote:
[color=blue]
>| In article <e21bf$425a5628$52ade8f3$20984@news.versatel.nl> ,
irlan345@msn.com
>| enlightened us with...
>| > Hello i have this script
>| >
>| > echo " <a
>| > href=\"javascript
:openCentered('re.php?betaling=$b etaling&persemail=$email&logid=$logid&id=$id&react ie=yes&logoproep=$logoproep&persoproep=$persoproep &date=$date&logemail=$logemail','codes','480','230 ','scrollbar=yes')\"
>| > OnMouseOver=\"window.status='IndoDutchMatching!'; return true;\"
>| > OnMouseDown=\"window.status='IndoDutchMatching'; return true;\"
>| > OnMouseOut=\"window.status='IndoDutchMatching'; return true;\"><img src=\""
>| > . $fotoj . "\" border=1></a></td>\n";//[/color]
You don't want people to see this in the Address/URL bar:
betaling=$betaling&persemail=$email&logid=$logid&i d=$id&reactie=yes.....
The only way (that I know of) is to:
make all these items as hidden types
<input type="hidden" name="logid" value="<? echo logid?>" />
Place these on a form and set the method to post:
<form name="form1" method="post" action="webpage.php" >
On the 'wepage.php' then use the $_POST function to retrieve the
hidden values.
[color=blue]
>| > Only the MoueOut and MouseOver are working, why not the MouseDown, if the
>| > use presses the button, it sees all the variables, i want to hide them
>| >
>|
>| Don't look at the PHP.
>| Look at what the browser sees. The browser doesn't see PHP code.
>|
>| Open the page, then view source.
>| You might find the problem right there. I find that to be the case,
>| especially when I omit a quote or something in the PHP.
>|
>| If you still don't see it, copy the actual source from the browser here.
>|
>| Oh, BTW, it looks like you have the same thing going to the status bar for
>| onmouseover and onmousedown, so don't you think it might be hard to tell the
>| difference? ;)
>|
>| --[/color]
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------