Re: [PHP-WIN] Extract Path from URL

2003-01-06 Thread Ignatius Reilly
1 ) ; echo $output ; HTH Ignatius - Original Message - From: "Herhuth, Ron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 3:51 PM Subject: [PHP-WIN] Extract Path from URL I'm having a tough time getting my head around r

Re: [PHP-WIN] Extract Path from URL

2003-01-06 Thread Luis Moreira
nday, January 06, 2003 2:51 PM Subject: [PHP-WIN] Extract Path from URL I'm having a tough time getting my head around regular expressions. Could somebody show me how to extract the path (minus the file name) from this URL: http://www.test.com/path1/thisdoc.html I would like to extrac

[PHP-WIN] Extract Path from URL

2003-01-06 Thread Herhuth, Ron
I'm having a tough time getting my head around regular expressions. Could somebody show me how to extract the path (minus the file name) from this URL: http://www.test.com/path1/thisdoc.html I would like to extract this: http://www.test.com/path1/ Thanks in advance, Ron -- PHP Windows Ma