i found that the files my snippet ( check.php ) creates in a folder with fopen() function, all goes in the ownership of apache and not the username uid.
and when i set a cron job on this file, it cannot reach it works and edit the created files, while it can be done if it's called from the browser.
also i've access as an admin, but not good in managing.
would u help me to have an automatically change in file ownership ?
and when i set a cron job on this file, it cannot reach it works and edit the created files, while it can be done if it's called from the browser.
also i've access as an admin, but not good in managing.
would u help me to have an automatically change in file ownership ?