Comunidad de diseño web y desarrollo en internet online

pasar parametros a un include

Citar            
MensajeEscrito el 08 Mar 2006 11:23 am
hola amigos:

tengo una duda. como paso parametros a un pagina que llamo con inlude?

include("../editorhtml/fckeditor.php?instanceName='texto'");

esto me da error:

Warning: Failed opening '../editorhtml/fckeditor.php?instanceName='texto'' for inclusion (include_path='.;c:\apache\php\pear')

salu2

Por eduu

40 de clabLevel



Genero:Masculino  

msie
Citar            
MensajeEscrito el 08 Mar 2006 01:26 pm
Prueba sin las comillas en 'texto' :

Código :

include("../editorhtml/fckeditor.php?instanceName=texto");

Por One

Claber

1488 de clabLevel

5 tutoriales

Genero:Masculino  

Programador Web

msie
Citar            
MensajeEscrito el 08 Mar 2006 02:35 pm
no, así no se hace.
en el archivo que haces el include defines todas tus variables, luego directamente las puedes llamar en el archivo incluído, tan sencillo como eso
un saludo

Por fael

BOFH

2443 de clabLevel

3 tutoriales
2 articulos

 

firefox
Citar            
MensajeEscrito el 09 Nov 2007 04:47 pm
Eh gracias Fael, tenia el mismo problema.
*Jorgelig cancela el MP bomber a Fael........

Por Jorgelig

Claber

3035 de clabLevel

12 tutoriales

 

Monterrey, Nuevo Leon, MX

firefox
Citar            
MensajeEscrito el 12 Nov 2007 03:28 pm
Ej:

Código :

$instanceName='texto';
include("../editorhtml/fckeditor.php");

Por york3rs

Claber

561 de clabLevel

1 tutorial

Genero:Masculino  

LA___Chile

msie
Citar            
MensajeEscrito el 12 Nov 2007 03:37 pm
Muychas gracias york3rs, asi es como lo solucione al final. Disculpen el descuido, olvide que habia preguntado.

Por Jorgelig

Claber

3035 de clabLevel

12 tutoriales

 

Monterrey, Nuevo Leon, MX

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.