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



Comments:

<0> ah, that's right, doh
<1> yeah but what i want to know is why an argument to mail() is being sent to the http headers
<2> Does anyone know what exactly "Keyboard Interactive" authentication is as far as the SSHD config file?
<3> hmhm.. have a problem here.. "$request = safe_string($_GET['request']);" used to work on a pretty old php-version but not anymore on a very recent one.. what can i use now?
<2> woops thats gonna be the wrong channel entirely :D
<2> appologize.
<0> jesus.. safe_string :P
<4> hey guys
<4> i need sort help
<0> riot: what do you need to validate?
<3> Artnez: yea, veeery old :)
<3> Artnez: i want to safely put the string into an sql-statement.. so i guess, dbx_escape_string is ok?
<0> mysql_real_escape_string()
<3> oh, ok
<5> riot: whats your RDBMS?
<0> if you're using mysqli, its mysqli_escape_string()



<3> yes, its mysql :)
<5> ok :)
<5> i *never* ***ume what RDBMS people use
<4> guys? anyone here wanna help me with sorting a matrix?
<5> omri: just ask
<4> ok
<4> well the thing is this, i have a matrix
<4> where the first dimention is nodes
<5> did you take the blue or red pill?
<4> and the second is there attribute
<6> anyone in here familiry with file_get_contents
<5> DrewMew|Home: yes
<3> lol.. just this one bug in a transition from php3 or something to a recent php4.3.4 in a whole self-written CMS :)
<4> and i wanna sort the nodes by a string attribute
<3> niiice :D
<3> thx guys
<5> omri: O.o uhhh
<4> so i looked at PHP.net
<4> and the sorting functions
<4> and nothing seems to do just that
<5> what timezone are you apart of?
<4> so i said, OK, ill write a simple bubble sort my self
<4> ha? GMT+2 why?
<6> itrebal should the function look like file_get_contents (('/buynow/orders/product_info.php/cPath/21/products_id/28');
<6> err.. without the extra ( though
<4> guys, got any tips for me?
<5> you might have to wait for someone a little more.... up there in knowledge of PHP :P
<5> DrewMew|Home: did you try that?
<6> so just <?php file_get_contents ('/buynow/orders/product_info.php/cPath/21/products_id/28'); ?>
<5> did you try it?
<7> when i do ' . $var . ', it has some space, how can i do if i want text$vartext, without any spaces?
<6> yes..
<5> then why are you asking?
<5> _chillyD: 'text'.$var;
<6> it didn't return anything
<5> sure it does, your just not capturing it
<0> Drew: echo
<6> umm.. can you explain pleae itrebal
<0> DrewMew|Home,<?=file_get_contents( "file" );?>
<5> string file_get_contents(string filename [, bool use_include_path]): Read the entire file into a string
<0> file_get_contents returns a string with the contents of the file
<5> no.. thats bad, dont sdo that
<5> <?php echo file_get_contents('file'); ?>
<0> itrebal: same thing
<5> !tell Artnez about short tags
<0> well this i didnt know :)
<0> very good to know
<8> short tags should be taken out back and shot :)
<5> thats why were here :)
<7> itrebal: wrong
<5> _chillyD: your var has some spaces in the front, try using trim
<2> So does anyone have an opinion on the best way of handling multi-page forms for the best security/navigation for the user? Between storing everything in session variables and sending $_POST variables from page to page?
<6> hum...
<0> good thing i never have use for shorttags even if they weren't being taken out
<0> i'm so proud of msyelf in that regard
<6> so.. basiclly artnez
<5> DrewMew|Home: <?php echo file_get_contents('file'); ?>
<7> 'http://www.'. $domain;/webmail
<7> $domain is something.com
<7> how to?
<5> ... 'http://www.'.$domain.'/webmail';



