RE: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Zoltán Németh
2008. 01. 18, péntek keltezéssel 20.03-kor Andrés Robinet ezt írta: Hey, your script doesn't like me, is it that you need quoted_printable_decode? =?iso-8859-1?Q?Andr=E9s_Robinet?= it does not like me either. ;) =?ISO-8859-1?Q?Zolt=E1n_N=E9meth?= for a similar task I wrote a function using

Re: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Zoltán Németh
2008. 01. 18, péntek keltezéssel 16.40-kor Jim Lucas ezt írta: Daniel Brown wrote: On Jan 18, 2008 4:52 PM, Jim Lucas [EMAIL PROTECTED] wrote: PostTrack [Dan Brown] wrote: 514 (100%) 975244 (100%) EVERYONE 69(13.4%) 92431(9.5%) Richard Lynch

Re: [PHP] Re: Question About Blocking Email Addresses in Forms

2008-01-19 Thread Per Jessen
Richard Lynch wrote: On Fri, January 18, 2008 10:41 am, Per Jessen wrote: 2. check that the domain exists and has an MX. I believe this will foul you up... I *think* many domains just use their regular domain as MX if there is no MX. We've been using the method on public forms for at

Re: [PHP] Expand variable in comparison

2008-01-19 Thread Jochem Maas
Marcus schreef: Hi! Is there any way to get the following snippet returning a true? ... $this-var = ? $this-var = $preDefinedStringToTestWith; echo $preDefinedStringToTestWith; if ($this-var == $preDefinedStringToTestWith) return true; else false; what are you trying to do

Re: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Per Jessen
Eric Butera wrote: Check out this blog post: http://www.tagarga.com/blok/on/070116 I can't believe someone actually bothered writing this up. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Jochem Maas
Per Jessen schreef: Eric Butera wrote: Check out this blog post: http://www.tagarga.com/blok/on/070116 I can't believe someone actually bothered writing this up. why? not everyone is as experienced as you - some people might genuinely find this useful. no? /Per Jessen, Zürich --

Re: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Per Jessen
Jochem Maas wrote: Per Jessen schreef: Eric Butera wrote: Check out this blog post: http://www.tagarga.com/blok/on/070116 I can't believe someone actually bothered writing this up. why? not everyone is as experienced as you - some people might genuinely find this useful. no?

Re: [PHP] Question About Blocking Email Addresses in Forms

2008-01-19 Thread Richard Heyes
Or even a simple text CAPTCHA What is 16 divided by 4?. Careful though, I made a class which converted numbers to text (TextualNumbers IIRC) and it got broken. Almost any CAPTCHA can be broken if somebody wants it badly enough. Some are easier than others, of course. But you get rid of a LOT

[PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread David Powers
PostTrack [Dan Brown] wrote: Posting Summary for PHP-General List Thanks a bundle, Dan, for publicizing everyone's email address. All the addresses are in plain text, even on the news server web interface ready for spambots to harvest. -- David Powers -- PHP General Mailing List

Re: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Richard Heyes
Check out this blog post: http://www.tagarga.com/blok/on/070116 I can't believe someone actually bothered writing this up. why? not everyone is as experienced as you - some people might genuinely find this useful. no? Well, yeah, I guess so - it just seems so basic and something that most

[PHP] Still can't fix it.

2008-01-19 Thread Apple7777
Still can't fix it. I've checked everything like 20-30 times, I feel like crazy. Everything should work fine, but it doesn't. :( If anyone have an idea about what it can be, please let me know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Still can't fix it.

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 9:54 AM, Apple [EMAIL PROTECTED] wrote: Still can't fix it. I've checked everything like 20-30 times, I feel like crazy. Everything should work fine, but it doesn't. :( im installing mencode; atm; ill mess with it for a little while once its finished. -nathan

Re: [PHP] Still can't fix it.

2008-01-19 Thread Nathan Nobbe
ok, it seems to be working, pretty easily for me; note, this code is a gross oversimplification of anything i would use in production; its just a little test script. ?php $sourceFile = $_GET['sourceFile']; $destFile = $_GET['destFile']; echo $sourceFile . ' ' . $destFile;

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Jochem Maas
David Powers schreef: PostTrack [Dan Brown] wrote: Posting Summary for PHP-General List Thanks a bundle, Dan, for publicizing everyone's email address. All the addresses are in plain text, even on the news server web interface ready for spambots to harvest. that horse had bolted long

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Daniel Brown
On Jan 19, 2008 8:39 AM, David Powers [EMAIL PROTECTED] wrote: PostTrack [Dan Brown] wrote: Posting Summary for PHP-General List Thanks a bundle, Dan, for publicizing everyone's email address. All the addresses are in plain text, even on the news server web interface ready for

Re: [PHP] Still can't fix it.

2008-01-19 Thread Jochem Maas
Apple schreef: Still can't fix it. I've checked everything like 20-30 times, I feel like crazy. Everything should work fine, but it doesn't. :( If anyone have an idea about what it can be, please let me know. what's you exact code? how [exactly] do you run the code? -- PHP General

Re: [PHP] Still can't fix it.

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 11:13 AM, Jochem Maas [EMAIL PROTECTED] wrote: Apple schreef: Still can't fix it. I've checked everything like 20-30 times, I feel like crazy. Everything should work fine, but it doesn't. :( If anyone have an idea about what it can be, please let me know. what's

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Nathan Nobbe
i think the script is pretty cool, dan ;) -nathan

