Results 1 to 10 of 22
-
25th Mar 2010, 10:58 PM #1OPProbation
Stuck with php parsing...Please Help
Hi Everyone. I am new here so this is my first post.
I just opened a shared hosting account with WRZHost and I am having trouble with getting php to parse in html.
Not being too familiar with getting php to parse in html I have tried every solution I could find. Unfortunately, none of them have solved my issue.
At the moment I can see the html page but none of the php is being shown either in code form nor as the file that is being called. Basically where the php should be it is as it never existed.
Any help would be greatly appreciated, especially if someone who has figured this one out on a WRZ server.
The server has Apache version 2.2.14, and has PHP version 5.2.12 if it makes any difference. Thanks ahead of time for any help.jimmy Reviewed by jimmy on . Stuck with php parsing...Please Help Hi Everyone. I am new here so this is my first post. I just opened a shared hosting account with WRZHost and I am having trouble with getting php to parse in html. Not being too familiar with getting php to parse in html I have tried every solution I could find. Unfortunately, none of them have solved my issue. At the moment I can see the html page but none of the php is being shown either in code form nor as the file that is being called. Basically where the php should be it is as Rating: 5
-
25th Mar 2010, 11:04 PM #2Respected Developer
make a file name info.php and add this
<?php
phpinfo();
?>
dont post anything here just see if you get some php info related page or not,
Edit: and welcome to KWWH siteBots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
25th Mar 2010, 11:16 PM #3OPProbation
Thanks for the help. I tried what you suggested and I get an error message saying that phpinfo() has been disabled for security reasons.
-
25th Mar 2010, 11:17 PM #4OPProbation
Sorry, I meant I get a warning message saying phpinfo() has been disabled. Not an error message.
-
25th Mar 2010, 11:30 PM #5Respected Developer
as you mentioned its a shared hosting you need to contact your host, you dont have access to your php.ini file so they will fix for you disable_functions.
Bots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
25th Mar 2010, 11:37 PM #6Member
make an .htaccess file, and put this in it:
AddType application/x-httpd-php .htm .html
it will then allow you to put php in html
-
25th Mar 2010, 11:49 PM #7OPProbation
Thanks for the help. I contacted the host and am waiting for a reply.
-
25th Mar 2010, 11:49 PM #8Member
The host shouldn't have anything to do with putting php in html.
that's just how it is. That's why you have to put that little bit of code in a htaccess file
-
25th Mar 2010, 11:50 PM #9MemberWebsite's:
zomgbbqpizza.com evilddl.com scenemarket.orgwhen adding PHP in a HTML file you need to break the HTML like this:
Code:<a href="http://besthostingforums.com">blahhhhhhhhh</a> <?php $some_php_here = true; ?> <a href="http://besthostingforums.com">blahhhhhhhhh</a>
-
26th Mar 2010, 12:05 AM #10Member
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Internet Explorer Parsing error?
By John in forum Webmaster DiscussionReplies: 1Last Post: 11th Sep 2012, 04:09 PM -
Stuck with Dr.Web
By ChosenOne in forum Technical Help Desk SupportReplies: 2Last Post: 12th Feb 2012, 04:15 AM -
Disable URL parsing in Chat Box?
By eLight in forum Polling PlazaReplies: 33Last Post: 1st Apr 2011, 05:18 PM -
IPB3 Disable Links Parsing in topics
By elmazagangi in forum IP.BoardReplies: 1Last Post: 15th Jun 2010, 11:02 PM -
I'm Stuck
By .m0nster in forum vBulletinReplies: 1Last Post: 20th Feb 2009, 04:15 AM
themaRegister - register to forums...
Version 3.54 released. Open older version (or...