roby2k
08-26-2002, 05:51 PM
i got a script i want to give to some 1 but i want the script to have my link and mini banner in it, so i want some help on making a bit to look for it and if it carnt find it it will display a message
![]() | View Full Version : need help roby2k 08-26-2002, 05:51 PM i got a script i want to give to some 1 but i want the script to have my link and mini banner in it, so i want some help on making a bit to look for it and if it carnt find it it will display a message Ahmad 08-26-2002, 07:40 PM You mean won't run if the banner is not displayed? Or you want to have a script on YOUR server that checks to see if the banner is there or not? roby2k 08-27-2002, 06:01 AM it wont run if the banner isnt displayed Ahmad 08-27-2002, 09:40 AM There is now way to do that. If they can remove the banner, they can remove the code that checks for the existance of the banner. michaeln 08-27-2002, 01:42 PM You would have to encode the script so they couldn't take the code out... But if you are going to encode the script then you really don't need to check and see if it is showing the banner. Rather just program the script to show it. Then when it is encoded they can't not show the banner... Regards, Michael roby2k 08-27-2002, 03:57 PM i want to put the bit that stops them in a remote file if thats possible if not ill hide it in with some code and when they look over it they wotn know what it is they dont know php you see michaeln 08-27-2002, 04:23 PM well if they don't know php you can hide it. Or put the file containing that function on your site and do this: require("http://yoursite.com/filename.txt"); remember to make it a .txt so that your server returns the code and not the codes output... Also note that if your site is ever down for some reason it will cause their site to fail... Since you are coding their site just put your banner where you want it... If you are afraid they will find it then put the code to display the banner in a function also stored on your site and call that function. Also make the function set a global variable to a specified number to check for later so that you can check to see if they deleted the function call. If so the site fails... Again if they decide to up and learn PHP one day they can change all of that. Regards, Michael roby2k 08-29-2002, 11:50 AM i should of thought of that b4 |