Markh789 Posted August 24, 2008 Share Posted August 24, 2008 Hi, I'm making a license system due to "i'm Bored" In visual basic 6 you can go if instr(str, "Hello") Then.. Basicly "If "Hello" is inside of the string "str" then.." How can I add that onto this; <?php $opensite = fsockopen('www.site.com/checklicense.php?license=' . $license, 80); while(!feof($opensite)) { $endcode .= fgets($opensite, 128); } fclose($website); } ?> Link to comment https://forums.phpfreaks.com/topic/121079-creating-a-license-system-help/ Share on other sites More sharing options...
Fadion Posted August 24, 2008 Share Posted August 24, 2008 <?php $st = 'hello phpfreaks buddies'; if(strpos($str, 'hello')){ echo 'Ahh you found -hello-'; } ?> Link to comment https://forums.phpfreaks.com/topic/121079-creating-a-license-system-help/#findComment-624188 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.