Posted by Chuck Anderson on 11/23/05 01:09
Krustov wrote:
>Using php v4
>
><?php unlink('folder/$poop.php'); ?>
>didnt work
>
><?php unlink("folder/$poop.php"); ?>
>did work
>
>
>As subject - just curious why .
>
>
It has nothing to do with unlink.
Php only evaluates variables when they are within double quotes (or not
quoted at all, of course).
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Integrity is obvious.
The lack of it is common.
*****************************
Navigation:
[Reply to this message]
|