Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/11/2003, 17:36
Avatar de Reynier
Reynier
 
Fecha de Ingreso: noviembre-2002
Ubicación: Por ahí en algún sitio
Mensajes: 1.844
Antigüedad: 21 años, 5 meses
Puntos: 1
Duda con Script

tengo el siguiente script para hacer mi web modular
Código PHP:
 $action= !isset($action) ? $action;
 
$action=$_GET['action'];
  switch (
$action) {
   case 
register:
     include(
"register.php"); // Este me da el siguiente error     Warning: main(): Failed opening '' for inclusion (include_path='.;c:\php4\pear') in c:\archivos de programa\apache group\apache\htdocs\registro\includes.php on line: la linea es esta include("");                  
     
break;
   case 
homepage:
     include(
"");
   case 
viewhelp:
     echo 
"javascript:VentanaPopUp('helpsite.php'); ";// Y esta no se como mandar a ejecutar esa rutina de JavaScript
     
break 
me ayudan?
__________________
Ing. Reynier Pérez Mira