Advertisement  
  Home arrow Forums
Main Menu
Login
Recent Forum Posts
 Friday, 21 November 2008
BostonPHP Forum  


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?

  | | The administrator has disabled public write access.

      Topics Author Date
    thread link
5.4.2 weirdness?
quixote 2007/10/16 08:14
Show your support
Polls
What's the average PHP rate in Boston
 
What's the PHP rockstar rate in Boston
 
Tag Cloud
Podcast
The BostonPHP podcast Podcast
Full Feed
 
Go to top of page  Home | Wiki | Search | Forums | Job Board | Newsletter | Latest News | Reservations | Classified Ads | Podcast Archive | MyAccount |