| |
| |
| |
|
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 33
Comments:
<^Artnez> olger901: though i like to treat strings as strings and use double quotes when needed :D <myc> marC: thats what i ment <le_neko> is the only usefull fonctiuonnality of zend is the autocompletion ? <Davey|Work> hell no <Marc> myc: its cool, they also bought me a license for macromedia's studio :/ <^Artnez> le_neko: a little detail that i noticed many ide's dont have is understand what functions were included where <myc> le_neko: that and the whole built in debugging/profiling engine <^Artnez> le_neko: if you hover over a user defined function, you'll see the parameters, where it's from ,stuff like that <Getty> le_neko: "go to declaration" is also very helpful <myc> Marc: I downloaded the 'shareware' version :D <Marc> lol <^Artnez> le_neko: I also think Zend comes with a built in PHPDoc generator <le_neko> could be nice <Getty> Zend easily rocks for php development <Marc> Yup <Getty> but it ****s itself, sometimes hangs, shows mistakes what are not there (disappear regular after resave) <myc> you cant tear off editor tabs :( <^Artnez> le_neko: and the built in PHP manual is always a plus :D <Getty> but that is less important against the advantages <Marc> Getty: never had any of those problems myself personally, and i use it daily. <^Artnez> Getty: Never had a hang/crash yet <Getty> Marc: probably not so complex code? ;-) <le_neko> yes for now i have the built in doc and autocompletion with gphpedit <absentia> I wan to find info on stdin for php ... www.php.net/stdin doesn't give me anything useful... doe anyone know any links references for it ? <Marc> Getty: heck its complicated, its code for the company i work for ofc it is:? <le_neko> but i no doubt there is plenty of extended functionalities with this zend studio <Marc> Getty: if the codes crap, i get the sack :p <le_neko> ... i still waitin they send me the mail to download their demo ... <Marc> lol <Getty> Marc: my code is clean but very very complex big structures i get myself wet when i bugfix something from 3 month ago, but anyway zend sometimes hangs and even once a month it crashes <minDscrm> can i create pdf's on-the-fly with php? <Marc> Getty: clean code is good. I hate these "PHP Gods" and yet they cant even indent / layout their code correctly. And not to say the least, they dont use correct methods <Getty> Marc: no duplicated code blocks, no workarounds, straight system <le_neko> yes you could minDscrm, but i could not tell you it is simple task , neither try it <Marc> Getty: damn right. <minDscrm> le_neko, thank you <Getty> Marc: i got around 50 cl***es, sharing is good <Getty> Marc: we got 3 "elements" of the project (website/control-server/hardwarenodes) so they share the cl***es too <Getty> lots of stress in organisation.... <Getty> i get more wet on actions on the database anything depends on <Getty> if there is anyway with a cool SQL-DIFF API please help me <Marc> Getty: heh, biggest php project i had to do for this company was something stupid like 203k lines of code, and their was 2 php developers, me and some other guy <Getty> (not diff tool, i need an API) <Marc> getty: but we got a bigger one coming up soon, "Aparently" as the it department told me :o <Getty> mh <Getty> what does your system do with that much code lines? <Marc> its for the company system, processing various things, doing this, that and stuff <ceeto> Hey all. Is there a way to return the unique row id generated with an insert on an auto_increment row in MySQL? <Getty> Marc: which company style? <Marc> IT <Jymmm> !+sql <php-bot> [SQL] Structured Query Language - the language for most DB Systems. See http://www.w3schools.com/ http://www.sqlcourse.com/ http://www.onlamp.com/pub/ct/19 and #mysql, #postgresql or #sql <^Artnez> ceeto: MYSQL_INSERT_ID <le_neko> !+sql <ceeto> Thanks, I'll google it. <^Artnez> ceeto: bah.. MYSQL_LAST_INSERT_ID <^Artnez> ceeto: PHP also has its own functionality <le_neko> (nice) <^Artnez> ceeto: the mysql_insert_id() function <Getty> Marc: mmhhh.. then you had done something not very frameworked ;) <le_neko> !+pdf <Jymmm> !+guidelines <php-bot> 1) Just ask. 2) Don't repeat. 3) /msg php-bot smart-q 4) msg the bot 5) Be polite and patient. 6) Do not paste here; /msg php-bot pastebin 7) No spam/bots/scripts/trolls/job postings or onjoin/away . 8) If it's not a PHP question, don't ask. 9) Don't PM without permission. 10) We don't support packages here. 11) ##php is a manual supplement. RTFM first! 12) Spelling matters. Use real English. <Getty> Marc: i mean some complete sections of our system only got 5 lines code, but lots of stuff out of the SQL or Templates <Marc> Getty: -.- <Getty> i dont wanna imagine what we got when we reach 200k of code..... <^Artnez> ceeto: however it is preferred to get the result directly from MySQL instead of calling the function PHP since I think MySQL will return the last insert id for that specific connection handle <Marc> Getty: trust me it was needed, we could have easily gone over 300-400k lines of code, but we kept it to a minimum <Getty> aehm 200k lines <Getty> i'm reducing all the time, i dont get any bigger, i think 10k or 20k lines and we are finished <Marc> Getty: this is only for our internal system.. our external system has a little less <Getty> my system is both, internal and external, cause all the internal stuff is also done by external guys (games management / ticket management) <Getty> it makes me a headache every day <Marc> Hehe, i'm sure one day i'll get bored of php <Getty> i hope i never <le_neko> i hope i could :p <Getty> cause i got the next orders for the next 2-3 years <cynic> I <3 TexMmate. <cynic> TextMate* <Marc> Getty: i earn 64k a year for this <Marc> £64k <Marc> not $ <Marc> ;) <slashdot> I have a PHP script that runs a bash script. When the bash script is launched from the php script, it does not work. When I launch the bash script from a shell, with exactly same parameters, it does work. Any ideas? <Getty> what are pounds in euro at the moment? <UltimateB|> .63 = 1 euro i think, just about <Getty> is it after taxes or before? ;) if before just tell me please after takes <Marc> thats 93k eur, and after taxes <Marc> Bbs <Getty> you earn 7750 EUR after taxes? <Getty> per month? <Marc> About that yes <absentia> damn nice <Marc> Brb <Getty> call your boss he needs a new guy ;) (me) <absentia> and I thought I ahd it sweet <Getty> yeah me too <Marc> Heh, we dont do much when we dont have projects *Cough* play games *Cough* <absentia> where do you work ? <Marc> for kent uni <absentia> marc: how long have you been doing php ? <nxvl> if i had a foo.php and a require function, wich call a file "inc/bar.inc" and this file require a file wich is in the same directory, must i call it as "include/file" or as "file" <Marc> ages, dont ask how long >;o <absentia> where is kent uni? <Marc> In kent <le_neko> that's what country ? <Marc> United kingdom :/ <absentia> marc: I want to try to gte php to handle file uploads, but I don't wait it to do the normal "slurp" into a /tmp file and populate $_FILES ... is this possible ? I want to read the sdtin myself. <absentia> ok, that's why I ask.. the euro thing. there's a kent uni in kentucky? :-) <FatalRemedy> to overload a function do you just give redeclare with different paramaters? <absentia> and I coldn't see kentucky paying in euros :-) or that much. <absentia> me either. <absentia> unis are really cheap <Marc> heh i'll scan my payment reciept next payday <Marc> bbl, gotta fetch wifey from train station <elsyf> heh if coders get that much.. in kent, i'll move to kent <absentia> ditto <le_neko> you need to know that life cost a lot in UK <absentia> acctually, the uk stuff is coming along <absentia> :-) <FatalRemedy> whats the best way to check of a variable is an array? <le_neko> so people earn a lot <^Artnez> FatalRemedy: I do not think PHP supports function overloading. <^Artnez> FatalRemedy: is_array( $variable ); <FatalRemedy> thanks. <FatalRemedy> thought it was isArray <FatalRemedy> :) <elsyf> heh, life is expensive in HK too, but we don't get that much <^Artnez> FatalRemedy: You will run into some trouble if you want to differentiate between an ***ociative or numerical array ... but otherwise that works. <Marc-PPC> hey again :-P <le_neko> wow <le_neko> i just calculate how much earn marc <le_neko> lol <le_neko> damn, <nomisery> ive got a strange problem: <Marc-PPC> What in dollars? <nomisery> for ($x = 1; $x<=4; $x++){$matrix[$x][3] = (/*($matrix[1][1]*$matrix[$x][3])*/ + ($matrix[1][3]*$matrix[$x][1]));} <nomisery> with a 4x4 matrix containing only the number 2 this leads to a third line looking like: 4 8 8 8 <le_neko> 7.75 K Euro a month <le_neko> i dunno in dollor <nomisery> why isnt that line 4 4 4 4... <le_neko> higher number ;) <elsyf> yeah.. he earns like $20k more than the managers <absentia> that was before taxes? <elsyf> according to the job vacancies site <le_neko> i though <Marc-PPC> nomisery i'd help you but im on my ppc, and im taking wife to dinner after ive got her from the station <le_neko> but in anyway it makes a lot of money <le_neko> if i divide it by 2 i am far from him haha <nomisery> Marc-PPC, no problem
Return to
#php or Go to some related
logs:
could not connect to the specified instance en mysql kevix #mysql linux 82852/855GM allocate memory #kernel #perl bugzilla flags pebkac perl-Term-ReadPassword rpm perl test if a filehandle is open sendmail.cf masquerade gentoo
|
|