Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic.com SupportBugs, Suggestions & Other Non-Hosting Support right
  Closed Topic Start new topic
left right
godsca
post Jan 12 2011, 08:33 AM
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 12-January 11
Member No.: 172,659



Do i have to tick/check/initiate/etc a setting to get PHP working?
- If so, what are the instructions?
- If not, suggestions to make PHP on my site work would be appreciated

Also, what version of PHP you using?

Page:
http://gods.zymichost.com/

Source:
CODE

<html>
<head>
<title>Test</title>
</head>
<body>
<p>test</p>
<?php
$str = "hello";
echo $str;
print $str;
?>
<p>2nd test</p>
</body>
</html>
Go to the top of the page 
 
  + Quote Post
Jacob
post Jan 12 2011, 12:24 PM
Post #2


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 5,140
Joined: 11-May 08
From: Australia
Member No.: 25,876



You need to save the page with a .php extension otherwise the server will not know to parse it as PHP.
Go to the top of the page 
 
  + Quote Post
godsca
post Jan 13 2011, 02:48 AM
Post #3


Newbie
*

Group: Members
Posts: 6
Joined: 12-January 11
Member No.: 172,659



QUOTE(Jacob @ Jan 12 2011, 12:24 PM) *
You need to save the page with a .php extension otherwise the server will not know to parse it as PHP.




Dolt. Of course. Thanks.
Go to the top of the page 
 
  + Quote Post
 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 25th May 2013 - 08:16 AM