Why use position rather then pid? Why use position rather then pid?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Why use position rather then pid?

Started by pkulak, May 08, 2004, 08:12:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pkulak

I trying to do some modifiactions and I'm having trouble figuring out how this works, let alone why. For example, when clicking on a link within the "random" category, displayimage.php get's the album, "random" and the position. How could it possibly know the ordering of a random album? Where is it being stored, and why go through all that trouble?

Okay, nevermind. When pos < 0 it's the pid. Looks like I can't delete a thread, so my stupidity shall stay for all to see! :D
"To do any good at all, just believing you are right and you motives are good isn't enough." - Ursula K. Le Guin