| |
| |
| |
|
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
Comments:
<0> oh wtf... ProcKill.exe --> Pskill.A is a Hacking Tool. Though these programs are legal and useful tools when they are appropriately used, a hacker could take advantage of them in order to carry out malicious actions. <1> dschreck: how do you think i get this result with date() ? <1> date is formating a timestamp <1> i need a timestamp from today 23:59 ... how can i calculate it ... ? <2> xirjs: perhaps just get the date from it and add 23:59 to it? <3> xirjs: then you may want to investigate mktime() : http://hk2.php.net/mktime <0> xirjs you could read the manual on dates and times <3> sorry, but I don't have the time to actually explain to you how to do the math, as I am off to my morning commute. Browse the manual, the answer is either in there or on google.com :) <0> !+search <4> To EASILY search php website and manual --> http://php.net/WhateverYouWantToSearchForGoesHere <5> I know this is a bit off-top, but I'm trying to do it from a PHP script and there's no channel for this particular piece of software. I'm making an exec() call to the ImageMagick convert utility like so: exec("convert /www/beta.booksxyz.com/htdocs/covers/small/14064960.gif /www/beta.booksxyz.com/htdocs/covers/small/14064960.jpg"); <5> And I'm getting this error message and I'm not sure why: "convert: missing an image filename `/www/beta.booksxyz.com/htdocs/covers/large/14064960.jpg'." <6> hi, where can i get php5-mysqli for debian from?? <6> or..can anybody tell me cow to compile this one from package? <6> *source-package to be clear <0> Elazar did you even bother to read IM website?
<0> Elazar: First item on the page ---> http://www.imagemagick.org/script/links.php <6> i downloaded php5 source , and when applying dpkg-buildpackages it doesnot create php5-mysqli (php5-mysql only) <6> can anybody help with thiz..? <5> Jymmm: Yes, I've looked, and thus far, I'm not finding much that's helpful. <0> Elazar: First item on the page ---> http://www.imagemagick.org/script/links.php <7> okay, I have a array of cl***es, is there any way to convert this into a array of output from a specific member function of each of the cl***es in the array <5> Jymmm: OK, contrary to what you obviously believe, I was listening to you. Maybe you didn't hear me just now. <7> something like array_map(array('the_instance', 'member_function'), array(new StdObject, new StdObject, new StdObject)); <0> Elazar: You're full of ****.... the first link gives great examples, if you cna't find it on his website, you're in trouble. <5> Jymmm: I'm not debating that the site has good documentation. Examples are not what I need. <5> Jymmm: I already know how to use the utility and I know I'm doing it correctly because it's working for images other than this one. <5> Jymmm: What I'm trying to find out is why. <0> Elazar: And the possibility that one image could be corupted didn't cross your mind? <0> Elazar gimme the link to the source img <5> Jymmm: I'm double-checking that now. <5> Sheesh... someone didn't take their meds this morning... <8> Elazar ssssh. dont let my orderly know that <5> rolemodel: Wasn't talking about you. You were a given. :P <8> Elazar oh fiine :p <8> heh <0> Elazar still waiting on that link <5> Jymmm: I know... I'm waiting for the script to run again so I can get a copy of the original. <5> Jymmm: I'm working with a legacy database and the poor fool who came before me was storing image data in there. <5> Jymmm: So I'm writing it out into files, converting them, and deleting the file written from the database. <9> hi all <9> is there any way to somehow change php syntax, to allow something like "load mod_name;" ? <10> Hi does anyone know a trick howto validate a pdf file without having cpdf compiled ? <9> where "load" is a function? <5> Dusko: Um... alias functions? :P <5> Dusko: If you're coming from C++, I don't think there's a way to do what you're suggesting without modifying the PHP source code, no. <9> Elazar: even worse, i'm coming from perl. :) im around for a quite some time, but i was wondering if it could be made possible by using tokenizer or something else..? <11> heh that sounds like perl <11> yep exactly; i was right :) <5> Dusko: I mean, you can use PHP to write a parser for something else, but that would be wasteful if the functionality is already there. <11> DuskoDugousko: go back to perl; it's a better language <9> Elazar: to be honest, "load module;" would be a shorthand for "load('module');" <9> so it is not much of a problem... just to make syntax cleaner... <11> why not just use a language with a cleaner syntax <12> When the POST datas is sent by the user how do you know when the datas is termined ? <12> is there a escape sequence ? <9> Narada: i agree ;) but i have some reasons why i need to use php now.. <5> cdqs: What do you mean, "termined?" <11> DuskoDugousko: terrible shame <9> :/ oh well.. <11> you might want to rectify that with immediate effect <12> well the user have finished to send post data <5> Nara: Just out of curiosity, why do you think Perl is a better language? <13> hi! <9> omg no, no flames plz. :) <14> perl is a mature. <15> and PHP isn't? <11> Elazar: i could write a book on it <5> cdqs: If POST data is sent to a script, the script isn't actually run until all the data has been processed. It's available to the script immediately when it starts executing. <5> Narada: Let me know when it's published. ;) <11> DuskoDugousko: heh yeah i didn't really want to start this <13> I use php via the console as a script, and want it to return a exit-code (like in c, when you return() from main) <0> cdqs: http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2 <12> Elazar, i talking about the PHP lowlevel into the SAPI <11> Elazar: i'll write a blog post on it sometime <13> someone know how to do this?
<8> anyone here running debian? where are the conf files stored? <12> Jymmm, great like <5> cdqs: Ah, can't help you there. <2> rolemodel: locate php.ini? :) <12> like/link <13> therefor under linux i could write: ./my_php_script && echo "success" || echo "failed" <5> Narada: Please do. I'd be interested to read it. I'd thought about picking it up, but just never found a good reason to. <5> While I wouldn't say that PHP is not mature, because it's been around for 10 years, Perl does have 8 years on it time-wise. <8> nielz php.ini is stored in /conf/ ? <13> return(int) doesn't work <11> Elazar: sure; i'll try and remember your nick when i do <2> rolemodel: no idea, but if you just type locate filename, it'll dump all files named that <2> rolemodel: thats how i find my config files anyway <5> Narada: That's not to say I don't respect Perl as a language, I just never had a huge incentive to switch or the time to do the research to find out if there was one. <15> PSIplus: then you could echo a string and compare it <16> If I am sending a form with <INPUT type=file name=picture>, is there any way to find the name of the file that was entered, after the form has been submitted? <2> rolemodel: and usually all configs are stored in /etc in linux <16> ah picture['name'] <11> Elazar: both have strongly convincing arguments to keep their users; it just depends what's important to you specifically <5> Fango: Well, picture['tmp_name'] will give you the name of the file as it is on the filesystem after it's uploaded, picture['name'] will give you the original name it had before it was uploaded. <13> Stormchaser: Sure... But I want to use it for OpenVPN authentification, and if there is a native methode, i would use it ... <11> Elazar: for me lean concise syntax and consistency within the language is very important <5> Narada: I would agree with you there. If I had to pick one thing about PHP I didn't like, that would probably be it. <0> Narada go try BF <11> Jymmm: what does that stand for <0> Brain **** <0> it's a lang <11> You're kidding me. <0> go google <11> I have no interest in researching that but thanks. <0> Narada It's EXACTLY what you described. <12> Jymmm, ok when i get the POST / PUT should i send the 100-continue or PHP will do it ? <11> Mainly because I wouldn't have any scope to use it in my daily work. <9> it is called brain****, w/o space <0> cdqs Read ALL of the rfc <12> i can't :/ <0> cdqs then read it again <0> cdqs what birds ripped out you eyeballs? <17> Hi, if my PHP script receives some input from a browser form, how can it know which charset the input is in? <12> it was a cart <12> -r <12> ere@"! <0> cdqs RFC2616 <9> anyone please take a look at BF programs source... <9> http://esoteric.sange.fi/brain****/bf-source/prog/ <18> hello <18> anyone knows if when i call a script like this scrip.php#place <18> i can read #place from inside the script ? <9> it will get you to anchor #place in rendered code <18> DuskoDugousko, can i see the anchor #place if i try to get the url in php ?? <2> MagmaRules: no, #place is not sent in the request to the webserver <9> it shows you #place in server's response, and is not sent, as nielz said <9> used in browser internaly <18> unn ok <18> im trying to find a way to make bookmarks after i heve change something in a page <18> so that i can replicate the actions if a user bookmarks the site <18> using the bookmark script is a way, "Click here to bookmark" but i was trying to store the configs even if the user bookmarked using the browser <18> cool i found something in google <18> brb <12> Jymmm, i think you do't understand my preview question ;P i would like to know if is PHP that sends the 100 continue or it's the webserver ? <19> How can you get the first character of a string? <19> isnt it $whatever = $string[0]; ? <5> DogWater: Try $string{0} (curl braces) ... I -think- that works. <5> DogWater: Or you can just use substr. <19> guess i could use strpos <19> err nevermind <19> substr <5> DogWater: Actually, yeah, $string{0} should work./ <5> http://www.php.net/manual/en/language.types.string.php ... exampel 11-5. <20> $string[0] should also work <5> s/exampel/example <5> erik: He's talking about accessing the individual characters of a string. Are you sure? <19> yeah i figured out what i did wrong
Return to
#php or Go to some related
logs:
debian apt-file holded apt-get shell-init: error retrieving current directory: getcwd: cannot access pa #web sockets arp with python why you throw chip fucking come on then debian etch localeconf #perl #linuxhelp mplayer-plugin suse 10.2 conky glib-2.0
|
|