Post: Converting .html to .php
04-28-2011, 05:16 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU..

I've created a website using iWeb for Mac and it can only use .html so i have the files on my desktop as .html but my hosting company will only accept .phps

simply renaming the extension didn't work by the way :P :n00b:

I also did a find and replace in the source code and replaced the .html directories with .php etc but no joy..

Help? :derp: Moo
(adsbygoogle = window.adsbygoogle || []).push({});
04-28-2011, 05:18 AM #2
Cain
Tutorial Team Like A Boss
If you are trying to run PHP files off your computer it won't work, they must run off your webhost.

The following user thanked Cain for this useful post:

Jerry_
04-28-2011, 05:21 AM #3
Originally posted by Cain View Post
If you are trying to run PHP files off your computer it won't work, they must run off your webhost.


I am trying them off the website .. because my hosting company uses .php not .html..
04-28-2011, 10:48 PM #4
<Jimbo>
</Jimbo>
1) What kind of webhost doesn't support html? The browser 'reads' that! Winky Winky
2) Give me an idea of what the script does! :p
04-28-2011, 11:07 PM #5
erbisme4
Penn State '16
this thread is kinda like saying let's convert a limo into a smartcar. It makes absolutely no sense. They are two different languages the only thing you can do is insert one into the other.
04-28-2011, 11:43 PM #6
<Jimbo>
</Jimbo>
You can kinda get covert it a bit easier than a car... If the functions aren't too dissimilar... But the guy above is right! :p Just get a better host.
04-29-2011, 10:17 PM #7
Cain
Tutorial Team Like A Boss
I already fixed him for him.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo