News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Random thumb on different server

Started by herbie, August 20, 2004, 06:55:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

herbie

How would I go about calling a random public thumbnail and link from a site on another server?

Joachim Müller

accessing from another server would mean having mySQL access from another server - usually only localhost (your server) has access to the database. You might want to look into the rss mod or the random image include mod though (both of them in the mods board), which will let you create one or more random thumbnails on a custom php page on your server. You could then pull the content of this file from the remote server (using php includes or whatever technology you can think of).

GauGau

Tarique Sani

SANIsoft PHP applications for E Biz