Re: [PHP] Hash function

2009-11-10 Thread Hans Åhlin
Hope this is what your looking for... For legal purposes i her grant you all to use this file fore any purpose, and for the same reason i can not take away the copyright notice... 2009/11/9 Ali Asghar Toraby Parizy : > hi friends > I need a hash function to build a Unique serial number by mixin

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 saniti

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

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

Re: [PHP] Checkbox in PHP form

2009-11-10 Thread Adam Randall
value="PFDs" name="f_sequipment1">PFDs Or with short tags: value="PFDs" name="f_sequipment1">PFDs Adam. On Sun, Nov 8, 2009 at 5:39 PM, Ernie Kemp wrote: > Need some help here with checkboxes in an html form. > > > > My issue is I have a form that needs to be viewed with checkboxes filled i

Re: [PHP] Re: Checkbox in PHP form

2009-11-10 Thread Adam Randall
On Sun, Nov 8, 2009 at 9:52 PM, Brian Hazelton wrote: > 'no') { echo "checked="checked";  } ?> value="PFDs" > name=f_sequipment1>PFDs > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Adam Randall http://www.xaren.net AIM: b

[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