| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> No one ssh's me <1> oh damn, I meant madbovine <2> fixed. needed /bin/false in /etc/shells <1> oh, uber <3> http://www.analogx.com/contents/download/network/fc.htm <--pretty interesting if your on winblows <3> actualy, works pretty good <4> how can I put a print button on my page that will print only a specific page of that document? <0> I think javascript has some decent print controls <0> Ask #javascript or Google <0> Unless you mean print on the server... <3> should make a #google, and in the topic have simply "http://www.just****inggoogleit.com" <4> no I mean print from the printer, I will google it in javascript then <3> http://www.javascript-page.com/printpage.html
<3> .0653s to find it <0> Yes, I know you meant print on the printer; but the question was *which* printer; the server, or the client <5> hello all <5> how can I make this work : echo("<u>".$info_recept['$s']."</u><br>"); <0> Variables don't go inside quotes. <3> echo '<u>'. $info_recept[$s] . '</u><br>'; <0> Better yet: echo '<u>', $info_recept[$s], '</u><br />'; <3> yeah, could do that too <3> dont realy use that syntax myself <3> ****s me up now and then reading long lines <0> heh <3> stuff like: echo "var is ".($var < 0 ? "negative" : "positive"); <3> just screws with me O_* <5> thanks! <6> Check this out: date("Y-m-d H:i:s", mktime(15, 19, 32, 2, 30, 2006)) <6> You say... there is no feb 30th! <2> output seems reasonable <2> feb 28 + 2 = march 02 <6> I have this dateadd function in my app cl***... and it does not handle this very well hehe <6> Last night I almost pulled my hair out over this...like a retard. <2> haha <6> In my defense, Hajuu didn't understand it either. <6> But he did say "sleep for a few hours and then try to figure it out" which *did* actually work. <6> I still can't figure out how functions like nl2br() exist but functions like date_add and date_diff do not. <6> I could've picked a better php function to make fun of nl2br is actually useful. <6> But you get the point. <2> just work with timestamps <6> How would you suggest subtracting a month from a date? <0> How do you define "a month?" <6> Yeah no ****... What is March 31st - 1 month. <6> February 31st? <6> My head hurts. <0> That would be the most logical, though still correct. <0> Err, incorrect that should say <0> Anyways, strtotime() tries to make the most sense of it <6> Feb 31st = march 3rd <0> Yes, I know, but if you define "-1 month" as taking off just one month, February 31st is correct <7> Hm... Are there any standard random-string generation function in PHP? <2> BillMurray: for example print date("Y-m-d H:i:s", strtotime("27 Jan 2005 -1 month")); <0> DrkMatter: there's uniqid(), which is alpha-numeric <2> hmm "1" month in strtotime speak is actually 28 days <6> Yeah and I question the accuracy of that. <0> It's hard to calculate dates due to things like this. <6> http://pastebin.com/631449 - there is my now-retarded date function. <6> Until like 2 days from now when it starts working again. <0> I'll take your word for it <6> What I need to do is change the function to acknowledge that if the subject of addition for the date add is month, it should ***ume that the context of the request is by calendar month... so that feb 31st = feb 28. <6> But something tells me that will open up another can of worms.
<6> I wonder how VB's DateAdd handles this. <8> hi <8> which editor you'd advice under Linux for PHP ? <9> Anything as long as its got SFTP, CVS, and Syntax Highlighting. <1> jedit <8> I also need Folding <8> and could be nice to have brackets coloring <0> I don't have linux, but I use gedit. <1> jedit <1> does all that <1> and more <9> Folding? like collapsing? <1> yeah <8> yep <9> Ah. <8> also I saw an editor <8> OptiPerl <8> it has GREAT coloring <0> How can syntax hilighting be "great?" <8> pair brackets are connected with a color line <0> As long as it gets the syntax corect... <8> helps a lot <1> jedit does that <8> I did not think such thing is possible ;) <8> jedit.. <8> I never tried it. Will take a look <1> jedit.org <8> nod <8> heard of it <0> gedit also has bracket matching <8> better thant Eclipse ? <1> I ****ing hate eclipse <8> same <8> I don't like it <0> Eclipse == sux <8> well <8> gedit.. jedit.. <8> Kate ? <8> what about kate <0> A lot of people like Kate, but gtk+ windows are better than qt <8> Kate has folding / coloring ? <0> I don't know, I have not used it <8> couldn't find folding.. <0> I don't have--nor will I get--qt. <8> it seemed to me pretty basic <2> what's with this hate towards either gtk or qt <0> And I don't know what folding means <0> madbovine: I don't know, I just find it hard to use qt windows <1> qt is ugly as **** <1> ****ty fonts <4> How do you stop somebody from clicking back, because I dont want them to submit the form twice? <1> google <6> VB's DateAdd returns march 31st - 1 month as feb 28th. <10> yeah <10> but VB is so easy to use <6> You can't use month in math. <6> Only in the strict context of months, but not in the context of a full date. <4> How do I display that page, this page has expired... <0> Look up header()
Return to
#php or Go to some related
logs:
#linuxhelp ar325w ipv6 #london sudo croup #apache #skype #AllNiteCafe +kde +nero-image +mount radiator radius ssh* #java
|
|