PHP Help |
PHP Help |
![]()
Post
#1
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
Is there any way of hosting a site on freewebs.com and having PHP files at the same time?
My Friend and I are discussing it and we don't know. Please Help. My site, if you want to check it out (I'm working on the layout), is sugar-blossom.net. I paid freewebs for a year so I would like to stay there if I can. But my friend told me that PHP is easier than using HTML, CSS and Javascript. |
|
|
![]() |
![]()
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 ![]() |
PHP is easier, but I thought I heard you can't use it with Freewebs. Have you tried checking the Freewebs site? They usually say if they support PHP or not...
|
|
|
![]()
Post
#3
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
PHP is easier, but I thought I heard you can't use it with Freewebs. Have you tried checking the Freewebs site? They usually say if they support PHP or not... I will check into that. thanks! you are right thanks schizo! But I also want to know if there is a way of pointing my domain name hosted on freewebs to 000webhost.com or something like that. |
|
|
![]()
Post
#4
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 41 Joined: Aug 2008 Member No: 675,652 ![]() |
you are right thanks schizo! But I also want to know if there is a way of pointing my domain name hosted on freewebs to 000webhost.com or something like that. if you just want to redirect the traffic to the new site try putting this in the head tag of your freewebs page CODE <META http-equiv="refresh" content="1;URL=http://yoursite.com"> If you want it to show your page on 000webhost but still want it to show the domain on freewebs. frames or iframes should work. |
|
|
![]()
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 ![]() |
Please please please refrain from double posting. There's an edit button there for a reason.
![]() Are you looking to redirect just, or are you trying to transfer servers? |
|
|
![]()
Post
#6
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
QUOTE if you just want to redirect the traffic to the new site try putting this in the head tag of your freewebs page CODE <META http-equiv="refresh" content="1;URL=http://yoursite.com"> If you want it to show your page on 000webhost but still want it to show the domain on freewebs. frames or iframes should work. I don't understand what you are saying QUOTE Are you looking to redirect just, or are you trying to transfer servers? What is the difference? I would say redirect but I want to still have my site address be sugar-blossom.net but be hosted on 000webhost. ex.) I want you to be able to go to my site (that I bought on freewebs) but I want to be able to use PHP which is on 000webhost.com Is that clearer? |
|
|
![]()
Post
#7
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 ![]() |
Umm, not really. If you bought the domain name on freewebs (which I didn't know you could do), I don't see why you wouldn't be able to use it on the other host site. You can't use the webspace you bought from freewebs if you no longer want to be hosted by them, though. You'll have to buy from 000webhost.com and move your site over.
|
|
|
![]()
Post
#8
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
Umm, not really. If you bought the domain name on freewebs (which I didn't know you could do), I don't see why you wouldn't be able to use it on the other host site. You can't use the webspace you bought from freewebs if you no longer want to be hosted by them, though. You'll have to buy from 000webhost.com and move your site over. I looked in my account settings and there was nothing that said "redirect your site" or anything like that. So I don't really know if I can. I checked their FAQ and I didn't see a question about that there. |
|
|
![]()
Post
#9
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 ![]() |
So do you have webspace or an account on 000webhost.com or no? Just try clicking the sign up button and type in your domain name. I have a feeling that there's more to do to "disconnect" it from your freewebs hosting, but there's no harm in trying.
|
|
|
![]()
Post
#10
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
So do you have webspace or an account on 000webhost.com or no? Just try clicking the sign up button and type in your domain name. I have a feeling that there's more to do to "disconnect" it from your freewebs hosting, but there's no harm in trying. yes I'll try editing my site there and see if it comes up when I go to my domain name. Good Idea! I wasn't able to edit my site. |
|
|
![]()
Post
#11
|
|
![]() Lets Get Dead ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 381 Joined: Apr 2008 Member No: 641,562 ![]() |
If you already paid for hosting on freewebs why move it?
To move your domain to a new host you have to adjust the DNS settings. I haven't done that in years though so I can't exactly explain it very well. Is your domain registered to your name? Did you purchase it with your hosting at Freewebs? Because there may be a contract. |
|
|
![]()
Post
#12
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 41 Joined: Aug 2008 Member No: 675,652 ![]() |
ok I think I know what your trying to do now. this will make the address bar say sugar-blossom.net but it will actually be showing a page on 000webhost.
change 'http://yoursite.com' to the place your files are stored on 000webhost, save as index.html and upload to the main directory of sugar-blossom.net, then transfer your files over CODE <frameset rows="*,100%" framespacing="0" border="0" frameborder="0"> <frame src="" noresize scrolling="no"> <frame src="http://yoursite.com" scrolling="auto" noresize> </frameset> |
|
|
![]()
Post
#13
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
CSS > HTML any day. It's just so much easier. So boo to the people that selected HTML and not CSS. :P I really don't know the difference. So I would think that I would say HTML is what I use but it could be CSS. --------------------------- I'm going to keep my site at freewebs but thanks for the help!! <3 |
|
|
![]()
Post
#14
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 ![]() |
I really don't know the difference. So I would think that I would say HTML is what I use but it could be CSS. CSS is dependent on HTML to work, since CSS is just coding to style the HTML. PHP & javascript are also part of HTML, but in a different sense. PHP does things on the back end of the server (it's code that's processed before the page displays, so you can't actually see it). javascript is similar, but shows up in the code. what you should be using depends on what you want to do. if you want to host a blog on your website, then you'll usually have to use PHP. and actually, being on freewebs, you still can use PHP, just in a different way. say you wanted to install cutenews on your freewebs account (you can't use the better developed ones, like wordpress or fanupdate, because those require mysql databases). when installing cutenews, you're given a code like this to put on your site: CODE <?php include('path/to/show_news.php'); ?> to make it work on freewebs, you'd form the code like this: CODE <script language="php">
include('path/to/show_news.php'); </script> |
|
|
![]()
Post
#15
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
ok i understand it better.....but not completly.
|
|
|
![]()
Post
#16
|
|
rawr? ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 2,705 Joined: Nov 2005 Member No: 285,858 ![]() |
i wubb HTML!
|
|
|
![]()
Post
#17
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 ![]() |
Feewebs doesnt support php.
|
|
|
![]()
Post
#18
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
|
|
|
![]()
Post
#19
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 ![]() |
Well it can have a php extension but still not support it. maybe they paid the extra for an account that supported it. But ya im sure. there rules may have changed but i checked.
|
|
|
![]()
Post
#20
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
|
|
|
![]()
Post
#21
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
|
|
|
![]()
Post
#22
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
|
|
|
![]()
Post
#23
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
|
|
|
![]()
Post
#24
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 5,880 Joined: Nov 2007 Member No: 593,382 ![]() |
Html is the highest?
What the heck. I couldnt just pick one. You cant use only css in a website. You have to connect the css to the html and I also use php. Also people need to stop having pages with extensions. If you use php you can easily change website.com/contact.php to website.com/contact/ |
|
|
![]()
Post
#25
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
Html is the highest? What the heck. I couldnt just pick one. You cant use only css in a website. You have to connect the css to the html and I also use php. Also people need to stop having pages with extensions. If you use php you can easily change website.com/contact.php to website.com/contact/ yea I know. I totally agree with you. |
|
|
![]() ![]() |