Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Split: Help wanted  (Read 3691 times)

0 Members and 1 Guest are viewing this topic.

qwe3

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Split: Help wanted
« on: February 10, 2007, 04:36:27 am »

<?php
  include "./path/to/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./path/to/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewRandomMedia(6,6);
  $objCpm->cpm_close();
?>


Could you help me please, would you modify the above code to include the below site in the code above. (I have been having trouble getting it to work.) I want to be able to use the code in various folders on my web page.


www.mysite.com/gallery/cpmfetch/cpmfetch.php

Thanks

RELEASE VERSION: 1.6.4

CM 1.4.10
« Last Edit: February 10, 2007, 04:38:38 am by vuud »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Split: Help wanted
« Reply #1 on: February 10, 2007, 04:40:29 am »

<?php
  include "./path/to/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("./path/to/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewRandomMedia(6,6);
  $objCpm->cpm_close();
?>


Could you help me please, would you modify the above code to include the below site in the code above. (I have been having trouble getting it to work.) I want to be able to use the code in various folders on my web page.


www.mysite.com/gallery/cpmfetch/cpmfetch.php

Thanks

RELEASE VERSION: 1.6.4

CM 1.4.10

First off, you are using the syntax for the dev release for the stable release.  Go download the dev release and install that.

Read the readme that came with it (installation instructions)

The /path/to/cpmfetch/ ... part shoud be your path to get to the cpmfetch directory and the config file.


Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.