Server IP : 51.89.169.208 / Your IP : 18.216.230.65 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/yellowleaf/public_html/ |
Upload File : |
<? include '../connect.php'; $area_sql = mysql_query("SELECT * FROM ads WHERE services_offered!='' AND aky_done=0 LIMIT 10"); while($area_row = mysql_fetch_array($area_sql)){ foreach($area_row AS $key => $val) { $$key = stripslashes($val); } echo $adid.'<br>'.$services_offered.'<br><br>'; /* if(substr($services_offered, 5)==' || .'){$services_offered = substr_replace($services_offered ,"",-5);} if(substr($services_offered, -1) == ','){$services_offered = substr_replace($services_offered ,"",-1);} */ $a = explode("||",$services_offered); $a = array_diff($a, array('.',',')); $b = implode(" || ",array_filter($a)); $services_offered=addslashes($b); echo $services_offered; $r3 = mysql_query("UPDATE ads SET services_offered = '$services_offered', aky_done = '1' WHERE adid = '$adid'") or die(mysql_error()); echo '<hr>'; } //<meta http-equiv="refresh" content="0"> ?> <meta http-equiv="refresh" content="0">