embedded php in html, how to tell calling html file inside ?

A

Anonymous

Guest
I have this piece of code inside a couple of my html pages

<script language="Javascript" type="text/javascript"
src="http://www.yourdomainhere.com/getrows.php"></script>

Is it possible inside the getrows.php to sell what the calling html page was.

if I use $SERVER_NAME.$PHP_SELF it returns the name of the php file. I need the name of the html it was called from.

Is it possible?

Thanks
 
Back
Top