@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13



Comments:

<Holden-ar> Tamama: my php doesn like namespaces....
<Holden-ar> i use namespace FileHelper{ function Read($filename) { return "file txt content";) } }
<Holden-ar> its beacuse of the version?
<Tamama> www.php.net/namespace
<Tamama> hm my mistake then
<Tamama> its not there :P
<Tamama> <- not much of a php developer hehe
<Holden-ar> any tuto?
<Tamama> i alwaysj ust make a cl*** and instantiate a version of it right there
<dias212> is anybody here that can help me with a little script?
<Tamama> but the global ****e is a mindnumber
<rdw> sure, <?php echo 'hello world';?>
<Tamama> rdw: thats funkay
<rdw> awww ****...here it comes y'all...
<Holden-ar> tamama: yeah i know that, but i was trying to avoid instanciating objects thats why i asked about statics methods like in c# or java
<dias212> anybody can help to make an php script? i want that this script to permit users to visit only one time my website, when they try again to access my website i want to be redirected to other site
<rdw> dias212: how are you going to determine your "users"? by IP address?
<rdw> or cookie?
<dias212> yea. by ip` address
<dias212> i thiked to log the ip address in a txt " black list "
<rdw> and if an IP address visits once, it can _never_ come to your site again?
<dias212> yea. by ip.
<dias212> uniq visitors.
<napros> why would you want to do that
<rdw> first of all, it sounds like your logic is horrible
<Kragter2> hi
<rdw> as napros said, what on earth could the point of such a site be?
<Kragter2> i need some help with my script
<Kragter2> Superglobals
<Kragter2> who is an expert?:)
<napros> Kragter2 : rdw
<napros> :)
<rdw> Kragter2: I _am_ a superglobal.
<Kragter2> lol
<Kragter2> $sql = "INSERT INTO members (id, p***, siteurl, sitename, description, email, icq, datum, hitsin, hitsout, ip) VALUES ( '$user', '$p***', '$siteurl', '$sitename', '$description', '$email', '$icq', now(), '0', '0', '$ip')";
<rdw> why do you nigs keeping /msging me? why not ask in the channel and get the benefit from everyone answering?
<rdw> what makes anyone think i even know what i'm talking about?
<Kragter2> its not working becoase of the globals
<dias212> it is a publicity site, and i need uniq ip visitors, and i want to redirect my uniq visitors to other publicity site...this is the reason
<rdw> dias212: do you have a database?
<rdw> dias212: easiest way would be to store the ip's in a database then see if it's already there
<dias212> yea i have
<Kragter2> it gives the error that "An Error Occured while trying to add the information into the database" is it becoase of the globals
<rdw> $_SERVER['REMOTE_ADDR'] holds your visitor's ip address
<rdw> Kragter2: is this mysql?
<dias212> this is my idea too but i don`t know how to automatic add the visitors ip to my data base
<Kragter2> yes
<Kragter2> it gives the error in browser
<Kragter2> tables are installed correct
<rdw> Kragter2: then you need to do mysql_error() and see what the actual error message is
<rdw> that sounds like a generic error the script spews out
<Kragter2> can it be that i need to place superglobels
<rdw> Kragter2: it could be because of anything. why don't you want to echo mysql error() and debug?
<rdw> what are you afraid of?
<Kragter2> lol
<Kragter2> i'm a noob
<Kragter2> dont know how it works
<Kragter2> just in the code and then run ?/
<Kragter2> :S
<rdw> www.php.net/mysql_error()
<Holden-ar> again does php support statics methods?
<Holden-ar> php4.x
<Kragter2> i need to copy the code' mysql error()' in the php file?
<Kragter2> and then it will debug
<Kragter2> rdw
<Lame_nick> rdw
<Kragter2> :)
<rdw> he no work here no more
<Kragter2> rdw
<rdw> he no work here no more
<Kragter2> :/
<Kragter2> is there anyone who can help me with my code
<Kragter2> ??
<Lame_nick> $100
<Kragter2> lol
<Kragter2> bye
<Lame_nick> ok, make that $10000
<coti> does anyone can help me and my form radio button's variables !?
<coti> please
<agriva> hello everyone
<agriva> I would like to know if php can connect and execute a command via ssh
<Zayak> Hello again..
<Hajuu> yo nebody round?
<Zayak> I asked a few min ago before my connection died, can php connect via ssh to another server and esecute a command?
<Hajuu> shut up fag
<|pit> calm down Hajuu
<Hajuu> lol
<Hajuu> zz
<PapaBear> sup
<Hajuu> man
<Hajuu> help me mount this smb share
<Hajuu> ah s'ok got it
<Novell> Zayak: http://pecl.php.net/package/ssh2
<|pit> hey PapaBear
<BillMurray> Is there some trick to using a pear object in your php script?
<BillMurray> Do you just make a sea of require_once calls?
<Sean|> tfgh
<BillMurray> hmm i don't know that one sean.
<BillMurray> heh
<rdw> lolz php
<rdw> <3 php .NET
<rdw> ok, i'm going to lunch nigs. catch ya later
<Sean|> aint **** on tv
<BillMurray> it's madness.
<BillMurray> I'm a ****ing retard.
<Sean|> whats your new site dude
<BillMurray> dude I've been trying to figure out map projection for 36 hours.
<BillMurray> It's lame... www.petquake.org
<BillMurray> It does nothing now because i'm too retarded to build a ****ing map projection.
<Sean|> whats it supposed to be
<BillMurray> Animals act weird before earthquakes.
<BillMurray> So this site will log peoples strange animals behavior and map out where the reports are coming from.
<BillMurray> It uses some geo ip to calculate the long/lat. But the trick is projecting longitude and latitude coordinates onto a lambert projection.
<|pit> I have no clue what you are talking about
<|pit> lol
<Novell> BillMurray: you should avoid using the _once() calls..
<BillMurray> I found this proposed pear package called Map_Projection (which is incorrectly named for pear) but I've never used a pear package.
<BillMurray> Novell, it's in every pear package i've seen. You should write a letter to pear.
<DarkFlibble> hmmm...
<Novell> write a letter to pear? You are aware that there are like hundreds of different developers ?
<BillMurray> Yeah but they have standards, no?
<Novell> I just told _you_ to avoid it
<BillMurray> Sure thing.
<Novell> I don't really use anything PEAR ..
<BillMurray> Yeah I really don't want to.
<Novell> and I bet most of PEAR group knows that _once() is evil
<BillMurray> But this guy wrote this pretty sweet looking package for map projections.
<BillMurray> And I'm hosting on yahoo web hosting and I have no clue how i might tell whether pear is installed.
<Novell> you can have your own local installation of it
<BillMurray> DarkFlibble knows about map projection.
<DarkFlibble> a little
<BillMurray> Yeah I read that about the ftp process and installing it locally and all that.
<DarkFlibble> I wrote functions in C to do it...
<Sean|> i get so much spam
<DarkFlibble> if that counts
<BillMurray> Dark, that counts.
<DarkFlibble> maybe I'll break out my old code...
<DarkFlibble> last time I looked at it I coverted it from SVGAlib to GD
<BillMurray> But in the last 24 hours I've learned about universal transverse mercator and the lambert projection. I know more about map projections than I ever wanted to know.
<BillMurray> But I still don't know ****.
<DarkFlibble> what are you trying to do?
<BillMurray> Convert lat/lon to x/y based on my base map which is a lambert of the US centered on specific coords that I have. I also have the scale of meters to pixels.
<DarkFlibble> In which case do what I did...
<DarkFlibble> don't use a base map...
<BillMurray> Well there has to be a point of reference.
<DarkFlibble> and generate the actual map from your coordinate conversion routines...
<BillMurray> oh my I would hate to put gd through that.
<DarkFlibble> since any optimisations (which may result in subtle inaccuracies in projection) will show up really badly


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#MissKitten
disease did august von wassermann develop a scientific test for in 1906
#php
Where is the Waterford of crystal fame
#php
saffic
growing plants in liquids rather than soil is known as ________?
view source eval(gzinflate(base64_decode
zobb jew bott
#mirc



Home  |  disclaimer  |  contact  |  submit quotes