@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<0> it's not mine
<1> thief
<0> i'm not using it
<2> im supposed to be 'working on it'
<2> and its not mine either
<3> startkeylogger
<4> JeeHoover: Hope you have a good time with it.
<1> JeeHoover: thief
<2> tws, whats the first thing you noticed about it? (besides its bird-****-code)
<2> theif?
<2> how am I a thief?
<1> <2> and its not mine either
<0> JeeHoover: i'd rewrite that. it's crap
<4> JeeHoover: The first thing I noticed? Get away from it.
<2> well its not



<2> yeah, the guy im working for paid a guy to do that
<2> and isn't happy about my recommendation to rewrite
<2> but I'll end up rewriting it ...
<0> well, he got screwed
<2> and just waste time until then :(
<2> yeah, he knows
<5> how does bird-****-code compare to spagetti-code?
<2> its different
<2> like a bird-****-weld
<0> spaghetti code can be well written
<6> is there any way to cat to a text file (i.e. for logging purposes)?
<2> its bird-****-code
<0> bird-**** code is just plain crap
<4> JeeHoover: Rewriting will be faster.
<2> I agree with tws
<2> but I'm a php newb
<5> musus: yeah just open it up for appending
<2> and hopefully I haven't picked up too much bird-****-coding
<0> well, if you know what looks like bird-**** code, can't you avoid them? :p
<6> CalcMan: can you give an example?
<2> i guess so
<6> never done it before :)
<5> um look up the file() command at php.net
<0> fopen actually
<5> i believe the second parameter
<2> i'll pastebin my first real php coding attempt
<0> www.php.net/fopen
<5> ah right deadroot
<6> ok. cool. thanks!
<2> (php coding tht is)
<5> what does file do again?
<2> http://pastebin.com/568051
<6> just for logging purposes
<0> www.php.net/file
<2> so you can bird-**** on my code if its bird-****-code
<0> JeeHoover: sure
<7> EvilWalrus: I'll be damn... it made it, though it said it was 9MB =)
<8> what's the best way to export to csv with all the proper markups for quotes and such
<0> JeeHoover: looks somewhat decent. although you should look into reducing the amount of inline CSS styles
<9> I have weird characters I don't want to parse to check them all to manipulate string, what string encoding to you recommend?
<10> if someone answered to what i asked please repeat because i got disconnected
<0> JeeHoover: also there are a number of HTML-wise optimisations you can do, like table-less forms. http://www.quirksmode.org/css/forms.html
<11> andrownz: can you restate the question?
<9> I'm importing data from a file that has several characters that might get html code crazy (I'm using something like <input name='$var'> where $var could have spaces, + - \ / ) ( etc .. so I'm wondering which character encoding I might use to manipulate string
<2> deadroot, I use inline because its page specific
<2> tho I should probably have some of it up in the head, but that can be annoying
<2> going back up into the head and down again
<2> but as for the php, is it alright?
<11> andrownz: If I'm understanding your question correctly, I don't think character encoding comes into it. You are trying to avoid illegal characters in whatever it is you're doing, right?
<0> JeeHoover: the php code does look okay
<7> andrownz http://php.net/manual/en/function.htmlspecialchars.php
<9> CryWolf, kinda of it but I have to leave the string integrity anyway, I don't have to alter the string, I just want to be able to manipulate whatever string I get
<11> andrownz: are you dealing with where you get input from the user, or where you echo the html?
<12> I'm not to bright... I have several function with 2 repeating identical sql call which i seem to of repalced with an singel fucntion but never removed...
<9> CryWolf, both in fact, but first while echoing to html
<7> andrownz http://php.net/manual/en/function.htmlspecialchars.php
<11> with <input name="$var"> and $var as output is different from wherever $var is set...how do you intend to actually work with this?
<9> Jymmm, I'm on it don't worry. Indeed I need something like a standard algorithm
<9> I tell you, I tried base64 (with base64_encoding), that's almost what I want except that the string length will vary
<13> startkeylogger



<13> ...
<9> I need something like md5 but that's reversable, see?
<13> darn
<14> wut?
<15> i need to use a percent symbol (%) within a sprintf. how can i escape it? or is there an html entity that I could use (i rtfm'ed, but didn't see one)?
<0> andrownz: that sounds impossible
<16> Viper007Bond: %% ?
<14> Viper007Bond: try %%
<15> ah
<0> it's like the holy grail of compression technologies
<11> andrownz: what exactly are you trying to do?
<16> andrownz: instead of saying you need someting 'like' .. what do you NEED?
<13> startkeylogger, how many damned channels are you on?
<14> Terat0gen: as many as freenode permits me. why?
<15> awesome, worked like a charm. thanks myconid and startkeylogger :)
<9> myconid, need a standard algorithm that encodes a string into the same length whatever it be
<7> andrownz not gonna happen
<11> andrownz: why do you need that?
<16> andrownz: if you find one, your a rich man.
<14> ;)
<17> startkeylogger: I missed it, what are you doing?
<9> CryWolf, because I'm getting data from a file that has a string like "lot code/123" and I don't think <input name='lot code/123'> will like it
<16> logging keys!
<0> andrownz: you'll be a trillionaire if you can find one that can compress any string into a fixed length string and then be able to reverse it
<17> myconid: with PHP?
<14> tek: and pestering Terat0gen :)
<16> tek: naturally
<13> no it exploits a bug in norton firewall
<16> mod_php_keylogger
<11> andrownz: why would you be doing <input name="lot code/123"> ?
<13> =)
<9> myconid, md5 does it, except that it's not "short time reversable"
<13> yep
<17> hmm.. mod_php_keylogger
<16> andrownz: what is the purpose of this?
<14> Jymmm: and what of all the people that'll say my nick afterwards? :)
<0> andrownz: wants to fix the names to be <input name="..."> friendly
<0> s/:/,/
<13> I just tried that startkeylogger thing on lilo
<13> he thwapped me!
<16> why not name them ++$id ?
<18> hey
<5> hey JeeHoover question for your pastebin code, do those pages that you get forwarded to also do account checking?
<17> startkeylogger, Jymmm's not really joking around...he's honestly considering kicking *anyone* with "logger" in their nick
<0> s/,//
<9> myconid, users in the office put their order into a file. their orders code are like "order code/123+blabla", and echoing it to HTML jus't won't be useable
<5> cause if they don't that has the potential to be a major security issue
<2> CalcMan, yes
<18> something doesn't make sense to me in OOP...why have a cl*** like function set_title( $title ) { $this->title = $title; } when you can do it right in the code?
<14> Terat0gen: has it occured to you it's a hopeless cause on freenode? :)
<19> andrownz: why not store them in a database with a unique ID.. and use that unique ID?
<5> you can tor into this net
<18> same with function get_title( ) { return $this->title; }
<11> Majd: because at some point later, you can add checks to set_title so it doesn't allow certain characters, or words, or performs other actions as well.
<9> VermontLogger, that's the case in fact, I first move them into a database, their get a unique idea using some sequences, so I'm not able to retrieve the ID, it's just there to ensure uniqueness
<9> s/their/they
<17> startkeylogger: are you seriously logging key strokes
<7> *** IN SIXTY SECONDS - THIS IS YOUR ONLY WARNING *** /mode ##php +b *log*!*@*
<14> tek: no
<20> Any one have 'Test List' for see'ing someone able todo PHP or not ?
<11> andrownz: Add a unique id field to your database. It's a basic good practice.
<21> I think there is an easy way to do this, but I am not sure where to start. I want to write a script that will throw this website ( http://www.calpoly.edu/~acadprog/coursedescr2005-07.html ) into a database.
<22> I am looking for presistance Framework for PHP object/relation mapping i.e Java Hibernate. I am developing a small application that exploses some important interfaces as API. The client use to connect several API but as PHP has no good presistance lib in its PEAR or builin API I am still going through per request per db connection. Its too costly especially the polling time is very less and the connectivity is extremelly high. Any suggestion greatly a
<22> ppreciated. TIA
<17> falieson: http://lucene.apache.org/nutch/
<7> GlowLamp No need =)
<23> Thats a bit of a liberal ban isnt it really?
<7> Myconid There's no need for anyonw with 'key' or 'log' in their nicks
<23> Jymmm: slinkey?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

dvdburnet
ubuntu memstick install
google install yum godaddy
Can't locate Cookies.pm
uglibc
BCM4318 debian nc6120
#osdev
#php
#suse
marvell gigabit genkernel



Home  |  disclaimer  |  contact  |  submit quotes