<0> DrewMew|Home, file_get_contents gets the file, and returns a string with all of the contents of that file. For that reason it is necessary to use the echo command
<6> <?php file_get_contents ('url' [, $file1]);?
<5> try doing '"'.$domain.'"';
<6> and then.. use just and include '$file1'
<7> hmm error
<9> user error
<7> Parse error: syntax error, unexpected T_STRING in /home/chillyd/public_html/privsite/kund.php on line 50
<5> you have to preface it with echo
<10> what the heck...
<10> log() Returns the natural logarithm (base E) of a number
<5> i expected that would be ***umed...
<10> that's the ln()
<2> piera: Do you have any opinion on what the best practice for usability and security is for p***ing form data between pages (i.e. between using session variables Vs. sending $_POST variables back and forth between pages)?
<5> Malooco: http://www.cis.rit.edu/htbooks/mri/chap-2/chap-2.htm
<10> the crazy people who coded PHP must have been high
<9> DogWater: I plead the 5th!
<0> DogWater: SSL
<0> any data sent by POST and/or SESSIONS is transmitted between the server and the client in plain text form -- or is atleast very easy to get to
<7> itrebal can you show me how you mean
<10> yeah, it's true!
<7> write out the whole thing
<7> but without echo, cuz i dont need that
<10> crazy arse php...
<9> silly people who actually think im a programmer
<5> _chillyD: i'm trying to show you that $domain has a space in it somewhere
<5> piera: people think your a programmer?!
<7> it does not
<11> hi... if I have cl*** A { function __call($m, $a) { } } cl*** B extends A { }, do I _have_ to define a function __call in B that would call parent::__call ? or is there any way to let php know that I want every cl*** derived from A to call A's __call ?
<2> Artnez: I meant things like 'breaking the browser's back button', making it easier to access the variables, arrays...
<7> itrebal: $domain only contains something.com
<12> Malooco: You can stop that now... If you don't like PHP, go code in another language
<0> DogWater: in that case, the best method is to redirect
<5> _chillyD: it *does* there is *no* way for a space to be introduced in the code: 'http://www.'.$domain.'/something';
<13> ld, don't degine __call in cl*** B , and __call from cl*** A will be called
<0> i've tried multiple ways and that is by far the best
<5> unless you put it there
<14> I prefer to do web programming in i86 ***embly.
<12> funny
<14> its fast
<10> HEY!
<11> leonid_p, well I didn't define it, but A's __call didn't get called...
<10> no making fun of ***embly
<0> DogWater: What I usually do is process the form and use header() to redirect to the same page after the form process is complete. If an error occured, I set a session variable with the error details.
<10> z80 ***embly was the first language I learned
<12> Malooco: And you point is...?
<0> This way, no one gets stuck in the POST limbo
<13> Malooco, strange.. read manual, then :)
<5> Malooco: PHP was the first language i learned, doesnt mean its a good language :)
<12> itrebal: lol
<7> itrebal: I get an error, we're not talking about spaces
<5> _chillyD: because you have to ahve the echo
<0> _chillyD: why dont you pastebin it .. ?
<3> bye
<5> _chillyD: i have a feeling you need php.net/tutorial
<7> no
<7> it's used in a mail() function, I mean this data is the body of a mail msg..
<0> DrewMew|Home,don't PM me please :)
<2> Artnez: Say you have a 3 page form, page 1 a user selects a catalog or something they want mailed to them, a brochure, page 2 they fill in their shipping info, page 3 is a confirm page. if you're using sessions if they're on page3 and they notice they typed their address in incorrectly and they click the browser's back button IE will say "because of security, I will not resubmit this form data for you.. etc".
<6> oh ... sorry
<5> i'm trying to show you that $domain has a space in it
<11> http://www.rafb.net/paste/results/439GHC76.html <- any idea how to make this display "A" ?
<7> ok lets try your way
<7> just to proof that you're wrong
<5> you could also try pastebining your script
<15> DogWater: if you used POST to submit the form, yes
<6> okay .. well guys php echo file_get_contents ('/buynow/orders/product_info.php/cPath/21/products_id/28'); ?> is what i have in the code.. and it is a blank display
<2> p0windah: you mean from Page 1 -> Page 2 -> Page 3?
<15> DogWater: yes
<7> still _same_ ****!
<14> DrewMew|Home: your wierd
<16> header("Cache-control: private"); // IE 6 Fix.
<5> fine
<7> it has nothing to do with echo


Name:

Comments:

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






Return to #php
or
Go to some related logs:

morphix disable framebuffer
#css
ubuntu optical out
emerge libusb jade -libosp
linux srt subtitles player ubuntu
#debian
#perl
subroutine twice perl
#openzaurus
phpldapadmin.rpm



Home  |  disclaimer  |  contact  |  submit quotes