| |
| |
| |
|
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
Comments:
<0> Xen0n: Great! dirname() was exactly what I was looking for. You are hardcore, man ;) <1> Jemt, ^_^ I do try and help if i know something <2> Hi, what is the best way for calcul the Centreal time Or EST if I have the time in gmt? <0> Xen0n: That's the spirit ^^ <0> Hehe :) <3> Either: Create a timestamp from that value, then time() it out. <3> *JFDionne: <1> JFDionne, why not use gm_date() when outputting? <3> Xen0n: Like.. private, public, static, protected, synchronized, etc.? <1> freeone3000, yeah :D <2> Xen0n because my computer is not on that time zone :) <3> JFDionne: Check if it's DST, subtract DST?5:6 hours from the time for CST. <1> JFDionne, doesnt matter ... gmdate will automatically fix the date according to the offset your computer is on <1> JFDionne, oh <1> sorry
<1> I read that all wrong >.< <1> damn :( <2> :) <3> JFDionne: And the same for the rest... EST I think is 4|5. <2> freeone3000 but for the saving light... <1> I thought you had the time in something else and wanted GMT <2> right now est time is -4 but was -5 before the last sunday of march I think... <3> Yeah. Daylight Savings Time. <3> Except for Arizona and Hawaii. Those don't observe it, iirc. <2> do I need to "calcul" that myself? <3> Meh. Why not. Until someone reorganizes the time zones, it's pretty much going to be that way. <2> because if i'm right, only 4 time zones use the Daylight Savings time... i'm doing something for people from europe and canada too.. so i'm sure about how they work in europe <4> well... Most europe is DST-aware. <5> I know how to fix it, but I was just wondering why if(empty($UserInfo->getBrowserCookieEnabled())) returns errors :S <4> php.net/empty. READ it. <5> it returns the same value as $cookieval = $UserInfo->getBrowserCookieEnabled(); if(empty($cookieval)) <5> ok <5> ah, I see. Thanks Stormchaser <6> How can I screen-scrape a website? <7> Good afternoon. I need to ask a simple question, can someone ***ist me? <1> !+g1 <1> bah <1> !tell Digitalbear about g1 <8> Waldo: pull in the websites content <6> zircu, how can I do that? <9> is it possible to grab the auto_increment value from the mysql_query i just executed, without having to execute another query <8> Storkme: mysql_insert_id(), be sure that mysql_query() was successful though <9> awesome, thanks <8> if you dont you may get an insert_id not for that record that you thought you added <10> i on gnome environment , but it is time to learn qt or gtk , what do you recommend?, people sya that gtk is better.... <10> say* <9> gtk is more widley used, i should think <7> created a simple html page containing link <A HREF="welcome.php?name=David"> Hi, I'm David! </A> then created simple hello.php contining <?php <7> echo( "Welcome to our Web site, $name!" ); <7> ?> returns only Undefined variable: name in C:\Inetpub\wwwroot\testsite\welcome.php on line 13 <7> what s wrong? <10> Storkme, what do you use? <1> ARGH! <8> i'd say.. quartz is better :) <9> matadamas, i don't. i'm a java programmer <1> Digitalbear, you are ***uming register_globals is on, which it isnt <1> Digitalbear, you shouldnt do that... use the global arrays, like $_GET <10> Storkme, i also need to learn java, do you recommend netbeans? on linux <1> so in that case, $_GET['name'] <7> <--- is novice (for calrity) <11> i have error reporting set to off, is there still a way to know if my sql connection is working or not? <10> Storkme, or first start to program from console with jdk <9> matadamas, to be honest, i'd recommend not using an IDE. it makes you lazy <1> Digitalbear, good to pick up good habits early :P <4> <-- is a jumbo jet (for insanity) <9> i've been programming java quite a while, i've never used an IDE <1> (for anything) <4> Xen0n: woof. <9> meow. <1> baaaa! <10> Storkme, i see, i think as you, so i prefer total control from console, dont know if windows xp has jvm by default? <7> I will look into this. thx <9> matadamas, it doesn't
<1> matadamas, it doesnt - licensing issues <9> *shudder* windows <10> ok thanks <1> hehe <10> i think in few years it will be by default, dont think so <10> ? <1> Storkme, couldnt agree more :P I havent used it in 10 months - its like going celibate, only in a good way <9> hehe :p <9> Xen0n, what distro? <1> matadamas, no, it wont be <10> why do you think that? <1> matadamas, it used to be, but they were forced to remove it because of licensing issues <1> in other words, Sun didnt like MS distributing Sun software <1> Storkme, Gentoo ^_^ <10> ohh i didnt know about it was in <9> i need to install gentoo, but i don't have a spare hdd to back up my files with :( <10> i see now <12> Xen0n: err, MS distributed their own version of java, right? <9> *shudder* <9> ms java is worse then gcj <1> Remi_Woler, well, kinda... more like patent infringement actually... <9> and that really says something <12> Xen0n: kay <1> All i know is, Sun got pissed about it <12> that's for usre <10> so i should start with c++, syntaxis beetween java and c++ are similar or different totaly? <1> So MS removed it <9> matadamas, up to you <1> Java is a piece of crap purely because of how slow it is... <9> Xen0n, java isn't slow, if you're any good at coding. <1> or maybe people just code badly with it <9> i've never coded a slow java application <1> Storkme, i have yet to use a sizeable Java app that isnt slow as hell <9> azureus isn't slow. <12> i've never coded a java application <1> Storkme, sure it is, when compared to some other things like ktorrent <9> true <4> Java is slow by default. <1> Exactly. <9> well, that's the price we pay for using a jvm :) <1> oh, and is this a little off-topic? <1> :P <9> although, java's for loops are faster then c's for loops <12> but at the other hand, it is cross-platform <10> java and c++ are similar about syntaxis? <9> which is utterly insane <1> Storkme, ... how? <9> i have no idea <4> Woof. Yeah. The channel dog says stay on topic. Talk Python :) <1> Storkme, i doubt java would generate a 10,000x10,000 mandelbrot set image in less time than a C++ app :P <13> matadamas: similar, but there are many fundamental differences <9> Xen0n, true <1> Storkme, took me 40 minutes and 900MB of RAM ... <13> matadamas: mostly with memory management. If you have no priori programming knowledge, I would recommend trying java out. If you know PHP, same thing. <10> ok, so i prefer starting with java and after going to c++, i think so : /, c++ is not easy to start <9> Xen0n, http://www.idiom.com/~zilla/Computer/javaCbenchmark.html <13> matadamas: absolutely <9> if anything, java has great memory management, due to the garbage collection :) <1> Storkme, how fscking old is THAT? <9> Xen0n, meh. <1> seriously... <9> true. <1> gcc 3.4 and gcc 4.1 are pretty good these days <10> alakazam, i see, hey, white hackers has to know more than one language right?, so its not bad idea to start with java and atter going to c++, altough python is good option too <10> alakazam, while i got unix, linux, and im learning bash, so im new on this topic. <13> pythonis very different syntax wise if i am not mistaken. And has a much more restricted usefullness, i think <9> Xen0n, http://kano.net/javabench/ <8> . <10> alakazam, i know html, and little bit of php, wich one do you recommend for start in this great world of programming? after bash even it is just dor scripting. <10> python? <4> hum... ISn't GCC 5 supposed to be out soon? <14> e <9> i would learn c++, but 'make' scares the pants off me :P <4> matadamas: Yeah. Python is fun.
Return to
#php or Go to some related
logs:
udev run-program exec of program failed #gimp k2projects #web boinks bug gigs #perl gentoo liquidwar segmentation fault grounds for dissmissal kernel audit avc denied name_connect pid comm httpd dest 80 scontext tcp_sock ubuntu sound recorder crashes
|
|