| |
| |
| |
|
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
Comments:
<0> myconid: and you're asking in the wrong channel. please stop. <1> caffinated: beacuse its so busy in here. <0> myconid: do not test me <2> caffinated is going to kick you anyway I'm guessing <2> unless he isn't an op <1> he is. <2> oh, well.. there you go <3> caffinated? not an op? i dont remember him ever not being an op. <2> itrebal: I didn't bother reading the userlist... for all I know he owns the chan <3> heh <2> apparently that's mattmcc and TML <4> hi. which function should I use to delete a word in a string? <1> pavlion: str_replace <4> oki thanks <5> can anyone help me with my problem? <5> i need some help with this http://pastebin.com/575912 . what i'm trying to do is the things in the array that are checked i want to be rechecked when submitted.
<1> AfroTurf: is there a problem? or do you want implementation help <6> AfroTurf: You don't seem to be testing which checkboxes were checked. <5> mattmcc: how would i do that? <2> whoooa that's some cracked out php <1> What is a nutcasesort? <6> A typo? <5> ya <5> supposed to be natcasesort <5> sorry <7> lol <6> And how cool is that, http://php.net/nutcasesort redirects appropriately. <7> nutcase sort? <5> lol natcasesort <1> The qyestion remains. <2> mattmcc: so which one do you use? nutcase or natcase? ;) <5> lol <6> Well, y'know, it really depends on the girl. <8> can someone pls have a look at this code, at http://pastebin.com/575879 for some strange reason it says database error when I try to run it and says "unknown field" state, it is for a dating site I am trying to test, I don't know if I have to edit the state field on line 39 to 42 <1> huevnty: did you buy or develop this? <7> Lines 2,3,4 are screwy. <7> require_once( "$dir[inc]db.inc.php" ); -> require_once( "{$dir['inc']}db.inc.php" ); <7> Do that on each of these three lines. <2> Julian|Work: probably forgot the / too <1> Julian|Work: might you cover general {} usage? <7> {} evaluates vars <1> so why use it if you are inside quotes <7> "$dir['inc']" != $dir['inc'] <7> "{$dir['inc']}" === $dir['inc'] <9> I usually do require_once( $dir[inc]."db.inc.php" ); as I feel it does the same thing <7> You only need to use it inside quotes. <1> ah. <5> ya that will work too <1> can you use it in heredoc? <7> Don't forget the quotes on the keyname. <7> myconid, not sure. <2> oh, so that's what it's called <2> a logical name too... <4> myconid, any idea how to use str_replace without having % in front or end of the word be want to replace? I mean for example in the string: "hello world", I want to remove "world". How can I do that? <4> be = we <7> str_replace("world", "", $str)? <1> Kog: I learned that last week.. ive been using php for 7 years :) <1> not the syntax, the name. <2> yeah, likewise <2> I use it so rarely, I don't really care <1> I use it when i have over 6 lines of html to print out <3> ..what? <1> but lately ive been moving towards the decorator pattern.. which rarely needs it <10> in order to use mail(), do I need to have the PEAR library installed? <6> No, mail() is a built-in PHP function. <10> O.o <1> Silivrenion: do not use mail(). Use the pear mail module or php.. erm forget what its called. <11> Silivrenion, what gave you the idea that PEAR was necessary? <7> What's wrong with mail()? <6> Well, it's somewhat limited. <12> Silivrenion: or just use PHPMailer -- no extensions needed <5> their is nothing wrong with mail() <10> i'm trying to identify why the contact script on my site isnt working <1> Uhg. besides its about as exploited as phpbb?
<7> But who's to say it's more or less than he needs? <11> AfroTurf, "there" <7> mail() is exploited? <5> there <5> thats what i ment <1> Julian|Work: yep. <5> ^_^ <1> Julian|Work: php.net/mail, see user comments on how people stop it. <10> can I ask that someone goes to http://silivrenion.com and tries the contact form in the interact section? <13> whats the shorthand for carriage return? <1> \n <7> Which comments specifically? There's a lot here. <1> Silivrenion: frames and iframes are hideous <12> myconid: isn't it \r? <1> eh probably <2> ^Artnez: yes <7> \r\n <12> windows uses \r\n <2> Julian|Work: that's CRLF <2> not CR <1> Silivrenion: tested. <14> I use \b for my OS's EOL <2> CR itself is \r, LF is \n <5> i use LF <2> AfroTurf: and macs use CR <5> kog: i love macs <12> Silivrenion: sorry, couldn't get to that area, i have JS turned off :P <10> oh <2> AfroTurf: neh, to each their own <15> hey all - does anybody know how i can get access to the RAW POST for SOAP requests? <16> Anybody here willing to help me with 1 line of PHP code? <5> heh <12> Cpudan80: just ask dude <10> for some reason the form isnt working <1> Cpudan80: plz /msg php-bot guidelines <16> Alright <13> if i'm ***igning html w/ a carriage return to a variable it should be $varname = "<html>\"\n\"<body>", right? <1> Silivrenion: pastebin <11> myconid, how is this some unusual "exploit" or in any way intrinsic to mail()? <17> hi there :) <16> I have a website <4> I am trying to add the word "DESC" to $sort_by if it is not isset, and remove it if it is set. What have I done wrong? http://pastebin.com/575961 <16> I am trying to execute some PHP code that will set a cookie on the user's PC <7> Note that the SMTP RFC tells you to end header lines in CRLF <1> Lateralus: p*** subject 'bcc: ppl to email' and on most mta's the email is related. <7> http://www.faqs.org/rfcs/rfc821.html <11> myconid, mail() is doing exactly what it should. <16> I am using the setCookie(args) function <16> But - it doesn't seem to work <1> Lateralus: none the less.. <7> myconid, I'm having trouble finding where mail() is insecure <12> arpegius: no, do: $varname = "<html>\n<body>"; <16> Like - after I go to the page - I don't see the Cookie in my Cookie list on FireFox <14> Lateralus: the problem with mail() is it can be dangerous, same goes for system() <13> ^Artnez ah... i was told otherwise before. that'll help a lot. thanks. <16> There are no errors when I execute the page <11> myconid, You don't use search terms in SQL which someone enters in a form directly in your code, do you? So why would you p*** it through mail? <1> zircu: for future argument, why? <12> arpegius: if i were you, i would use the fact that PHP isn't going to generate \n for you <7> Is mail() any more dangerous than cl*** Mail? <12> arpegius: who needs the extra newlines? :) <11> zircu, And? Do you p*** things directly to system()? No, you validate it, like a sane person. <16> and if I echo the the output, I get "TRUE" - so I ***ume its workin <13> ^Artnez its a token <12> google does it right, you check out their sources ... its garbled up like mofo. like reading chinese backwards for me -_- <14> Lateralus: exactly my point, validation is the key <12> arpegius: I see. <15> how to get raw post for soap requests anybody? <17> hrm, can't find a function for this but i'm sure there is one. how would i insert something into the middle of a string (at position, 'int', returned by strpos) <1> MoRgZ: soap requests are jhust HTTP requests right? <15> correct with the soap request as the post body <1> MoRgZ: did you check the httpd variables? <15> i thought you could use $_POST but that doesn't appear to work <12> mekyla: substring_replace() .. but thats the first that comes to mind. i'm sure there is a better way
Return to
#php or Go to some related
logs:
gamera torrent orbin codec how to make hydregon
fedora 5 + install tomcat #web ACCESS VIOLATION SUMMARY madwifi INSERT syntax autoincrement MySQL5 #perl ogg problem in xine gentoo myson century
|
|