Ver Mensaje Individual
  #8 (permalink)  
Antiguo 14/09/2007, 08:54
Avatar de AbdelioR
AbdelioR
 
Fecha de Ingreso: septiembre-2006
Ubicación: Tarragona
Mensajes: 926
Antigüedad: 17 años, 7 meses
Puntos: 8
Re: Problemas con Ajax.PeriodicalUpdater

Bueno, estoy trabajando dentro de mi servidor todo el rato.

Código PHP:
<script type="text/javascript">
        function lastSpy() {
            var target = $('online');
            if (!target) return false;
            new Ajax.PeriodicalUpdater(target, 'http://www.misitio.com/loggin.php',{frequency:'2'});
        }
        Event.observe(window, 'load', lastSpy, false);
  </script>  

<div id="online"> <p>
    <?php include ("/home/misitio/public_html/loggin.php");?>
</p>
  <p>&nbsp;</p>
</div>

Los errores son los tipicos
Código PHP:
Warningmain(/home/hispanaw/public_html/foro/includes/bbcode.) [function.main]: failed to open streamNo such file or directory in /home/misitio/public_html/loggin.php on line 28 

Lo que pasa es que el loggin este que quiero refrescar tiene bastante codigo php y trabaja junto al foro y tal... :S