FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » variable logged in flag
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
icon8.gif  Re: variable logged in flag [message #14515 is a reply to message #14491] Mon, 17 November 2003 00:45 Go to previous messageGo to previous message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma:
Senior Member
Quote:

_uid constant


sorry but my php skills are obviously not what i thought they were; could you explain this a little better please as i dont understand a) what the "_" at the start is about, b)do i have to put a $ at the start or not c) why there is a space in the middle of the variable, or is contstant a type of variable or is constant the value which means there is someone logged in

if i was to use the variable in a simple if statement i was trying unsuccessfully (among other things)

if($_uid constant == TRUE)

but i get a parse error and i'm pretty sure im doing something stupid

could you suggest a solution
[Message index]
 
Read Message icon5.gif
Read Message
Read Message icon8.gif
Read Message
Read Message
Read Message
Previous Topic: How to create a second Forum with one installation?
Next Topic: IP filter in version 2.3.8
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 00:28:58 GMT 2024

Total time taken to generate the page: 0.04198 seconds