What is difference between php and html formats?

  • 1
  • Question
  • Updated 8 years ago
  • Answered
Hi everyone.I wantedto ask what is the difference between html and php formats?Also I wanted to know whether we can make an html webpage with yola(eg-mysite.yolasite.com/mypage.html instead of mysite.yolasite.commypage.php)??
Photo of Mayank Nehru

Mayank Nehru

  • 87 Posts
  • 1 Reply Like
  • unsure

Posted 10 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Mayank,

That's a great question. html and php are both computer languages and I found an article which explains the difference between the two: Difference between php and html. Hope that helps!

It isn't possible to have a .html page in your Yola site as all pages will have the .php extension. Is there a specific reason you were wanting this?

Emmy
Photo of Mayank Nehru

Mayank Nehru

  • 87 Posts
  • 1 Reply Like
I have no specific reason,I guess.I just wanted to know the difference.
I had created some html pages on my pc and wanted to load them here.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello,
Unfortunately it isn't possible to upload a .html file into the site builder as for a site to work in Yola it needs to be built using the site builder tools.

Currently you can change the banner image, colour palette and background image on some of our styles. We want to make more options available like this, and one of our future plans is to allow you to develop your own CSS style if this is something that interests you. However, this functionality is going to take significant engineering on our part, so it is still a little ways into the future. In the meantime I hope you can find a style to suit your needs.

You may be interested in this link: Yola Style Guide. It has a handy filter function for you to see which style you might like. You can also check out this site forsite.synthasite.com, where one of our Yola users has added a page to his site comparing styles.

If we can assist you further please let us know!

Emmy
Photo of Mayank Nehru

Mayank Nehru

  • 87 Posts
  • 1 Reply Like
I know that html pages cannot be uploaded.I tried to upload one and got the error message about the file type not being supported.And that was the reason why I wanted to know the difference betwen two types.Can you someday remove that 15 mb limit about uploading files?At least to users who buy domain names from Yola.I am asking this because some videos or even some audio files are more than 15mb in size.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
HI Mayank

Perhaps a way around this limitation is to host your audio file or video file on a file hosting site and then link to it there. There are a few file hosting sites that are free. Each will have their own terms and conditions but it may be worth your while to look into this option.
Photo of Mayank Nehru

Mayank Nehru

  • 87 Posts
  • 1 Reply Like
I have come across a few such free sites.Some of the free sites also have some maximum size limit.But still I will try it.Thanks for the idea
Photo of Connor McCarra

Connor McCarra, Champion

  • 944 Posts
  • 47 Reply Likes
Hello Mayank,

The main difference is .php is server side scripting and .html is client side scripting. You don't really use just one. Nearly every page on the web contains HTML as it is the building blocks of a webpage. PHP can be embed in HTML. With PHP though you can do quite amazing and more professional stuff eg. login features, forums, ads, e-commerce, basically anything! Most big websites use PHP.
Photo of Mayank Nehru

Mayank Nehru

  • 87 Posts
  • 1 Reply Like
Yeah.I read that article mentioned above by Emmy. Yola rocks.
Photo of Ruth

Ruth

  • 2819 Posts
  • 135 Reply Likes
Hi Mayank,

If you have a individual file that is larger than 15MB you could use a free file hosting service such as: http://www.box.net/ or http://www.mediafire.com/ and link to it from your site.

Remember there is no limit to the number of files you can upload, they just all need to be 15MB or below.

I hope this is helpful to you.
Photo of Mayank Nehru

Mayank Nehru

  • 87 Posts
  • 1 Reply Like
Every answer is helpful because mostly it tells you something new.I will try these too.Thanks for the help
Photo of benivolent

benivolent

  • 1 Post
  • 0 Reply Likes
1. HTML is a markup language while PHP is a scripting language
2. The output of PHP is usually in HTML code which the browser can then interpret
3. HTML codes are static and they are always the same every time they are opened while PHP files are dynamic and the output might not always be the same
4. HTML is very easy and forgiving of mistakes while PHP isn’t
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
NOTE:

For any one reading this thread....

You can now upload html files by upgrading to Yola Pro.

You can also upload javascript and CSS.

Its well worth it believe me.

Lee.
Photo of Dean Wallis

Dean Wallis

  • 5 Posts
  • 0 Reply Likes
I am trying to upload a Yola built site to domainbank.com for hosting on behalf of a friend. Domainbank seem to demand a index.html as the homepage whereas the yola site has a index.php. How can I get around this as I have been trying (and calling domainbank support) without any luck for 2 days. Many thanks in advance
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Dean,

In order to host a Yola site elsewhere, your hosting provider must support PHP. Because of this, your home page is stored in the index.php file (which you will find in your root folder), not the index.html file. If your hosting provider does not support PHP, then they are not capable of hosting Yola sites.

