@# 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 14 15 16 17 18 19 20 21 22 23 24 25 26 27



Comments:

<0> anyone a way to locate a php cl*** that someone installed into a site
<1> atapi: grep -sir
<0> i tried grep -R 'Authenticator' ./*
<2> itrebal, whats wrong with here docs? =/
<0> searched the site directory
<0> and tried the /usr/lib/php dir
<3> beeplogic: they dont play nice sometimes with my syntax highlighter, mostly
<2> ah ok
<3> beeplogic: and i just dont like them
<3> IMO cause more errors than they fix
<1> atapi: Go find out what include_dir is set to, that'll tell you where to look
<1> Why is /. pink?
<3> TML: april fools apparently
<1> oh, is it April?
<1> Thought it was still Marc
<3> TML: heh



<1> s/$/h/
<3> it is, most places
<3> (AFAIK)
<4> It's April UTC
<3> ah
<5> if i wanted a form to save its output as a page say like a .php or .html page how would I do that?
<0> what if its a compiled php binary?
<0> i checked all the include dirs
<1> atapi: That's pretty rare, a binary that provides a cl***. Can't you just ask the person who installed it where it is?
<3> finally! google's define: feature suggests words
<1> itrebal: Hmm? It's always done that for me. "Did you mean..."
<0> nope I think its a sysadmin gone wild
<3> TML: it always did that for the other features for me, but not if you type 'Define: <something>'
<6> Does anyone have any good ideas on how to structure an SVN repository for web development when you have multiple common modules?
<0> guy used to employ a php programmer and called me to help with his server
<0> wont say what happened to him
<7> hi
<8> maybe he moved to india
<3> i think he got eaten by silverfish
<8> hi Eleaf
<7> hi
<7> lol
<9> using mysql_pconnect, does the database connection get closed when the user closes the browser window or goes to another site?
<10> No.
<10> How would the server know of that?
<10> PHP scripts often die before the data ever reaches the user.
<9> well how do you close it if that happens?
<11> http://www.slashdot.org/ its turned pink!
<3> omnipresence: mysql_pconnect's connection does NOT close
<3> period
<3> Vylen: lol
<10> AJAX... But persistant connections, by definition, don't close.
<10> if you wanted to close mysql_connect, that would be easier.
<3> OMG Ponies!
<10> But really, a persistant connection to one database for all of php is kinda hard to shrug off.
<12> Vylen: check the .css filename
<13> HARD TO FIND TOYS...
<13> "My Little Pony Glue Factory"
<3> Jymmm: hahaha
<14> Must... find... toys.
<11> maver: i know what it's for.. but im just sharing the "news"
<13> "Easy Bake Meth Lab"
<11> cause damn.. thats a horrible pink lol
<7> WEIRD
<13> "Lawn Dart Tag"
<13> "Honka Trucks for White Trash Kids"
<7> Php? What's that have to do with php?..
<13> "Playa Doh Bling Factory"
<13> "Rubik's Pube"
<13> "Rockem Sockem Humpem Robots"
<7> uhm.
<13> "Roadkill Racoon - with new action maggots"
<13> "Mary-Kate Binge-n-Purge game"
<15> has man2 pm'd any1 else in here? -_^
<16> haha, I like the ./ comment: "This isn't April Fools. It must be the announcement that Slashdot has been bought up Rupert Murdoch. After all, why does Slashdot suddenly resemble Myspace?"
<7> if you were not you, you would probably be kicked for that list, ironic?
<15> 'SELECT * FROM item WHERE '. $filter .' IS LIKE("%'. $item .'%")' <- is my syntax horrendously wrong here?
<13> Eleaf: And your point is?
<7> That's not fair.
<10> Andy-: Looks okay PHPwise.
<15> hmm



<15> its spacking out at me
<15> :/
<13> Eleaf: But, since you want to make a point of things, the next time you break the guidelines, consider this your warning.
<17> Andy-, some escaping needed?
<15> Query Failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIKE("%est%")' at line 1
<7> Jymmm, what guidelines did I break? Pointing out yourself breaking guidelines? -.-
<7> Anyways, this is errelivant to this channel.
<3> does anyone else excessivly buy domains?
<10> Andy-: Yep. It's okay PHPwise. just messed up on the MySQL end.
<13> itrebal: Yeah, what did you want to buy?
<9> $connection = mysql_connect('localhost', 'shepherds', require($_SERVER["DOCUMENT_ROOT" . ".p***word") or die('MySQL unavailable.'); ...is this valid?
<16> !+g14
<7> what the...
<10> Andy-: Remove 'is' from that, and it should be okay sql-wise.
<13> itrebal: I was kidding =)
<15> ah
<15> thanks freeone3000 :)
<10> omnipresence: Which one?
<3> Jymmm: oh :)
<18> omnipresence: no, that is not valid... don't try and do it in one line, and trim() the result of your require()
<9> ok
<9> files starting with . are inaccessible from the outside right?
<18> no
<3> omnipresence: no, they are mearly hidden
<18> files starting with .ht, by default in apache, are disallowed
<9> so how should i protect the file
<3> though if you **** arround its not
<3> (too much)
<18> omnipresence: put it outside your webroot
<13> itrebal: Nah, I'm getting rid of most of my domains, too much maintance.
<13> s/maintance/headaches/
<3> Jymmm: how many do you have?
<3> yea
<13> matbe 15 left
<13> maybe
<3> O.o
<3> Jymmm: how many are just... sitting?
<13> 2
<3> ah
<3> i used to have 2 out of 5 sitting, but then i lent one to a friend and my proxy takes up the other
<3> i like how godaddy makes you use image verification so you dont excessivly buy domains with a bot
<15> sum1 might shoot me for asking this, but its the only way i can give an example of the function i'm after...
<15> is there an $iif(comparison,iftrue,iffalse)
<15> but in php?
<19> How do I configure the default time zone PHP should use for its time functions?
<9> $p***word = trim(require('/home/shepherd/dbp***')); echo $p***word; $connection = mysql_connect('localhost', 'shepherds', $p***word) or die('MySQL unavailable.'); ....the echo returns the p***word i need, but the error i get is: Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'shepherds@localhost' (Using p***word: YES)
<7> itrebal, what's your proxy?
<3> Eleaf: its a PHP proxy i made so people can break the rules at school
<18> omnipresence: then the p***word is wrong, obviously
<7> itrebal, lol
<18> omnipresence: what does require return?
<7> itrebal, welcome back. I discovered my school only blocks domains, so you can easily ping the domain and then use the ip fine.
<9> if i echo $p***word, it returns the correct p***word, which isnt YES
<18> omnipresence: from a quick glance at the manual, "bool", and from a further glance, whether or not the file was included successfully
<12> Andy-: (cond ? iftrue : iffalse)
<3> Eleaf: thats good to know
<18> omnipresence: no, you're echoing "1" when you echo $p***word
<7> sure.
<18> omnipresence: Using p***word: YES means exactly what it says, you are providing a p***word
<3> Eleaf: only works on dedicated servers
<18> omnipresence: $p*** = trim(file_get_contents('/home/shepherd/.dbp***'));
<7> itrebal, why?
<15> maver its basically an if statement but it means i can put it anywhere in the code.
<15> useful for loops
<3> Eleaf: rather, only works for only one domain per IP
<12> Andy-: that construct makes what you asked for
<7> sure, sure. I got my upload script working as well ;)
<9> aiden: thanks man
<3> wtf? www.joshweird***website.be directso to my website O.o
<13> lol
<16> itrebal: not from here
<13> itrebal: You know what's so funny about that?
<7> me neither
<3> Jymmm: hrm?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

I get NAN msg in JScript
#linux
#css
xahlee fax xof
#perl
#gentoo
#css
#gentoo
#javascript
cannot execute binary dillo



Home  |  disclaimer  |  contact  |  submit quotes