var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
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.
ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../:../../../../../');
echo DisplayLinks(5,'',' - ','','');
i put that into my html page. The error you see on the site is the result.
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.
It works with me using IE and Firefox.
ya it works with some browsers, because netscape didnt work and internet explorer did!
Make sure you add 'best viewed in IE and FireFox.' I've ran into problems with this in the past.
do you mind i ask whats your website and have you talked to your host yet?
- Full service website development solutions since 2001.
(612)234-2768 - Locally owned and operated in the Minneapolis, Minnesota area.
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...