why can't I upload .PHP files onto Yola?

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I cant upload .php files onto yola.....it gives an error as seen in the picture.....i really need help
Photo of Ali Nabaa

Ali Nabaa

  • 1 Post
  • 0 Reply Likes

Posted 9 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi Ali,
I'm sorry but it is not possible to upload .php files into the site builder. The reason for this is that files with this extension can be used maliciously. Can you tell me what you are trying to accomplish with the .php file, possibly we will be able to give you some other suggestions.

Kind Regards,
Emmy
Photo of sciroexecutive

sciroexecutive

  • 2 Posts
  • 1 Reply Like
hey guys ,
I am wondering why I cant upload php files to yola I am trying to create a php login script for the very first time . I desperately need it. I dont use it as a download its just when I upload a file to yola it stores the file in www.sitename.yolasite.com/rescources/... so if I were to point the script to it the login script would work. If you people cant do anything about this I am going to change my webdesigner to something else.
Photo of Brianna

Brianna

  • 2045 Posts
  • 92 Reply Likes
Hello,
Unfortunately, at this time, scripting languages like ASP and PHP cannot be added to your website through the Sitebuilder.

The reason for this is that both these languages work by delivering and acting upon files which actually remain offsite and stay located on the host server. Given the broad spectrum and possibilities of actions that these languages are capable of, and then combined with the fact that constant input into the Yola hosting servers would be required- there is a degree of damage that could be done and it poses a security and stability threat to the websites of Yola users.

Unfortunately, not everyone has the best intentions when creating a website.

I'm sorry I don't have better news for you.
Photo of sciroexecutive

sciroexecutive

  • 2 Posts
  • 1 Reply Like
Ok then I guess what I will do is I will find another web hosting company that is much better than this.
Photo of Callum

Callum

  • 357 Posts
  • 32 Reply Likes
One method I've had success with is hosting the files on Dropbox or an FTP and simply link to them in your source code. I've done many things with Dropbox that Yola can't do, I would seriously recommend it!

Callum Booth
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Thanks for that suggestion Callum!
Photo of Daniel Molnár

Daniel Molnár

  • 2 Posts
  • 0 Reply Likes
Is that secure to do it that way?  I'm guessing it would be a public file, not sure if you end up putting your private google key in there >.<