php-general Digest 10 Nov 2009 18:03:47 -0000 Issue 6436

2009-11-10 Thread php-general-digest-help
php-general Digest 10 Nov 2009 18:03:47 - Issue 6436 Topics (messages 299764 through 299768): Re: Hash function 299764 by: Hans Åhlin Re: Multilingual website, texts in external JavaScriptproblem 299765 by: Peter Ford Form Validation filter - Regex Q 299766 by:

Re: [PHP] Hash function

2009-11-10 Thread Hans Åhlin
Hope this is what your looking for... ?php /** * This is a part of the SN1000 System * * @author Hans Åhlin * @copyright (C)2009 Hans Åhlin * @owner Hans Åhlin * @version 1.000.000 * @contact i...@sn1000.com * * Copyrighted by the owner of SN1000 * ALL COPYING, PUBLISHING AND EDITING

Re: [PHP] Multilingual website, texts in external JavaScriptproblem

2009-11-10 Thread Peter Ford
leledumbo wrote: I don't see why you can't use inline script in XHTML 1.0 Strict Because I don't know about CDATA, thanks. Glad to be of service! As another regular contributor to this list often points out, there's always something new to learn :) -- Peter Ford

[PHP] Form Validation filter - Regex Q

2009-11-10 Thread Haig Davis
Morning All, I've been figthing with this little problem for two days now, so far no luck with google and am beginning to question my own sanity. I have a application that has over one hundred forms some quite lengthy so what I'm trying to achieve rather than writing a bunch of individual

[PHP] Re: Form Validation filter - Regex Q

2009-11-10 Thread Al
Haig Davis wrote: Morning All, I've been figthing with this little problem for two days now, so far no luck with google and am beginning to question my own sanity. I have a application that has over one hundred forms some quite lengthy so what I'm trying to achieve rather than writing a

[PHP] Re: Form Validation filter - Regex Q

2009-11-10 Thread Nathan Rixham
Haig Davis wrote: alone work fine as does the foreach loop the only issue I have is the IF statement comparing $key to expected varieable names. if($key != ($customerServiceEmail) || ($billingEmail) || multiple points here.. 1: is the key name held in a php variable called

Re: [PHP] Checkbox in PHP form

2009-11-10 Thread Adam Randall
INPUT class=text id=myCheck1 type=checkbox?php echo( $row[33] == 'no' ? ' checked=checked' : '' ); ? value=PFDs name=f_sequipment1/bfont size=2PFDsb Or with short tags: INPUT class=text id=myCheck1 type=checkbox?= $row[33] == 'no' ? ' checked=checked' : '' ? value=PFDs name=f_sequipment1/bfont

Re: [PHP] Re: Checkbox in PHP form

2009-11-10 Thread Adam Randall
On Sun, Nov 8, 2009 at 9:52 PM, Brian Hazelton bdh_2...@comcast.net wrote: input class=text id=myCheck1 type=checkbox ?php if ( $row[33] == 'no') { echo checked=checked;  } ? value=PFDs name=f_sequipment1/bfont size=2PFDsb -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] How to create CA certificate with PHP

2009-11-10 Thread Tanveer Chowdhury
Hello all, Using openssl, I can create CA certificate by using the linux command line. But this thing I want to do using PHP that is I want to add some information in the openldap regarding a user and also would like to insert his public key certificate along with the other information. Can you