Re: [PHP] Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Wolf
Sending to the LIST this time... I personally replied, how dumb was *I* this morning... And top posted... Twice... Dang Jay, you feeling OK? You've been quiet the last week... Or did Richard just tie you up so you couldn't post and he could get top honors this week? :) Jay Blanchard

Re: [PHP] Re: system command runs application, but application doesn't work correctly

2008-01-19 Thread Richard Lynch
When you run it from the shell, you are you. When you run it from a PHP web-server, you are not you. You are whatever user is configured in httpd.conf That user will not have the same rights/permissions as you do. They also won't have your same environment, e.g., home directory $HOME. Check

Re: [PHP] Re: system command runs application, but application doesn't work correctly

2008-01-19 Thread Richard Lynch
On Fri, January 18, 2008 4:49 pm, Apple wrote: I wonder is it possible to run system() command, so mencoder will run as from root (user 500) and not PHP (user 43). No. system() versus exec() has nothing to do with which user runs it. They only differ in how they handle input/output to

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Richard Lynch
On Sat, January 19, 2008 7:39 am, David Powers wrote: PostTrack [Dan Brown] wrote: Posting Summary for PHP-General List Thanks a bundle, Dan, for publicizing everyone's email address. All the addresses are in plain text, even on the news server web interface ready for spambots to

[PHP] Re: system command runs application, but application doesn't work correctly

2008-01-19 Thread Apple7777
Richard Lynch ceo at l-i-e.com writes: They also won't have your same environment, e.g., home directory $HOME. Check permissions on all files/directories. Use complete pathnames from the root hard drive: /home/apple/path/to/$outputFile I do that. All permissions (files and directories)

[PHP] Re: Still can't fix it.

2008-01-19 Thread Apple7777
Nathan Nobbe quickshiftin at gmail.com writes: have you been trying to run the script from the cli, or from the browser? i would first try to run your php script from the cli; eg. php myMencoderScript.php inputFile outputFile I've tried only to run it from browser. I've just tried to run

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread David Powers
Daniel Brown wrote: My pleasure, David but before you start sounding *completely* victimized and pointing the finger, you may want to think about the fact that your email address is already plain text on some of the archive sites --- including MARC. Just go to Google and type in your

[PHP] Re: Still can't fix it.

2008-01-19 Thread Apple7777
Jochem Maas jochem at iamjochem.com writes: Apple schreef: Still can't fix it. I've checked everything like 20-30 times, I feel like crazy. Everything should work fine, but it doesn't. :( If anyone have an idea about what it can be, please let me know. what's you exact code?

Re: [PHP] Re: Still can't fix it.

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 12:29 PM, Apple [EMAIL PROTECTED] wrote: I've tried only to run it from browser. I've just tried to run it from cli and I get error message: Fatal error: Call to undefined function mysql_connect() in /home/re/videoEncode.php on line 3 likely that was breaking it from

