| |
| |
| |
|
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> I can "freeze" the script and check the values out to see what's up, etc etc. <0> It's hot. <1> i thought ZDE didn't catch segfaults? <2> dan__t: it's like gdb for php code :P <0> Pretty much. <0> itrebal, ***uming it's not a segfault, heh. <3> itrebal: http://pastebin.com/657420 <1> if you run apache through gdb, it will catch php's segfault <3> dan_t ZDE ? <4> itrebal, is awake? <4> lol <0> man <2> kosh[0]: the Zend Development Environment <0> I wish I could code. <0> Instead of this "hello, world" crap. <3> robert_: ah
<1> dan_t: are you ****ing serious? you have zde, but do hello world crap? <0> Not entirely. I'm just not that good at PHP. <0> ZDE is helping me learn, I'll admit that. It's not quite holding my hand, but it makes understanding what I'm doing, much easier. <1> heh, i started in plain ol' notepad <0> Me too. <1> **** i used notepad for 9 months i think <0> I guess I'm more of a visual learner, and ZDE helped me to visualize what I was actually doing. <5> itrebal: pregnant? <0> ... <0> ok so. <0> anyway. <1> HellMan: with notepad/php, yea <1> kosh[0]: at different locations in the loop, put die() <1> die('dead'); <0> I need to learn OOP, I'm quite sure. <0> I am now starting to see the limitations of procedural programming. <1> that is debatable <1> i love the hell out of it <0> Sure is. <2> heh <3> itrebal: but on the first iteration, it'll die <0> But for me, I can see the problems with procedural. <3> what does that prove <4> whats zde :P <0> [04:17] <2> kosh[0]: the Zend Development Environment <3> except that die() works :D <1> kosh[0]: put it in the loop different places, IE: in the if()'s <1> kosh[0]: be creative, put it places, thats all i can do to help you <4> i started with a php refrence book and dreamweaver (a little upgrade to notepad ;) <3> itrebal: thanks <3> reading up on php debugging in eclipse <0> F Eclipse. <0> I started using that before I found a real IDE for PHP. <1> kosh[0]: also run the script through gdb <0> I think I just need to nail programming fundamentals. <0> I'm not a programmer, I just dabble around in PHP a lot. <1> this is the list of editors i've used: notepad, DzSoft PHP Editor, Emacs <3> itrebal: it's not a script that can run locally, it requires a web browser to post data to it in order to execute that loop <3> so without that, it'll do nothing <1> kosh[0]: exactly, run apache through gdb <3> or did you mean something else? <1> through port 81 or something <3> it's a good idea <0> Ok, well, I'm going to go cook up a project to work on. <0> I think little projects will help me out a bit. <1> "(07:19:06 AM) itrebal: if you run apache through gdb, it will catch php's segfault" <1> dan__t: write a fancy schmancy blog with as many buzwords as you can fit <0> F blogs. <0> They're for fat chicks. <0> I don't know what the craze is. But don't get me started. <1> dan__t: haha, good luck finding a project <6> hi guys, how would I go about comparing the filesize of two files (they have the same name, they are just in different directories) <0> Thanks ;) <0> I'm thinking a topsite kinda thing would be a good starter. <0> Idunno. <1> mejobloggs: uhhh search php.net <7> mejobloggs: http://se.php.net/filesize ?? <1> damnit thnee some people need to search php.net <6> no i have read that <5> thnee? <6> heh
<7> HellMan? <5> thnee: ahh, you exist, I wondered wtf he was on about <5> nm <5> back to debugging spl <7> er? <1> anyone have a neat idea for a computer case? a small one <5> itrebal: well, I use a 78 Dodge convertable <1> HellMan: like a model? <6> er, i shall explain what i am trying to do. I have 2 directories with the same files. But in dir B, the filesize are different. I want to compare each file to its corresponding file in the other folder, and if it is smaller, then copy it to a different directory <7> look at lian li <5> itrebal: no especially, just the room in the back for a rack <1> mejobloggs: then simply use the knowledge of directory structures? <6> yeah, but i dont know how to do anything like that <7> mejobloggs: then do that, i dont think someone will code it for you <6> no, but i just would like someone to explain how to go about it <7> you just said it yourself <7> how to go about it <6> codewise <7> like i said i dont think someone will code it for oyu <7> unless you pay <6> ach, i just wanted explaining <6> nm then <7> mejobloggs: if there are anyspecific questions you have feel free to ask <6> thanks <7> you have the filesize function, and the copy and delete functions, just start coding <8> hya, i was wondering if an xpath query is computationaly more expensive than just iterating over a domtree <9> no imagecreatefromtiff ? <10> cyphor: remember that time format i had earlier <10> cyphor: i need to count how many hours between 2 times using that format <6> thnee: "Warning: filesize() [function.filesize]: stat failed for accept.png in ......." <10> cyphor: so 12:30 PM to 6:00 PM would need to output 5.5 <6> what does that error mean? <5> AfroTurf: TIME_DIFF() <10> HellMan: what is that a mysql function? <11> hi <11> sorry but I just can <5> AfroTurf: yessir <11> gaah. <10> HellMan: I would like php to do it though <5> AfroTurf: thats just silly, db is much faster <11> sorry but I can't find the name of that variable that holds the name of the current php file. <11> it doesn <5> pluffsy: __FILE__ <11> 't seem to in GLOBALS anyway <11> HellMan: thaanks :) <9> can't php work with tiff images? <5> pluffsy: or, $_SERVER['SCRIPT_FILENAME'] <5> Cybertinus: yes, gd can <9> lol? <5> cyphor: supports.. GIF, JPG, PNG, SWF, SWC, PSD, TIFF, BMP, IFF, JP2, JPX, JB2, JPC, XBM, or WBMP <9> what should I use as a 'createimagefromtiff'? <9> rather 'imagecreatefromtiff' <5> ahh, I see wht you mean <5> cyphor: sadly not <9> =( <9> suppose I don't really need tiff support in my app, lol.... <6> can someone see what is wrong here? <6> http://www.bloggsworld.com/silk_icons/code.txt <12> what's it doing/not doing? <13> mejobloggs: more specific, please <6> http://www.bloggsworld.com/silk_icons/ you can run that and see the errors <6> yes, you just didnt give me time to type it :p <14> I have an ***ociative array, $a = array($key => $value); My script dynamically constructs it by user input. I know that it one has one pair of key => val but later in a different function in my script I need to use the val of the array. How can I do that given I do not know the name of the key? (all I can think of is to iterate and save the val but it seems ugly for the retrieval of a single value) <12> are you 100% sure that path is right? if so, does the webserver user have permissions to the file? <13> eleftherios: array_flip <14> Johannes, let me check that <13> mejobloggs: are you sure $Reader as $Item returns the whole filename with path and not just the filename? <6> hmm <6> oh, btw, http://www.bloggsworld.com/silk_icons/ now shows you the directories if you want to look at them <14> Johannes, once I have flipped it how do I retrive the key? <14> retrieve even <13> eleftherios: with flippedarray[val] <13> eleftherios: the key became the value <15> any ***y girl there
Return to
#php or Go to some related
logs:
ubuntu blacklist bcm4xx gentoo ECLASS 'portability' inherited illegally suse kdebase3 yast stuck Debian x64 fglrx kstartup error kubuntu any2dvd example
circular dependency. exiting
link:www.trafficleader.com gnomad2 ubuntu critical Undefined subroutine parse_html
|
|