@# 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



Comments:

<0> all 10k rpm
<0> dual opteron 246, 4GB ram, 1TB storage
<0> :D
<1> What DB you running?
<0> slackware.. apache and mysql are the only daemons running
<0> and ssh
<0> thats it
<1> How many DB machines?
<0> heh.
<1> Though I imagine you can keep your calls pretty minimal
<0> it's all on one server
<0> two sql queries per image view
<1> I designed http://pics.bbzzdd.com/ a long time ago, it does well still
<0> one to gather, one to update
<0> make any money off it?
<0> want to sell it me?



<0> users and images
<0> :)
<1> hehe
<2> DEWEZ: the name of your domain rocks
<0> thanks
<0> i thought of it while taking a ****
<1> lol
<0> i'm good with domain names
<1> I shot you a PM about an ad, lemme know if it's okay
<0> i have some really leet ones
<0> yeah its good
<0> i have..
<0> haxorhost.com, homesicksoul.com keepitwhite.com, hidebehind.com, hostsr.us,
<0> those are the good oens
<0> with hidebehind, i bought up all the TLD
<2> hidebehind is the nicest
<0> i couldn't believe hidebehind wasn't taken
<0> hidebehind.us is pimp
<0> i think the name and design of the site gets people.
<2> why aren't you using cl***ic ads?
<0> cl***ic ads?
<2> like the google text ads
<0> because if you think about it.. google ads gives your traffic to competitors
<2> heh
<0> if there was a way to feed google a keyword, and have it return ads based on that word
<0> i would do it in a second
<0> since all my images are in categories
<2> what if you could chose the offers you want in your ads?
<0> google can lick my balls
<2> cool, but would that help you?
<0> choose the offers?
<2> yea
<0> like pick the ads?
<2> yup
<0> sure
<0> then they would rotate
<2> but they would still be shown randomly
<2> based on epc
<0> yeah
<0> that would work
<2> hmm, I'll talk to my boss, when I'll have that implemented I'll let you know ;) we provide ads, banners etc
<0> site?
<2> you could check the .com version www. .com version too for a preview of the offers
<0> how many members?
<2> I don't really know, let me check
<0> http://hidebehind.com/E0F5026C
<3> hi all
<0> http://hidebehind.com/B7371E2C
<1> Hit us with the amateur stuff, yo.
<0> bbl lunch
<4> Hello. How can I output a random id from a mysql database?
<5> you will be able to do that when you learn to ask the questions in their CORRESPONDING CHANNELS
<4> with PHP.
<5> this is php for gods sake
<5> thats sql
<4> hmmm, wait... let's say I have an array called id, with all valid ids, right?
<5> ramdom id from a mysql database <- wheres the php bit?
<5> ok
<5> count of id over 100 and a rounded random to match a percentage, you re done and footie is back on
<4> Think I started wrong. Lemme explain myself. I've got a quote database. Each quote has it's unique id. In the first place I was thinking to get the last ID from the database and just choose a random number between 1 and XXX, but not all ids are valid because some quotes get deleted.



<4> I'm just trying to create a "random" rss feed that just spits out a random quote on each access.
<4> Ophiocus, I'm guessing it's easy, but I don't know where to start...
<5> hay
<4> uhm, I see there exists a function array_rand, or array rand?!
<6> what does the first P in PHP stand for?
<7> *****
<6> ***** Hypertext Preprocessor... Aahh thanks
<7> PHP
<8> wtf is php :/
<6> :)
<9> hi everyone. i want to display a tempfile (php123.tmp) as a jpg, so that a user may confirm the upload before moving the file to it's destination. what would be the best approach?
<6> Is this login-mothod Hackable? http://pastebin.com/770387
<6> (except brute-force)
<10> byp***er|, header() ?
<6> Znuffie, what
<9> Znuffie: do i need to start playing with ob_flush, then?
<10> don't know exactly
<7> it should be fine.. althought the code isnt exactly great
<6> k_|ine, what could be better? you are free to edit it
<0> http://www.hidebehind.com/BFD3142C
<7> you'll eventually need to use sessions
<11> :)
<7> there are other ways, but you'll be best off using sessions
<7> and it's best to not hardcode p***words
<11> k i am in need of a genius ...
<11> lol
<7> doesn't make it very dynamic
<6> how do you want me to store the right p***word then?
<9> Stubman: encrypted, in a database. Or, in a file outside the htdocs folder.
<6> well, its practically speaking encrypted already, the user doesnt ever get in touch with the p***word hash
<9> ok. there's really no security issue (that i know of) with keeping the p***word hardcoded, it's just impractical.
<7> exactly
<6> you mean, its hard to change without editing the code?
<8> woah
<9> well, impossible, i would say ;)
<7> yup
<7> not impossible :P
<9> so every time you want to change the p***word, you need to edit 10 files insted of 1
<8> I just god disconnected from the net.. reconnected.. and just resumed my irc connection like nothing had happened
<8> wierd
<9> k_|ine: well, close to
<11> k_|ine: could i ask u a question ?
<9> just ask
<11> :) k sorry kinda new to this chan and don't know whats alowed and whats not
<7> BetaRun, you just did :P
<11> sorry
<11> k
<9> haha, relax, BetaRun
<9> hi everyone. i want to display a tempfile (php123.tmp) as a jpg, so that a user may confirm the upload before moving the file to it's destination. what would be the best approach?
<6> how do you mean "confirm the upload" should the user confirm that he choose the right pic?
<7> byp***er| - you can use php gd functions
<9> k_|ine: Aha!
<9> gd/gd2 can display a file as an image?
<7> if its just text, which i ***ume it is
<9> ok, i'll look into it. hadn't thought of that, thanks
<11> k here i come i used to code xsl xml now wanna try a call procedure in php with same kind of result... i got an text file where i got stored data of users... like [save] \n id=1234 \n etc. etc. and then user files [save] id=1234 only thing that makes the db show that its user is that there is one extra line named uname= now i wanna collect all user data from that so there are more saves with same id but only 1 unique with uname=something
<11> how would i collect all that info as seperated in php that it shows all users with data under it
<11> from users that is
<9> parse_ini?
<11> well kinda new to this :S
<11> thats why i hop in here to ask help
<9> i didn't quite understand that, as you apparently don't know when to use commas. but look at parse_ini in the manual.
<11> hmmm
<11> ok
<11> can i query u byp***er| ?
<9> parse_ini_file, it's called. sorry.
<9> sure
<11> then u might understand the thing i am trying to do :)
<6> k_|ine, is it possible for someone to download my login.php ? then he/she would get the hash :S
<7> depends on how insecure you have **** set up
<7> like, if you have a script which you can use to upload files to your server, and you dont have restrictions on it to tell which types of files are allowed to be uploaded. i can make a short script which will tar up your entire site, then download it..
<7> but if you had a security hole like that, there are more important things to worry about other than someone getting that p***word
<7> :P
<1> You can make the script, but why would it be interpreted/executed?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

rosencrantz guilderstein shakespeare
#c++
undernet sweetguy
getline VC8 VC6
python-pyorbit 2.0.1 suse
change browse type=file
pinoymp3
#mysql
#AllNiteCafe
#windows



Home  |  disclaimer  |  contact  |  submit quotes