I’m hosting a website for a friend and upgraded my Fedora Linux server recently. The new system doesn’t work with some of the older code from one of the websites. Basically the code is supposed to parse through a directory and generate .jpg names (Example: 123.jpg) from a list of files so that the name of the .jpg matches the name of the file. The output is only generating:
<img border=“0” src=“images/.jpg”
I believe the source code that’s supposed to generate the number to create the jpg name “123.jpg” is coming from this code:<?php echo $p; ?>
My best guess at this point is this is some kind of depricated function that no longer works in the newer version of php? I was also able to replicate the exact same issue with this website on a virtual Linux Mint 15 system running newer softare.
Any help would be greatly appreciated! Thanks, Scott