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



Comments:

<0> @php $a = $array(); $count = count($a); echo $count;
<0> ok got it now :)
<0> is it easy to use sessions instead of cookies?
<1> Depends a bit on how your page works
<0> well mo cookies contains a username and a md5 p***word
<0> that I use to check if the user exists etc
<2> top o' the mornin to ya laddies
<0> do I need sessionstart at every page I need sessions on?
<1> Do you have anything up and running?
<0> what do you mean?
<0> I got my cookie login thing up and working
<0> but alot of users doesnn't have cookies enabled
<3> i have the following problem: im afraid its not really a php question but ill ask anyway: i want to add two entries in two different mysql tables.
<1> Is your site built up on separate documents (home.php, about.php, blabla.php...) or is it based on includes or whatnot within the same page (i.e index.php?content=home....)



<3> the second entry needs to also store the id of the first entry which is calculated with auto_increment
<4> @mysql_insert_id
<5> (PHP 3, PHP 4, PHP 5)
<5> int mysql_insert_id ( [resource link_identifier] )
<5> Get the ID generated from the previous INSERT operation
<5> http://www.php.net/mysql-insert-id
<3> sounds great, and its guaranteed, that there was no entry operation done by any other user in the meantime?
<3> it will insert the id, for the last opertion within THIS script, right?
<3> ok, its clear, i p*** the resource identifier !
<3> thanx
<0> TacomaTrailer: yeah it's different pages.. so I create a sessionname at the login and register variables and then just do session_start at the top of every page
<1> I would say no, however I never tried it that way so do try by all means
<6> Hi all
<6> just need help , any body there?
<1> just ask the question
<6> well
<6> am admin in website
<2> also, tun your mp3 **** off in here. we could care less about your choice of music.
<6> I try to login it says wrong p***
<6> i join Phpmyadmin
<6> and edit it from there
<6> all the p***es of users are codes
<6> so i del my code
<6> and add the p***word
<6> it keeps says wrong p***
<2> what did the p***word look like before you replaced it? plain text?
<6> numbers and letters
<6> its coded
<2> @php echo strlen(sha1(md5('poo babies')));
<5> Result: 40
<2> @php echo sha1(md5('poo babies'));
<5> Result: dc985e352006bc9f0fe77c577f0433b11fd5a139
<2> :D
<6> yeah it was like that
<2> did you replace it with plain text ?
<6> yeah
<6> with the p***
<2> then that's why it says failed p***.
<6> so how i can make the p*** right again ?
<2> @php $p***="my p***word"; $need="poobabies"; if(md5($p***)!=$need) { echo "auth failed."; } else { echo "poo babies"; }
<5> Result: auth failed.
<2> try md5'ing the p***word before adding it. or sha1 whatever it uses i dunno.
<6> sorry
<6> but what i have to do now ?
<2> heh
<2> @php echo md5('p***word');
<5> Result: 5f4dcc3b5aa765d61d8327deb882cf99
<2> add that then use 'p***word' as your p***word
<2> -Result: of course.
<2> the p***word needs to be encrypted
<6> @php echo md5('hackthis')
<2> if that didnt help you
<2> ltfg
<6> :S
<6> it says i must regist
<6> can u do it for me ansimation
<2> apparently you dont know anything about php do you.
<2> @php echo md5('hackthis')



<5> Result: 082a88e16c53d62f6df397d09aa997fa
<6> ok
<6> well
<6> now
<6> can i get the old p***
<6> to resolve it
<6> and see what it was?
<2> no
<2> it's 1-way encryption
<0> TacomaTrailer: it worked
<2> afaik
<2> @md5
<5> (PHP 3, PHP 4, PHP 5)
<5> string md5 ( string str [, bool raw_output] )
<5> Calculate the md5 hash of a string
<5> http://www.php.net/md5
<6> SQL query:
<6> UPDATE `e107_user` SET `user_p***word` = '082a88e16c53d62f6df397d09aa997fa' WHERE `user_id` =1 LIMIT 1
<6> Now right ?
<6> Well
<6> now it dont say wrong p***word
<2> try it
<6> or say anything
<6> it just dont give me the access
<3> should i use php or the mysql functions to format a timestamp to a human readable string?
<6> it still call me guest
<0> oo_seven: use date()
<0> php
<2> @php echo date("F d Y g:i:s",time());
<5> Result: March 28 2006 5:02:54
<6> ansimation ...
<2> Tamer: ?
<3> allright
<2> Tamer: google it.
<6> what u mean ?
<6> u got what i mean ansimation ?
<6> I login
<6> but it didn`t say wrong p***word as before
<2> i got that you're an idiot.
<6> but in same time it didn`t let me join
<6> idiot ?
<6> canot u behave yr self ?
<2> i would suggest not messing with **** if you do not know what you are doing.
<6> I am
<6> I login
<6> but it didn`t let me join
<6> it didn`t say wrong p*** either
<2> you broke it.
<6> what u mean ?
<6> ansimation
<6> it did the same before i change the p*** from the codes to that p*** which i just changed it again now
<6> so i thought the p*** is changed so i tried to change it
<6> now after i make the p*** back again
<6> it dont let me login there
<2> like i said, you're an idiot.
<6> :S
<0> lol
<7> oi. anyway to do something like LIKE without actually using LIKE in SQL?
<2> chendo: ?
<7> like
<7> i have this question
<7> write a query that displays all the city names that start with the letters J, K or L, that's all good
<7> next question is "rewrite your answer using a different predicate to the one used in your previous answer"
<7> and i'm confused
<1> you're not alone...
<8> I already asked in Java .... can someone give me the syntax to run a java program from another directory if the .java file is in c:\program
<9> what makes you think this is a java channel? :o
<7> so, no clues?
<0> a wild guess perhaps :)
<8> just am trying to run it from php
<0> so you want to run a .java file from the visitors c: or your servers c:?
<9> oneder: http://www.javaworld.com/javaforums/showflat.php?Cat=&Board=javabeginner&Number=19306&page=0&view=collapsed&sb=3&o=&fpart=1
<9> i found that


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#allnitecafe
#chat-world
lisky girls
I fart in your face quote
#india
ayq ne demektir?
#chat-world
chat with me ufone
bhosra
#allnitecafe



Home  |  disclaimer  |  contact  |  submit quotes