|
|
|
|
![]() ![]() |
| stillkill |
Sep 16 2004, 04:32 PM
Post
#1
|
|
Guests |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- TemplateBeginEditable name="doctitle" --> <title>Untitled Document</title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable --> </head> <body> </body> </html> |
|
|
|
Sep 17 2004, 03:05 AM
Post
#2
|
|
|
Advanced Member Group: [HOSTED] Posts: 120 Joined: 2-September 04 Member No.: 100 |
how is this a php template?
|
|
|
|
Sep 20 2004, 04:22 AM
Post
#3
|
|
|
Advanced Member Group: [HOSTED] Posts: 139 Joined: 12-September 04 From: Philippines Member No.: 505 |
A php code would be like this:
<?php /** * Place in a blank PHP page */ // Change to the URL you want to redirect to $URL="http://www.pinoybloggerforum.info/"; header ("Location: $URL"); ?> Something that starts and ends with the tags <HTML> and </HTML> is an HTML/HTM file. And a template should be something complete with design, you just have to edit it and make some improvements(You posted a blank page with the title "Untitled Document"?). |
|
|
|
Sep 22 2004, 08:58 PM
Post
#4
|
|
|
Advanced Member Group: Members Posts: 165 Joined: 22-September 04 From: IS - IT - US - BE Member No.: 804 |
To do a template engine you can also include at the end of a php script a html page with some vars inside, and the use Eval() to read this like a php script, and so you have only to set different vars in different case or page
you can define some default message with define() function and make for example _XX_ = "Hi Guys", Byez 'Njoy |
|
|
|
Sep 22 2004, 09:17 PM
Post
#5
|
|
|
End Of Computer Group: Members Posts: 346 Joined: 1-September 04 From: .:: MARS ::. Member No.: 28 |
QUOTE(stillkill @ Sep 16 2004, 08:02 PM) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- TemplateBeginEditable name="doctitle" --> <title>Untitled Document</title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --> <!-- TemplateEndEditable --> </head> <body> </body> </html> What is that? is it a php Template? some of php codes: <?php print(""); ?> <?php echo(""); ?> |
|
|
|
Sep 22 2004, 09:26 PM
Post
#6
|
|
|
Member [ Level 1 ] Group: Members Posts: 47 Joined: 20-September 04 Member No.: 748 |
yeah...o_0 how is that a php template? can you give us some more info???
|
|
|
|
Sep 23 2004, 12:05 PM
Post
#7
|
|
|
Premium Member Group: [HOSTED] Posts: 336 Joined: 22-September 04 Member No.: 798 |
he's an unregistered user, i don't think he understands it himself hehe.
personally: my php files look like this: <?php include files constants functions ?> <html>... <body> blablatext <? fuction1(...)?> blablamoretext <? function2(...)?> </body> </html> like that, it's really easy to adjust the layout, because the php and html isn't mixed up... well, every now and then you have little choice or it's just easyer to do inline coding... but i prefer using functions though! |
|
|
|
Sep 23 2004, 04:05 PM
Post
#8
|
|
|
Advanced Member Group: Members Posts: 165 Joined: 22-September 04 From: IS - IT - US - BE Member No.: 804 |
Have you ever try to integrate php in Flash template?Because a friend has to do this job, but He doesn't know how....
|
|
|
|
Sep 24 2004, 07:16 AM
Post
#9
|
|
|
Premium Member Group: [HOSTED] Posts: 336 Joined: 22-September 04 Member No.: 798 |
hm, i'll ask a friend of mine. he works at a company where they make sites, mostly with flash. and he does the php side of it. let you know asap
|
|
|
|
Sep 30 2004, 03:22 AM
Post
#10
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 22 Joined: 30-September 04 Member No.: 941 |
How does this thing works??
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd November 2008 - 04:15 PM |