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 T
Is this a joke?
Better hope your merchant provider isn't lookin...
On Jun 1, 2010, at 7:17 PM, Brandon Rampersad
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
hashes
when i decide to
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 wrote:
> On Tue,
On Tue, Jun 1, 2010 at 8:41 PM, Daevid Vincent 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 good ex
> -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 c
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 th
On Wed, Jun 2, 2010 at 5:32 AM, Shreyas 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 external MySQL will ne
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?
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 w
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 ap
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
>
>
>
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
> sess
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: http://binaryvib
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 o
> -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 thi
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
wrote:
> On Wed, 2010-06-02
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 ...
-
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
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
wrote:
> On Wed, 2010
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
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
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
attach
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
htt
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
> wrote:
>
> > On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote:
> >
> > You have bee
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
wrote:
> 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
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
>
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
On 05/29/2010 03:20 PM, Tanel Tammik wrote:
> Hi,
>
> is there a way to get the called classname without the namespace?
>
> //PHP 5.3.x
> namespace some\where;
>
> abstract class ParentClass {
> public static function name() {
> return strtolower(get_called_class());
> }
>
> public s
On Tue, 2010-06-01 at 17:32 +0100, Richard Quadling wrote:
> On 1 June 2010 16:38, Ashley Sheridan 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.e
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, 2
On 1 June 2010 16:38, Ashley Sheridan 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 : http://www.experts-exchange.com/beco
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
wrote:
> On Tue, 2010-06-01 at 21:47 +
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
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 :
MyS
On Tue, 2010-06-01 at 16:35 +0100, Richard Quadling wrote:
> On 1 June 2010 16:33, Ashley Sheridan wrote:
> >
> > On Tue, 2010-06-01 at 16:31 +0100, Richard Quadling wrote:
> >
> > $re1 = '/^[a-z]++$/i';
> > $re2 = '/^[a-z ]++$/i';
> >
> >
> >
> > --
> > -
> > Richard Quadling
> > "Standing o
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
On 1 June 2010 17:33, Ashley Sheridan 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 : http://www.experts-exchang
On 1 June 2010 16:33, Ashley Sheridan 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 : http://www.experts-exchange.com/M_
On Tue, Jun 1, 2010 at 11:25 AM, tedd wrote:
> How do you turn off the automatic insertion of quotes when you're editing?
>
> For example, when I type , I end up with id=""content">. The editor see's me type a quote and then automatically
> inserts another quote.
>
>
>
I can't find where to turn
On 1 June 2010 16:31, Richard Quadling 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 the range between “a
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 : http://www.experts-exch
$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 : http://zend.com/zce.php?c=ZE
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
On Tue, Jun 1, 2010 at 11:19 AM, Tanel Tammik 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: http://www.php.net/unsub.php
>
>
$
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 , I end up with id=""content">. The editor see's me type a quote and then
automatically inserts another quote.
I've reviewed all the preferences and
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
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 acc
On Tue, Jun 01, 2010 at 04:17:21PM +0200, Peter Lind wrote:
> On 1 June 2010 15:58, Paul M Foster 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
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 thi
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 processo
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 "
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 Window
On 1 June 2010 15:58, Paul M Foster 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 online transactions
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 t
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 in
55 matches
Mail list logo