Re: php and javascript error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Open the page with IE 7, and open the source, if it doesn't show any <? or
?> tags, then it is a IE problem..

Tijnema


On 3/7/07, Németh Zoltán <znemeth@xxxxxxxxxxxxxx> wrote:

2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta:
> I've just run into this problem this morning....
>
> <a href="#" onclick="javascript:window.open('web_forward.php?address=<?
> echo $web_url; ?>&agent=<? echo $agent; ?>&real_company_name=<? echo
> $real_company_name; ?>', 'Web Site');">
>
> This produces an "Error on Page" in IE 7, but works perfectly in Firefox
> and Netscape.
>
> I have several other javascript calls on the page where this call
> resides and all of them work perfectly except for this one. Does this
> error occur because I'm sending the variables to another script that
> does some logging then forwards the user to the URL or is it just a IE
> quirk?
>

I'm almost sure it has nothing to do with php
rather javascript, and maybe microsoft's special javascript
interpretations...

greets
Zoltán Németh

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux