Re: [PHP] Correct URL's

2002-01-27 Thread David Robley
In article 007901c1a588$120a6150$3c01a8c0@quasimodo, [EMAIL PROTECTED] says... - Original Message - From: Alexander Weber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 10:34 AM Subject: Re: [PHP] Correct URL's Stefan Rusterholz wrote SNIP Please do

RE: [PHP] Correct URL's

2002-01-27 Thread Dave Brotherstone
Stefan Rusterholz wrote SNIP Please do not send HTML messages. Sorry, Outlook is crap and I'm just too lazy to buy (on Win you have to buy almost everything) another e-mail client for my working machine. http://www.pegasus.org/ It's free and a bit more virus resistant than a

Re: [PHP] Correct URL's

2002-01-27 Thread Alan McFarlane
r [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 10:34 AM Subject: Re: [PHP] Correct URL's Stefan Rusterholz wrote SNIP Please do not send HTML messages. Sorry, Outlook is crap and I'm just too lazy to buy (on Win you have to buy almost everything) another e-mai

[PHP] Correct URL's

2002-01-25 Thread Stefan Rusterholz
Hi I have a HTML-Form where user's can enter their website-address. Some of you know the resulting problem for sure: most users enter www.php.net, some users enter http://www.php.net; and some others enter http://www.php.net/;. The last version is IMHO the most correct form.

Re: [PHP] Correct URL's

2002-01-25 Thread Alexander Weber
Stefan Rusterholz wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable What was the best way to check, if the give address really exists? Just try this function: http://www.php.net/manual/en/function.gethostbyname.php It returns the IP address of the

Re: [PHP] Correct URL's

2002-01-25 Thread Stefan Rusterholz
- Original Message - From: Alexander Weber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 10:34 AM Subject: Re: [PHP] Correct URL's Stefan Rusterholz wrote What was the best way to check, if the give address really exists? Just try this function: http

Re: [PHP] Correct URL's

2002-01-25 Thread Alexander Weber
Stefan Rusterholz wrote: http://www.php.net/manual/en/function.gethostbyname.php But if I understand this function right, It will only work for URLs like http://www.php.net/ - what if the user has a free space from his ISP which is located in a subdir like http://www.php.net/users/myhome/?