<RockerMONO> hey people
<catfacts> hey this is a really stupid question but __FILE__ gives the current file name in php right?
<RockerMONO> i believe that is Python ;)
$_SERVER['script_name']
<catfacts> so $me = $_server['script_name'] will output tblog.php if that is the filename?
<RockerMONO> it should
<catfacts> kk thanks :P
echo $_SERVER['script_name'];
didnt wokr
and __FILE__ outputs the full path
nvmd got it
echo basename(__FILE__);
<RockerMONO> er O.o
* RockerMONO has never heard of __FILE__ in PHP
<orangePnut> http://orangepnut.xnapid.com/t.PNG
<RockerMONO> oooooooo
nice
<orangePnut> ;)
<catfacts> ok one more in !isset should the var go before or after :P
* catfacts got out the the programming habbit as you can see
<RockerMONO> catfacts: !isset($var)
<catfacts> oh
<RockerMONO> =p
<catfacts> that explains it :P
<RockerMONO> =P
<orangePnut> peace guys
have a good one
<RockerMONO> cya orangePnut
<-- orangePnut has quit ("Shutting Down/Disconnected")
--> bknitram (n=brandemk@unaffiliated/bknitram) has joined ##mrmonday
--- ChanServ gives voice to bknitram
<-- RockerMONO has quit (Remote closed the connection)
--> RockerMONO (n=Nick@ip72-209-217-139.dc.dc.cox.net) has joined ##mrmonday
--- ChanServ gives voice to RockerMONO
RockerMONO is now known as RM92
--> bknitram- (n=brandemk@unaffiliated/bknitram) has joined ##mrmonday
--- ChanServ gives voice to bknitram-
<-- bknitram- has quit (Remote closed the connection)
--- RM92 is now known as RockerMONO
<catfacts> ok one more RockerMONO
i get a Parse error: syntax error, unexpected $end in /var/www/web/fcm-colab/fcm-colab/trunk/connectors/tblog.php on line 152
<RockerMONO> what's line 152
<catfacts> but i dont have a line 152
source is here
<-- bknitram has quit (Read error: 110 (Connection timed out))
<catfacts> http://fcm-colab.svn.sourceforge.net/viewvc/fcm-colab/trunk/connectors/tblog.php?view=markup
any clue
RockerMONO: ^^
<RockerMONO> lol
<catfacts> wat?
<RockerMONO> theirs only 151 lines
which means you forgot to close some part of the PHP code
<catfacts> i no, it is annoying
grr
<RockerMONO> wow
dude...
uh
that code is hideous
>.>
<catfacts> i want it to be only one file tho
<RockerMONO> either way
it'
s
ass
ugly
:)
<catfacts> thanks...
i cant find any open <?php ?> tags
<-- RockerMONO has quit (Read error: 104 (Connection reset by peer))
--- Users on ##mrmonday: +catfacts +MindstormsKid +TheDead1 @Santa-Bot AerialX +Shinigami`away @ChanServ
--> RockerMONO (n=Nick@ip72-209-217-139.dc.dc.cox.net) has joined ##mrmonday
--- ChanServ gives voice to RockerMONO
<catfacts> ok RockerMONO i got it kinda worked out
now the <?php tags are in equal numbers but i still get the error
<RockerMONO> catfacts: are their as many ?> as <?php ?
<catfacts> yes
24
<RockerMONO> ok...
are their as many } as a{ ?
-a
>.>
<catfacts> sigh ill check :)
<RockerMONO> lol
that's the issue, not the ?>
* RockerMONO didn't get a chance to say that before his comp died
<catfacts> yup 12 of each
* catfacts slams head into keyboard
<RockerMONO> hm....
<-- RockerMONO has quit (Remote closed the connection)
--> RockerMONO (n=Nick@ip72-209-217-139.dc.dc.cox.net) has joined ##mrmonday
Shel2476 (n=Shel2476@user-24-236-66-40.knology.net) has joined ##mrmonday
<catfacts> same for () same #
<-- Shel2476 (n=Shel2476@user-24-236-66-40.knology.net) has left ##mrmonday
<catfacts> and i know "" and '' are cuz of my syntax highlighting
<RockerMONO> ?
what # ?
--- ChanServ gives voice to RockerMONO
<RockerMONO> catfacts: what # ?
<RockerMONO> what #
<catfacts> uh 31
<RockerMONO> ...
WHAT #
as in wtf are you using them for?
lol
<catfacts> as in there are 31 of ( and as )
um let me see
if ( )
<RockerMONO> ...
<catfacts> isset()
<RockerMONO> if( ) != #
oh
<catfacts> nvmd
* RockerMONO feels stupid
<RockerMONO> =p
<catfacts> :P
everyone has their moments
<RockerMONO> you didn't have to agree you know!
=p
<catfacts> hey so do i
--> Shel2476 (n=Shel2476@user-24-236-66-40.knology.net) has joined ##mrmonday
<-- Shel2476 (n=Shel2476@user-24-236-66-40.knology.net) has left ##mrmonday
<catfacts> so any clue RockerMONO
<RockerMONO> no =\
<-- RockerMONO has quit (Remote closed the connection)
--> RockerMONO (n=Nick@ip72-209-217-139.dc.dc.cox.net) has joined ##mrmonday
--- ChanServ gives voice to RockerMONO
<catfacts> sigh
ill save it for tomorrow
* RockerMONO stabs iceweasel violently