Quote:
Originally Posted by roly
allow_url_include = on in my php.ini which i believe is a big security risk.
|
mostly a huge waste of resources if both sites are on the same server.
Quote:
the include is just so i can test various popups over 100's of sites by just changing the javacript in the one file.
|
1. use readfile() instead of include() as the contents of the file won't need to be parsed for php code.
2. readfile("/full/path/to/whereever/u/put/thefile/file.js");