Relative Content

Tag Archive for phpmysqlmysqli

Through `move_uploaded_file()` image file not save in the directory

I have a signup form in HTML, CSS, and Bootstrap. When the method goes to POST, the action is fired and it is redirected to another page named handleSignup.php that handles the queries. In the handleSignup page firstly I fetch all data from the signup form through $_POST then start the validation and SQL queries. I have successfully uploaded the data on phpmyadmin but the image files are not saving in the directory.

Will using a custom function name for a built in function slow down my script?

Ever since PHP went from 5+ to 7+ and changed all of the mysql_ tags, it made me wonder if I can create my own function name that I can use in multiple and if PHP ever decides to change that function again then all I have to do it edit my own custom function instead of having to replace them all in all of by files.