@# 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> but for two users to use the same login is a no-no
<1> right
<2> rolemodel: You can use the last_login_timestamp field technique then. I
<3> indolent: my more active tables have over 2 million rows, with no perfromance problems at all (read sub-second query time)
<1> cool
<1> using mysql?
<1> postgres?
<0> dj_segfault yeah i got the last login timestamp field, an isloggedin boolean field, and a sessionid field :p
<4> sqlite?
<3> mssql, but ti shouldn't matter, all can index well enough
<3> heh
<0> mysql. its conflicting with an old page protection script ive implemented
<5> ... "if product x does it, obviously product y does" .. nice login
<3> sqlite falls on its face at 100k rows, but it's designed to
<5> logic*
<4> :)



<1> my dba guy is in the works of getting mysql 5.x and we will be one of the first 'enterprise' i hate that buzzword to use thier grid system
<4> they have a grid system? or do you mean cluster
<4> ndb is kinda neat, but you needs mucho ram currently
<2> rolemodel: So what's the question, if you already implemented all of that?
<3> i just have a meesly dual-HT enabled Xeon 2.8Ghz with 2Gig ram
<0> dj_segfault im on the hunt for another page protection technique.
<1> -- im pretty sure Grid.. multi computers running same data (not mirrord)
<6> Only 5 submissions. :( Submit some! http://insertdomainhere.org/
<1> sharign resource
<3> a grid would be fun though
<5> I would love to use mysql on larger projects.. but its a pain in the *** factor when you start playing with huge datasets on multiple servers.
<4> indolent: yeah, that's what MySQL Cluster is..
<7> ok, so anyway, I would like to ask any of you if this has any major security holes, http://platinum.nocdirect.com/~jdottrua/truChat/
<1> all data is held in virtual memory n some way
<5> mysql needs to be able to segment data effectively.
<2> rolemodel: What's wrong with tha tone?
<7> you add your nick and ip through chat.php?register=your_nick
<0> dj_segfault it broke the no concurrent login functionality whenever the logged in user went back to the main login page (which has a page protect feature that redirects the logged in user back to his main page)
<4> they're supposedly working on a way to keep the data on disk
<4> but i'd imagine that would be tough
<8> hi, Question in imap_open function php 5.0.3. After doing a close netstat still shows connections been in the time_wait state for abt 10~20 seconds. Is this a bug ?
<8> sorry after doing an imap_close the above happens...
<4> though you could maybe replicate from ndb to disk in batches or something on each node.. anyway i digress
<0> dj_segfault instead of being redirected, they remain in the main login page. a new browser window and new login of the same account showed me how flawed the page protection was
<2> rolemodel: Have the login page redirect to another page if the user is already logged in.
<7> you can view the source through , http://platinum.nocdirect.com/~jdottrua/truChat/chat.phps
<0> dj_segfault exactly.. just trying another way to identify protected pages.
<0> and identify logged in users
<3> liat: escaping seem done adequtly
<0> dj_segfault before, i had adequate error notification whenever a person tried to login using an account that was already logged in (notifying the person that, yeah, the account has already been logged in)
<0> now, the error notification doesnt work. sure, ive fixed the page protect, but the notification isnt there.
<7> ||cw: w00t
<7> but I should let you know, that your registered as \"><script>window.alert(\'haha\'
<7> OM DAMN
<7> THAT person is registered under MY IP ADDRESS
<7> Oh ****, the IT is screwing with me
<9> that's what they do best
<10> anyone here ever use the gui toolkit QT
<11> Ace_high103: What's that got to do with PHP?
<7> I'm scared now
<10> kuja: alot
<11> Elaborate on what that has to do with the channel.
<10> actually i was just exploring php.net and ran into the php qt so it came to mind
<11> Doesn't seem like much of a relevant elaboration.
<10> kuja: but still a elaboration :P
<12> http://pastebin.com/566945
<12> can someone give me some help with this loop
<12> ?
<12> it's quite simple..but i've screwed it up.
<11> roundyz: Change your 'for' to 'while'
<10> http://www.xinterweb.com/josh/screen1.jpg
<10> like my site so far
<13> very... green
<12> kuja: I thought all the loops could be used the same?
<10> jiggster: and ?
<10> jiggster: its beautiful :P
<13> very green :P
<11> roundyz: for loops are used like: for (definition *(, more defs); condition; expression)
<12> what i want is for it to echo $anyyear<br> untill $any_year == $my_year
<12> so definitions within definitions?
<11> So yours should either be 'while (condition)' or 'for (;condition;)'



<11> I just know you're using the loop incorrectly.
<12> ok, so you can't help me much more than that?
<12> could you tell me is line 23 looks ok?
<12> or the details within the loop?
<11> ...
<11> Line 23 is precisely what I told you was wrong with...
<11> Learn how to use the damn loop construct before using it.
<11> roundyz: php.net/for
<12> soory i meant he != part
<12> sorry
<11> It's *WRONG*
<11> I just told you like 2 times, that it's WRONG.
<14> looks pretty nice Ace_high103
<12> i have read what you have put..I just asked the question wrong
<11> You don't know how to use a for loop, roundyz.
<0> allo kuja
<11> That is very basic. It is so ancient, and most basic of loops. Read, NOW: php.net/for
<11> rolemodel: Hey
<15> Greetings
<16> Salutations.
<15> how can I force the browser to refresh in PHP?
<17> hi all
<17> i have problem with sessions
<17> my code is working on all servers except this one
<11> FenixRF: You can't.
<15> that ****s :(
<17> sessions are reset always
<17> i watch tmp folder
<14> if PHP could force your browser to do stuff.. lol
<11> FenixRF: What ****s is you don't know the difference between server side and and client side operations.
<17> each refresh files are added
<17> everything is same
<17> same php version
<17> same apache
<18> you can use a header to do a meta refresh
<14> try a HTML channel FenixRF
<17> same browser
<17> same client
<16> SHaWF, try and write your entire question on the same line.
<17> sorry
<11> SHaWF: We don't like morons who abuse their enter key.
<15> well, I'm an ASP programmer turning to PHP ... in ASP there's the nice response.redirect function that forces the browser to refresh from the server.
<11> Actually, people who abuse their enter key are morons.
<19> kuja: why
<19> do
<13> well aren't we the bitch today kuja
<19> you
<13> :P
<19> say
<10> FenixRF: you cna do a meta refresh
<19> that?
<11> FenixRF: That's not a refresh.
<17> second sentence is better
<18> FenixRF: that just sends a meta refresh with the page
<11> et: You **** :(
<20> FenixRF: header('Location: /what/ever.php');
<19> p0windah: use absolute uris, including a scheme, in location headers
<11> jiggster: Well, you have to be a bitch in ##php to really get is straight.
<11> p0windah: et is right. HTTP 1.1 demands absolute URIs.
<10> kuja: so are you liek the god
<10> kuja: that knows php the best and controls everyone
<20> FenixRF: stick a http://what/ev/er.php'); so they stop hastling me
<11> Ace_high103: Your ***umptions flatter me.
<10> kuja: they make me sick ..... :(
<20> and to think I gave these bitches bling the other day
<20> I was a fool
<15> p0windah, thanks :)
<17> so no ideas?
<11> et: ...
<17> http://pastebin.com/566969
<11> et: Weren't you 'sen'? I forget.
<21> question: is there any way to send an HTTP request to another web-server, and then dump the result to the user? like an HTTP proxy but only for a few URLs on the web-server
<17> CyberShadow: fopen
<20> CyberShadow: ajax or fopen


Name:

Comments:

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






Return to #php
or
Go to some related logs:

ubuntu ca106 kernel module
#osdev
psftp permission denied -be
#linuxhelp
Suse Unable to create catalog
#perl
sami myrén
#suse
#ubuntu
#perl



Home  |  disclaimer  |  contact  |  submit quotes