Re: [PHP] Javascript Src and HTTP_REFERER

2005-08-16 Thread Jasper Bryant-Greene
Dotan Cohen wrote: And, the thing is, within this javascript_dump.php, HTTP_REFERER shows nothing, because it gives you the referer of the html page (page1) that contains this

Re: [PHP] Javascript Src and HTTP_REFERER

2005-08-16 Thread Dotan Cohen
On 8/6/05, Cabbar Duzayak <[EMAIL PROTECTED]> wrote: > Hi, > > I have a web page (say page1) which refers to a php within javascript tag as: > > src="http://mysite.com/javascript_dump.php";> > > As you can see, this calls a ph

Re: [PHP] Javascript Src and HTTP_REFERER

2005-08-05 Thread Joe Wollard
I haven't tested this and it's off the top of my head so don't shoot me if I'm off track here ;-) You could possibly use some embedded javascript to set a cookie with the current URL stored in it. This would be easy to spoof as well, but not quite as easy as appending ?site=xyz. (shrug) j

[PHP] Javascript Src and HTTP_REFERER

2005-08-05 Thread Cabbar Duzayak
Hi, I have a web page (say page1) which refers to a php within javascript tag as: http://mysite.com/javascript_dump.php";> As you can see, this calls a php file which dumps javascript. The problem here is, within this php I couldn't get which page it is called from. Basically, if it comes f