php and exif_read_data with forward slashes?

  • Thread starter Thread starter Ruff_Rydah83
  • Start date Start date
R

Ruff_Rydah83

Guest
I'm having trouble trying to get my code to work on my server with hostmonster, works fine on my local server. The code in question is PHP:

$exif = exif_read_data("fullsize/IMG_2288.jpg", 0, true);

if this did not contain the directory name fullsize/ it works fine, once i include a directory, it seems to not work correctly.

Oddly it works perfectly fine on my local machine. locally I'm using php version 5.2.10 (works)
my server is using version 5.2.9 (does not work)

Any ideas why? or is there any way that I should be escaping the forward slash?
 
Back
Top