note 74096 deleted from function.pathinfo by bobby

From: Date: Sat, 24 Mar 2007 17:41:44 +0000
Subject: note 74096 deleted from function.pathinfo by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124774@lists.php.net to get a copy of this message
Note Submitter: ---- how do i concatenate strings sent from a normal html to my php, where by the format sud be like this: "$day $month.txt" and i want to concatenate this file name to its directory so that the file can be searched and displayed. and the full path of the files sud be like this: "$DOCUMENT_ROOT/Report/$day $month.txt" i.e. "$DOCUMENT_ROOT/Report/1 JAN.txt" can anyone help me on modifying da following code into the correct code? $day.= " "; $day.= $month; $day.= ".log"; chdir('Report'); $directory = getcwd(); $file = $directory. $day; btw, how to concatenate "\" into da directory? HELP PLZ!!! Thx

« previous php.notes (#124774) next »