News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

Main Menu

Previewing thumbnails outside directory.

Started by sunsuron, June 22, 2004, 08:42:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sunsuron

Hello all.

I have coppermine installed in http://www.mydomain.com/coppermine/ and
my index at http://www.mydomain.com/main/

Is it possible that I can preview some thumbnails from /coppermine/ folder to my /main/index.php for example, showing
last addition of photos in /main/index.php

FYI: I have modified index.php, displayimage.php, search.php and thumbnails.php so that only registered user can view the /coppermine/ directory using method:

if (USER_ID){

} else {
{
  $redirect = $redirect . "login.php";
      header("Location: $redirect");

  exit();
}}

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here