require wp-load problem
-
I am using my hosting’s cron job to run this php file
<?php require("wp-load.php"); echo "test";?>
and the output goes to a .txt file,although i see no errors or warnings , the .txt file is empty.
Only the code after require wp-load isn’t executed,but i know it should be at the top,what am i doing wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘require wp-load problem’ is closed to new replies.