Advanced search  

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

Pages: [1]   Go Down

Author Topic: The php variable for abslute link  (Read 2408 times)

0 Members and 1 Guest are viewing this topic.

Infernal

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • 13371357
    • Add Fun
The php variable for abslute link
« on: January 14, 2008, 10:31:15 pm »

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
« Last Edit: January 15, 2008, 08:28:13 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: The php variable for abslute link
« Reply #1 on: January 14, 2008, 11:07:30 pm »

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

Code: [Select]
    $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>';
Logged

Infernal

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 63
  • 13371357
    • Add Fun
Re: The php variable for abslute link
« Reply #2 on: January 14, 2008, 11:51:19 pm »

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 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.