Notices
Reply

Thread: Php - Html

 
Tools Search
  #1  
Old November 25th, 2011, 07:32 PM
Newbie
Join Date: November 24th, 2011
Posts: 7
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  
Old November 26th, 2011, 05:03 PM
Moderator
Join Date: January 18th, 2005
Location: Kentucky
Posts: 8,279
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  
Old November 26th, 2011, 08:31 PM
ABW Ambassador
Join Date: January 17th, 2005
Location: Springfield, Missouri, USA
Posts: 3,055
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.
Join ABW to remove this sponsored message.
  #4  
Old November 26th, 2011, 08:49 PM
Full Member
Join Date: November 21st, 2010
Posts: 220
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  
Old November 27th, 2011, 06:00 AM
Yup, Sure ... now let me check ...
Join Date: January 18th, 2005
Location: The Midwest
Posts: 638
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  
Old November 27th, 2011, 12:02 PM
Full Member
Join Date: November 21st, 2010
Posts: 220
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,
Join ABW to remove this sponsored message.
  #7  
Old February 15th, 2012, 12:49 PM
Member
Join Date: March 26th, 2010
Location: Irvine, CA
Posts: 37
Send a message via Skype™ to soda
Quote:
Originally Posted by betherg View Post
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.
So is your main web site done in ASP?
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
Reply

Tools Search
Search:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

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


Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.