View Single Post
Old 11-19-2011, 09:57 AM  
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
Quote:
Originally Posted by roly View Post
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");
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote