@# 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 35



Comments:

<0> morning everyone
<1> caffinated: you're just picking on the little things. i, for one, will never advise someone to keep persistent user data with anything but cookies (however insecure they are, its still more secure than any other method) -- you might, i wont. thus i say it's impossible because there is no way to secure it.
<2> Artnez_: I didn't actually state any preference one way or the other. I'd just rather see the right information go out the door.
<1> its like telling someone that they CAN run across a busy highway with their eyes closed.
<3> i can fork process only via pcntl ?
<4> Artnez_: if they can run across a busy highway with their eyes open, they can probably do it with their eyes closed :)
<5> Artnez_: no
<0> anyone know how i would inclue several direct links for the source of .. either a div or a td?
<1> ootput: no? no what? :P
<6> how can I print out the two first numbers in: echo zend_version()
<5> Artnez_: ah,. no, i couldn't get it to work
<1> dbe: echo substr( zend_version(), 0, 3 );
<1> ootput: did you get any errors?
<6> Aramir, that gives me: unexpected T_STRING
<5> Artnez_: it failed on the next stanza (opendir(Array)
<6> Aramir, it works fine, erm sorry



<1> ah, you're trying to loop through the directory
<5> Artnez_: failed to opendir: No such file or directory in blah/index.php on line 24
<6> Artnez_, , it works fine, erm sorry
<7> hi
<1> ootput: make sure you specified the correct path to the directory
<6> Artnez_, nicks ;)
<7> is there a function in php that allows me to code a little script to check if safe_mode is on on the server?
<5> Artnez_: thanks. i think i'll think this one over in my dreams
<5> Artnez_: pretty tired
<5> night
<1> dreams is good. night
<1> N-O-X: if you PHP is in safe mode or the server is in safe mode?
<4> PHP's safemode
<8> server safe mode?! wth?!
<4> Jymmm: like windows...
<1> Jymmm: heh. i took a guess.
<1> N-O-X: ini_get( "safe_mode" )
<8> Artnez_: Um, you ****! dont quit your day job.
<1> Don't worry, I wont.
<4> *any* server running on windows, running in safemode should be shot. then shot again. and then have the admin(s) shoved in the case, and shot a few more times
<9> bullets are too nice
<1> And? The guy asked a question.. if safemode exists then it exists.. the hell do i have to do with it?
<1> clarification is prerequisite to explanation .. or so I hear.
<4> oh so soon?
<4> heh
<10> itrebal: who runs a server in safemode?
<4> Myconid: i dont know anyone
<10> itrebal: im pretty sure no one does that .. :/
<4> "(02:06:03 PM) Artnez_: N-O-X: if you PHP is in safe mode or the server is in safe mode?"
<10> kk
<1> if = is , typo
<1> i have a lot of typos in mornin time :)
<4> i need to clean my server & bedroom...
<1> in my defense: [13:12:42] N-0-X: is there a function in php that allows me to code a little script to check if safe_mode is on on the server?
<10> itrebal: nice priority ordering :D
<4> back in a bit
<11> later itrebal
<8> itrebal: burn any wood you have too
<12> Hi, I got a problem with mail(), i got the whole script on a paste site.. who can i paste it too?
<7> sorry, I was talking about the php being in safe_mode
<7> thanks for your help ;)
<10> _chillyD: you want help with someone elses code you downloaded that doesnt work?
<9> lol
<12> nop
<12> my own
<9> who wants to throw the first stone?
<10> _chillyD: then why didn't you post the URL?
<11> I will... ..
<12> because there is some info i just want to publish in the channel, its for a order system..
<11> what.. what were we throwing for?
<1> _chillyD: it would help to tell us what the problem is
<12> i dont want to :p
<12> well
<1> not give us a huge page of code and say 'fix it'
<10> _chillyD: you need to, a. post the problem code, b. say the url and the problem.
<12> it doesnt send the mail
<12> dont know why..
<1> there could be a few reasons
<10> _chillyD: prob because you dont haev an MTA running and routing the mail.
<1> first, some hosts have a problem with Sendmail (which is what i think the mail()) function uses
<12> well I dont get any errors or anything.., and mailserver(smtp) and everything works, sendmail is default etc..



