The php variable for abslute link The php variable for abslute link
 

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

The php variable for abslute link

Started by Infernal, January 14, 2008, 10:31:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Infernal

what is it
i guess it's in displayimage.php

by absolute link i mean
http://www.add-fun.com/gallery/displayimage.php?pos=-14838
like that

thanks

Nibbler

It's not normally a single variable. This is where it is in displayimage.php for example:

    $info[$lang_picinfo['URL']] = '<a href="' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') .basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '" >' . $CONFIG["ecards_more_pic_target"] . (substr($CONFIG["ecards_more_pic_target"], -1) == '/' ? '' : '/') . basename($_SERVER['PHP_SELF']) . "?pos=-$CURRENT_PIC_DATA[pid]" . '</a>';

Infernal

thanks a lot
that's what i needed
i can make it a single variable myself

i am working on a sort of add on that will mass message the current picture link to yahoo messenger aol msn and then i shall post it here :)