Re: [PHP] Credit Card encryption

2010-06-01 Thread Peter Lind
Just wondering: seems there's a bit of a misunderstanding going on here. Are you talking about storing credit card information in a way such that customers can do online transactions without entering that information? Or are you talking about storing this information so your own company can fill

Re: [PHP] Credit Card encryption

2010-06-01 Thread Paul M Foster
On Tue, Jun 01, 2010 at 09:52:54AM +0200, Peter Lind wrote: Just wondering: seems there's a bit of a misunderstanding going on here. Are you talking about storing credit card information in a way such that customers can do online transactions without entering that information? Or are you

Re: [PHP] Credit Card encryption

2010-06-01 Thread Peter Lind
On 1 June 2010 15:58, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Jun 01, 2010 at 09:52:54AM +0200, Peter Lind wrote: Just wondering: seems there's a bit of a misunderstanding going on here. Are you talking about storing credit card information in a way such that customers can do

Re: [PHP] NetBeans Question

2010-06-01 Thread tedd
At 2:50 AM +0100 5/31/10, Ashley Sheridan wrote: On Mon, 2010-05-31 at 02:46 +0100, Mark Kelly wrote: Yeah, like I mentioned earlier, Dreamweaver is known for having issues with include files, can be slow when working on large projects with lots of files, and is only available for Mac and

Re: [PHP] Credit Card encryption

2010-06-01 Thread tedd
At 9:24 PM -0400 5/31/10, Paul M Foster wrote: On Mon, May 31, 2010 at 05:06:23PM -0400, tedd wrote: At 12:36 PM -0400 5/31/10, I wrote: That's Okay, but I'm simply telling you what I KNOW to be true. You may either accept what I have to say, or reject it, but to reply that what I say is

Re: [PHP] Credit Card encryption

2010-06-01 Thread tedd
At 9:21 PM -0400 5/31/10, Paul M Foster wrote: On Mon, May 31, 2010 at 12:36:55PM -0400, tedd wrote: What data are used in credit card transactions are the: name of the card holder, credit card number, expiration date, CCV number, and zip code. I have not dealt with any credit card

Re: [PHP] Credit Card encryption

2010-06-01 Thread tedd
At 9:52 AM +0200 6/1/10, Peter Lind wrote: Just wondering: seems there's a bit of a misunderstanding going on here. Are you talking about storing credit card information in a way such that customers can do online transactions without entering that information? Or are you talking about storing

Re: [PHP] Credit Card encryption

2010-06-01 Thread Paul M Foster
On Tue, Jun 01, 2010 at 04:17:21PM +0200, Peter Lind wrote: On 1 June 2010 15:58, Paul M Foster pa...@quillandmouse.com wrote: On Tue, Jun 01, 2010 at 09:52:54AM +0200, Peter Lind wrote: Just wondering: seems there's a bit of a misunderstanding going on here. Are you talking about

Re: [PHP] Credit Card encryption

2010-06-01 Thread Paul M Foster
On Tue, Jun 01, 2010 at 10:42:11AM -0400, tedd wrote: At 9:24 PM -0400 5/31/10, Paul M Foster wrote: On Mon, May 31, 2010 at 05:06:23PM -0400, tedd wrote: At 12:36 PM -0400 5/31/10, I wrote: That's Okay, but I'm simply telling you what I KNOW to be true. You may either accept what I have

[PHP] regular expression

2010-06-01 Thread Tanel Tammik
How to check with regular expression (preg) if string has: 1. only letters 2. only letters and spaces Br Tanel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Another NetBeans Question

2010-06-01 Thread tedd
Hi gang: Here's my first NetBeans question: How do you turn off the automatic insertion of quotes when you're editing? For example, when I type div id=content, I end up with div id=content. The editor see's me type a quote and then automatically inserts another quote. I've reviewed all the

Re: [PHP] regular expression

2010-06-01 Thread Adam Richardson
On Tue, Jun 1, 2010 at 11:19 AM, Tanel Tammik keevit...@gmail.com wrote: How to check with regular expression (preg) if string has: 1. only letters 2. only letters and spaces Br Tanel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] regular expression

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 18:19 +0300, Tanel Tammik wrote: How to check with regular expression (preg) if string has: 1. only letters 2. only letters and spaces Br Tanel Use preg_match() to find an expression within a string. You can use something like this to grab check if a string

Re: [PHP] regular expression

2010-06-01 Thread Richard Quadling
$re1 = '/^[a-z]++$/i'; $re2 = '/^[a-z ]++$/i'; -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer :

Re: [PHP] regular expression

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 16:31 +0100, Richard Quadling wrote: $re1 = '/^[a-z]++$/i'; $re2 = '/^[a-z ]++$/i'; -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free :

Re: [PHP] regular expression

2010-06-01 Thread Richard Quadling
On 1 June 2010 16:31, Richard Quadling rquadl...@gmail.com wrote: $re1 = '/^[a-z]++$/i'; ^[a-z]++$ Options: case insensitive; ^ and $ match at line breaks Assert position at the beginning of a line (at beginning of the string or after a line break character) «^» Match a single character in

Re: [PHP] Another NetBeans Question

2010-06-01 Thread Dan Joseph
On Tue, Jun 1, 2010 at 11:25 AM, tedd t...@sperling.com wrote: How do you turn off the automatic insertion of quotes when you're editing? For example, when I type div id=content, I end up with div id=content. The editor see's me type a quote and then automatically inserts another quote. I

Re: [PHP] regular expression

2010-06-01 Thread Richard Quadling
On 1 June 2010 16:33, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-01 at 16:31 +0100, Richard Quadling wrote: $re1 = '/^[a-z]++$/i'; $re2 = '/^[a-z ]++$/i'; -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :

Re: [PHP] regular expression

2010-06-01 Thread Peter Lind
On 1 June 2010 17:33, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-01 at 16:31 +0100, Richard Quadling wrote: $re1 = '/^[a-z]++$/i'; $re2 = '/^[a-z ]++$/i'; -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :

[PHP] Making a screencast based elearning solution for PHP

2010-06-01 Thread Naveen Dhanuka
Hi, As said in the subject, I am trying to create a screencast based elearning solution for PHP to be distributed for free. I hope PHP.net does not have a problem with it. Just want to confirm that PHP.Net rules and policies do not stop me for making the free courseware. Regards, Naveen Dhanuka

Re: [PHP] regular expression

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 16:35 +0100, Richard Quadling wrote: On 1 June 2010 16:33, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-06-01 at 16:31 +0100, Richard Quadling wrote: $re1 = '/^[a-z]++$/i'; $re2 = '/^[a-z ]++$/i'; -- - Richard Quadling Standing

[PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
PHP'ers, Please do not curse me for this. I am having a tough time to get this up and running. Can someone point me to a document which will help me do configure so that I can start learning and working on PHP ASAP? Please. I have attached the files under consideration. Here is my details :

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 21:47 +0530, Shreyas wrote: PHP'ers, Please do not curse me for this. I am having a tough time to get this up and running. Can someone point me to a document which will help me do configure so that I can start learning and working on PHP ASAP? Please. I have

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Ash, Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see how it goes. But just to understand how this all works, will it work with Eclipse, too? I am using Ganymede. Regards, Shreyas On Tue, Jun 1, 2010 at 9:55 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On

Re: [PHP] regular expression

2010-06-01 Thread Richard Quadling
On 1 June 2010 16:38, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Ah, I ought to have guessed as it's you! ;) What are you insinuating? -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free :

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:02 +0530, Shreyas wrote: Ash, Thanks for the quick reply. I am downloading Easyphp 3.0 right now and see how it goes. But just to understand how this all works, will it work with Eclipse, too? I am using Ganymede. Regards, Shreyas On Tue, Jun 1, 2010 at

Re: [PHP] regular expression

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 17:32 +0100, Richard Quadling wrote: On 1 June 2010 16:38, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Ah, I ought to have guessed as it's you! ;) What are you insinuating? -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :

[PHP] Re: get classname without namespace

2010-06-01 Thread Shawn McKenzie
On 05/29/2010 03:20 PM, Tanel Tammik wrote: Hi, is there a way to get the called classname without the namespace? ?php //PHP 5.3.x namespace some\where; abstract class ParentClass { public static function name() { return strtolower(get_called_class()); } public static

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote: I did and I miserably failed. I feel like giving up on learning PHP now with all these set-up now. Aaah! I have uninstalled MySQL now and trying to see how it goes. ---Shreyas On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote: You have been of great help, Ash. I just did some progress and I typed in http://localhost and I see the easyphp page. Do you know how I can write my own apps now? On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Alright! Point duly noted. I only did not want to spam the list with my very rudimentary questions. On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote: You have been of great help, Ash. I just did some

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote: Alright! Point duly noted. I only did not want to spam the list with my very rudimentary questions. On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:

[PHP] php accelorator

2010-06-01 Thread Dan Joseph
Hi, Are any of you using any of the php accelorators such as Zend, Ioncube, or any others? Any idea which is the best? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting

Re: [PHP] php accelorator

2010-06-01 Thread Robert Cummings
Dan Joseph wrote: Hi, Are any of you using any of the php accelorators such as Zend, Ioncube, or any others? Any idea which is the best? I am partial to eAccelerator for *nixes. And wincache for Windows. Cheers, Rob. -- E-Mail Disclaimer: Information contained in this message and any

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Thanks, Ash. I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL and Apache to get this work. I have to figure out how I can ask my java code to look at a separate instance of MYSQL while the EasyPHP's instance runs too. Anyone has encountered this before? Regards, Shreyas

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote: Thanks, Ash. I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL and Apache to get this work. I have to figure out how I can ask my java code to look at a separate instance of MYSQL while the EasyPHP's instance runs

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Ash, Not sure if that would work here. I gave that a shot and there was a port conflict. I actually want to learn how to set PHP environment in bits and pieces without a WAMP. Will see what I can do there. Regards, Shreyas On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 01:06 +0530, Shreyas wrote: Ash, Not sure if that would work here. I gave that a shot and there was a port conflict. I actually want to learn how to set PHP environment in bits and pieces without a WAMP. Will see what I can do there. Regards, Shreyas

Re: [PHP] php accelorator

2010-06-01 Thread Lester Caine
Robert Cummings wrote: Dan Joseph wrote: Hi, Are any of you using any of the php accelorators such as Zend, Ioncube, or any others? Any idea which is the best? I am partial to eAccelerator for *nixes. And wincache for Windows. eAccelerator works fine for me ... on linux and windows ... --

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Tried that just now and didn't work. The Java code which talks to the DB has a different username and password than the one installed with EasyPHP. I might be missing something very silly here. Damn me! --Shreyas The On Wed, Jun 2, 2010 at 1:10 AM, Ashley Sheridan

RE: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Hansen, Mike
-Original Message- From: Shreyas [mailto:shreya...@gmail.com] Sent: Tuesday, June 01, 2010 10:18 AM To: php-general@lists.php.net Subject: [PHP] Set up MySQL + Apache 2.2.4 on Win XP. PHP'ers, Please do not curse me for this. I am having a tough time to get this up and

[PHP] session data

2010-06-01 Thread Colin Finnis
I'm having a problem with session data. I have a login setup which holds the user ID and password in the session data once the user has initially logged in. When the user goes to a new page or accesses a pop up window the users session data is validated against a list of IDs and passwords held

Re: [PHP] php accelorator

2010-06-01 Thread Sudheer Satyanarayana
On 06/02/2010 12:35 AM, Dan Joseph wrote: Hi, Are any of you using any of the php accelorators such as Zend, Ioncube, or any others? Any idea which is the best? APC opcode caching works well. -- With warm regards, Sudheer. S Tech stuff: http://techchorus.net Business:

Re: [PHP] session data

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 21:54 +0100, Colin Finnis wrote: I'm having a problem with session data. I have a login setup which holds the user ID and password in the session data once the user has initially logged in. When the user goes to a new page or accesses a pop up window the users session

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 01:41 +0530, Shreyas wrote: Tried that just now and didn't work. The Java code which talks to the DB has a different username and password than the one installed with EasyPHP. I might be missing something very silly here. Damn me! --Shreyas The

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread shiplu
You can consider XAMPP. (www.apachefriends.org/en/xampp.html) It has everything in it. Mysql server, Apache server, PHPMyAdmin, PHP, Perl and an FTP server Just install it and its configured. Just put your files in htdocs and they will be up and running. I use this to package my intranet php

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 04:48 +0700, shiplu wrote: You can consider XAMPP. (www.apachefriends.org/en/xampp.html) It has everything in it. Mysql server, Apache server, PHPMyAdmin, PHP, Perl and an FTP server Just install it and its configured. Just put your files in htdocs and they will be

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Since I have another Java app running and points to the same port 3306, when I tried to configure with EasyPHP, I had a conflict. How about configuring EasyPHP at a different port? In that ways, EasyPHP's MYSQL and my external MySQL will never have a conflicting situation. Does that make sense?

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread shiplu
On Wed, Jun 2, 2010 at 5:32 AM, Shreyas shreya...@gmail.com wrote: Since I have another Java app running and points to the same port 3306, when I tried to configure with EasyPHP, I had a conflict. How about configuring EasyPHP at a different port? In that ways, EasyPHP's MYSQL and my

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Shreyas
Right, Shilpu. I'll try that. What would be the exact installer which will let me have the MySQL Server and the Query browser? I know this is the wrong forum but I am just giving it a shot. When I do Start - All Programs - MYSQL, I used to get only above options. I have lost the installer and the

[PHP] RE: JSON RPC with SSL and .pem certificates? [SOLVED]

2010-06-01 Thread Daevid Vincent
-Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: Thursday, May 27, 2010 4:48 PM To: 'php-general@lists.php.net' Subject: JSON RPC with SSL and .pem certificates? Anyone have a good example or routine or library or something that will use JSON-RPC client

Re: [PHP] RE: JSON RPC with SSL and .pem certificates? [SOLVED]

2010-06-01 Thread Adam Richardson
On Tue, Jun 1, 2010 at 8:41 PM, Daevid Vincent dae...@daevid.com wrote: -Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: Thursday, May 27, 2010 4:48 PM To: 'php-general@lists.php.net' Subject: JSON RPC with SSL and .pem certificates? Anyone have a

Re: [PHP] Credit Card encryption

2010-06-01 Thread Brandon Rampersad
I store CC # in plain text on my custom ecommerse website script so i can compare it with others. That way it's easier to convert to different hashes when i decide to integrate an encryption system. So far i havent had any problems. On Tue, Jun 1, 2010 at 11:15 AM, Paul M Foster

Re: [PHP] Credit Card encryption

2010-06-01 Thread Michael Shadle
Is this a joke? Better hope your merchant provider isn't lookin... On Jun 1, 2010, at 7:17 PM, Brandon Rampersad brandon.add...@gmail.com wrote: I store CC # in plain text on my custom ecommerse website script so i can compare it with others. That way it's easier to convert to different

Re: [PHP] regular expression

2010-06-01 Thread Peter
Hi Tanel, 1. only letters $str = 'helloworld'; if(preg_match(/^[a-zA-Z]*$/,$str)) echo only letters; else echo failed; 2. only letters and spaces $str = 'hello world'; if(preg_match(/^[a-zA-Z\s]*$/,$str)) echo only letters and spaces; else echo failed; Regards Peter.M Tanel Tammik