Well, i would want to know which version of PHP you're using. But the main thing I see right away is:
That file should not have been created. The script will do it for you. Creating it might or might not be a problem. The only other thing that might be an issue there I can think of is:Quote:
2. I created a images.txt file in which the image ulrs and dates will be written to. Gave it 755 permissions (Running Ubuntu 16.04 Linux, btw)
Make sure that points correctly to your image folder and that there are at least 5 images in there and that the trailing slash is used. Don't necessarily use theCode:$path = "../site5/cssimages/scaled/"; // set path to images, include trailing slash
../
prefix if that's not relevant on your system. It was on mine, that's the only reason it's there.
Further, the url you're seeing is the date convention I created (day 105, in the year 2018), so likely having created the file is the problem and/or the image folder is not correctly referenced. Delete your images.txt file, make sure the $path var is set correctly for your system, and try viewing the random.php page again. The permissions you set might be persisting and still be an issue. Hopefully, probably, not. As that file only needs to be accessed by the server.
If you want more help, please post your current code, your random.php file.