Re: [PHP] Re: Still can't fix it.

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 12:34 PM, Apple [EMAIL PROTECTED] wrote: Jochem Maas jochem at iamjochem.com writes: what's you exact code? how [exactly] do you run the code? Did you ask me or Nathan? My current code is (modified little bit, because Gmane doesn't allow to use lines longer than 80

Re: [PHP] Expand variable in comparison

2008-01-19 Thread Richard Lynch
You can cheat like this: define('DEBUG', 1); if (DEBUG || $this-var == $preDefinedStringToTestWith) return true; else return false; At some later date, you change the 1 to 0 in the define() statement. Please tell us WHY you want do what you want to do... On Fri, January 18, 2008 1:50 pm,

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Daniel Brown
On Jan 19, 2008 12:30 PM, David Powers [EMAIL PROTECTED] wrote: Daniel Brown wrote: My pleasure, David but before you start sounding *completely* victimized and pointing the finger, you may want to think about the fact that your email address is already plain text on some of the

[PHP] avoid server folder reading

2008-01-19 Thread Alain Roger
Hi, I would like to know how to avoid (using PHP code) any user to read the content of my website folder ? as my website is hosted by and external company, i do not have access to apache conf file. thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS

Re: [PHP] avoid server folder reading

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 12:57 PM, Alain Roger [EMAIL PROTECTED] wrote: Hi, I would like to know how to avoid (using PHP code) any user to read the content of my website folder ? as my website is hosted by and external company, i do not have access to apache conf file. you could take the code

Re: [PHP] Re: system command runs application, but application doesn't work correctly

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 12:24 PM, Apple [EMAIL PROTECTED] wrote: Richard Lynch ceo at l-i-e.com writes: They also won't have your same environment, e.g., home directory $HOME. Check permissions on all files/directories. Use complete pathnames from the root hard drive:

[PHP] Re: system command runs application, but application doesn't work correctly

2008-01-19 Thread Apple7777
Nathan Nobbe quickshiftin at gmail.com writes: have you tried a trivial call to mencoder, like i suggested? it looks like you were passing a lot of parameters to it in the code you first posted. try starting out w/ something simple and get that working before going for the full blown

[PHP] I'm confused, but it works

2008-01-19 Thread Apple7777
Nathan Nobbe quickshiftin at gmail.com writes: if it works there, and not from the browser, id imagine its a permissions issue Ok, I wrote simple script and run it from CLI. It works. Then I've tried to run simple script from browser, it works too. Then I thought it's some conflict of MySQL

Re: [PHP] snmp_set_valueretrieval depends on what?

2008-01-19 Thread Richard Lynch
On Fri, January 18, 2008 5:02 am, Per Jessen wrote: Richard Lynch wrote: fumble-fingers! http://lxr.php.net/ Do you know if that site is up-to-date and if it includes php extensions?? I searched for 'snmp_set_valueretrieval' and got nothing, yet that function is clearly defined in the

Re: [PHP] I'm confused, but it works

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 12:46 PM, Apple [EMAIL PROTECTED] wrote: Nathan Nobbe quickshiftin at gmail.com writes: if it works there, and not from the browser, id imagine its a permissions issue Ok, I wrote simple script and run it from CLI. It works. Then I've tried to run simple script from

Re: [PHP] snmp_set_valueretrieval depends on what?

2008-01-19 Thread Richard Lynch
On Fri, January 18, 2008 5:02 am, Per Jessen wrote: Richard Lynch wrote: fumble-fingers! http://lxr.php.net/ Do you know if that site is up-to-date and if it includes php extensions?? I searched for 'snmp_set_valueretrieval' and got nothing, yet that function is clearly defined in the

Re: [PHP] avoid server folder reading

2008-01-19 Thread Jochem Maas
Alain Roger schreef: Hi, I would like to know how to avoid (using PHP code) any user to read the content of my website folder ? what exactly are you trying to avoid being read? and in what context? as my website is hosted by and external company, i do not have access to apache conf file.

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-19 Thread Richard Lynch
On Thu, January 17, 2008 3:05 pm, Daniel Brown wrote: On Jan 17, 2008 4:01 PM, Richard Lynch [EMAIL PROTECTED] wrote: And I don't recall the answer, and don't give a [bleep] since it's almost never the bottleneck in an application in the first place... You swore. I'm tellin' Mom.

