quixote
User
 Fresh Boarder
| Posts: 1 |   | Karma: 0
|
5.4.2 weirdness? - 2007/10/16 08:14
I have a simple php script (Dan Benjamin's via AListApart) that rotates photos on a website. Dates back to around 2003, probably.
My hosting service recently upgraded to php 5.4.2 from 4.3.something. And the script stopped working. I tried others, and none work if they're accessed from within a webpage in the usual fashion (img src="imagebanner/rotate.php").
Using the same thing to access one of the images directly (img src="imagebanner/funnypic.jpg") works fine.
However, if I type http://whole-long-url/imagebanner/rotate.php in the address bar, the script works fine. Photos change with every reload.
So, there's nothing wrong with the script. There's nothing wrong with the html. Nothing has changed except the upgrade. The hosting service has thrown their hands up.
Anyone here have any idea what might be going on?
|