Php Not Working? |
||
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.
Zymic Webmaster Forums Zymic.com Support Bugs, Suggestions & Other Non-Hosting Support |
||
![]() |
Php Not Working? |
||
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> |
|
|
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.
|
|
|
Jan 13 2011, 02:48 AM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 12-January 11 Member No.: 172,659 |
|
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 25th May 2013 - 08:16 AM |