Jump to content

Small Question?


xyn

Recommended Posts

How do you mean?  If you have have any other questions about things?  Just ask :) 

In regards to the unlink() it would work like this:

[code]
<?php

$filename = "myfile.txt";

if(file_exists($filename)) {
  unlink($filename);
} else {
  echo "I cannot find the file to delete.";
}

?>
[/code]
Link to comment
https://forums.phpfreaks.com/topic/21860-small-question/#findComment-97625
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.