| |
| |
| |
|
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> unfortunatley i didnt find anything to do with htaccess there <0> since php.net is usually not server specific <0> finally found something on a mambo forum of all places <0> php_value error_reporting 'E_ALL & ~E_NOTICE' <1> u8m. Ew. <2> MACscr: That's because the settings aren't server specific. That's the same setting you'd use in php.ini or any other SAPI-specific method. <3> I'm interested in learning how to work with php and mysql and apache...any books recommended on that topic? <0> Sitepoint has a really good one <4> !+sql <5> [SQL] Structured Query Language - the language for most DB Systems. See http://www.w3schools.com/ http://www.sqlcourse.com/ http://www.onlamp.com/pub/ct/19 and #mysql, #postgresql or #sql <4> krozinov ^^^^^^^^^^^^^^^^^^^^^^^^^ <4> !+manual <5> [PHP Manual] http://php.net/manual/en/ <4> !+search <5> To EASILY search php website and manual --> http://php.net/WhateverYouWantToSearchForGoesHere <2> krozinov: George Scholossnaglelsnaggle (sp?) has a decent one
<2> Hopefully he won't be too offended that I can't spell his name. <2> If it helps, I can't spell my wife's maiden name, either. <6> TML: uh oh, heh <2> itrebal: Well, I know it's either Sorensen, Sorenson, or some variation on that theme. <2> itrebal: But then, I don't know her birthday or our anniversary, either. :) <6> TML: i hope she doesnt ask you for any of those things.... and if she does, good luck finding a new one :) <2> I just know that on June 19th and June 29th, I'd better show up with gifts. <2> No idea which is which <4> lol <7> oooh, you can come to my house with gifts on both days <7> well...unless they are girly <6> ds-: hell, i dont care - if they're girly i'll give 'em to my other :) <2> We were supposed to get married on her birthday, so I'd just have the one day to remember <7> that's true <2> But something happened...no idea what. <3> TML and Jymmm and MACscr thanks! <6> TML: you forgot :) <2> heh <2> No, no...it was broken without my help. <2> All I did was pay for it and show up. :) <1> lol <4> TML so what you're saying is you're gonna be late for your own funeral <2> itrebal: In fairness, it's not like she didn't know what kind of relationship she was getting into. We dated for over two years, and in that time I forgot to speak to her for months at a time more than once. :) <2> Jymmm: Let's hope... <4> lol <6> TML: how the hell do you do that <8> how would i display a mysql error without breaking up the template, because right now it stops displayin the rest of the template when there is an error <7> That's like a programmers dream woman <2> itrebal: I work. <6> TML: ah <2> itrebal: A lot. <6> ooh <2> itrebal: I used to own my own software company, and I was living 400 miles away at the time. <7> Jezek, what are you using right now? mysql_*() || die()? <8> die <4> Gawd I love ScotchLocks!!!! <2> itrebal: I would eat, sleep, shower, and work all at the office. <1> use 'or' insteade of || <6> O.o, thats rough <7> change it to echo. But it's better if possible to handle the error as opposed to displaying a msg and continuing on. <4> TML doesnt sound like anything has changed <2> itrebal: I have no recollection of the month of February, 1999. None whatsoever. <2> itrebal: I can remember it being January, then one of my employees coming into the office and saying "So, when's that thing going to be done?" I said "Feb 26th, like I've said all along." The employee said "It's March 3rd." <2> And sure enough, it was. <2> Talk about a shock. :) <6> heh <2> "What?! Wait...what happened to February?" <8> how do i check if there is an error? can i use isset? <1> TML: o.O <6> Jezek: to an extent, sure <9> sequethin: TinyMCE IS AMAZING!!! <2> Stormchaser: It was very surreal. :) <2> kanzie: Just don't leave it open in a firefox tab overnight. <2> kanzie: Unless you don't like your CPU. <1> TML: I manage to remember 2 weeks, but never, EVER a month o.O <2> That'd be a good way to "break up" with it. <1> Er... I mean skipping 2 weeks <6> i've done a month...happend to be february too <7> Jezek, most of the mysql_ functions return FALSE on error <8> oh <7> Jezek, so you can just use a conditional statement of some sort
<8> i just want to make it so if there is an error it displays it but if there isnt it says "thank you for submitting. blah blah" <8> ok.. like what would i put <4> OH MAN! 1000x quieter now <8> if(mysql_error() = FALSE) { <8> ? <2> Jymmm: Finally get the voices to stop, did you? <7> s/=/== <7> err wait no <4> TML: No, just got them on a time schedule <2> Ah <7> if (mysql_connect($serv,$user,$p***) == FALSE) { //handle error <9> sequethin: oh... eek...memoryleak huh? <4> TML: Replaced the fan in the ext hdd.... the bearings were going out. <2> heh <2> I can imagine that'd be noisy <8> i dont want it to ccheck if it can c onnect.. <7> go here: http://us2.php.net/manual/en/function.mysql-connect.php <8> nooo <7> look at the first example <7> it's the same for checking queries <8> oh ok <2> Had bearings go out in a m***ive switch once, that sat right next to my left ear <7> if (mysql_query($query) == FALSE) { //handle it <7> lig! <4> TML: At least muffin fans are the one thing that when they get noisey it's an indication they're going out. Which is a good thing <7> You sent me my first memo <2> "rrrrRRRRRrrrrrRRRRR-pause-RRRRR" <6> muffin fans? <1> lol <4> itrebal MY GAWD MAN?!?!?! Haven't you seen Shrek yet? <6> Jymmm: absolutely... just dont remember the reference :( <4> itrebal: You dont know the Muffin Fan Man?! <8> wait if its false then there is an error? <4> !+0 <5> 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 <6> Jymmm: i know The Muffin Man... but not The Muffin Fan Man <8> oh yah there is ok <4> itrebal muffin fans are theones in your computer <6> Jymmm: just "the standard"? <4> yes <6> ok <8> sweetness <8> thx ds- <7> your welcome <10> ds-: just a request, nothing else, could you promote === a little more? thanks :) <7> I usually do, I'm in a lazy mood today <10> :) <4> itrebal: So, what have you been doing with your butterfly? <6> Jymmm: nothing really, i'm trying to get myself a few parts (ie: headers to solder in) i've been looking through various surplus stores, but not much has been sucesful <4> itrebal you can't find headers? <6> Jymmm: nope <4> itrebal send me $5, I'll send out a care pkg when I get the chance to. <4> itrebal I said a care pkg. <6> Jymmm: i'm aware, which will contain just headers? <4> no <11> hey all .. is there an easy way I can tell which php.ini file i'm using? <6> PM me details <4> dont you know what a care package is? <6> of course <4> no you dont, go look it up... <4> Red Cross Care Package <12> Puterman- phpinfo() will tell you <11> ty <6> lol <13> itrebal, can I ask you a question about sleep() that is giving me problem? <6> beerdeliveryguy: why specificly me? <10> Puterman: do realize that your cli, and mod_php, may use different php.ini's... <13> cause you've helped me before on other things which end up working perfectly <13> if you don't mind. <6> sure, but you dont need to ask me specificly <10> itrebal: because you appear to know things <6> philip: thats good to know <13> i know ive just asked like 4 times and noones answered, lol <13> I have a problem with sleep, at the end of my script, I have a sleep function waiting 10 sec, and then perform a function
Return to
#php or Go to some related
logs:
xorg.conf thinkpad a31 nvidia-vedio driver #debian crystal 4237B ubuntu debian unstable netinstall iso #mysql #css #python SQL Change DB owner in all tables acidrip no subtitles
|
|