@# 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 31 32 33 34



Comments:

<0> Right, I pastebin the problem I'm having with ereg. I'm not sure whether it's my regular expression, or how I'm using the function. http://pastebin.com/637604
<1> Aap: Whoa.
<1> Aap: That's a bad return code. :D
<2> what does it mean?
<3> I'm trying to upgrade PHP, and am having problems with a really old version of phpwiki I have. I'm getting errors of deprication all over the place. Is there a way to temporarily turn off these errors so I can dump out the wiki pages?
<1> Likely that you don't have permission to be doing what you're doing.
<1> If $retVal == 127 that's bad.
<1> 0 is OK return status.
<2> damn
<0> xbeanx: error_reporting(0);?
<2> i chown-ed the dir
<1> http://publib.boulder.ibm.com/infocenter/printer/v1r1/index.jsp?topic=/com.ibm.printers.ipmaix/com.ibm.printers.lcdsaix/iprm0mst72.htm
<1> Those are your return codes.
<2> thx mate
<1> Err, wait, they're not
<1> :D



<2> no thx then
<2> :p
<1> In any case 0 is OK return code, 1 is stderr I think? Can't remember what 2 is.
<2> damn , i have to solve this
<1> But beyond that it's just bad. :D
<2> :)
<0> Anyone have any idea about my problem with ereg?
<4> viagra
<5> Jude?
<4> Jude, why do you use ereg and not preg_* ?
<4> Jude, php manual even says that preg_* are faster
<4> Jude, "preg_match(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to ereg()."
<0> Yes, I've read it, thank you.
<0> If I have to switch to pred_match_all(), fine, but I'd rather try ereg first.
<0> I don't need speed.
<5> What it's doing there is correct..
<4> slower and less features against faster and more features, doesn't make sense to pick slower alternative!
<6> ereg should never be used
<5> Jude: What're you after?
<0> FauxFaux: Thought it might've been something to do with my programming. I imagined that output was correct.
<4> Dragnslcr, thank you!
<6> There's no reason not to use preg instead
<0> FauxFaux: Matching anything *.poll.
<1> If the search is unsuccessful, the shell prints an error message and returns an exit status of 127.
<1> That's for you Aap
<1> Your script is not being found.
<5> preg_match_all('[a-zA-Z0-9]*\.poll\r', $contents, $matches);?
<0> FauxFaux: Tried that.
<2> hehe thx
<5> (with delimeters)
<4> FauxFaux, and / / at the begin and end i think
<5> Ciantic: Copy-n-paste 1, Faux 0.
<2> well, i found the problem , its a permission denied
<0> Right-o, :)
<1> Aap: There ya go.
<0> FauxFaux: Thank you :)
<5> How about print_r(preg_grep('/[a-zA-Z0-9]*\.poll/', explode("\n", $contents))); as a slightly different solution?
<2> now to fix it...
<0> FauxFaux: Hm. Interesting, but this one suffices for the minute :) I'm only actually writing this script as a favour for a friend, but it's become bigger than Ben Hur.
<5> Heh :)
<7> Hm is there anything for analyzing SSL CSR Files in PHP?
<1> StyleWarz: If you know the cipher used you could decrypt it.
<1> PHP has a lot of cryptography functionality..
<2> well, first i go to eat
<2> see you a bit laterzzzzz
<7> Etriaph: hm okay, well i haven't dealt with the X-files ;)
<1> http://www.php.net/manual/en/ref.mcrypt.php
<1> Also: http://ca.php.net/manual/en/print/ref.openssl.php
<1> :D
<1> The OpenSSL functions are exactly what you're looking for.
<7> yeah i see :)
<8> hey, anyone care to help a rookie freelancer out with how to do the freelance thing?
<9> step 1) write code, step 2) find someone to pay you to write code, step 3) yacht and vacation home in the caymens
<10> yea right
<10> for php coding ? heh
<9> ;)
<10> maybe for Mercury programming
<10> but you aint ever gonna get a house in the caymens coding php heh



