@# 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 31 32 33



Comments:

<0> ?
<1> * mysql data storage
<1> you know how you need a username and p***word to access a mysql database
<1> I only need that much security
<0> excelblue: if you are referring to salt or md5 those are both basically hashes
<1> nope... don't want to do hash... just want to encrypt or something
<2> joeyjones: Not any harder than it is to decrypt something "securely" with any other programming language.
<3> encrypting stuff on the server seems overkill
<0> excelblue: i think everyone is telling you you have no clue waht you want
<0> just run vbulletin on https and get on with life
<2> excelblue: Any forum software out there will provide you that level of security
<1> such things are not something I can afford, and I just want to make something simple
<1> the idea here is that I cannot have mysql at all
<2> excelblue: They're FREE
<4> TML: forums need mysql, deuche bag



<0> if you cant afford to secure your data then the data is more than likely not worth securing
<5> Since when?
<2> excelblue: Then what database are you planning to use?
<1> just going to use plain files
<2> excelblue: There's your first mistake
<2> Fora using flat files are incredibly difficult to implement safely
<0> excelblue: read what i said above and apply it to computer security
<0> lol
<2> excelblue: Try SQLite.
<1> alright... thanks, will take a look at it
<6> hey, i've got an interesting issue... i'm looking at a file with entities such as &#20013;&#22283; which i need to convert to utf-8.. any ideas?
<2> I'm sure if you look around, you'll find a forum software implemented using sqlite
<7> i hate installing windows.
<8> hooray for windows!
<5> Me too. So I don't.
<0> itrebal: im sure it feels the same about you, perhaps you should try an os that is more appreciative of the fact that you are willing to install it
<2> Yeah, it would seem the solution there is self-evident. :)
<7> i have to... i'm getting payed
<2> paid?
<0> i actually stole a hd from another machine just so i wouldnt have to waste time install winderz
<7> that works too
<7> thanks, TML
<7> winmutt a spellcheck interface for what?
<9> stevarino: http://fr.php.net/manual/en/function.html-entity-decode.php ?
<0> i gave up on trying to hack designMode to get a wysiwyg inline spell check
<0> itrebal: in my case for tickets, in your case for irc :)
<6> alakazam: tried it, its not utf8 safe.. i'm looking at what i believe is chinese characters
<10> winmutt; FCK has a spellcheck
<7> winmutt: lol, i dont need one, i use Gaim usually
<0> ywtf is FCK?
<10> fcke editor
<0> irc on giam?
<0> whats fcke
<10> fck editor
<2> stevarino: Those are probably already Unicode code points.
<10> winmutt; try google
<7> i know its not the best, but yes... its because i have to use several other protocols as well
<2> stevarino: That is to say, I'd bet if you stripped off the "&#" and the ;, you'd have your code point.
<6> TML: i would prefer to store them in the database as utf-8 though for consistancy
<0> google: fcke == First Cherokee Bancshares
<0> wtf
<6> TML: interesting, how do i convert that into a useful character then?
<0> itrebal it works well enough for me but not for irc, good god man!
<11> does there exits something like structs in php
<5> Um, sure. Arrays.
<2> stevarino: A valid question. I'm afraid I don't know the answer, given that I've never used a PHP that's multibyte capable.
<6> possibly the mb_ function set? or should i just start throwing char() at it ;)
<2> chr() won't work
<2> It's tied to ASCII
<7> winmutt any alternatives to it that will merge them all into one?
<0> sean` : so anywyas?
<2> Take a look at the mb_*
<2> Try the mailing lists, more people there that play with that stuff
<0> itrebal: i dunno i cant stand irc in anything gui like
<7> winmutt what do you use?
<0> bitchx
<0> for irc gaim for im
<6> TML: a quick hack i thought up was to output the file with an text/html+utf8 header which outputted correctly... so i can see the chars, now i need to simply save them



<0> i dont like gaim but its the same interace on every machine i use so i give up eye candy for reptition
<12> what type of field should i use to store time()
<0> integer unsigned
<0> oh
<0> integer signed
<0> php doesnt do unsigned
<12> it is int
<12> but not listing them in order
<12> uploadtime int(20)
<12> starts at january of this year instead of march
<13> winmutt: unsigned would mean that you can't store dates before 1970, which wouldn't work out well for birthdates
<14> is { or } a regex character in php?
<12> uploadtime int(20)
<15> um
<6> TML: you were right, from wikipedia: "Numeric references always refer to Unicode values"
<0> ||cw: well tell that to the php developers :)
<15> Storkme: yes, it can be used as delimiter.
<0> {} is regex
<0> defines number of previous declaration
<14> okay, so i need to escape it
<0> \D{1}
<13> winmutt: php just uses the gnu date functions, which support negitive timestamps on most platforms
<12> any one know why my dates might not be listing in order from now to history using desc limit 10
<12> the field is int
<2> Storkme: You only need to escape {. } isn't a metachar by itself.
<2> phos: You're storing a date in an int?
<14> hmm, now how can i replace '_' with ' ' in \\1 ?
<2> Storkme: str_replace() would be better for that...
<12> im storing the number
<0> ||cw am i thinking of long2ip? maybe thats it i ferget
<12> time()
<12> that number it gives you
<14> TML, is that possible inside a regex statement>
<12> as an int in a mysql field called uploadtime
<12> is this not the best way?
<12> im still learning
<16> I cant get mysql to work
<16> Cannot load mysql extension. Please check your PHP configuration
<13> winmutt: maybe, an ip can't be negitive
<12> englighten me pls
<2> Storkme: preg_replace(...,....,str_replace(.....))
<13> Riyonuk: make a phpinfo() page, does it show a mysql section?
<0> ||cw long is signed int right? so all of php's ip stuff is not inet_aton compatible
<16> err hold on
<0> i think thats what was going off in my head not unixtimestamp
<2> phos: I suppose you could do it that way. I can't think of any reason why ints would come out sorted incorrectly, though. You're certain it's an int field?
<13> winmutt: well, "int" really is implementation specific
<12> yes
<17> http://pastebin.com/652339 <-- why isn't it putting the style result in the session array?
<12> with limit 20
<16> 207.235.116.168
<16> thats my site
<12> $query = "SELECT * FROM scriptinfo WHERE scripttype = '{$type}' ORDER BY uploadtime DESC LIMIT 10";
<16> its the only one
<12> that's the line that im using
<12> is there a syntax error in there or something?
<0> Riyonuk: did you compile --with-mysql ?
<16> please dont hack me lol
<0> and restart apache
<16> I dont know
<13> Riyonuk: what OS?
<2> phos: Not that I can see. Try getting the query so it does what you want outside of PHP, and then bring it back to PHP. #mysql should be able to help you with that.
<16> windows xp home
<13> Riyonuk: ah, windows. did you add the mysql dll's to the path?
<17> Windows XP Home SP1 5.1 that is :P
<16> not sure
<13> Riyonuk: in other words, did you actualy read and complete the installation instructions?
<16> well yeah, mysql works
<13> that's not relevant
<18> hey guys i know this is not the channel for this kind of question but i need help, does anyone of you have an abit nf7-s mainboard?
<13> the php instructions
<16> I read getting php to work
<17> marcin: #motherboards ?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

konqueror vidieo
#suse
suse 10.1 gstreamer mkv
turn off beagled-helper
#suse
C_REATiVE_
ubuntu ralsa
evdev-drv
ubuntu boot init 3
#css



Home  |  disclaimer  |  contact  |  submit quotes