MOON
Server: Apache
System: Linux kvm.asjudinet.com 5.14.0-611.54.6.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 04:23:18 EDT 2026 x86_64
User: asjudine (1001)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/asjudine/www/barrido.php
<?php
require_once("mainfile.php");
include ("config.php");
global $dbi;

$msql = "select cedula from devolucion_carpeta order by id";
$file = mysql_query($msql, $dbi);	
if($file)
{
         while(list($cedula) = mysql_fetch_array($file))
           {
                $sql = "select * from cobranzas where cedula = $cedula";
                $control = mysql_query($sql, $dbi);
                if($control)
                {				 
                        $modi = "update cobranzas set estado = '' where cedula = $cedula";
                        mysql_query($modi, $dbi);
                } 	
           }
}		
?>