| |
| |
| |
|
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
Comments:
<0> !tell akumanz about g10 <1> whast g10 <1> screw that <2> Can anyone explain why OPENSSL_NO_PADDING causes openssl_private_encrypt to fail? The manual clearly says it is a valid option. <3> PLEASE BE OUUUURRRR GUUUESSSSTTTTT! <3> wow... :P <4> i get this if I try to run on 127.0.0.1 from port 1 to 2 <5> akumanz: urf? What do you mean "screw that"? <1> i mean screw not downloading prewritten script <4> http://pastebin.com/732018 <0> Stormchaser: he was saying that about g10. <5> yes, I know. <1> yeh <5> akumanz: We're not your personal search engine <1> personal advisors <6> rotf
<4> err, let me repaste the code w/ the html so you get accuratre line nubmers <7> hum i think i gotta put it xml first <8> ... <0> Wsoprulz1299: please. <9> More correct: Stormchaser is *MY* personal search engine... he's my personal *engine* <4> sorry, I did not realize <1> so yeah <1> some of you gangstas might've used a counter you love <10> what's a popular function to turn mysql date()'s into readable dates? <11> I consider hit counters a complete waste of time. <10> well, format them differently <1> so i ask hey anyone know of a counter thats good? and someone might relpy yeah i have <9> tek: strtotime() maybe <10> kuja, i need moe like timetostr() =p <9> tek: No, I'm pretty sure you may need strtotime(), but maybe I'm wrong? <12> i want to clear all my cookies upon logout w/ their session, how can i do tihs? <6> tek you'd use mysql FORMAT function <4> :/ pastebin is being rather slow today <9> "There have been %d people who visited this site. AND YOU ARE NUMBER %d!!!" <9> :P <9> Stupid counters... <6> acidjazz session_destroy <5> akumanz: Counter? Good? I never saw these two words used together <1> yeah <6> Wsoprulz1299 www.hashphp.org <5> http://www.between-the-shadows.com/ <-- \o/ <4> thanks xshad :) <6> Stormchaser clapclapclap!!! <4> http://hashphp.org/pastebin.php?pid=6804 <4> http://pastebin.com/732018 <13> For PhpBB, I want to retrive the usernames in 1 usergroup, I know in phpMyAdmin there is a usergroup section, but no clue how I could take that information into a webpage. Can someone help <4> those are the errors I get if I simply ttry to run it on 127.0.0.1 from port 1 to 2 <12> xshad; session_destroy doesnt remove the cookies, i still see em in my browser <5> #phpbb, please <6> !tell WCX about g10 <13> they don't know ... this is less about the script and more about retriving information from phpMyAdmin <5> *blink* <14> no, it's about MySQL <6> acidjazz use unset($_COOKIE['myCoolKey']); <14> sup Stormchaser <6> or even $_COOKIE['myCoolKey'] = null <5> WCX: Then #phpmyadmin <12> xshad; tried that too <5> Kog: Um... yo <6> acidjazz show me your code <6> there's yet the g8 Storm :) <13> Can anyone point me to a PHP tutorial that shows how to can retrieve information with MySQL? <6> WCX php.net/mysql <15> WCX php.net/mysqli if mysqli is available to you <13> there example have you place all the database code into it..... is that safe to do with html? Couldn't someone download the file and read the php script <16> WCX, any request for the file runs the php, you never see the php source <15> WCX all the code is parsed on the server side so the user never sees it like hawkaloogie said, you may be thinking of javascipt which is client-side, and runs on the user's browser <16> i should clarify: any HTTP request for the file runs the PHP and gets sent the output, if the user has FTP access they can see the source <7> oi <7> how do i resize automaticly picture 6 <7> ? <15> use image functions <15> imagecopyresampled() <15> http://us3.php.net/manual/en/function.imagecopyresampled.php <7> thx <4> so does anyone have any idea about my code?
<4> 18:13 < Wsoprulz1299> http://hashphp.org/pastebin.php?pid=6804 <4> 18:13 < Wsoprulz1299> http://pastebin.com/732018 <4> 18:14 < Wsoprulz1299> those are the errors I get if I simply ttry to run it on 127.0.0.1 from port 1 to 2 <6> I don't, sorry <4> k :p <17> Still waiting on pastebin. <3> hi <4> the socket stuff gets awfully confusing :/ <17> Offhand, I'd say that your php doesn't belong after </html> though. That would result in a slightly incorrect page [Not your problem though]. <4> http://hashphp.org/pastebin.php?pid=6805 <4> i put my errors there, i think there are some problems w/ pastebin <18> Morning <17> For a proper webpage, everything should be inside the <html> tags... most of the time it goes inside <body> as well. <17> Anyway. Your error seems pretty correct. <19> wow <20> hello all, i wanted to do change the TTL of $_SESSION but dont see any thing about that under the doc, only session_cache dont seem to do what i want. Someone have an idea ? <19> looks like we still write code with register_globals = on <17> Your code attempts to connect to it. (Fails), checks if it's connected (it's not), and then goes on to trigger_error (Which works as designed). <21> uhhh <21> Wsoprulz1299, $end_port = is_numeric($_POST["end_port"]); <-- what do you think that does? <18> Froggy: maybe you can do something with the garbage collector in the session section of the php.ini... <20> in fact i want to do timed login with session and not with cookies (which are problematic if server & client cloack are too different) <15> Froggy, session.gc_maxlifetime <15> in php.ini <17> Shadda: Keeps silly things from happening if someone posts "Goat" instead of an ending port, I'd imagine. <17> ... <17> Oh <17> Hah, I see what you mean. <20> lig & cythrawll : its to change it under my .php in fact :) <20> different ttl for each people who log on <15> set the cookie lifetime then for the sessin id <15> session_get_cookie_params <15> and similar set <21> Tresnar, it looks like he thinks it will return an intval for whatever is posted <17> Shadda: Right, which isn't what it does. <20> i work with 15mn TTL and lot of client have 5-10mn difference with the server, so the time of the cookies is "bugged" <21> Tresnar, when in fact it will return true/false whether or not its a numeric value <17> I didn't really look closely enough at what you asked. <17> I'm guilty of not really paying attention. <22> whats the best way to timestamp a mysql field of type 'datetime' using php? is there like a built in function that will print the current datetime in the proper format <21> He probably wants $_POST['endport'] = (int) $_POST['endport'] <21> ; <21> Bah, I'm laggin <7> !google php date <22> k <21> badly <15> Froggy, guess you'll have to use the gc_maxlife <21> Google maps on dial up == baaaad idea <15> but that is globally defined, i don't think you can specify it for each user <23> Stormchaser: I did. Let me know when it's colored. <20> cythrawll: ok, can i change it directly under the .php or its hard coded ? <20> (i mean, only be change under the .ini) <15> you can change directives in php.ini with a function <5> TML: Um... That *was* colored :) <23> Stormchaser: Oh...then no. I got the b/w version somehow <5> TML: juist hit refresh, then :) <12> setcookie('cookiename',null) destroys the cookie, session_destroy() and unset($_COOKIE.. will not <20> cythrawll: ok thx <15> Froggy, http://us3.php.net/manual/en/function.ini-set.php <15> as far as i know, unset doesn't work for cookies acidjazz <5> TML: Are you looking at the image on storm.homeunix...? <21> of course not, a cookie is a header. unset($_COOKIE) would only unset the superglobal variable for the duration of the script <12> cythrawll: im just fyi'ing <15> k <12> Shadda: someone recommended doing it so im just specifying it doesnt wrk <20> cythrawll: thx, im on it, im thinking of best way to do it, changing the .ini set or start my own timer <5> *howls <12> ok so ive written and tested my infinit sessioning <12> i store a cookie of a sha1 of the accounts id and email (two unique fields) <12> no more less seure than the session id itself, other than the fact it doesnt expire. <24> acidjazz: how can you set a cookie to never expire? <5> you can't
Return to
#php or Go to some related
logs:
xubuntu totem-xine how to install #oe #mysql #suse debian etch kernel raid=part Unexpected error status 8192 nachplus areca knoppix python reaction-diffusion gentoo evolution missing icons
|
|