| |
| |
| |
|
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> guys, thanks for the help - going to flex-old fixed it <1> TML: Apparently mbstring uses Oniguruma <2> is there a way to get the output from stderr when executing something with exec of system? <1> adamc: command 2>&1 <1> 2 being stderr, redirected 1 (stdout) <3> adamc: Use popen or proc_open instead, and you can retrieve stderr separately from stdout. <2> thanks mattmcc <1> Or that, if you need it separately :) <2> kuja: i can't use the method because i'm reading something else from stdout <2> but thanks <4> is $_POST readonly? <1> No <5> myconid: no <6> okay people, I know im doing this all wrong, so please dont laugh too hard, on this source: http://pastebin.com/553371 I get this error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/addicted/public_html/venue_review_karaoke.php on line 79 <4> S^Gerbitz: do some error checking
<6> myconid - My question is how to referce to tables <1> S^Gerbitz: Whatever you're p***ing into mysql_fetch_array() is not a valid result resource. <2> S^Gerbitz: thats the right way to access the tables but your query might be returning nothing <1> So, most likely the result of a mysql_query() that you p*** into mysql_fetch_array() is invalid. You might want to use mysql_error() <2> so... like myconid said earlier, do some error checking <0> gah. <4> fetching before checking numrows is pretty bad idea <5> S^Gerbitz: That is also a very insecure way of querying. <5> myconid: I do it often. <6> I uncommented the second # <6> //echo mysql_error(); <6> and I still get the same errors <2> HolyGoat: thats probably because you are certain your query will return a result <5> adamc: I don't see how that has a lot to do with mysql_num_rows() <5> Oh you just want to catch if there are any records at all? <2> HolyGoat: yea <5> In that case it's useful, sure. <6> Can anyone see the error? <7> HolyGoat: Do you still work in PHP? <6> Table 'addicted_db.Karoake_Days' doesn't exist <6> lol ;) <5> Stormchaser: sometimes <7> HolyGoat: What do you use most? Java? <0> where are apache2's logs kept on debian? <3> itrebal: /var/log, where else would they go? :) <7> itrebal: /var/logs/apache2 <7> s/logs/log <5> a combination of perl, php, java and craploads of xslt <7> haha <2> i thought apache keepes some logs in /usr/local/apache2/logs? <0> mattmcc: 2 days ago i had slackware as my server, and were in /usr/local/apache2/logs/ <3> adamc: /usr/local would indicate a package not installed by the distro, but by the administrator. <5> Stormchaser: but it's all going to be replaced throughout this year <7> HolyGoat: Heh... Now I have SOAP on my back... AGAIN :/ <2> oh.... <3> Although it wouldn't surprise me if Slackware did that anyway. <3> Few distros follow the FHS to the degree Debian does. <5> Stormchaser: I hate xslt so much, it's repulsive <7> HolyGoat: Believe me, that I can imagine :) <8> I love it <7> I was *HOPING*, that I wil never, *EVER* see SOAP again <5> it's the dumbest excuse for a language I've ever seen <8> I'm struggling with xsl-fo atm <8> HolyGoat: why? <5> aidan: it's too minimalistic, you can't even create an incrementing counter in a simple way <3> HolyGoat: The logical result of someone saying "I know! Let's write a declarative language using XML!" <5> mattmcc: Heh indeed. <8> HolyGoat: right, xsl 1 is pretty **** . Having to make a recursive template just to increment a variable is pretty stupid. <8> HolyGoat: xsl 2 has all those features <5> I have a book that states "now non programmers can transform documents too!". Right. As if non-programmers can figure it out. <8> I'm not sure why they made XSL a functional language either <3> Yeah, I love it when people say they use XSLT for templates so that their designers can modify them. <5> Heh yes, I feel sorry for those designers. <9> aidan: Look at the list of names on the WG and it becomes significantly less mysterious <8> BUT, still, I like it. I've been feeding myself using it for the last 2 years. <5> Most things can probably done quicker and cleaner in a programming language with a dom/sax parser <9> aidan: It's like a "Who's who" of functional language acolytes <8> TML: hah <8> HolyGoat: well, actually I tried that first <8> It was quite effective for small documents <9> I like most of what I see in Kid
<9> Except for the error reporting <9> Stormchaser: You didn't answer my question(s). <3> Stormchaser: Careful, you may be mind killed anyway for being a cartoonist. <9> Stormchaser: Have any work you'd be willing to show me? And do have any interest in collaboration? <3> Stormchaser: Just remember to only draw cartoons that conform with everybody else's beliefs. <7> TML: Just a sec... <5> I wonder if anyone ever attempted to create an IDE for XSL (beyond syntax highlighting and unleashing some xpath stuff on the source document, that is) <9> HolyGoat: Sure <9> HolyGoat: Altova <3> HolyGoat: ActiveState has a Visual XSLT thingy. Pretty sure there are others. <8> HolyGoat: I use Oxygen <5> Yeah but even with altova xmlspy you have to manually type in most of the xsl, as far as I've experienced it <9> Personally, when trapped on win32, I find xmlshell so handy that I don't mind shilling for them here. <9> So, consider them shilled. :) <5> mattmcc: like, not Komodo? <8> be back soon <3> HolyGoat: Yeah, it's an addon for VS.NET. <7> TML: http://storm.homeunix.org/misc/comics/duhci1_1.jpg , duhci1_2.jpg , duhci2_1.jpg , duhci2_2.jpg , duhci2_3.jpg <5> mattmcc: Aha. Interesting. I might order that at work. <10> how can i see if one array is empty? <3> http://php.net/empty <9> malmen: Check its count <11> anyone use quanta in here? <7> no. <7> winmutt: #quanta <11> dont lie <5> heh <10> tks <5> quanta.. brr <11> there is like one guy in there storm <11> quanta is great <11> quanta uber alles <7> quanta *would be* okay, if it wouldn't be that bloated. <11> i will agree with that <5> "click on this button if you want me to create some simple form tags for you" <11> one heck of a mem hog <12> ZDE. <9> Stormchaser: pm? <13> anyone know why in b2evolution im logged in as a user i created with perms (or even admin), but I dont see anywhere that says Post? i know this is a dumb *** question but i seriously cant figure this thing ou <11> zde? <13> t <7> TML: Sure. <11> HolyGoat: ya i dont use it for html <5> and eclipse for everything java <12> ZDE, Zend... <11> gah coding in vim is hateful <2> i love vim <2> what else is good to use? <5> we don't have much of a choice at work, only shell access, so vim is the best I can get <2> what linux ide is there to use? <5> adamc: zend ide runs on linux <12> adamc: Zend Studio will work in linux. <5> so does jedit <2> hrm.... <5> but jedit is an advanced text editor, not an ide <14> adamc, Zend is better to me <3> Which is fine, IDEs are overrated. <11> does zde support scp/sftp? <3> Yes. <12> winmutt: yes. <2> actually... probably prefer to use a text editor anyways <2> but i need one that can do highlighting for C/C++ and PHP like vim does <11> arcannon: ever use quanta? any kind of comparrison <5> Yeah. Although Eclipse is nice, so you don't have to deal with all kinds of XML configuration files <15> do any text editors actually support heredoc? <4> Anyone who doesnt use an IDE is wasting time. <3> adamc: Virtually any decent editor can do that. <3> myconid: Bull****. <11> mattmcc ++
Return to
#php or Go to some related
logs:
ubuntu blackdown classpath #web A* path finding hash table optimization
devians is what abi version mismatch gaim ubuntu #linuxhelp #linux #linux #kde #python
|
|