1
I have a page on php
and would like to run another code on php
but I’m not getting anyone can tell me what I’m doing wrong:
if ($_GET["URL"] === 'WEEK' || $_GET["URL"] === 'week'){
$obj = new COM("WScript.Shell");
if (is_object($obj)){
$obj->Run ("week.php");
}else{
echo "Não foi possível criar o objeto!";
}
}
didn’t work that mess of yours
– eduardo belini
@Chapolin works yes https://ideone.com/iPznB3 Check your PHP configuration, specifically safe_mode http://php.net/manual/en/language.operators.execution.php
– gmsantos