Answer the question
In order to leave comments, you need to log in
How to avoid prescribing full paths?
There is a test.php script:
<?php
file_put_contents("/home/user/www/t.txt","test\r\n"); ?>
#* * * * * /usr/bin/php /home/user/www/test.php >> /home/user/www/t.l 2>&1
<?php
file_put_contents("t.txt","test\r\n"); ?>
Answer the question
In order to leave comments, you need to log in
does not write anything
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question