Re: [PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-23 Thread Jochem Maas
Dan Rossi wrote: On 23/02/2006, at 8:45 PM, Jochem Maas wrote: Dan Rossi wrote: Ok it looks like when i exploded the urls by a comma, one has space exploding the urls??? - this list is not called 'php-psychics' for a reason. i.e. don't assume we know that you happen to have a string which

Re: [PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-23 Thread Dan Rossi
On 23/02/2006, at 8:45 PM, Jochem Maas wrote: Dan Rossi wrote: Ok it looks like when i exploded the urls by a comma, one has space exploding the urls??? - this list is not called 'php-psychics' for a reason. i.e. don't assume we know that you happen to have a string which contains 'urls' tha

Re: [PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-23 Thread Jochem Maas
Dan Rossi wrote: Ok it looks like when i exploded the urls by a comma, one has space exploding the urls??? - this list is not called 'php-psychics' for a reason. i.e. don't assume we know that you happen to have a string which contains 'urls' that you seem to explode on a comma before going on

Re: [PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-22 Thread Dan Rossi
Ok it looks like when i exploded the urls by a comma, one has space padding, i had to trim it first, the array was coming out like host=>__http path=>//www.thedomain.com :\ On 23/02/2006, at 1:05 PM, Chris wrote: Dan Rossi wrote: Ive just discovered a strange issue where parse_url is not spli

Re: [PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-22 Thread Chris
Dan Rossi wrote: Ive just discovered a strange issue where parse_url is not splitting up the url properly. in the host key its returning like //www.php.net where the url is http://www.php.net. any ideas ? If the behaviour changed between versions without it being documented or noted somewh

[PHP] parse_url not parsing hosts with www properly in php 5.1.2

2006-02-22 Thread Dan Rossi
Ive just discovered a strange issue where parse_url is not splitting up the url properly. in the host key its returning like //www.php.net where the url is http://www.php.net. any ideas ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php