fopen() question

From: Date: Fri, 28 Feb 2003 19:50:29 +0000
Subject: fopen() question
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-15960@lists.php.net to get a copy of this message
What am I doing wrong? I have tried all of these versions inside a for loop and only the handcoded text will work in the function fopen(). It seems that fopen("filename","r"); isnt the same as $temp = "filename"; fopen("$temp","r"); or fopen($temp,"r"); or $temp = "filepath".formatted($generated#)."filename"; fopen("$temp","r"); or fopen($temp,"r"); but$temp = "filepath".formatted($generated#)."filename"; will print the same as a handcoded peice of text.

« previous php.mirrors (#15960) next »