Advanced search  

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

Pages: [1]   Go Down

Author Topic: cpmfetch on different servers  (Read 4712 times)

0 Members and 1 Guest are viewing this topic.

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
cpmfetch on different servers
« on: October 13, 2010, 07:33:30 pm »

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
Logged

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
Re: cpmfetch on different servers
« Reply #1 on: October 13, 2010, 08:42:42 pm »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: cpmfetch on different servers
« Reply #2 on: October 13, 2010, 09:04:46 pm »

I fixed the problem!
Thanks for resolving your thread. Marking accordingly.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 21 queries.