| |
| |
| |
|
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 34
Comments:
<0> sorrry <0> bloody xchat <1> just make a php script to cound the dir and call it with ajax <2> zircu: no breaking across lines at all? only one, contiguous line? or another method? <1> cound=count* <3> stevarino: can you give a code example, and also where you would like to get a better solution to what you have? <4> OpenMacNews: sounds like a silly thing to worry about. <3> OpenMacNews: well, ***uming in php.ini, no. or in an apache config, i dont think so, unless there is some trick i'm not aware of <2> zircu: fair nuf. thx for the clarify. <5> zircu: http://pastebin.com/637171 (watch out) <3> that is what you get for living on an island <6> why can't it be hawaii though ;) <6> wow <5> the big problem is i don't have control over the client's code, and the _POST variables contain chars that would be troublesome in sql (lots of '-'), so some translation is needed
<5> lig: yah, i call it through array_map, get the whole bunch at once ;) <3> lig he generally is <3> stevarino: the issue is you have column names being p***ed in this data as well as I see it <6> I'll leave you to dig through that zircu ;) <3> lig with my typing you might want to fix what I type <5> zircu: i need them for to avoid the primary keys <7> HI <3> stevarino: well, those column/table names that are being pased via the POST data could be escaped with ``, like "`" . $data['safename'] . "`" <5> zircu, yah i just caught that error (first run).... working on a regex now <7> I'm wanting to take input from a form and store it on the same page and have the text display on it. what should I be looking for to read besides forms <3> stevarino: i dont see an upfront easy solution, the one thing I would suggest is to seperate in your function call field names used and data to be used <6> lwizardl: run that by me again... <3> stevarino: for example i would do save_form($trusted_fields, $trusted_data) <3> stevarino: and all $trusted_fields would have the value's escaped via ``'s and $trusted_data would be all escaped via mysql_real_escape_string() <7> lig: ok i'm trying to make a cartoon episode list builder so for example scooby-doo cartoon I want to add the new episodes to the page <6> Hmm - half an hour left of work... what should I do with myself... <8> too easy <7> lig: sorta like this type of list http://en.wikipedia.org/wiki/A_Pup_Named_Scooby_Doo#Episode_guide <3> lig, rewrite my nfs problem :) <5> lig: that odd typo at the beginning of the inserted data? got it <9> can some one help me? <9> i get this error here <9> PHP Parse error: parse error, unexpected T_VARIABLE, expecting '(' in /home/c14n/httpd/httpdocs/freddi3e/login.php on line 21 <6> zircu: need cvs access first <9> if ((!empty $_POST['username'] == 'testing') && ($_POST['p***word'] == 'testp***')) { <3> excuses <5> zircu: i'm thinking it might be easier to write an sql abstraction cl***... <6> lwizardl: foms and just your basic html would be my guess <4> ? <4> just use ADODB <6> Hey Darlin' Jymmm <4> makes it retarded-easy <10> lig =) <3> stevarino: well this thing looks rather specific to a paticular application, i dont know if it would be worth the work <11> right now i have a mail option that outputs all changes made in my data entry program into an email <11> how might i save this to a flat file instead? <3> Deu***: adodb isn't really going to solve anything <5> zircu: yah... good point, i'm practically done anyway <6> Poseidon:your line makes no sense... how can yoube checking empty and if it is equivalant to something <9> true <7> lig: this is what i have so far http://pastebin.com/637170 <10> G'Night Folks! <6> Night ***y <3> whoohoo: perhaps php.net/fopen? you might consider a binary file <3> oh.. this is a first... Jymmm actually goes to sleep <6> lwizardl: so you have the input form completed...but you are emailing it to yourself?... <6> or trying to <6> ? <4> zircu: looks like ADODB would simplify that ridiculous insert statement and make it much easier to maintain <11> yes lig <11> oh never mind <3> whoohoo: forget what I said about binary, it isn't what you may think the +t might do <11> i though you were responsing to me <7> lig: no i was following a tutorial on that part <6> lwizardl: see this tutorial - http://codewalkers.com/tutorials/12/1.html <6> and of course the manuals - http://www.php.net/manual/en/tutorial.php <3> Deu***: as well as i could say re-write your code better to allow for a generally approach. <6> zircu - I always have an excuse... oh and I'd want root too ;)
<5> zircu and lig: remember that ugly-*** sql statment i was constructing? here's the error + output... its been a while for me so its not obvious :( <3> heck, if we had php5 I'd say use a stored procedure <12> php5 != stored procedure capability <6> true - it is mysql5 <3> deadroot: woah... thanks for that correction !! <5> maybe its apache5 that has the stored procedures? <4> eh? <12> stevarino: how is the world in twenty years time? ;) <3> deadroot: it wont be that long <12> it took how many years to get to apache 2.2? <4> 10 more <3> well, 3-4 will be skipped on the next release.. they need to catch up :) <12> hehehe <3> access denied <5> anyone see the problem with http://stevarino.com/canadgroup_survey/survey.php ? <3> root required <6> lol <3> this is funny, my keyboards 'windows' key is macs apple key <0> mine has too :) <0> logitech :D <0> what will php 6 offer? <12> more security <12> no more such thing as globals! <0> better oop? <3> stevarino: you have the wrong quotes around your values <12> better oops? <5> zircu: change ` to '? <0> object oriented programming? <3> stevarino: yes, but you do want `'s around the table definition <5> zircu: you are absolutely right! it works! <6> viry: http://www.php.net/~derick/meeting-notes.html <13> wait, what? <13> no more globals? <13> eh? <4> eh? <0> ta <14> eh? <0> lol <3> the biggest feature i think with php6 is the unicode support <4> instead of mb_*? <13> zircu: is this guy a dumb***, or have I missed something fairly important? <3> you will even be able to write your functions in japanese characters <13> zircu: has mb_* lacked something you've needed? <3> honestly, i havn't used any unicode thing <3> but consider this.. strlen() <12> http://www.php.net/~derick/meeting-notes.html#id12 <- register globals removed! <13> The only problem I've found is expat <13> zircu: easilly corrected via this wonderful "math" concept :p <13> s/ll/l/ <12> eh, i've forgotten that magic quotes are also removed XD <14> magic quotes should never have been there to begin with <14> silly idea <13> deadroot: There is a far ****ing cry from "globals" to "register globals". <3> Lateralus: ok, i'll then mention something more important, all magic* stuff and registered globals wont exits <13> zircu: word. <12> Lateralus: true. it is very far apart <12> but to most 'programmers' it would be the same as no more globals ;) <13> zircu: I've finally found a few minutes to work on the manual again :) <4> deadroot: huh? <13> zircu: I've been so busy I havn't touched it in months :\ <4> no way. <13> deadroot: er, no. :p <4> anyone using globals in that sense 1) just started or 2) is retarded <12> Deu***: yes way. i know of a number of people that still thinks the globals are always there for them to use <3> oh, and perhaps setor() will added <4> deadroot: sure, but see above
Return to
#php or Go to some related
logs:
#suse mcopy plain_io input/output error
#python #php win32codex wlan0+wth0+gentoo Silicon Image 3112A suse 10.1 quakenet testtesttest gentoo pentium4 or x86 dombuilder.js
|
|