All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - guillermo

Pages: [1]
1
PHP + MYSQL / my file.php is crashing wp poll
« on: 22 July 2008, 17:11 »
hi guys i have a site with a file.php if dont call this, wp-poll fly perfect , but i need that php on my site

here the php:
Code: [Select]
<?php
$hora_actual date("H:i");

//CONEXION BD  MOSTRAR GRILLAS PROGRAMAS
function Conectarse2() 

   if (!(
$link=mysql_connect("localhost","root","pingux"))) 
   { 
      echo 
"Error conectando a la base de datos."
      exit(); 
   } 
   if (!
mysql_select_db("prueba",$link)) 
   { 
      echo 
"Error seleccionando la base de datos."
      exit(); 
   } 
   return 
$link


$link=Conectarse2(); 


mysql_close($link); //cierra la conexion 

  
@include("conex.phtml"); 
  
$link=Conectarse2(); 
   
$result=mysql_query("select * from grillas, programas",$link); 

   while(
$row mysql_fetch_array($result)) { 
   
   } 
    @include(
"conex.phtml"); 
  
$link=Conectarse2();  
   
$result=mysql_query("select * from grillas g, programas p
where g.id_programa = p.id_programa order by inicio asc"
,$link);

echo 
"<META HTTP-EQUIV='refresh' CONTENT='600; URL=$PHP_SELF'>"//refresca la pagina                                                                             

   
$i 0;
   
$hora_actual date("H:i");
   
   while(
$row mysql_fetch_array($result) and $i )  
{

if( $hora_actual $row["inicio"])

{  

echo"<table border='0'> <tr> <td>";

printf($row["inicio"]);
echo"<td class='blanco'>";
printf($row["nombre_programa"]);

echo "</table>";
//printf("&nbsp;%s ", $row["hasta"]);

$i $i 1;
echo "<br>";

}


}


?>





the wordpress version: 2.5
kubrick template (Default)

thanks guys

Pages: [1]