I want to know where it is best to place the ini_set () functions, because I think when the function ini_setis inside the method as follows:
private function archiveBackup() {
ini_set('memory_limit', '128M');
ini_set('max_execution_time', 0);
...
}
Function ini_setdoesn't work ?!
My script works like this: jQuery ajax query -> ajax.php file (make an instance of the class and call some method) -> call the class method.
Where is the best place? In a file ajax.phpor at the beginning of a class or inside methods?
user546774
source
share