Home > JavaScript, PHP > PHP – You Tube

PHP – You Tube

How to boot and follow standard? My custom frame:

<?php
/**
* ——————————————————————-
* @CopyRight 2009 – News (Framework)
* written by Shamun
* ——————————————————————-
* – main landing page
* – level manage
* – custom platform route
*
* ——————————————————————-
*/

# Session – enable first
session_start();

# Define – constant variables declare
include_once ‘include/define.php’;
# Class – algorithms
include_once ‘include/class.php’;
# Class – declaration
$_dn_class = new dNews();
# Class onFly to use
$_SESSION[‘_dn_class’] = serialize($_dn_class);  //optional

# Session detect for the signals
if ($_SESSION[‘_signal’] == 0) {
# Get and Post receiver
include_once ‘include/post.php’;
}

# Stage – 1
# Authentication procedure:
if ($_SESSION[‘_login’]==1){
$_dn_class->_SuccessLogin();
# End of the page footer
//include_once ‘include/footer_items.php’;
include_once ‘include/footer.php’;

}else{
$_dn_class->_LoginPrompt();
# Stage – 3
# End of the page footer
include_once ‘include/footer.php’;
}# end of if

# End of Tasks
return 0;

?>

Advertisements
Categories: JavaScript, PHP
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: