Comunidad de diseño web y desarrollo en internet online

se puede hacer <?php ... ?> dentro del evento onClick?

Citar            
MensajeEscrito el 28 Sep 2005 02:19 pm
Pues eso, si se puede hacer?

Código :

<a href="mayo.html" target="mainFrame" class="arialGrisLink" onClick=<?php setcookie('mes','mayo',time()+3600,'/','exitdesign.com'); ?>>mayo</a>

porque a mi me da el siguiente error:

Código :

Warning: Cannot modify header information - headers already sent by (output started at /home/exit/public_html/eneas/abstracts/left.php:4) in /home/exit/public_html/eneas/abstracts/left.php on line 40

Por frenadoll

922 de clabLevel

6 tutoriales

Genero:Masculino  

Barcelona

msie
Citar            
MensajeEscrito el 28 Sep 2005 02:59 pm
:lol: :lol: :lol: :lol: :lol: :lol: :lol:
muy ingenioso, nada de cabezeras despues de code html, ni cookies ni header ni sesiones.

;) hay una funcion JS que hace eso, ya ha sido publicado en el foro, busca y encontrarás.

Por jhony192

791 de clabLevel

1 tutorial

Genero:Masculino  

Just Another Programmer

firefox
Citar            
MensajeEscrito el 28 Sep 2005 03:46 pm
aqui hay una funcion para eso, nada mas mandas a llamr la funcion y ya todo listo :)

Código :

http://treemenu.nawroth.com/source/cookies

Por Azielito

79 de clabLevel



 

Frente al PC

firefox
Citar            
MensajeEscrito el 28 Sep 2005 04:29 pm
muchas gracias ya lo miro :)

Por frenadoll

922 de clabLevel

6 tutoriales

Genero:Masculino  

Barcelona

msie

 

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