Re: Help Formatting String into URL
| From: | Curt Zirzow | Date: | Sat, 10 Jul 2004 20:05:10 +0000 |
| Subject: | Re: Help Formatting String into URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190138@lists.php.net to get a copy of this message | ||
* Thus wrote Ryan Schefke:
> Hi,
>
>
>
> Can someone help me write a short code snippet to format a string to add:
>
>
>
> http://www <http://www/>
> -- if the string is "google.com" and doesn't have
> http://www <http://www/>
> in front of it
This is really not a good idea to do blindly, what if I was
submitting a site that was like say.. news.php.net?
you will simply break things.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!