Results 1 to 8 of 8
  1. #1
    Newbie
    Join Date
    November 24th, 2011
    Posts
    7
    Php - Html
    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. #2
    Moderator BurgerBoy's Avatar
    Join Date
    January 18th, 2005
    Location
    jacked by sylon www.sylonddos.weebly.com
    Posts
    9,618
    Change to a hosting company that does support php.

    Vietnam Veteran 1966-1970 USASA
    ABW Forum Rules - Advertise At ABW

  3. #3
    ABW Ambassador writerguy's Avatar
    Join Date
    January 17th, 2005
    Location
    Springfield, Missouri, USA
    Posts
    3,248
    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
    Generate more fake news.

  4. #4
    Full Member
    Join Date
    November 21st, 2010
    Posts
    230
    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. #5
    Yup, Sure ... now let me check ... Cagles Mill's Avatar
    Join Date
    January 18th, 2005
    Location
    The Midwest
    Posts
    646
    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. #6
    Full Member
    Join Date
    November 21st, 2010
    Posts
    230
    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. #7
    Member soda's Avatar
    Join Date
    March 26th, 2010
    Location
    Irvine, CA
    Posts
    36
    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.
    [URL="http://www.itemscope.com/"]Itemscope[/URL]

  8. #8
    Newbie
    Join Date
    December 19th, 2012
    Location
    London
    Posts
    11
    What kind of provider doesn't support php?
    You could always ask them to enable/install it.
    Otherwise find another one, like godaddy

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Who to go to for html , php and css?
    By Mitty in forum Midnight Cafe'
    Replies: 3
    Last Post: May 21st, 2007, 12:31 PM
  2. Redirect html to php--2
    By frank3iii in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: July 20th, 2004, 04:05 PM
  3. Redirect html to php
    By frank3iii in forum Programming / Datafeeds / Tools
    Replies: 5
    Last Post: July 19th, 2004, 08:32 PM
  4. Nervousssss.. HTML to PHP
    By phatbargains in forum Midnight Cafe'
    Replies: 5
    Last Post: August 15th, 2003, 11:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •