php-general Digest 14 Jun 2010 11:21:07 -0000 Issue 6798

2010-06-14 Thread php-general-digest-help
php-general Digest 14 Jun 2010 11:21:07 - Issue 6798 Topics (messages 306111 through 306119): Re: String Parse Help for novice 306111 by: Ashley Sheridan 306113 by: Robert Cummings 306115 by: Adam Richardson Quick Question 306112 by: Karl DeSaulniers

[PHP] php apache module before read a file recursively scan full path

2010-06-14 Thread Vincenzo D'Amore
Hello, I have performance problems during execution of php code. With strace I have recorded system calls which are called by apache httpd and what I have is quite singular. It seems that php apache module before read file recursively scan with lstat all the path (please also see attached file).

Re: [PHP] Cookie access with CLI

2010-06-14 Thread Richard Quadling
2010/6/13 David Česal da...@cesal.cz: Hello, I'm trying to access (from CLI) some website, where login is required. Please, is it possible to set/save some cookies first (login session information) and then access the website as logged user? All through CLI. Thank you very much for any

Re: [PHP] Cookie access with CLI

2010-06-14 Thread Richard Quadling
On 13 June 2010 17:34, Shawn McKenzie nos...@mckenzies.net wrote: On 06/13/2010 09:58 AM, David Česal wrote: Hello, I'm trying to access (from CLI) some website, where login is required. Please, is it possible to set/save some cookies first (login session information) and then access the

[PHP] protecting email addresses on a web site

2010-06-14 Thread David Mehler
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 email if needed. I can not use

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

2010-06-14 Thread Ashley Sheridan
On Mon, 2010-06-14 at 08:02 -0400, 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

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

2010-06-14 Thread HallMarc Websites
declaration: style=direction: rtl; unicode-bidi: bidi-override; Marc Hall HallMarc Websites __ Information from ESET Smart Security, version of virus signature database 5194 (20100614) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing

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

2010-06-14 Thread Ashley Sheridan
On Mon, 2010-06-14 at 08:26 -0400, David Mehler wrote: Hi, Thanks. How does putting the email address as the same font as the text stop crawlers from getting it? Thanks. Dave. On 6/14/10, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Mon, 2010-06-14 at 08:02 -0400, David Mehler

Re: [PHP] String Parse Help for novice

2010-06-14 Thread tedd
At 9:29 PM -0400 6/13/10, Robert Cummings wrote: ?php function my_parse_url( $url ) { $parsed = parse_url( $url ); $parsed['file'] = basename( $parsed['path'] ); $parsed['pathbits'] = explode( '/', ltrim( dirname( $parsed['path'] ), '/' ) ); return $parsed; } $url =

[PHP] Another parse problem

2010-06-14 Thread tedd
Hi gang: Considering all the recent parsing, here's another problem to consider -- given any text, parse the domain-names out of it. You may limit the parsing to the most popular TDL's, such as .com, .net, and .org, but the finished result should be an array containing all the domain-names

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

2010-06-14 Thread tedd
At 8:36 AM -0400 6/14/10, HallMarc Websites wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; Marc Hall HallMarc Websites Marc: That's clever. I never saw that before. I

Re: [PHP] Another parse problem

2010-06-14 Thread Ashley Sheridan
On Mon, 2010-06-14 at 09:14 -0400, tedd wrote: Hi gang: Considering all the recent parsing, here's another problem to consider -- given any text, parse the domain-names out of it. You may limit the parsing to the most popular TDL's, such as .com, .net, and .org, but the finished result

Re: [PHP] Another parse problem

2010-06-14 Thread tedd
At 2:18 PM +0100 6/14/10, Ashley Sheridan wrote: On Mon, 2010-06-14 at 09:14 -0400, tedd wrote: Hi gang: Considering all the recent parsing, here's another problem to consider -- given any text, parse the domain-names out of it. You may limit the parsing to the most popular TDL's, such as

Re: [PHP] String Parse Help for novice

2010-06-14 Thread Robert Cummings
tedd wrote: At 9:29 PM -0400 6/13/10, Robert Cummings wrote: ?php function my_parse_url( $url ) { $parsed = parse_url( $url ); $parsed['file'] = basename( $parsed['path'] ); $parsed['pathbits'] = explode( '/', ltrim( dirname( $parsed['path'] ), '/' ) ); return $parsed; }

