@# 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 34 35 36



Comments:

<0> action="whatever.php" again?
<1> qube: no problemo
<2> lith: Xchat :)
<3> lith: xchat?
<0> lith: kvirc
<1> Perfect
<4> why cookie expires in 4 years ago when calling session_start? php is cracked?
<1> damn I love this channel! no such shortage of excellent ideas :D
<2> lith: lol ;)
<5> nok, your server or desktop clock is 4 years wrong
<4> Qube: no, they are correct
<0> how is it possible to make php work and give its output to html? action="whatever.php" ?
<6> if you have $var = ' stuff in here '; does the stuff need to be single quotes/escaped double quotes? right?
<6> you cant have just double quotes in there
<5> nok, how can it have expired then? have you checked the timestamp set in the cookie?
<5> JJPeerless, either



<2> nok: ?!
<5> '' if you don't need to embed any variables in it
<2> nok: first thing, tell the PHP version and give some more info
<4> Qube: yes, with live http header monitor with firefox browser.
<5> and what does it say?
<5> you could also pastebin some code to show how you are generating the cookie
<4> sth like "expires=02-Jan-02 ..."
<3> Kartagis: Exactly what do you mean by 'make php work and give its output to html' Does echo not do what you want?
<5> like?
<1> oOooOoo I like xchat
<4> Qube: I just closed browser, i want to try set my client time to 5 years ago, to keep the cookie
<0> wobbles: but how do I echo stuff to another page? with action="whatever.php"?
<5> Hey, my watch says is 4 years out of date... how does that info help you to help me fix it
<6> whats <tbody>
<5> nok, did you ever hear of the Y2K problem?
<5> perhaps using the correct expires=format would make it work
<7> hi
<2> nok: date that is in the past usually shows that cookie is to be unset
<3> Kartagis: You want a form, presumably? User enters data, presses Go and the next script will have the data available in one of the global arrays $_GET or $_POST depending on the method you set in the form
<2> hi pluffsy
<1> Forgive me for asking twice... What was the name of the plugin to allow eclipse to edit PHP files effectively?
<7> I'm the only developer on a project and has never really worked with svn or cvs, more then downloading latest versions of source. Now I need to work from two different computers, is it totally stupid to use svn for that? I would like a reason to learn svn, but I would like to hear your opinion.
<3> lith: "trustudio foundations" was mentioned
<8> What is wrong with this line: echo "hello person ".$counter+1."!";
<9> hi, how can I place a variable name within a function?
<2> pluffsy: subversion is better, #svn to ask your questions...
<4> Qube: more info:"Set-Cookie: PHPSESSID=f87cd67cab3b49aa9be3daf41c4804eb; expires=Thu, 02-Jan-02 08:53:35 GMT; path=/
<9> display + $error + Page()
<9> so it would be displayErrorPage();
<10> alexandersandstr: absolutely nothing, but i think you want $counter++;
<3> Alex: What error do you get?
<7> Drakas: Yeah sorry for being unclear, but the choice was not between cvs and svn. It was more of using a versioning system when I'm the only developer (but am using two computers).
<2> nok: which php version do you use?
<10> err... ++$counter
<8> parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in
<0> wobbles: I have no problem with entering data, just reading it. if I have php read from an sql table and on another page have my html codes, do I need a form and action="whatever.php" ?
<4> Drakas: Qube: <? php session_start() ?>
<2> pluffsy: yes, i think it'd be a good thing. I have only one pc and i don't use svn but i would if i knew how to (hate learning it)
<8> The string I posted is not exactly what I have in my code, thats more stuff in there.. but removing +1 helps, so I think thats whats wrong..
<2> nok: php version.?
<0> or what do I need to retrieve data from a php page?
<4> Drakas: Set-Cookie: PHPSESSID=f87cd67cab3b49aa9be3daf41c4804eb; expires=Thu, 02-Jan-02 08:53:35 GMT; path=/
<7> Drakas: Thanks :)
<3> Kartagis: I don't quite understand what you are trying to do. But in any case I'm off to bed....
<2> nok: we need your php version
<4> Drakas: Set-Cookie: PHPSESSID=f87cd67cab3b49aa9be3daf41c4804eb; expires=Thu, 02-Jan-02 08:53:35 GMT; path=/
<4> **** my mouse
<2> nok: we need your php version
<4> Drakas: php-4.2.2-17
<2> nok: might you consider upgrading?
<2> itrebal :))
<2> nok: your php version is very very very old
<5> nok, then im sticking with the bad server time
<10> nok: and upgrade to 4.4.2 would be great, even
<2> nok: ..considering that latest php4 is 4.4.2; php5.1.4 and php6 is on it's way
<11> "on it's way" means at least a year, and that's very optimistic ;)
<4> Drakas: That box is out my control, it's my friend's
<5> php-4.2.2-17, wtf is -17 ? 17 attempts at making a stable 4.2.2 package release?
<2> ;DD
<4> Drakas: And I just want to find out what is wrong



