Split: Help wanted Split: Help wanted
 

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

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