Padding problem with \ and ""

From: Date: Wed, 13 Nov 2002 15:36:57 +0000
Subject: Padding problem with \ and ""
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124227@lists.php.net to get a copy of this message
Hi all: Iam trying to generate a string which contain real path to a perticular folder to copy the uploaded file I might move this application to client machine, so i decised to generate the string dynamically when i try to concatnate the realpath() value and the destination path like this $real_Path=realpath("../../Index.php"); $real_path= $real_path."\defaultFolder\SubFolder\"; it generate an error, I don't know how to escape/padd for this "" and \ charectors. I hope you guys can help me to solve this issue I really appreciate your help Thanks Prad __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2

« previous php.general (#124227) next »