note 61312 deleted from function.stristr by bjori

From: Date: Mon, 27 Mar 2006 21:24:35 +0000
Subject: note 61312 deleted from function.stristr by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-106785@lists.php.net to get a copy of this message
Note Submitter: elbekko at gmail dot com ---- Made this bit of code to check make a valid URL in a link posting script: <?php if(!stristr($link,"http://")) { $link = "http://" . $link; } ?> Really handy :P

« previous php.notes (#106785) next »