cpmfetch on different servers cpmfetch on different servers
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

cpmfetch on different servers

Started by Jessi, October 13, 2010, 07:33:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jessi

Hello all!
I already try to find how I can do it but I can`t find anything!
I wanted to use cpmfetch for 'latest images' on my site. All work but my problem is that my main site and my galelry are on different server (main on private and galler yon flaunt.nu). Now I wanted to ask what I must do that my latets images will work.

Gallery: http://jasonpix.flaunt.nu/
Mainsite: http://jason-beitel.net/
Mainsite (detail link were it must be shown): http://jason-beitel.net/latestimages.php

So in this php-file I wrote:

Quote<?php
  include "http://jasonpix.flaunt.nu/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("http://jasonpix.flaunt.nu/cpmfetch/cpmfetch_config.php");
  $options = array( 'imageheight' => '45', 'imagewidth' => '45');
  $objCpm->cpm_viewLastAddedMedia (2,4,$options);
  $objCpm->cpm_close();
?>

So I think this links will not work. Anyway is that possible to do that on different server?????
Sorry if there is already a topic but I didn´t find it!
And thank you for helping!
xx Jessi

Jessi

I fixed the problem!
I added this latestimages.php now on the gallery server and include this php-file on my site.
Stupid that I didn´t get this idea earlier. hehe
But thank you!^^
xx Jessi

Αndré

Quote from: Jessi on October 13, 2010, 08:42:42 PM
I fixed the problem!
Thanks for resolving your thread. Marking accordingly.