<11> there is nice money in php coding :)
<11> but its more about having the selling skills rather than the coding ones :P
<10> "nice" don't buy million dollar homes
<12> yeah, find idiots who have too much money
<11> then your selling yourself short cmwneo :)
<12> then talk them into buying things which are 1) easy to make 2) they dont really need 3) you can sell for a lot
<10> enough with the counting
<13> so babies made in the phillipines?
<10> GeoffC i agree that selling is a HUGE part of getting the right job
<13> GeoffC - where's the market?
<14> making money doesnt require technical skills, it requires financial ones
<10> ponguin as long as you can back the financial skills up with technical
<10> or know the irc channel for the programming language your using
<10> then find some poor university student :)
<15> Hi, I want to a logo to the lower right corner of sone pics. Is there a php function to do this dynamic?
<13> gd library mkl1525
<11> i agree ponguin :)
<13> imagecreate and merge
<14> maybe, maybe not - but theres certainly enough engineers that lead a very meager existence, despite whatever technical skills they posses :)
<11> and vice cersa ponguin :)
<11> crap coders bluffing theyre way into higher pay ;P
<16> morning =]
<14> sure, they didnt use their amazing technical knowledge to achieve it either GeoffC
<17> GeoffC: Isn't that like the overwhelming majority?
<11> i don't know Ahroun you tell me :)
<14> being a technical know-it-all has very little to do with financial success
<1> I had a guy on staff for 4 months who's been working with PHP for 5 years and he was horrible.
<18> hi
<1> And he's just one of the individuals whom I know who can get a job and do it badly.
<18> is it possible to have source code instead of result in a page web ?
<14> Zmanu: yup
<1> Zmanu: Umm, what?
<1> OK, if ponguin understood that, deal with him. :d
<18> fort example have <html><head><title>.....</title></head><body>blblblblsvls</body></html>
<1> Damned shift key. :D
<16> Etriaph: erelevant topic
<15> lra_, thanks the image functions look interesting
<1> Jayinwww: Pardon?
<14> Zmanu: see http://php.net/highlight_file and http://php.net/highlight_string
<19> is there a proper way to close an http session ?
<14> Etriaph: I hope thats what he meant :)
<1> danols: How do you mean? Release information stored in $_SESSION?
<19> Etriaph go http://www.danols.com/www.estatemaps.info/admin/ it either gives you an error from the www i'm accessing or the page
<19> Etriaph my guess it's because i'm not closing the session properly, but google hasn't been helpful
<19> Etriaph refresh the page few times and you'll see what i mean
<1> danols: You have to call session_start(); before anything else happens in that script.
<1> Oh...
<1> Wow.
<1> First problem is this isn't PHP
<1> So I can't help you here, or likely anywhere else for that matter..
<13> no it's ##php
<19> Etriaph i know it's no php, that response is from the webpage
<19> danols that i'm just trying to access
<20> danols: maybe try #web or #httpcraft ?
<19> good point
<19> thank you
<17> *chuckles* lra_: No, Etriaph means the error is coming from IIS and looks like a javascript or ECMA error.
<18> p0windah: thanks
<1> Ahroun: Actually, it looks like a C# error.
<17> Etriaph: That's C#? Ew. I feel unclean.
<19> Etriaph yeah and all i'm doing is sending a GET request
<19> danols and it works every-other time only
<1> danols: Are you trying to read from the PHP session information in C#?
<19> Etriaph no no, just a simple GET request, so i'm trying to read the response that's all
<1> But... hmm.
<1> Is what I'm looking at a PHP script?
<1> Reading in the data from an ASP script?
<19> Etriaph yeah a result, and the script just displays the body of the http response
<1> Ahh...
<19> well it's a response from http://www.mls.ca//PropertyResults.aspx?Mode=5&id=6601261
<1> It's your PHP script then.
<1> Because that URL loads just fine on multiple reloads.
<1> So your PHP script is not performing the same GET request each time, something is changing.
<9> hah! "Manager: I should send you guys a screenshot of my desktop. It looks like Bill Gates threw up all over it."


Name:

Comments:

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






Return to #php
or
Go to some related logs:

Failure negotiating the session in stage '7'
ntpd specify strata level
#web
Ubuntu default pass
altermime lotus notes
#math
libsata menuconfig
#lgp
#css
#ubuntu



Home  |  disclaimer  |  contact  |  submit quotes