Results 1 to 8 of 8
-
9th Jul 2010, 03:22 PM #1OPMemberWebsite's:
maxneeds.infoPHP in HTML problem
Hi there !
I am with php 5.3.1.0 and it seems that i can't add php code in html pages.
I tried <html> <?php echo 'test'; ?> </html> but nothing happens.
It is from the php.ini or what ?Porsche_maniak Reviewed by Porsche_maniak on . PHP in HTML problem Hi there ! I am with php 5.3.1.0 and it seems that i can't add php code in html pages. I tried <html> <?php echo 'test'; ?> </html> but nothing happens. It is from the php.ini or what ? Rating: 5
-
9th Jul 2010, 03:24 PM #2MemberWebsite's:
epicimagehost.comWhat does the page show?
-
9th Jul 2010, 03:33 PM #3OPMemberWebsite's:
maxneeds.infoNothing...
Or if i try more complicated php it just shows the code from somewhere in text...
-
9th Jul 2010, 03:35 PM #4Retired NinJaWebsite's:
loledhard.comHAVE u added php extension to ur file. & make sure it is .php & not .php.txt
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
9th Jul 2010, 03:38 PM #5Member
Change the file extension from html to php
edit: Humour already said that
-
9th Jul 2010, 08:15 PM #6OPMemberWebsite's:
maxneeds.infoNooo.. it has to be .html as in my cases i don't have other option.
There must be a setting somewhere...
-
9th Jul 2010, 08:17 PM #7MemberWebsite's:
BTfreak.com Adult-BB.orgAre you testing it locally without a web server software running or on a web server?
-
9th Jul 2010, 08:23 PM #8OPMemberWebsite's:
maxneeds.infoi found the solution..
I had to add
Code:addtype application/x-httpd-php .html addtype application/x-httpd-php .htm
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Html Problem! Website breaks apart when zoomed!
By Drag in forum Web Development AreaReplies: 5Last Post: 7th Oct 2012, 09:47 AM -
html codding problem
By warezgalaxy in forum Web Development AreaReplies: 1Last Post: 6th Sep 2012, 09:32 AM -
Small Footer Problem (<div> problem ??)
By Ashleyuk1984 in forum Technical Help Desk SupportReplies: 2Last Post: 26th Jan 2011, 02:53 PM -
(X)HTML, CSS slicing (6 years experience) | PSD to (X)HTML and CSS | Professional job
By Wamer in forum Completed TransactionsReplies: 8Last Post: 21st Jul 2010, 06:13 PM -
[html] align problem
By Porsche_maniak in forum Webmaster DiscussionReplies: 11Last Post: 17th May 2010, 06:17 PM
themaRegister - register to forums...
Version 3.54 released. Open older version (or...