Tell me Curt, where is it copyrighted? US/Canada/Worldwide? Where is it registered? What do you intended to do to protect your copyright? What makes this code unique that it can be copyrighted to you? Do you understand copyrighting and intellectual property? You just made that code public on a public list - does that nullify the copyright? Why did you post the code if it was not with the intent to share?
Perhaps you should think twice/thrice/four-times before you post copyrighted code - I can guarantee you that it will be used over and over and over by many a person - and you did not even include a credit in the code. Silly boy :) On 7/20/03 1:26 AM, "Curt Zirzow" <[EMAIL PROTECTED]> wrote: > I know this isn't your code but... > > * Thus wrote Justin French ([EMAIL PROTECTED]): >> [...] >> >> // test the URL >> // it's important that you dont put http:// or it will not work >> // the 2nd paramater is how long to test the URL b4 timing out >> $found = fsockopen($url, 10); > > $found = fsockopen($host, $port, $errno, $errstr, $timeout); > >> >> // act on it >> if($found) >> { >> echo "URL http://{$url} could not be found, thus is considered >> invalid"; > > hm... actually this is found but any way but any way since it is found > might as well check the uri.. > > fputs($found, "GET $uri HTTP/1.0\r\nHost: $host\r\n\r\n"); > > $status = fgets($found) > list(proto, $result, $result_text) = split($status); > if ($result != 200 ) { > echo "url is bad, give me a better one"; > } else{ > echo "thank you for for the url"; > } > >> } >> ?> > > and of course > fclose($found); //we dont want the rest of the page. > > > hmm.. I think I did to much.. just that other peoples code frighten me > sometimes.... > > btw, the above code is copyrighted so dont use it. > > cheers, > > Curt -- Cheers Mike Morton **************************************************** * * Tel: 905-465-1263 * Email: [EMAIL PROTECTED] * **************************************************** "Indeed, it would not be an exaggeration to describe the history of the computer industry for the past decade as a massive effort to keep up with Apple." - Byte Magazine Given infinite time, 100 monkeys could type out the complete works of Shakespeare. Win 98 source code? Eight monkeys, five minutes. -- NullGrey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php