Welcome to Geeklog, Anonymous Friday, September 20 2024 @ 07:34 am EDT

Geeklog Forums

Question (Studying File Mgmt Plugin)


Interested

Anonymous
Question How is the value of $lib being passed to visit.php?
 Quote

Interested

Anonymous
BLAST! I meant to ask how is the value of $lid being passed to visit.php. Thanks!
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
I\'m not sure if this is your quesiton but here is an answert Rolling Eyes In most cases in the URL string and use HTTP_GET_VARS to retrieve it
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Interested

Anonymous
Thanks, and sorry if that was a dumb question. Don\'t really know PHP. I am experimenting with making a hack that will allow specific files to be downloaded only if a user is in a certain group. I put a field in the filemgt_detail (sp?) table to assist here. Since the field is read quite early (right along with lid), I thought its contents would be available to vistor.php because the contents of $lid are available. I was wrong, but now I think I see the problem. There is a place where you are getting lid using http_get_vars, which you also make a global. I think that is why lid is available to visitor.php.
 Quote

All times are EDT. The time is now 07:34 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content