Defvayne23

 

Posts Tagged ‘Bug’

PHP and the broken is_file()

Working on Hospice of Wichita Falls I used my image resize function that’s built into the my CMS. Was having trouble with the gallery and the images not showing up. After some short debugging, realized the code was dying when I tried to make sure the file existed using is_file before I passed it onto GD. I spent hours looking at the path for the file and making sure everything was spelled correctly and that the file in fact did exist. (more…)

  • Share/Bookmark