Posts by ipocampo • 13 points
1 post
-
1
votes1
answer274
viewsQ: Upload file to a folder inside the root folder with PHP
Based on the PHP documentation code on fileupload I created the following code: <?php $uploaddir = './novo/side'; $uploadfile = basename($_FILES['userfile']['name']); echo '<pre>'; if…