![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Apr 2008
Posts: 1,573
|
PHP Question
I currently have php includes in my page like the one below...
<?php include ("header.php"); ?> and I'm getting the following error when building my template: Template not saved: Your template currently contains raw PHP code using <? and ?> tags; you should instead use the special {php} or {phpcode} template functions for raw PHP code (see the software manual for details on these template functions) How should it look written properly? Thanks
__________________
ICQ: 350-260-628 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
Well, this isn't a problem with PHP. It's related to whatever you're using it with. Is this with CPanel or something similar? A software package using Smarty? Need more info.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
♥ ♦ ♣ ♠
Industry Role:
Join Date: Sep 2002
Location: Porn Valley, CA
Posts: 10,590
|
Code:
{php} include ("header.php"); {/php}
__________________
![]() ![]() ![]() "I'm selflessly supporting the common good, but only coincidentally looking out for No.1." |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
Is this TGPX? Looks like it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Apr 2011
Location: En la reverendisima concha de tu madre!
Posts: 3,034
|
Smarty in the house.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Mar 2010
Location: http://HardLinks.ORG http://HardLinks.ORG http://HardLinks.ORG http://HardLinks.ORG http://HardLinks.ORG http://HardLinks.ORG
Posts: 873
|
agree, nothing to do with php, can you write in detail what you were doing and maybe post some screens, providing that we can help you.
__________________
![]() Hundreds of One Way Hardlinks from Adult Sites Located All Over the World Testimonials and feedback from our clients Hardlinks.org - monthly payment options. We accept pp and paxum ~Ray, sales: webmaster[AT]advertisingsex.com ICQ: 94994627 Tech: jacob.uub[AT]gmail.com ICQ: 58581992 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jun 2003
Posts: 1,697
|
If you think about security, your code could cause issues though. I would write it this way:
if(!file_exists('header.php')) {die("ERROR MESSAGE HERE");} include ('header.php'); ![]()
__________________
Sell our Silicone Dolls and make big money! Our website: https://www.sexdolls-shop.com/ Signup: http://www.sexdollscash.com/sliiing/registration.php Contact: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
So fuckin' bored
Industry Role:
Join Date: Jun 2003
Posts: 32,383
|
Quote:
__________________
Obey the Cowgod |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Jun 2003
Posts: 1,697
|
Quote:
![]()
__________________
Sell our Silicone Dolls and make big money! Our website: https://www.sexdolls-shop.com/ Signup: http://www.sexdollscash.com/sliiing/registration.php Contact: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |