Re: php code to upload a url correctly
| From: | Jochem Maas | Date: | Fri, 26 Jan 2007 16:24:47 +0000 |
| Subject: | Re: php code to upload a url correctly | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247834@lists.php.net to get a copy of this message | ||
Stut wrote:
> Jochem Maas wrote:
>> Németh Zoltán wrote:
>
...
>
> I don't have numbers, but I'd bet this is quicker than doing a parse_url.
I didn't realise speed was an issue. and if it really was an issue I would suggest
offloading the url normailization into a batch routine that is run outside of any
web request - i.e. merely take the input store it somewhere as-is for later
normalization and insertion into the DB. (most likely total overkill)
personally I think robustness & correctness are more important than speed.
>
> -Stut
>