php-general Digest 15 Jun 2010 16:09:17 -0000 Issue 6800

2010-06-15 Thread php-general-digest-help
php-general Digest 15 Jun 2010 16:09:17 - Issue 6800 Topics (messages 306147 through 306170): CFP for Surge Scalability Conference 2010 306147 by: Jason Dixon Re: protecting email addresses on a web site 306148 by: Per Jessen 306149 by: Per Jessen 306150 by:

Re: [PHP] protecting email addresses on a web site

2010-06-15 Thread Per Jessen
David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and information and the other for webmaster for site problems. I do not want these addresses to become harvested by spammers yet i want to make it possible for people to

Re: [PHP] protecting email addresses on a web site

2010-06-15 Thread Per Jessen
Ashley Sheridan wrote: Unfortunately, you can't get away with just a contact form these days if you're a business, as it's a legal requirement in some countries to have a contact details available, and not just a contact form. Do you have specifics? I've never heard of such a

Re: [PHP] protecting email addresses on a web site

2010-06-15 Thread cheran krishnamoorthy
You can always convert an email address as image.no one can read but humans. i think this is a simple solution. Regards Cherankrish On Tue, Jun 15, 2010 at 2:50 AM, Paul M Foster pa...@quillandmouse.comwrote: On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon,

Re: [PHP] protecting email addresses on a web site

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 13:28 +0530, cheran krishnamoorthy wrote: You can always convert an email address as image.no one can read but humans. i think this is a simple solution. Regards Cherankrish On Tue, Jun 15, 2010 at 2:50 AM, Paul M Foster pa...@quillandmouse.comwrote: On Mon, Jun

Re: [PHP] PHP on command line -- mysql_connect error

2010-06-15 Thread Ferdi
On 14 June 2010 21:58, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Mon, 2010-06-14 at 21:36 +0530, Ferdi wrote: Hi list, My config is XAMPP 1.7.2 with PHP 5.3.0 I'm trying to run a php script as a cron job. The same script works perfectly from the browser, but fails when I try it

Re: [PHP] Quick Question

2010-06-15 Thread Malka Cymbalista
The address to subscribe to the javascript list is http://lists.evolt.org/mailman/listinfo/javascript There is a link there to the archives. -- Malka Cymbalista Webmaster, Weizmann Institute of Science malki.cymbali...@weizmann.ac.il 08-934-3036 On 6/15/2010 at 12:16 AM, in message

[PHP] Re: protecting email addresses on a web site

2010-06-15 Thread Ian
On 14/06/2010 22:51, Ashley Sheridan wrote: snip It's not my requirement, it's been a legal requirement in the UK for 3 years now. http://www.calmdesign.co.uk/articles/Website_legal_requirements/?id=16 Thanks, Ash http://www.ashleysheridan.co.uk Hi, Further to this the actual

Re: [PHP] Re: protecting email addresses on a web site

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 09:46 +0100, Ian wrote: On 14/06/2010 22:51, Ashley Sheridan wrote: snip It's not my requirement, it's been a legal requirement in the UK for 3 years now. http://www.calmdesign.co.uk/articles/Website_legal_requirements/?id=16 Thanks, Ash

[PHP] export from one server to another

2010-06-15 Thread Merlin Morgenstern
HI there, I am thinking about building a partner network where partners can export content to my server which will then be imported. It should be as easy as possible for the partner and not rely on any special php functions. The best way to do this I guess is to deliver them a php file

Re: [PHP] export from one server to another

2010-06-15 Thread Sándor Tamás
I'd use the POST method in HTTP. With this, on a simple page you can read the XML file, and through the POST method, you can reach it. You can put the XML in a POST variable, but you can also use File input control in HTML to read and upload the file. You don't have to use FTP. SanTa

Re: [PHP] export from one server to another

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 12:00 +0200, Merlin Morgenstern wrote: HI there, I am thinking about building a partner network where partners can export content to my server which will then be imported. It should be as easy as possible for the partner and not rely on any special php functions.

Re: [PHP] export from one server to another

2010-06-15 Thread Richard Quadling
On 15 June 2010 11:00, Merlin Morgenstern merli...@fastmail.fm wrote: HI there, I am thinking about building a partner network where partners can export content to my server which will then be imported. It should be as easy as possible for the partner and not rely on any special php

[PHP] Delete File With Any File Extension

2010-06-15 Thread Shaun Thornburgh
Hi, I need to delete a file with any file extension where i know the name of the file, is it possible to use regular expressions with the unlink function? Thanks _

