Results 1 to 9 of 9
  1. #1

    PHP in a HTML page

    Having lots of trouble getting php to work in my html page.

    Tried several different things.
    Last edited by the_pm; 08-03-2005 at 02:06 PM.

  2. #2
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../:../../../../../');
    include ('lvn.php');
    echo DisplayLinks(5,'',' - ','','');

    i put that into my html page. The error you see on the site is the result.

  3. #3
    Join Date
    Jun 2002
    New York
    Try this.

    Create a .htaccess file and add this line in it
    AddType application/x-httpd-php .php

    See if it helps. If am not wrong, it use to work on previous version of php, but does not seem to work on latest version.

    Hope this helps.

  4. #4
    Join Date
    Dec 2004
    It works with me using IE and Firefox.

  5. #5
    ya it works with some browsers, because netscape didnt work and internet explorer did!

  6. #6
    Make sure you add 'best viewed in IE and FireFox.' I've ran into problems with this in the past.

  7. #7
    Join Date
    Jun 2003
    United States of America
    do you mind i ask whats your website and have you talked to your host yet?
    Computer Steroids - Full service website development solutions since 2001.
    (612)234-2768 - Locally owned and operated in the Minneapolis, Minnesota area.

  8. #8
    My website?

  9. #9
    Join Date
    Dec 2003
    Vancouver BC, eh?
    php is server side... has nothing to do with your browser other than what html is outputed. I think they removed the link, but it sounds like they didn't do what SWDevil said...

Posting Permissions

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