Search the Community
Showing results for tags 'safety'.
-
It is possible to use HTML in my input type, so I need the code to make it impossible to destroy the information in my database. Can you help me? <code> <td width="163"><input type="int" name="leerlingnummer2"></td> </code> ... <code> if($_POST['leerlingnummer2'] ==""){ $veld = "leerlingnummer"; $doorgaan = false; </code>
-
I have a script that allows for anyone to upload a file to my server using this method move_uploaded_file($_FILES["file"]["tmp_name"], "m/" . $newname); it lets the user select a file for upload and then uploads the file in a directory named "m" once the file upload it provides a link so they can share and anyone can download the file. can I make this safe using .htaccess premissions? I want them to be able to upload and download EXE files but not execute on my server. Thanks for any tips on how to make this safe? Paul