![]() |
Thread: Php - Html |
|
Tools | Search |
|
#1
|
|
|
My website is on a server that doesn't support PHP. But since I wanted to use service side includes, I created a local host in my computer using XAMPP and used PHP includes.
When the webpages are ready, I open these PHP files on a browser, view their HTML source code and then upload these HTML files on to the server. As I have start to have more and more pages, the task of viewing code and creating HTML files from these codes gets time consuming. Is there any other work around for this? Has anyone encountered a similar situation. Any help would be much appreciated. |
|
|
|
|
#2
|
|
|
Change to a hosting company that does support php.
__________________
ABW Forum Rules - Advertise At ABW - None are so hopelessly enslaved as those who falsely believe they are free (J. W. Von Goethe) Best Shopping Center - We Offer Body Piercing By Smith & Wesson - Police & Military Shopping Mall |
|
|
|
|
#3
|
|
|
Absolutely agree with what BurgerBoy said. I don't think I know anyone successfully doing affiliate marketing with a server/webhost that doesn't offer PHP. In fact, I don't personally know of any webhosting company that doesn't offer its customers PHP.
Gary
__________________
"I'm running so far behind today I can't remember whether I found a rope or lost a horse." -- Author Unknown. |
|
|
|
|
#4
|
|
|
to further that, while I applaud your resourcefulness, that really does defeat the purpose of PHP altogether.
that said, I imagine there is probably a way to facilitate this in a step-by-step approach, but without specifics, it's kind of hard to piece it together. You should be able to use an implementation of WGET for example to pull the page from your local webserver into a file, tie that into an FTP client that sends files automatically when updated, etc. just makes more sense to find a LAMP host. I wouldn't entertain a host without PHP support. |
|
|
|
|
#5
|
|
|
Is it possible that you sat up your account on a Windows server, but the host also offers a Linux server? If you are on a Windows server they should offer ASP, but of course not PHP (since Microsoft can't make any money off PHP). But if the host also has Linux servers then their Linux servers should offer PHP. In that case you would just need to have them switch you to a Linux server.
__________________
Rick M. I would rather have a bottle in front of me, than have a frontal lobotomy! Does your bubblegum lose its flavor on the bedpost overnight? |
|
|
|
|
#6
|
|
|
PHP can run on Windows boxes/hosts
although ASP is probably one of the very few reasons why one would even elect a Windows-based host anyway, |
|
|
|
|
#7
|
||
|
Quote:
You can always go the service path (e.g. REST-style architectures). This way you don't have to host on the same machine. Although this is not optimal. You should try to get your site to work on one platform. Otherwise you may end up with scalability disaster.
__________________
Itemscope |
||
|
||
![]() |
«
Previous Thread
|
Next Thread
»
| Tools | Search |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTML or PHP for SEO ? | mopek | Programming / Datafeeds / Tools | 8 | March 17th, 2009 07:51 PM |
| Who to go to for html , php and css? | Mitty | Midnight Cafe' | 3 | May 21st, 2007 11:31 AM |
| Redirect html to php--2 | frank3iii | CGI and PHP Programming | 2 | July 20th, 2004 03:05 PM |
| Redirect html to php | frank3iii | CGI and PHP Programming | 5 | July 19th, 2004 07:32 PM |
| Nervousssss.. HTML to PHP | phatbargains | Midnight Cafe' | 5 | August 15th, 2003 10:00 PM |




