Ver Mensaje Individual
  #21 (permalink)  
Antiguo 11/03/2009, 15:51
majony
(Desactivado)
 
Fecha de Ingreso: diciembre-2008
Mensajes: 421
Antigüedad: 15 años, 4 meses
Puntos: 0
Respuesta: Sintaxis descargar POO

Pero Gator lo primero que mando es el codigo php y despues los html
Código php:
Ver original
  1. <?php
  2. include('config.php');
  3.     session_name($cfg_session);
  4.     session_start();
  5.     if (empty($_SESSION['usuario_id'])) {
  6.         $_SESSION['usuario_id'] = 0;
  7.         $_SESSION['usuario_nick'] = 'invitado';
  8.         $_SESSION['usuario_nivel'] = 0;
  9.     }
  10.     include('includes/lib_mysql.php');
  11.     $MOD['mysql'] = new MySQL($cfg_bdname, $cfg_host, $cfg_user, $cfg_passwd);
  12. ?>
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  15. <head>
  16. <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  17. <meta name="description" content="Your description goes here" />
  18. <meta name="keywords" content="your,keywords,goes,here"/>
  19. <link rel="stylesheet" type="text/css" href="css/1024px.css" title="1024px style" media="screen,projection" />