For more information on hosting your site with your own host: Download your site and host it elsewhere.
Photo of Dean Wallis

Dean Wallis

  • 5 Posts
  • 0 Reply Likes
Thank you so much for the quick response. I can't find anything on DomainBank's website to confirm or not if they support php. I have sent another request but not holding my breathe. You wouldn't know would you?

I see from a previous response it is possible to upload html files if I upgrade to Yola pro. I guess this wouldn't be a workaround as even if you have a index.html it would still need to support php sites? Thanks again Dean
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
If you upgrade to Yola Silver you will be able to upload and use .html files on your Yola site. That is not a workaround. You would need to contact your new hosting provider for assistance.
Photo of Dean Wallis

Dean Wallis

  • 5 Posts
  • 0 Reply Likes
OK. I want to host the site at Yola now. It’s not mine but I’m going to convince my friend. I have two last questions for you and thank you again for your speedy responses so far:

1) If I move the URL from Domainbank, where it is now, to be hosted by Yola, can I leave the email accounts at Domainbank or will this cause problems? I only ask this as my friend had had problems previously with this and she will be nervous to go back down that road

2) To host the site (which is approx. 10 pages, very light on graphics etc) at Yola how much will it cost per annum?

Many thanks for your help.

Dean
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Dean

I hope your friend decides to join! :)

1) If you have existing email addresses setup, they will stop working when the domain has been transferred. Once transferred, you will have full access to your domain's DNS settings and you will be able to reinstate your email addresses by following our tutorial: Creating email addresses with your domain purchased from Yola.

There are a few points to note:

* If you are using an existing email service where you are downloading your mail to your computer, you will need to change settings on your email program as well as on your domain in order to receive your mail. Because your mail is downloaded to your computer, you will not lose any previous emails or contact information.
* If you are using a webmail service where you are logging into a website to view your mail, you will be able to add the MX Record they require to your DNS settings once the domain has been transferred. For information on accessing your DNS settings: Managing the domain you bought from Yola.

2. Whether you choose the Yola Free or Yola Silver package, we provide free hosting and unlimited pages. There will be restrictions on how much storage you have depending on the package used.

For more detail on Yola packages and pricing, see: Yola Packages.

Please let me know if you have any further questions.
Photo of Dean Wallis

Dean Wallis

  • 5 Posts
  • 0 Reply Likes
Sanja

Before throwing the baby out with the bath water (we've paid $$$ to DomainBank) can I be so cheeky to ask one more quesiton. DomainBank confirm they do support PhP but the problem is the yola application needs certain permissions to rewrite folders in place for it to work (as it says in the readme folder uploaded with the website). They say that considering yola isn't 'in their application vault' they have no way of amending these permissions and therefore the website cannot work on their server. In fact they suggest redesigning the whole site int their 'sitebuilder' software.

Does this sound right to you? Are these permissions something I can change on the website before downloading from Yola or is this simply a conflict between yola application and DomainBank server set up that is unsolvable.

For the record this is the second site I've designed on Yola and have loved the the templates, support, service etc. For whatever reason I never really knew you also hosted sites... The third site I will definately host with you but if I can find anyway not to move this one from DomainBank I would be a happy chappy.

Many thanks in advance for any help

A stressed and tired Dean
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi Dean, sorry to hear this has been so trying for you. If DomainBank indicates it's not compatible with Yola I would say they are the experts on their product. Similarly we do not allow sites built with other applications to be uploaded to our Sitebuilder so it is pretty standard. I'm sorry I don't have better news for you.
Photo of Dean Wallis

Dean Wallis

  • 5 Posts
  • 0 Reply Likes
I am getting different stories from different support people at DomainBank. This is the latest email I got:

Please create a database in your account, here are some instructions on that:

1. Log into your account
2. Click on 'hosting and services'
3. Click on 'configure'
4. Click on 'Databases'
5. Click on 'Add new database'
6. Select the 'Database type' from the drop down list (i.e., MySQL); click 'Next'
7. Enter the name you would like to give your database; the database name cannot exceed 64 characters 8. Enter a username to access your database; the username cannot exceed 16 characters 9. Enter a password to access your database; you will need to re-enter the password to confirm (NOTE: Do not click on 'Generate New Password' unless you want our system to issue a password to you) 10. Click 'Finish'
Please wait until the database is "in-sync" before administering it.

Upload application you are using to your database. You can do this using the database login information found under 'Databases'. once that is done, you should be able to upload site and have it see the template you are using.

Is there an 'application' that is used to run a yola template website? I currently just download zipped from you then upload it to the host without using any application inbetween.

(keep in mind this is just a 10 page information website with no fancy bits and pieces in it.... Help!!!)
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi Dean,

I completely understand your frustration however Yola is really only able to support you with the process of creating your site, and downloading it. Thereafter all support relating to the hosting of your site will become the sole responsibility of your service provider. I wish we could be of more help.