Re: [PHP] Another parse problem

2010-06-14 Thread Robert Cummings
tedd wrote: At 2:18 PM +0100 6/14/10, Ashley Sheridan wrote: On Mon, 2010-06-14 at 09:14 -0400, tedd wrote: Hi gang: Considering all the recent parsing, here's another problem to consider -- given any text, parse the domain-names out of it. You may limit the parsing to the most popular

Re: [PHP] Another parse problem

2010-06-14 Thread Daniel P. Brown
On Mon, Jun 14, 2010 at 09:14, tedd t...@sperling.com wrote: Hi gang: Considering all the recent parsing, here's another problem to consider -- given any text, parse the domain-names out of it. You may limit the parsing to the most popular TDL's, such as .com, .net, and .org, but the

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

2010-06-14 Thread Dotan Cohen
On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override; How does that work with screen readers? How about

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

2010-06-14 Thread Jonesy
On Mon, 14 Jun 2010 08:02:02 -0400, David Mehler wrote: 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

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

2010-06-14 Thread Ashley Sheridan
On Mon, 2010-06-14 at 17:50 +0300, Dotan Cohen wrote: On 14 June 2010 15:36, HallMarc Websites sa...@hallmarcwebsites.com wrote: Another is a CSS solution where you type the email address backwards and then use the CSS style declaration: style=direction: rtl; unicode-bidi: bidi-override;

[PHP] PHP on command line -- mysql_connect error

2010-06-14 Thread Ferdi
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 line (not yet set it up as cron). I get the following error: PHP Fatal error: Call to undefined function

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

2010-06-14 Thread Ashley Sheridan
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 line (not yet set it up as cron). I get the

[PHP] Seeking developer for short term project

2010-06-14 Thread Dev Job
Our company is looking to hire a PHP Developer for a short term project. We're currently in the last couple weeks of the interview phase to narrow down our options. We are looking for a developer that is comfortable working with existing code as well as creating new code. You must be skilled in

RE: [PHP] is ?= good?

2010-06-14 Thread Daevid Vincent
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Saturday, June 12, 2010 10:40 PM this in PHP. I can convert from '.' to '+' (as in most languages) in my mind, but embedding variables in strings was a harder habit to break. My opinion is that the

Re: [PHP] Quick Question

2010-06-14 Thread Karl DeSaulniers
Thanks Malka, I was wondering if you had a web page I could go to before I sign up to see some discussions that have taken place. I tried using the lists.evolt.org, but it did not show the javascript section. TIA, Karl On Jun 14, 2010, at 3:20 AM, Malka Cymbalista wrote:

Re: [PHP] Quick Question

2010-06-14 Thread Karl DeSaulniers
On Jun 14, 2010, at 3:45 PM, Paul M Foster wrote: On Sun, Jun 13, 2010 at 06:06:16PM -0500, Karl DeSaulniers wrote: Hello List, I may have asked this before, but can not find any emails about it. Does anyone know of a general-javascript email list like this php list? Hoping someone here

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

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

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

2010-06-14 Thread Ashley Sheridan
On Mon, 2010-06-14 at 17:20 -0400, 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, David Mehler wrote: Hello, I've got a site that is needing to have two email addresses on it, one for general contact and

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

2010-06-14 Thread Adam Richardson
On Mon, Jun 14, 2010 at 5:51 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2010-06-14 at 17:20 -0400, 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, David Mehler wrote: Hello, I've got a

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

2010-06-14 Thread Ashley Sheridan
On Mon, 2010-06-14 at 18:48 -0400, Adam Richardson wrote: On Mon, Jun 14, 2010 at 5:51 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2010-06-14 at 17:20 -0400, Paul M Foster wrote: On Mon, Jun 14, 2010 at 01:06:29PM +0100, Ashley Sheridan wrote: On Mon, 2010-06-14

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

2010-06-14 Thread Karl DeSaulniers
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 looking for. Might be worth a look-see. :)) Hth, Karl

[PHP] CFP for Surge Scalability Conference 2010

2010-06-14 Thread Jason Dixon
We're excited to announce Surge, the Scalability and Performance Conference, to be held in Baltimore on Sept 30 and Oct 1, 2010. The event focuses on case studies that demonstrate successes (and failures) in Web applications and Internet architectures. Rasmus Lerdorf will be presenting his PHP