@# 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 28 29 30



Comments:

<0> For Apache to be able to parse your .php files, you need to add this line to your config "AddHandler application/x-httpd-php .php". To make .phps files work too, you need to add "AddHandler application/x-httpd-php-source .phps" also. You must restart Apache after adding either or both of these lines.
<1> Yeah, I've got all that in
<2> restarted the server?
<3> `wtf is my mom
<2> checked the error logs?
<3> she's telling at me
<1> It's only the ones that have the g2_return=blah that come up with it
<3> ban plz
<3> y
<3> elling
<2> Digital_Coma: get a life
<4> Luckys it's the first entry in google for php, php.net
<5> Cicciux: i admit, i didn't search for google, but on general i went for the org tld :)
<4> I see...
<6> Luckys Cicciux: Enough already.... http://php.net/
<5> :)



<4> :-)
<4> be calm Jymmm
<6> next?
<1> The pages like "http://192.168.0.10/gallery/main.php?g2_view=core.SiteAdmin"; work
<1> It's just the stuff that has the return=blah in it that don't work
<7> oh god :P
<6> jiggsterr ?
<7> now that fag is noticing me
<6> jiggsterr who?
<7> how to i ignore notices? :P
<7> Digital_Coma
<2> oh god it just wont stop :p
<5> any good php editor?
<8> Luckys, I like editplus.
<6> !+editors
<0> http://freshmeat.net/browse/63/ or "real men don't use editors, they just filter /dev/urandom until they get the chars they were looking for and pipe those to a file.", or http://www.php-editors.com/
<6> jiggster /ignore digital_coma
<2> i tried that :P
<2> meh it's stopped now tho
<4> thanks Jymmm
<4> no autojoin.... just <up><up><enter> :-)
<6> Cicciux can for a ban instead?
<6> care
<4> what did I do?
<6> !+g16
<0> You can be /kickban from ##php for being stupid
<6> opened you mouth.
<9> wow Jymmm is an ***hole
<4> lol, that's nice... :-)
<4> sorry, I didn't mean to offend anyone with my amazing display of stupidity.
<10> "<9> wow Jymmm is an ***hole" You obviously must be new to this chan
<11> hahahahahahah
<12> if (!preg_match("<[a-zA-Z]+>", $string)) {
<12> $check++;
<12> }
<12> that should p*** if the string is 't3st', yes?
<13> devians[work]: regex coach :)
<12> who what where?
<13> will show you if someting will match the pattern
<13> google , should be #1
<12> cool
<2> where www.google.com when now who you
<14> self visitSite site: www.google.com
<14> doh. Slipped into Smalltalk for a moment. ;)
<13> devians[work]: it seems to accept 'test' or any other text only word
<12> yes
<13> but not "t3st"
<12> but its p***ing on false
<12> i want to say, if this is not just letters, keep on going
<13> ah
<13> do if(preg_match() === false) { }
<13> tho ! should work, don't see why its not
<6> !+0
<0> 0 == FALSE, but 0 !== FALSE. Some functions, such as strpos(), can return 0 as a valid (boolean true) result. For these, you must explicitly check === (or !==) FALSE. Yes, it does break logic and was intentional for some reason or another --> http://cvs.php.net/co.php/ZendEngine2/zend_operators.c#259
<13> ^[a-zA-Z]+$ is what accepts letters only
<6> stedios: YO STUPID.... You think I posted that for my health and happines or what?
<13> ..
<6> stedios php is fskced up, you COULD try !==
<13> yuo cuold try directing your comments to devains, but he left
<13> since.. he's the one needing the ***istance



<6> stediosThen I apologize for my comments to you and redirect them to the proper dumb***.
<15> hi there, if I want a script to keep going without timeout, set_time_limit(0) will do the job ?
<16> not indefinitely. there are a number of timers
<17> part of the job
<15> what else will help ?
<16> www.php.net/set_time_limit may have additional information in the user comments
<17> ensuring that ignore_user_abort(true); is set
<16> i think that's set by default
<16> i think that apache may also have a part in deciding how long a script can stay alive, but i'm not sure and don't have the time to research that atm
<17> it shows its off by default on my php51 install
<15> thanks guys.
<15> let me run some tests.
<17> deadroot: yeah apache can play a role, it usually has a timeout of inactivity on a connection like 300 seconds or so by default (iirc), but i believe the ignore_user_abort(true); should handle that
<17> perhaps some info could be in here to: php.net/features.connection-handling
<18> what would give a T_CL*** error?
<19> Sutabi: "cl***" is somewhere it shouldn't.
<19> s/\.$/ be./
<20> I made session_start(); $_SESSION['user']=$user, I excecute a link to other file and in it I do: echo $_SESSION['user'], and I get nothing... Why is that?
<17> did you do session_start() on the other file?
<20> Ohhh, I understand now :)
<15> zircu, deadroot : set_time_limit with ignore_user_abort did the job for me.
<21> night all
<17> fine, dont give us any other warning
<22> Wondering if there's a PHP method that allows you to determine browser type?
<23> there should be
<24> well, $_SERVER['HTTP_USER_AGENT'] is good for now
<22> Groovy.. thanks
<22> Boolean?
<22> Duh..
<24> ?
<22> Sorry.. its obviously a string
<24> yup
<22> Too easy.. thanks
<22> http://www.rafb.net/paste/results/XTIXZq20.html
<24> exactly
<22> <- Having fun with image transparency
<24> png probably
<2> png + sleight.js
<2> = IE compat for png
<2> but this isnt #html/#js/#web
<6> jiggster === LAME
<2> Jymmm === LAMER
<2> :P
<2> rain on my parade, thanks
<6> jiggster ==== GONE!
<2> oh come on
<25> hi there. I have a variable scope question - how would I go about making the following code display 1 ? function a() { $b = 1; function c() { echo $b; } c(); } a();
<6> jiggster It's the 'IE Only' mentality
<2> and i provided a non IE solution
<2> :P
<2> wait what
<2> sleight.js is IE only?
<2> of course it is, it was designed to be
<6> jiggster Why should there be a difference at all is my point.
<2> :P
<2> ugh
<22> jiggster: Correct
<2> most browsers except IE support PNGs though, so...
<2> w/e
<22> Sleight looks like the answer
<23> IE supports pngs too
<23> or at least I've never had a problem with them
<22> Not transparency
<23> oh
<2> no 24 bit transparency
<22> Well, it supports it in its own way :)
<6> luu IE supports PNG w/o Alpha channel.
<22> Jymmm: Precisely
<2> well, to get really technical, IE does support pngs
<2> with a proprietary filter


Name:

Comments:

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






Return to #php
or
Go to some related logs:

xmms infopipe ubuntu
ipconfig dapper
#asm
Runtime error 230 at 08062D1D
#web
hostlen silence ircd
#perl
#lisp
#web
#perl



Home  |  disclaimer  |  contact  |  submit quotes