Random thumb on different server Random thumb on different server
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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