|
Posted by dittonamed on 10/03/61 12:00
I will be building a "template" from this to be included in each page
of a PHP/JS/HTML project i'm starting soon, but I'm curious what other
connoisseurs might think of my layout. Hmm like throwing the GET/POST
processing between the <head> and <body> tags is a new idea, but it
seems logical. Any caveats or anything watch out for?
Any thoughts?
Cheers!
<?php
# Header Output, cookies, session, auth, etc...
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<?php
# includes for the head section
?>
<!-- other head items, meta tags, javascript, css, title -->
</head>
<?php
# processing php, ajax requests, POSTS, GETS, etc
?>
<body>
<?php
# output php/html/etc
?>
</body>
</html>
[Back to original message]
|