Split: Help wanted Split: Help wanted
 

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]

Main Menu

Split: Help wanted

Started by qwe3, February 10, 2007, 04:36:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

qwe3

<?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

vuud

Quote from: qwe3 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

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.


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