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/devolucion_total.php
<?php
require_once("mainfile.php");
include ("config.php");
global $dbi;

$almacenar = "select cedula from devolucion_carpeta";
$misql = mysql_query($almacenar, $dbi) or die(mysql_error());	 
while(($cedula) = mysql_fetch_array($misql))
{
   $sql = "update cobranzas set estado = '' where cedula = $cedula";
   mysql_query($sql, $dbi) or die(mysql_error());	 
   $mssql = "update actuaciones_cobranzas set estado = '' where cedula = $cedula";
   mysql_query($mssql, $dbi) or die(mysql_error());	 			
}	
echo "<script>alert('Registro grabado correctamante');</scrpt>";
?>