| |
| |
| |
|
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
Comments:
<0> damn it <0> how awkward that there would be more then one tom b <1> lol! <1> Ah well, this ones me <1> So, lol <0> nice. <0> welcome to my world.. freenode :p <1> lol... <1> Who do I ask to get this bitch fixed? <0> everyone lol <1> Is anyone on..? <2> Lithium__: ... <0> put your code at http://pastebin.com and ask the question <1> lol, sorry, not used IRC before <3> ? <3> who hasn't used IRC before?
<4> Lithium__: Then please, take a few moments and familiarize yourself. <4> !tell Lithium__ about guidelines <3> particularly before you bother us with your n00b questions <5> hellO! I have a php script that uses the unlink() function to delete some random file. But I cant delete the file.. what can cause this? it doesnt error or anything? <0> Lithium__, on irc, you have a lot of big headed people calling you a noob. You'll get over it. <6> if it's random, you sure you're deleting the right one? <6> also.. permissions <7> Lithium__ - I believe a vetrenarian could help you with that <5> well I have a upload section. where the uploaded file will be called the md5_file().extension. The unlink doesnt error so I suppose the path is right <2> enygma: :3 <7> ;) <1> lol right. http://pastebin.com/711254 <4> lmao, enygma <7> woo! <5> but I have never changed any permissions before... before it just worked.. but now when I work in a vbulletin folder it is different <7> does he know you're co-opting his name? <5> sorrry. what are you talking about? <4> Lithium__: You should read the documentation of the database cl*** you are using. There's probably a num_rows method or something. <7> ;) <1> Nah, I need to get the highest value of "catorder" <1> normally, SELECT MAX(catorder) would work <8> http://hashphp.org/pastebin.php?pid=7062 <1> but that returns non-sense <2> ... <2> define "non-sense" <8> I got an error Warning: mysql_fetch_***oc(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/shop/orders.php on line 14 <1> lol well not non-sense <1> but <1> stdCl*** Object ( [MAX(catorder)] => 4 ) <2> !+enter <9> Don't use the enter key as punctuation. Think in complete thoughts, then type. <1> lol sorry <1> When I print_r the array variable I get the above stdCl*** <10> how would I iterate through all the items in an array like $array['item'] - print_r? <2> Lithium__: Then make an alias for that MAX <11> punkcut foreach <1> Sorry wolf - what do you mean? <2> Lithium__: Exactly as I said. Do you know SQL? <1> Yep <7> I don't think so <2> seconed <4> Okay, I need to figure out this outlook menubar stuff. <11> BigE fdisk <0> stupid fags <12> ah, ##java <12> that explains a great deal. poor disgruntled people :( <13> Guys, how can i find the minor version of PHP i have <13> PHP 5.1.4 (cgi-fcgi) (built: Jun 15 2006 12:56:44) <13> like 5.1.4-1, -2, -3 what is it <2> <0> you're ****ing unhelpful. you give geeks a bad name. <-- I just made sure... <12> Wolfpaws: your response is not quite verbose enough. please add 50 namespaces so that it correctly falls in to the java convention. <2> eep! <14> is there a way to validate that a checkbox has been checked before processing the form? <15> hi... <4> devexial: the -1 is the revision for the build... 5 = major; 1 = minor; 4 = build; -1 = revision <4> I think, anyway. <15> how can i scape "\" ?? <4> novata_peleona: \\
<16> CBTC, you mean _while_ processing the form ? <15> ok <15> thx u BigE <4> !tell novata_peleona about u <16> CBTC, simply check if its present using isset() <13> BigE: you're helpful.. thanks :) <13> BigE: so how can I find out which revision i have? <4> devexial: Heh, I try. <4> devexial: If there's no -1 after the version, you have the first revision of that build. <13> BigE: ah. Annoying... <15> BigE, i am spanish. <4> novata_peleona: It's okay, just know that shorthand (or aolbonics) isn't allowed in here. <15> why??? <15> is shorter. <13> BigE: ah. So anyway, I'm trying to install an RPM for php-xml...and it says: <13> php = 5.1.4-1 is needed by php-xml-5.1.4-1 <13> do I REALLY have to match the revision number? <17> what does ^[a-z][A-Z]$ do? <12> novata_peleona: that might be a good argument for an online game, but it's not a good one here. <4> devexial: You just compiled from source, right? <13> BigE Yes. <18> `` i think that matches any upper case character which does not have a lower case character before it <4> devexial: Then it's saying it wants the RPM for PHP... <15> ok. we are talking about php not english language. It is enough <15> for me. <19> is there a tar equivalent to gz_open <19> *gzopen <13> oh <4> devexial: You can't compile from source and install RPM extensions. <10> jymmm : wanted to say thanks, thanks for answering my n00bish question. <20> how can i use "strtotime" for a "DD/MM/YY" date format? <4> novata_peleona: While you are here talking about PHP, you can use the english language to spell out words. It isn't good enough. If you want help in spanish, there is a #php.es channel I belive. <13> BigE: Didn't realize. <4> yarden: The same way you use it with any other format. <4> $time = strtotime($date); <13> BigE: So...I have to go and find all these XML libraries eh <2> novata_peleona: Actually, both... Since we here speak english, we expect from you to do the same... <13> libxml2 libxml libxslt <13> etc etc <4> devexial: Or just recompile PHP using --with-xml <13> BigE: Can't...that was preventing me from compiling before, lots of "missing" libraries :( <20> no no, my timstamp is allready "DD/MM/YY" i want to turn it to "YYYY-MM-DD" <4> devexial: Ah, then yes... you need those. <4> libxml-dev more importantly. <4> yarden: Right... just convert it using strtotime() and then use date() to format it. <13> Installing now. <4> devexial: There should actually be a way to check the deps of php-xml so you know what exactly to install. <4> Now... where does Me come from in VB?! heh. <20> but it think its "MM/DD/YY" insted of "DD/MM/YY" <13> BigE: Yeah...I'm looking that list now. It's messy <4> yarden: Should still work... have you tried it? <12> yarden: explode() on '/' and use mktime() to get the timestamp. <20> ok, thanks <4> caffinated: strtotime() won't convert? <12> BigE: it may get confused with dates like 01/01/2006 <4> Ah, true. <20> this happens : 22/01/06 - 01-10-2007 <11> 2006-01-01 <4> So yeah, explode() and mktime() it is. :) <20> ok, thanks <16> yarden, its MM/DD[/YYYY] that is supported <16> and yes, strtotime should be able to convert it nicely. <16> I wonder how it could get confused with dates like that: 01/01/2006 , there is absolutely no confusion possible with such dates. <12> colder: except his date is not in that format <12> colder: that was my bad, his dates are more like: 01/01/06 <12> colder: and yes, there is ambiguity because there is no real way for the engine to verify the order. <16> ah, but the year doesn't need to be 4 chars long <16> caffinated, the one that is supported is MM/DD <16> and if the month == day and less than 13, there is no need to check the order :) <12> colder: right, but he has DD/MM/YY <21> is there something similiar to utf8_encode() that also encodes windows-1252 automagically? <16> well ok then, he can't use strtotime on such dates ;)
Return to
#php or Go to some related
logs:
xorg gcc: cannot specify -o with -c or -S and multiple compilations egalax kubuntu driver debian equivalent of env-update unexpected RCODE (REFUSED) #css gaim 2 no sounds ubuntu img2iso install #centos ubuntu xine-win32 File /usr/bin/yum, line 28, in ?
import yummain
|
|