Go Back   Computer Forums > General Computing > Cyber Safety and Computer Security
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 05-12-2011, 04:07 PM   #1
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Strange PHP issue

I'm using an API to get pictures of bands/dj's/artists etc. I'm caching the results to a database, so that there is only ever one API call per artist. The API returns a URL to the image. If I run the script on an un-cached image, then in the web browser the image does not load - but if I view the HTML source code, the URL to the image is valid. On subsequent loads, the image shows up fine.... (when it's being read from the cache). Can you think of any reason for this?

Could it be the 1ish second that it takes to query the API and then cache the result?
j03 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 05:27 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0