Folder creation and file upload with PHP?

Hi and welcome to the forum

You need to give us your code to see what happens,
but maybe it’s something like this

Getting the real error message

To help fix this, you’ll first want to enable error messages on your website. You can enable PHP error messages from the control panel:

Login to your control panel.
Go to Alter PHP Config.
Select the domain name you are trying to debug and click Alter PHP Directives.
Set “Display Errors” to “On” and click the Alter PHP Directives to save.

If you refresh the page, you should hopefully see an error message.

If don’t see an error message, this is likely caused by your script suppressing or capturing error messages from PHP.

The first thing to try is to see if your software has a debug mode option, log file or other setting which can be used to get the error message.




And one important thing is that this hosting is exclusively web hosting
and not file share and the like…
Please think carefully about what you’re doing because otherwise, it’s a TOS violation

5 Likes