Re: [PHP] Delete File With Any File Extension

2010-06-15 Thread Adrian
Use glob() to get a list of matching afiles nd then unlink() them separately. I need to delete a file with any file extension where i know the name of the file, is it possible to use regular expressions with the unlink function? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Delete File With Any File Extension

2010-06-15 Thread cheran krishnamoorthy
You can't use regular expression with unlink directly. have a look on this http://www.phpfreaks.com/forums/index.php?topic=256367.0 http://www.phpfreaks.com/forums/index.php?topic=256367.0Regards Cherankrish On Tue, Jun 15, 2010 at 4:17 PM, Shaun Thornburgh shaunthornbu...@hotmail.com wrote:

[PHP] Re: Delete File With Any File Extension

2010-06-15 Thread Tanel Tammik
Shaun Thornburgh shaunthornbu...@hotmail.com wrote in message news:bay148-w43caac3698e0134dfacc28ab...@phx.gbl... Hi, I need to delete a file with any file extension where i know the name of the file, is it possible to use regular expressions with the unlink function? Thanks

Re: [PHP] Delete File With Any File Extension

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 16:23 +0530, cheran krishnamoorthy wrote: You can't use regular expression with unlink directly. have a look on this http://www.phpfreaks.com/forums/index.php?topic=256367.0 http://www.phpfreaks.com/forums/index.php?topic=256367.0Regards Cherankrish On Tue, Jun 15,

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Shreyas Agasthya
Karl, Which app are you talking about? Regards, Shreyas On Tue, Jun 15, 2010 at 8:21 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hey, I just found this app that I think will do your single user login. It is a MySQL monitoring app called MySQL Query Analyzer. It has the functionality I

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 16:52 +0530, Shreyas Agasthya wrote: Karl, Which app are you talking about? Regards, Shreyas On Tue, Jun 15, 2010 at 8:21 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hey, I just found this app that I think will do your single user login. It is a MySQL

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
On Jun 15, 2010, at 6:24 AM, Ashley Sheridan wrote: On Tue, 2010-06-15 at 16:52 +0530, Shreyas Agasthya wrote: Karl, Which app are you talking about? Regards, Shreyas On Tue, Jun 15, 2010 at 8:21 AM, Karl DeSaulniers k...@designdrumm.comwrote: Hey, I just found this app that I think

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 07:04 -0500, Karl DeSaulniers wrote: On Jun 15, 2010, at 6:24 AM, Ashley Sheridan wrote: On Tue, 2010-06-15 at 16:52 +0530, Shreyas Agasthya wrote: Karl, Which app are you talking about? Regards, Shreyas On Tue, Jun 15, 2010 at 8:21 AM, Karl

[PHP] Re: [PHP-WEBMASTER] Web Service Problem

2010-06-15 Thread Richard Quadling
On 15 June 2010 12:44, John john.zaka...@graphicano.com wrote: Really i need help coz i am trying to solve this problem from 4 weeks and i can not so please help me I want to use a web service ( created in ASP.NEt ) in my web site using php coz i will use the result in other php pages.

Re: [PHP] Re: [PHP-WEBMASTER] Web Service Problem

2010-06-15 Thread Michael Shadle
Wso2 is also pretty awesome. I wish soap would just die and be replaced with rest and json. On Jun 15, 2010, at 6:15 AM, Richard Quadling rquadl...@gmail.com wrote: On 15 June 2010 12:44, John john.zaka...@graphicano.com wrote: Really i need help coz i am trying to solve this problem

RE: [PHP] protecting email addresses on a web site

2010-06-15 Thread HallMarc Websites
many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] How could I mix popen() and pcntl_alarm() function ?

2010-06-15 Thread Chian Hsieh
Hi, I want to use tail command to tail the file by popen and trigger the function signal() by every 3 secs. Here is my example code: declare(ticks = 1); // Unreachable function function signal($signal) { echo SIGALRM\n; pcntl_alarm(3); } pcntl_signal(SIGALRM, signal); pcntl_alarm(3);

Re: [PHP] Re: [PHP-WEBMASTER] Web Service Problem

2010-06-15 Thread Richard Quadling
On 15 June 2010 17:07, Michael Shadle mike...@gmail.com wrote: Wso2 is also pretty awesome. I wish soap would just die and be replaced with rest and json. On Jun 15, 2010, at 6:15 AM, Richard Quadling rquadl...@gmail.com wrote: On 15 June 2010 12:44, John john.zaka...@graphicano.com wrote:

