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 FP

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 conf

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. > > Ple

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 the

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: > > Nath

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] 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

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 . 303.442.6410 x130 IT Director / SysAd

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 > > htt

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 respon

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 response

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 RB

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] avoid server folder reading

2008-01-19 Thread Jochem Maas
Nathan Nobbe schreef: 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.

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

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 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 two-t

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 was

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
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 don

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 si

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 didn't

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

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

[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 automat

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 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 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 > >> progra

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 Jes

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 t

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

[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] 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

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 di

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 ref

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: > >>> Ye

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 PRO

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 be

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 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/$

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, real

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 address,

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 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. a

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 defi

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 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 b

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 defi

[PHP] I'm confused, but it works

2008-01-19 Thread Apple7777
Nathan Nobbe 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 and Mencoder.

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

2008-01-19 Thread Apple7777
Nathan Nobbe 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 finished versi

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 co

[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] 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

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: Still can't fix it.

2008-01-19 Thread Nathan Nobbe
On Jan 19, 2008 12:34 PM, Apple <[EMAIL PROTECTED]> wrote: > Jochem Maas 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 charac

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 i

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

2008-01-19 Thread Apple7777
Jochem Maas 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 cod

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 add

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 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/ap

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

2008-01-19 Thread Apple7777
Nathan Nobbe 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 > I've tried only to run it from browser. I've just tried to run it from cli and I get error me

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

2008-01-19 Thread Apple7777
Richard Lynch 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) a

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

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

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 pe

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 w

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] 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.

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 Mai

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] 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 b

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. here is the url i go to to trigger the script: http://localhost/mEncode.php?sourceFile=WindowsMedia.wmv&destFile=WindowsMedia.avi

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

[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] 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 p

[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 (h

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 LO

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 thi

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 -- PH

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] 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

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 fo

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%) "Ri

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 usi