note 54735 rejected from function.preg-replace by betz

From: Date: Thu, 14 Jul 2005 06:02:47 +0000
Subject: note 54735 rejected from function.preg-replace by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-91933@lists.php.net to get a copy of this message
Note Submitter: webdesign at cerebella dot com ---- chick in distress.any php guru that would help me figure out why this statement doesnt work? $subfolders = preg_replace("#https?://[^/]+(/?.*)#", "\$1", $sdurl); trying to get rid of the root url, ex: http://localhost // leaving only the subfolders, ex: /mambo/ any ideas? still does see the root url so i get duplicates.:(((

« previous php.notes (#91933) next »