RE: [PHP] protecting email addresses on a web site

2010-06-15 Thread Ashley Sheridan
have some documentation I could read to get up to speed on this? Marc Hall HallMarc Websites So many spammers, so few bullets... __ Information from ESET Smart Security, version of virus signature database 5199 (20100615) __ The message was checked by ESET Smart

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 07:04 -0500, Karl DeSaulniers wrote: On Jun 15, 2010, at 6:24 AM, Ashley Sheridan wrote: On Tue, 2010-06-15 at 16:52 +0530, Shreyas Agasthya wrote: Karl, Which app

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 12:37 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 07:04 -0500, Karl DeSaulniers wrote: On Jun 15, 2010, at 6:24 AM, Ashley Sheridan wrote: On Tue,

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
Sent from losPhone On Jun 15, 2010, at 12:37 PM, Karl DeSaulniers k...@designdrumm.com wrote: Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 07:04 -0500, Karl DeSaulniers wrote: On Jun 15, 2010, at 6:24 AM,

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
Sent from losPhone On Jun 15, 2010, at 12:41 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 12:37 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 07:04

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Ashley Sheridan
On Tue, 2010-06-15 at 12:51 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 12:41 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 12:37 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley

Re: [PHP] Re: [PHP-WEBMASTER] Web Service Problem

2010-06-15 Thread Michael Shadle
On Tue, Jun 15, 2010 at 10:14 AM, Richard Quadling rquadl...@gmail.com wrote: REST is a concept, not a protocol (as I understand it), so you cannot just create a service and supply a contract file. You have to document the service in some other way and then the users have to write all the

Re: [PHP] How could I mix popen() and pcntl_alarm() function ?

2010-06-15 Thread Jim Lucas
Chian Hsieh wrote: Hi, I want to use tail command to tail the file by popen and trigger the function signal() by every 3 secs. Here is my example code: declare(ticks = 1); // Unreachable function function signal($signal) { echo SIGALRM\n; pcntl_alarm(3); }

Re: [PHP] Multiple Login in a single PC should not be possible

2010-06-15 Thread Karl DeSaulniers
On Jun 15, 2010, at 12:52 PM, Ashley Sheridan wrote: On Tue, 2010-06-15 at 12:51 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 12:41 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-15 at 12:37 -0500, Karl DeSaulniers wrote: Sent from

Re: [PHP] SQL Syntax

2010-06-15 Thread Daniel Brown
[Top-post.] You'll probably have much better luck on the MySQL General list. CC'ed on this email. On Tue, Jun 15, 2010 at 20:58, Jan Reiter the-fal...@gmx.net wrote: Hi folks! I'm kind of ashamed to ask a question, as I haven't followed this list very much lately. This isn't

Re: [PHP] SQL Syntax

2010-06-15 Thread Ashley Sheridan
On Wed, 2010-06-16 at 02:58 +0200, Jan Reiter wrote: Hi folks! I'm kind of ashamed to ask a question, as I haven't followed this list very much lately. This isn't exactly a PHP question, but since mysql is the most popular database engine used with php, I figured someone here might

RE: [PHP] SQL Syntax

2010-06-15 Thread Jan Reiter
Thanks. That was my first attempt, too. Only this will throw out rows, that meet only one of the conditions, too. For example, I would get all pictures that are bigger than 100, regardless of type, and all pictures that are of type jpg, no matter the size. Doing it with a view would be an

RE: [PHP] SQL Syntax

2010-06-15 Thread Ashley Sheridan
On Wed, 2010-06-16 at 03:23 +0200, Jan Reiter wrote: Thanks. That was my first attempt, too. Only this will throw out rows, that meet only one of the conditions, too. For example, I would get all pictures that are bigger than 100, regardless of type, and all pictures that are of type jpg,

[PHP] SQL Syntax

2010-06-15 Thread Jan Reiter
Hi folks! I'm kind of ashamed to ask a question, as I haven't followed this list very much lately. This isn't exactly a PHP question, but since mysql is the most popular database engine used with php, I figured someone here might have an idea. I have 2 tables. Table A containing 2

Fwd: [PHP] How could I mix popen() and pcntl_alarm() function ?

2010-06-15 Thread Chian Hsieh
Hi, my PHP version is PHP 5.2.4-2. I was according to the example in page ( pcntl_alarm() function doc page ) http://www.php.net/manual/en/function.pcntl-alarm.php http://www.php.net/manual/en/function.pcntl-alarm.phpIn that page, the register_tick_function() does not register any function, and