<5> nok print Date("Y");
<2> nok: your php version, maybe?
<2> nok: echo date("r");
<2> :]
<10> nok: i recommend you inform your friend that he has many, many security holes opened up from that
<2> Qube: r give sthe full date..
<2> nok: do you mind giving a url to the site?
<4> Drakas: in php file?
<5> Drakas, I know, just wanted the year tho
<2> nok: yes; Qube full date woud still be more interesting :]
<5> Drakas, but it might also be part of the problem... since r is the expires format
<2> yep :]
<5> so lets have both :-)
<4> ok, http://news.uibe.edu.cn/uibenews/admin/debug.php
<2> thanks ;]
<2> here crackers come..
<2> nok: your script doesn't output anything
<5> Drakas, look at the headers
<4> Drakas: ofcouse, reload now
<2> oh yes ;]
<4> Drakas: the systime is correct, but cookie is screwed
<2> that would be ok
<10> gawd damn i need to clean this **** up... i have *five* email accounts i'm checking
<2> nok: you can either upgrade the php version, or send another cookie; like this: setcookkie("PHPSESSID",session_id(),3600*24);
<5> nok, you calling session_cache_limiter() ?
<12> Does anybody use ming?
<4> Drakas: that's cook, but i am still curious
<2> nok: Server: Apache/2.0.40 (Red Hat Linux) << apache is old too
<2> Qube: nok said that there's only <?php session_start(); ?>
<5> ok
<4> Qube: session_cache_limiter() not found in source files
<4> Drakas: I know it's too old and it's out of my control
<2> nok: now, look at http://www.php.net/ChangeLog-4.php#4.2.2 and see how many entires there is from that place to the top
<2> nok: unless you have a stable version, we cannot help really
<2> uh, setcookkie("PHPSESSID",session_id(),time()+3600*24);
<4> Drakas: ok, i will try
<2> ..or you can even do header("PHPSESSID=".session_id()."; expires=".date("r",time()+(24*3600))."; path=/");
<2> though you must have session_start() before them, otherwise sessions may not be initialized properly
<6> how do i make it so sql warnings are not printed to the screen
<0> can you show me an example on how to p*** the information retrieved by a php page to and html page?
<13> Drakas header("PHPSESSID=".session_id()."; expires=".date("r",time()+(24*3600))."; path=/");
<13> ?
<2> hm
<13> Drakas i never did that...
<2> header("Set-cookie: PHPSESSID=".session_id()."; expires=".date("r",time()+(24*3600))."; path=/");
<13> Drakas what is that for ?
<2> ;]
<13> ;)
<2> hehe
<14> itrebal: haha I know that feeling
<14> pipe them all to gmail!
<15> there is any way to get screen window client size ?
<14> ace_me: no
<16> ... ... ...
<15> and if I use java how could I p*** them to php
<10> aidan`: ahah, gmail is the reason i'm having the issue, i got TWO domains on their hosted plan :)
<14> oh cool :) you can set your accounts to redirect, that's how I've handled it
<10> aidan`: i'm working on it now :)
<14> ace_me: javascript or an applet?
<15> javascript maybe
<15> hopefully
<14> maybe?
<15> :)
<15> who know I try to generate a svg with php and relate it to client window
<14> you can redirect with the size in the url
<14> svg is a vector graphic, it doesn't matter what size the client window is
<15> cool
<15> in order to relate some circle inside it to window size you need to know , but maybe I could also relate to svg height
<15> which maybe is known
<4> Drakas: how can the cookie expire time be set several yeas ago from current systime, by cracking php session_start function?
<13> JJPeerless you can put an @ before the mysql function like @mysql_connect(); or @mysql_fetch_array();
<17> eep!
<17> !+@


Name:

Comments:

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






Return to #php
or
Go to some related logs:

rudin gaps rational
don-crupi
#ubuntu
inkscape copy a layer
Ubuntu aterm: can't load color
+xmms presets
python required which was not found in registry
aylar math
#perl
#perl



Home  |  disclaimer  |  contact  |  submit quotes