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 s

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 wrote: > On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: > > > On Mon, 2010-06-14 at 08:02 -0400, Da

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 wrote: > > > On Mon, Jun 14, 2010 at 0

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

2010-06-15 Thread Ferdi
On 14 June 2010 21:58, Ashley Sheridan 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 from the command

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 <513c9a

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

2010-06-15 Thread Ian
On 14/06/2010 22:51, Ashley Sheridan wrote: > 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 reg

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

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

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 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. > > > The best

[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 _ http://clk.atdmt.com/UKM

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 unsub

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 Regards 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" 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 > > Regards > Cherankrish > > On Tue

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 wrote: > 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 > think you were lo

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 wrote: > > > Hey, > > I just found this app that I think will do your single user login. It is a > > MySQL monito

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 wrote: > Hey, > I just found this app that I think will do your singl

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

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

2010-06-15 Thread Richard Quadling
On 15 June 2010 12:44, John 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. > the web service lin

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 wrote: > On 15 June 2010 12:44, John wrote: >> >> >> >> Really i need help coz i am trying to solve this problem from 4 weeks and i >> can not so please

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

2010-06-15 Thread HallMarc Websites
d 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 Security. http://www.eset.com -- PHP General Mailin

[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); $f

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

2010-06-15 Thread Richard Quadling
On 15 June 2010 17:07, Michael Shadle 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 wrote: > >> On 15 June 2010 12:44, John wrote: >>> >>> >>> >>> Really i need help coz i am trying to so

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

2010-06-15 Thread Ashley Sheridan
using logical ordering and it is stored in memory the way we > expect to read it, will read it correctly. > > I was not aware that email harvesters used screen readers. Do you have some > documentation I could read to get up to speed on this? > > Marc Hall > HallMarc Web

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 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 are you talking about? R

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

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 wrote: Sent from losPhone On Jun 15, 2010, at 7:08 AM, Ashley Sheridan 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

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 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 wrote: On Tue, 2010-06-15 at 07:04 -0500, Karl DeSaulniers wrote: On Jun 15, 2010, at

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

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 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 > code. I know it's

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); > } > > pc

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 wrote: On Tue, 2010-06-15 at 12:37 -0500, Karl DeSaulniers wrote: Sent from losPhone On Jun 15, 2010, at 7:

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

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 he

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 opti

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 jp

[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 fields.

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 In that page, the register_tick_function() does not register any function, an