This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<body> | |
<form action="upload.php" method="post" enctype="multipart/form-data"> | |
Select image to upload: | |
<input type="file" name="userfile" id="userfile"> | |
<input type="submit" value="Upload Image" name="submit"> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function getnextmonth($yyyyMM) | |
{ | |
return date('Ym', strtotime("first day of {$yyyyMM} next month")); | |
} |