Re: [PHP] avoid server folder reading

2008-01-19 Thread Richard Lynch
On Sat, January 19, 2008 11:57 am, Alain Roger wrote: I would like to know how to avoid (using PHP code) any user to read the content of my website folder ? as my website is hosted by and external company, i do not have access to apache conf file. You're not making a lot of sense, really...

Re: [PHP] Re: system command runs application, but application doesn't work correctly

2008-01-19 Thread Richard Lynch
On Sat, January 19, 2008 11:24 am, Apple wrote: Richard Lynch ceo at l-i-e.com writes: They also won't have your same environment, e.g., home directory $HOME. Check permissions on all files/directories. Use complete pathnames from the root hard drive: /home/apple/path/to/$outputFile

Re: [PHP] avoid server folder reading

2008-01-19 Thread Alain Roger
I should be able to setup a .htaccess file. On Jan 19, 2008 7:17 PM, Jochem Maas [EMAIL PROTECTED] wrote: Alain Roger schreef: Hi, I would like to know how to avoid (using PHP code) any user to read the content of my website folder ? what exactly are you trying to avoid being read?

Re: [PHP] avoid server folder reading

2008-01-19 Thread Alain Roger
Sorry if my post was not clear... in fact i would like to hide the contant of my webfolders and avoid user to see the index of folders... for sure users should be able to browse the website, but not to see its structure by browsing the index :-) On Jan 19, 2008 7:41 PM, Richard Lynch [EMAIL

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Richard Lynch
$email = str_replace(array('@', '.'), array(' AT ', ' DOT ', $email); This will defeat 99.% of spambots, and still be quite usable for any legitimate purpose. On Sat, January 19, 2008 12:36 pm, David Powers wrote: Daniel Brown wrote: On Jan 19, 2008 12:30 PM, David Powers wrote: Yes, and

Re: [PHP] avoid server folder reading

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 1:46 PM, Alain Roger [EMAIL PROTECTED] wrote: Sorry if my post was not clear... in fact i would like to hide the contant of my webfolders and avoid user to see the index of folders... for sure users should be able to browse the website, but not to see its structure by

[PHP] Re: I'm confused, but it works

2008-01-19 Thread Apple7777
isolate what caused a problem when they arise. -nathan Thanks for advice, I'll do hard test for this script and if it will stop working I'll do as you just said. Thank you guys for everything. It's really appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread David Powers
Daniel Brown wrote: On Jan 19, 2008 12:30 PM, David Powers wrote: Yes, and it's obvious how that happens. It's because people, including yourself, don't have the courtesy to set up your email or newreader program to remove the sender's address from replies. By removing the email

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Stut
On 19 Jan 2008, at 18:36, David Powers wrote: Point 2: My address has been exposed by the thoughtless acts of others not setting their mail program/newsreader options correctly. Apart from the ex-BBC forum (where I have since changed the settings and edited the relevant post), all Google

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Per Jessen
David Powers wrote: I wasn't referring to that, but to the thoughtless way that you and others automatically include the sender's email address in plain text every time you respond to a post. Surely it's not too much to ask that you set your mail program or newsreader so that it doesn't

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Per Jessen
Nathan Nobbe wrote: On Jan 19, 2008 1:47 PM, Richard Lynch [EMAIL PROTECTED] wrote: [snip] regarding configuring mail clients to omit the senders address in the reply, well, this is one of those things that you just cant expect every user to do. Not even you? (see above) /Per Jessen,

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Daniel Brown
On Jan 19, 2008 1:36 PM, David Powers [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Jan 19, 2008 12:30 PM, David Powers wrote: Yes, and it's obvious how that happens. It's because people, including yourself, don't have the courtesy to set up your email or newreader program to remove

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 1:47 PM, Richard Lynch [EMAIL PROTECTED] wrote: $email = str_replace(array('@', '.'), array(' AT ', ' DOT ', $email); This will defeat 99.% of spambots, and still be quite usable for any legitimate purpose. this is a great idea; and its the same concept employed for

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Daniel Brown
On Jan 19, 2008 1:47 PM, Richard Lynch [EMAIL PROTECTED] wrote: $email = str_replace(array('@', '.'), array(' AT ', ' DOT ', $email); This will defeat 99.% of spambots, and still be quite usable for any legitimate purpose. Yes, actually, I've already incorporated something like that

Re: [PHP] avoid server folder reading

2008-01-19 Thread Jochem Maas
Nathan Nobbe schreef: On Jan 19, 2008 1:46 PM, Alain Roger [EMAIL PROTECTED] wrote: Sorry if my post was not clear... in fact i would like to hide the contant of my webfolders and avoid user to see the index of folders... for sure users should be able to browse the website, but not to see its

[PHP] password hashing and crypt()

2008-01-19 Thread Nathan Nobbe
hi all, recently ive been debating a bit about the use of the crypt() function and the best practice thereof, im hoping you can help to clarify this for me. so, the crypt function http://www.php.net/manual/en/function.crypt.php has a second parameter, $salt, which, if not supplied will be

Re: [PHP] avoid server folder reading

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 3:08 PM, Jochem Maas [EMAIL PROTECTED] wrote: or alternatively use that .htaccess to deny apache index listings. i of course use .htaccess, but OP was asking for a php based solution, so thats what i supplied, thats all. -nathan

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 2:06 PM, Per Jessen [EMAIL PROTECTED] wrote: Nathan Nobbe wrote: On Jan 19, 2008 1:47 PM, Richard Lynch [EMAIL PROTECTED] wrote: [snip] regarding configuring mail clients to omit the senders address in the reply, well, this is one of those things that you just cant

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread David Powers
Daniel Brown wrote: Finally, I don't want you to think that I'm personally-attacking you in the same way you did to me Sorry, Dan, you just don't get it, do you? You published the name and email address of every single person who contributed to this mailing list in the past week. I

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Daniel Brown
On Jan 19, 2008 5:25 PM, David Powers [EMAIL PROTECTED] wrote: Daniel Brown wrote: Finally, I don't want you to think that I'm personally-attacking you in the same way you did to me Sorry, Dan, you just don't get it, do you? You published the name and email address of every single

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread David Powers
Daniel Brown wrote: Notice, if you will and are able, that all other posts to this thread are responses of interest, not the ramblings of a crybaby. I have also noticed that many of the responses come from #1 Rated Year's Coolest Guy By Self. A little humility might be in order. I done

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Jochem Maas
David Powers schreef: Daniel Brown wrote: Finally, I don't want you to think that I'm personally-attacking you in the same way you did to me Sorry, Dan, you just don't get it, do you? good mantra - please repeat to yourself 20 times every morning whilst you brush your teeth. actually I

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread David Powers
Jochem Maas wrote: if I am correct you are or were a journalist. forgive if I have mistaken you for another, but if that is correct then how often have you trodden on someone's privacy for the sake of a story? Yes, I was a journalist for some 30 years, but roughly two-thirds of that time

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Jochem Maas
David Powers schreef: Jochem Maas wrote: if I am correct you are or were a journalist. forgive if I have mistaken you for another, but if that is correct then how often have you trodden on someone's privacy for the sake of a story? Yes, I was a journalist for some 30 years, but roughly

Re: [PHP] password hashing and crypt()

2008-01-19 Thread Jochem Maas
Nathan Nobbe schreef: hi all, recently ive been debating a bit about the use of the crypt() function and the best practice thereof, im hoping you can help to clarify this for me. so, the crypt function http://www.php.net/manual/en/function.crypt.php has a second parameter, $salt, which, if not

RE: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Andrés Robinet
-Original Message- From: David Powers [mailto:[EMAIL PROTECTED] Sent: Saturday, January 19, 2008 10:22 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net Jochem Maas wrote: if I am correct you are

Re: [PHP] avoid server folder reading

2008-01-19 Thread Jochem Maas
Nathan Nobbe schreef: On Jan 19, 2008 3:08 PM, Jochem Maas [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: or alternatively use that .htaccess to deny apache index listings. i of course use .htaccess, but OP was asking for a php based solution, so thats what i supplied, thats all. my

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Wolf
David Powers wrote: Daniel Brown wrote: Notice, if you will and are able, that all other posts to this thread are responses of interest, not the ramblings of a crybaby. I have also noticed that many of the responses come from #1 Rated Year's Coolest Guy By Self. A little humility might

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Daniel Brown
On Jan 19, 2008 8:15 PM, Andrés Robinet [EMAIL PROTECTED] wrote: 2 - I don't have anything against my name and email being published in the stats (sure, I'd like support for the é character on my name :)). I don't care about spam either, we all get spam anyway, and that's why we have RBLs

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Daniel Brown
On Jan 19, 2008 8:55 PM, Wolf [EMAIL PROTECTED] wrote: David Powers wrote: Daniel Brown wrote: Notice, if you will and are able, that all other posts to this thread are responses of interest, not the ramblings of a crybaby. I have also noticed that many of the responses come from #1

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Wolf
Daniel Brown wrote: On Jan 19, 2008 8:55 PM, Wolf [EMAIL PROTECTED] wrote: David Powers wrote: Daniel Brown wrote: Notice, if you will and are able, that all other posts to this thread are responses of interest, not the ramblings of a crybaby. I have also noticed that many of the

Re: [PHP] password hashing and crypt()

2008-01-19 Thread Eric Butera
On Jan 19, 2008 8:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Nathan Nobbe schreef: hi all, recently ive been debating a bit about the use of the crypt() function and the best practice thereof, im hoping you can help to clarify this for me. so, the crypt function

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Ashley M. Kirchner
Well, at least we know which subject will make it to the top next week -- H | It's not a bug - it's an undocumented feature. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director /

Re: [PHP] avoid server folder reading

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 7:50 PM, Jochem Maas [EMAIL PROTECTED] wrote: my reply was to the OP, not you as such, given that your also answering his question, sorry for the misunderstanding. i think half the time i get confused myself; like this morning when you said show us your exact code, to the OP

Re: [PHP] Re: Posting Summary for Week Ending 18 January, 2008: php-general@lists.php.net

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 9:25 PM, Ashley M. Kirchner [EMAIL PROTECTED] wrote: Well, at least we know which subject will make it to the top next week nice; say, dan, here comes another feature request; can we see the top thread (or 3 :)) as well ? -nathan

RE: [PHP] password hashing and crypt()

2008-01-19 Thread Andrés Robinet
-Original Message- From: Eric Butera [mailto:[EMAIL PROTECTED] Sent: Sunday, January 20, 2008 12:24 AM To: Jochem Maas Cc: Nathan Nobbe; PHP General List Subject: Re: [PHP] password hashing and crypt() On Jan 19, 2008 8:02 PM, Jochem Maas [EMAIL PROTECTED] wrote: Nathan Nobbe

Re: [PHP] password hashing and crypt()

2008-01-19 Thread Nathan Nobbe
thanks for the great responses guys. i guess what im really getting at though is, if crypt() will embed a salt in the value it returns automatically, is there any benefit to creating a salt to pass to the second argument and storing that as well? conceivably, passwords already have a salt using

Re: [PHP] Expand variable in comparison

2008-01-19 Thread Casey
On Jan 19, 2008 9:52 AM, Richard Lynch [EMAIL PROTECTED] wrote: You can cheat like this: define('DEBUG', 1); if (DEBUG || $this-var == $preDefinedStringToTestWith) return true; else return false; At some later date, you change the 1 to 0 in the define() statement. Please tell us

Re: [PHP] avoid server folder reading

2008-01-19 Thread Casey
On Jan 19, 2008 6:36 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 19, 2008 7:50 PM, Jochem Maas [EMAIL PROTECTED] wrote: my reply was to the OP, not you as such, given that your also answering his question, sorry for the misunderstanding. i think half the time i get confused myself;

Re: [PHP] FPDF

2008-01-19 Thread Brady Mitchell
On Jan 18, 2008, at 1014AM, Balasubramanyam Ananthamurthy wrote: I'm fetching content from database and printing it on the browser. I want add an link on the same page Click here to view it in PDF. Is it possible to do it using FPDF? If yes, how can I do this? Yes, this can be done with