note 48088 deleted from function.basename by betz

From: Date: Sat, 11 Dec 2004 14:32:08 +0000
Subject: note 48088 deleted from function.basename by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-81686@lists.php.net to get a copy of this message
Note Submitter: SkyFox ---- Tried this on a win2kpro with apache 2 installed. $path = "C:\Documents and Settings\Admin\Desktop\example.gif" $file = basename($path); // outputs example.gif When attempting the same code on a linux with apache 1.3.33(unix) I get "C:\\Documents and Settings\\Admin\\Desktop\\example.gif" as output. Any idea why? ---- Reason: useless note

« previous php.notes (#81686) next »