Doom87
11-09-2007, 10:23 PM
Ok i'm using php to save a webpage to the webserver. The saved file's name is supposed to be equal to the variable $uic I can't get it to display the value of $uic
heres the code:
$return = file_put_contents('../../../archives/docs/account_details/$uic.txt', $content);
that saves the file called $uic.txt instead of printing: 7706869110330709208613965.txt
does anybody know how i can fix this?
heres the code:
$return = file_put_contents('../../../archives/docs/account_details/$uic.txt', $content);
that saves the file called $uic.txt instead of printing: 7706869110330709208613965.txt
does anybody know how i can fix this?