| |
| |
| |
|
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
Comments:
<0> yea <0> already digging for that ;) <1> hmmm, i need to get the date("Y-m-d H:i:s"); from the actual server, rather than the client... anybody? :) <2> [a]freebsd_fan: Hunh? PHP runs on the server. So, like, that's what you're gonna get. <1> nope, that returned the same date of my client when i mod it <1> ooop <1> wrong sorry <1> i confused my test server with server <1> :) <1> sorry <2> [a]freebsd_fan: If client and server are in the same time-zone... <3> richardlynch, not coming up with anything..... <2> CrazyTux: First answer I see on http://info.com led me to this: http://www.symfony-project.com/content/book/page/security.html <0> richardlynch, .... yea, looked @ apache, seems it calls some sort of initgroups() after the setgid() function. (os/unix/unixd.c) <2> JamenoWRK: And php has no posix_initgroups?... maybe you need to code your own custom extension or put in a feature request. <2> CrazyTux: Here's another one, all bundled up and ready to go, in the second answer. http://www.phpcl***es.org/browse/package/2007.html
<3> richardlynch, perhaps my search query is incorrect... <3> richardlynch, what are you searching for? <2> http://info.com/PHP5 user authentication cl*** <2> Maybe you're just using an inferior search engine :-) <2> Disclosure: I work for info.com :-) <3> richardlynch, you work for info.com ? <2> I just said so, no? <3> richardlynch, I'm not looking for huge frameworks though, I'm looking for little user implementations. <3> richardlynch, what do you do for them? <2> You see them "tabs" at the top like "Reference" and "Video"? I'm working on moving the "Health" one in-house instead of out-sourced. <4> For email verification (on signup and changed email) is there any easier way then using email, new_email and token in the db? <4> I've thought about simply generating a hash from new_email+salt and sending hash to the new email. If the click link it proves they are in control of the email, but this doesn't really feels right. <2> sandstrom: If you don't care about getting flooded by bogus scripted bot users, then you can skip all that... <2> sandstrom: That was a long way of saying "No" <4> I dont know really how important it is, the risk is probably fairly low, but since users will be sending email (to other users) (my smtp, but their address as from:) and recover their p***word to the email I would feel better with verified emails. <4> Also its a fairly "serious" app, not a pastie or some other semi-important thing, and I will be charging money for it, it seems like this feature should be present. <5> where can I get php_sqlite.so for php 4.3? can I download it from anywhere without having to compile it? <2> sandstrom: I'd stick with the email token and confirmation process, then. It's not THAT tricky. Escpecially as you would othewise open yourself up to spam-bots out the wazoo. <2> FearMoth: Have you searched your normal Operating System package management system, whatever it is? <6> captcha is also nice to use <6> if u wanna keep bots out <6> tho some bots can get p***ed that too <2> It would be more accurate to say that some CAPTCHA implementations have some bots that can defeat them. <6> yes :) <2> I know, cuz I wrote a bot last month in PHP to defeat a (bad) CAPTCHA. :-) <6> hehe <6> http://www.ocr-research.org.ua/teabag.html <-- that's an interesting captcha method <7> ||cw, are you there ? <7> richardlynch, what was a simple alternative for str_replace ? somthing with a variable2=array(word1 => word2) and as the variable1=>variable2 and than echto the varibale2 ? <7> -t <2> MatBoy: Hunh? Are you forgetting that str_replace() now takes array arguments? <5> richardlynch: I need to upload it to the webserver because the server does not have mysql or sqlite supported <5> adn it's php 4.3.11 <8> Pollita, you about? <2> FearMoth: is it your server, or are you just on a shared server? It's a lot easier to ask a webhost to install... <7> richardlynch, I figured something out with ||cw becaus the str_replace() was a problem in the script. <9> how do you escape a % in sprintf ? <10> i have a newbie question on character encoding if someone has a moment <2> glaucontech: %% http://php.net/sprintf <2> !+ask <10> i should type that? :) <9> thx richardlynch <7> richard, any idea ? <7> richardlynch, any idea ? <2> MatBoy: preg_replace_all ??? I don't even understand the question.. <7> richardlynch, I have a variable, 80 (port 80) that I get from an array because I want to check more ports. with a foreach ($ports as $port_value) I parse the $port_value because I need ports some more times for other script-parts <7> richardlynch, So I want to rename 80 to WWW <7> richardlynch, did it yesterday the way I described... change dthe code and don;t have my test anymore :( <2> MatBoy: $known_ports = array('www' => 80, 'ftp'=>25); <11> ftp:25? <7> nah, that is SMTP :) <7> 21 <2> cat /etc/services <2> how the hell should I know the magic numbers? <2> :-) <7> richardlynch, no excuss :p <7> hehe <7> but no problem ! <11> richardlynch: ftp:20,21 <7> 20 is for P***ivemode <2> Maybe MatBoy needs a parser for /etc/services :-)
<7> maybe richardlynch need a new IT-book... I will buy one for PHP again :P <7> hehe <12> Your PHP installation does not seem to have the required GD library, which is needed to use the reports module. <2> Book? Who uses a book? http://php.net/manual and http://info.com/ are all I used. <2> r3vld: Seems pretty clear.. You didn't isntall GD. Install it. <7> richardlynch, but in that way I can change port 80 to WWW and just parse the $known_ports ? <12> i tried too <12> but no good <13> The PHP online manual is by far the best for an language I've seen <2> $port = isset($known_ports[$key]) ? $known_ports[$key] : NULL; <7> richardlynch, I want to know why we yester could do it so easy ! <2> Yep, php online manual rocks. I'd say the best dead-trees language book is Common Lisp, the Language by Guy L. Steele. You can read that just for fun. <7> does someone have a log of yesterday from here ? <2> I think God has one. <7> can I just ping god ? <13> richardlynch: You like writing shorthand if/else statements? <13> I've never liked them. <2> you know we're joking, right? <7> own damn, guy's it's late here <2> Sycofant: You are on your own for converting them into 6 lines of code. It should not be taxing. <7> 3:37 am <7> richardlynch, stop joking :P damn... <7> :D <13> * [GOD] (n=cyrus@64.34.162.98): Cyrus Lopez <2> I do not know of a log for ##php. <13> Sycofant: Indeed - I've been writing a lot of if/else stuff lately, but I still don't really like the shorthand version. <7> richardlynch, maybe someone has to much HD-space and has turned his log-option on :) <2> MatBoy: Anything is possible. <13> I can't parse it in my head as quickly :) <7> richardlynch, indeed... even I am possible :D <2> Sycofant: I'm sorry for you, but I'm not about to type 6 lines of cruft for your convenience :-) <2> Especially not in IRC :-) <13> MatBoy: I just turned on logging - but I don't idle here. <2> MayBoy: Maybe you could pastebin your current code, and get some help again... but I'm heading out.. Sorry. <13> richardlynch: No no, quite alright of course - I was just wondering how you feel about them generally. <7> Sycofant, mhh was you yesterday online here about 3 pm ? <13> What timezone? <7> Brussel <13> Or more specifically, what time GMT <7> so 9am in the US <13> It's 1:40pm Friday where I am, so I dnno. <7> what do we have here, +2 ? I thought <2> Sycofant: I've been using the ternary operator since 1981-ish, so I'd say I'm pretty comfy with it, yes. <13> See, I was not really programming then - and earlier languages I used didn't make much use of them - so I guess that's my handicap. <7> Sycofant, +2 :) <13> So, that would be about, uh 5am for me. So nope. <2> I'm just too lazy to type 6 lines instead of a simple one liner, if the expressions are simple. <7> you are from ? <13> New Zealand <7> damn, that is ***** early there than ! <7> :) <13> We are GMT+12 <13> or +13 in summer. <7> damn <7> Sycofant, but do you have any idea ? <13> Of what? <7> I need a simple way of a str_replace <7> so I don;t want to use str_replace <13> ? <13> str_replace does what you want? So why not use hat? <7> I know you can do it by just making an array where you remane the variable, like with a str_replace <7> Sycofant, the problem is that that could not be used in the script <13> eregi_replace <7> Sycofant, we didn't use anything of that <7> only a array for the "change" <7> and the variable $var=>$var2 or something <13> So you want to change what to what, and why can't you use ereg_replace or str_replace? <7> because I used a foreach... dunno anymore... will try the str_replace again ! <13> What are you actually trying to do though? <13> What IDEs do people use for PHP development? <13> Ideally free or open source? <14> hi <14> anyone can help me installing a mod in my forum? Cathegory hierarchy mod
Return to
#php or Go to some related
logs:
auth.log authentication failure gdm :segment [0009E6E8,0009EC80] does not fit in any memory region pynotify #perl #kde UniversalBrowserRead trusted sites #qemu Partitions de Nick Lachey - What's Left Of dual head ATI fails when installing kubuntu-desktop on ubuntu dpkg debian clone
|
|