Ver Mensaje Individual
  #6 (permalink)  
Antiguo 15/07/2005, 05:18
Spyn_ET
 
Fecha de Ingreso: diciembre-2003
Mensajes: 218
Antigüedad: 20 años, 3 meses
Puntos: 0
Es q creo q no me explico :D

A ver segun lo q yo entendia era q querias hacer esto.

modulos.php
Código PHP:
(isset($_GET['op']))?$op=addslashes($_GET['op']):$op='';

(
file_exists($op))?include($op):die("No existe $op"); 
mipag.php
Código PHP:
if (!eregi('modulos.php',$_SERVER['REQUEST_URI'])) die ("Denied Access!"); 
De esta forma para acceder a mipag.php deberias hacerlo de esta forma.

http://www.misitio.com/modulos.php?op=mipag.php

Espero q te ayude. Un saludo
__________________
SymbianForever
SymbianForever.com, todo sobre y para tu symbian
aNieto2K | Themes para WordPress
De todo un poco