<13> That's a hell of an ***umption.
<1> _chillyD: Google for phpMailer
<9> asking for help with code they got on a paste site...
<1> i've been using it for years, without problem
<13> _chillyD, check your mail queue, see if it's being added.
<12> URL: http://www.nomorepasting.com/paste.php?pasteID=58275
<12> here you go
<10> Epichero: he put his code on a paste site, not copied it.. just bad phrasing
<14> is apache_get_modules() the best way to check if mod_rewrite is insatlled?
<9> yeah now thats evident
<10> lol.
<1> _chillyD: dont forget to validate the user info :)
<1> that they send over
<15> I have a cl***. A number of the methods within the cl*** use the trigger_error() function. Within the cl***, I have defined my own error handling method. Where does set_error_handler() need to be set for all the cl*** methods to use my own error handling method?
<12> no its not for that..
<10> _chillyD: line 72 change itto $msgBody <<<EOL
<10> and 157 to EOL;
<13> wtf
<12> what?
<1> Feldon: you may enjoy exception handling much much more when it comes to cl*** specific error handler
<1> to answer your question though, do something like:
<12> myconid, want me to replace $msgbody to EOL ?
<13> _chillyD, don't bother.
<1> set_error_handler( array( &$this, "some_method" ) );
<10> _chillyD: no.. i want you to use heredoc
<10> _chillyD: php.net/heredoc
<12> ok, relax guys, im not a pro coder :p
<9> WHAT
<9> who invited the non pro!
<13> _chillyD, it's just a difference in coding style and will have no effect on the result of your program.
<12> AzMoo!
<10> This is ##PhpOlympics.. we are all amatures
<3> roaet: i have found best way
<9> hehe
<3> roaet: pclose(popen :)
<12> ok gimme a sec ill check the heredoc
<10> _chillyD: its just good practice to use heredoc when you have more than a couple lines ...
<1> Feldon: oh, also, you want to do this is in the constructor
<13> Myconid, who says?
<10> AzMoo: I believe I just did.
<13> Myconid, yeah, but you can't just throw a statement like that around as if it's common knowledge.
<12> ok i didnt understand a jack of that :p
<16> how can I find out how many sig figs a number has in PHP?
<10> _chillyD: azmoo is telling me that you shouldnt use heredoc.. so nevermind :P
<10> Loky: what is a 'sig fig' ?
<16> significant figure
<12> okey, but whats wrong with my code then?
<12> why doesnt the frikkin mail just go
<1> _chillyD: download and use phpMailer
<10> _chillyD: does your mailserver process the email?
<1> you cannot rely on the mail() function
<13> _chillyD, Check your mail logs and the mail queue.
<10> Loky: I still dont know what your asking
<12> there is no problem with the mailserver im 100% sure of that, i got another script who works
<1> you also need to check your mail queue as stated many times above. sometimes the server misbehaves and PHP is not able to p*** sendmail requests.
<1> which is due to the server configuration
<16> Myconid, http://en.wikipedia.org/wiki/Significant_figure
<1> _chillyD: then test this yourself... delete the entire script and simply do a test mail() when the form is submitted
<1> instead of going through all of that
<1> if the mail() works, its your code. if it doesnt, it's not your code.
<12> whats phpmailer btw?
<10> _chillyD: go read about it.
<1> google for it _chillyD, i think phpFreaks even wrote a tutorial on it
<17> fyi, there is something called a singleton OOP users use to save usernames
<8> Artnez_ that's not saying much.
<17> they do not use cookies
<12> whats my easiest option right now?
<1> Jymmm: hostile today i see
<13> davidbest, do you know what a singleton is?
<1> davidbest: you have to be ****ting me
<16> Myconid, do you get it?
<17> single instance of a cl***
<13> yes.
<17> that is referenced


Name:

Comments:

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






Return to #php
or
Go to some related logs:

Inconsistency detected by ld.so: Assertion `page != ((void *) -1)' failed!
shift
preparing flex debian
#math
SHA512 php
DATESUB INTERVAL UNIX
foreach post variable php addslashes
aprq2 linux
apt-get chkfontpath
overpointe



Home  |  disclaimer  |  contact  |  submit quotes