paulman888888 Posted June 14, 2008 Share Posted June 14, 2008 I have a script that i am going to give out. I would like that script to contact my site for a few reasons, 1 being updates, and the 2nd i would like to know when people are useing my script. So can i do something like this? <?php require('http://www.somesite.com/something.php'); ?> Thankyou for all the help Paul Link to comment https://forums.phpfreaks.com/topic/110194-solved-quick-questions/ Share on other sites More sharing options...
Progr@mmer Posted June 14, 2008 Share Posted June 14, 2008 you can use fopen function Link to comment https://forums.phpfreaks.com/topic/110194-solved-quick-questions/#findComment-565502 Share on other sites More sharing options...
Darklink Posted June 14, 2008 Share Posted June 14, 2008 You can't pull a script from an external site easily and without permission from the owner. You might want to use some form of output reading of an external page and use preg_match. In which case you will want to learn about fsocket and regular expressions. Link to comment https://forums.phpfreaks.com/topic/110194-solved-quick-questions/#findComment-565504 Share on other sites More sharing options...
.josh Posted June 14, 2008 Share Posted June 14, 2008 And I would just like to point out that unless you obfuscate your code to the point of no return, people can very easily remove that sort of stuff. Link to comment https://forums.phpfreaks.com/topic/110194-solved-quick-questions/#findComment-565509 Share on other sites More sharing options...
PFMaBiSmAd Posted June 14, 2008 Share Posted June 14, 2008 Also, for that line of code to work, both allow_url_fopen and allow_url_include settings must be on. Link to comment https://forums.phpfreaks.com/topic/110194-solved-quick-questions/#findComment-565515 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.