Re: [PHP] PHP Frameworks - Opinion

2006-08-01 Thread Steve Turnbull
so, for about $80 (off the top of my head), there is a great course run by PHP Architect on getting the most from it - it really is a powerful tool. Downside is it's more costly than others, but well worth it in my opinion. Just my thoughts... Cheers Steve -- Steve Turnbull Digital Con

[PHP] regular expression to extract from the middle of a string

2006-07-14 Thread Steve Turnbull
anyone is interested? Cheers Steve -- Steve Turnbull Digital Content Developer YHGfL Foundation e [EMAIL PROTECTED] t 01724 275030 The YHGfL Foundation Disclaimer can be found at: http://www.yhgfl.net/foundation-services/yhgfl-email-disclaimer/ -- PHP General Mailing List (http://www.ph

[PHP] ldap_connect allways returns true even if logically it shouldn't?

2006-06-19 Thread Steve Turnbull
can see, I am expecting a return value of true only if the ldap_connect makes a successful connection. However, even if I pass values which should make a false, it gives a true. What am I missing out on here - could any one tell me why true is always returned? Cheers Steve -- Steve Turnbull Di

[PHP] PHP Developer/Architect needed

2006-05-26 Thread Steve Turnbull
we are looking for a contractor in the Yorkshire/Humber area of the UK, but we are not ruling out further afield. If you are interested, please contact me - details below, and I will provide a more detailed requirement... Regards Steve -- Steve Turnbull Digital Content Developer YHGfL

Re: [PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
On Thu, 08 Sep 2005 16:36:36 +0100, Steve Turnbull wrote: > On Thu, 08 Sep 2005 09:15:03 +0100, Steve Turnbull wrote: > >> On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote: >> >>> Steve Turnbull wrote: >>>> I am trying to find a regular expre

Re: [PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
On Thu, 08 Sep 2005 09:15:03 +0100, Steve Turnbull wrote: > On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote: > >> Steve Turnbull wrote: >>> I am trying to find a regular expression to match a variable, what I think >>> should work (but doesn't) i

Re: [PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
On Thu, 08 Sep 2005 19:27:49 +1200, Jasper Bryant-Greene wrote: > Steve Turnbull wrote: >> I am trying to find a regular expression to match a variable, what I think >> should work (but doesn't) is; >> >> preg_match ('^/[\w],[\w],/', $variable) >>

[PHP] preg_match help please

2005-09-08 Thread Steve Turnbull
Hi I am trying to find a regular expression to match a variable, what I think should work (but doesn't) is; preg_match ('^/[\w],[\w],/', $variable) The $variable MUST contain an alpha-numeric string, followed by a comma, followed by another alpha-numeric string, followed by another comma followe

Re: [PHP] Regular expressions book

2005-08-03 Thread Steve Turnbull
On Wed, 03 Aug 2005 12:10:40 -0500, Edward Vermillion wrote: > Stefan Lemmen wrote: >> Hi, >> >> I've want to dig a bit deeper into regular expressions for php. >> I wonder if anyone can help me choosing between 2 books I'm considering >> buying: >> >> 1. Open Source Regular Expression Recipes

[PHP] syntax highlighting your php code on a web page

2005-08-03 Thread Steve Turnbull
Hi Is there a class or some code out there which enables you to print your PHP code to a web page and make it appear with syntax highlighting? As an example of what I am after, have a look here; http://www.phpfreaks.com/phpmanual/page/function.ldap-add.html Please note this is just an example p

[PHP] preg_match - help please

2005-07-27 Thread Steve Turnbull
Hi I want to see that a user is submiting a form field in the correct manner. So I decided to use preg_match to verify their input. The pattern I am trying to match is; Firstname Secondname I am not bothered about character length just yet (but advise on this would be appreciated if it can be d

[PHP] GET form method and accessing its value into a cookie

2005-07-21 Thread Steve Turnbull
Hi I have a page which generates 'edit' links (used to edit user details). The code snippet on the 'list_user.php' page is; --- $print_rows .=" \n". " {$details['name']} \n". " {$details['mail']} \n".

[PHP] GET form method and accessing its value into a cookie

2005-07-21 Thread Steve Turnbull
Hi I have a page which generates 'edit' links (used to edit user details). The code snippet on the 'list_user.php' page is; --- $print_rows .=" \n". "   {$details['name']} \n". "   {$details['mail']} \n".

Re: [PHP] ldap_connect error

2005-04-19 Thread Steve Turnbull
Richard Lynch wrote: > On Mon, April 18, 2005 2:43 am, Steve Turnbull said: >> I am running a LAMP setup consisting of Debian (testing), PHP4, Apache2, >> and >> MySQL 4. >> >> When I installed php, I used apt-get, and included in the list of modules >>

[PHP] ldap_connect error

2005-04-18 Thread Steve Turnbull
Hi I am running a LAMP setup consisting of Debian (testing), PHP4, Apache2, and MySQL 4. When I installed php, I used apt-get, and included in the list of modules was libapache2_mod_php4 php4 php4-ldap ... PHP works fine, and a test phpinfo() brings up all of the expected parameters (at least I

[PHP] php books with more extensive LDAP and FTP explenations

2005-03-08 Thread Steve Turnbull
Hi Does any one have a good (fairly advanced) PHP book which has detailed explanations of LDAP and FTP? I allready have two o'rielly books (Programming PHP & PHP Cookbook) and these do cover the topics briefly, but if any one has read a book with more intensive explanations, please recommend...

Re: [PHP] ftp upload via web form - problem getting the file name correct

2005-03-08 Thread Steve Turnbull
Franklin van de Meent wrote: > Hello Steve, > > I tried this on my own servers and after replacing "" > with $ftp_server it works perfectly, all ASCII files get uploaded the > way they should with the correct filenames. > > Do you get any errors? (add error_reporting(E_ALL); above the login > va

[PHP] ftp upload via web form - problem getting the file name correct

2005-03-07 Thread Steve Turnbull
Hi I have tried creating a script which will allow our core staff to upload files to our FTP server. I don't have a problem with the uploading of a local file to our FTP server with the correct authentication etc, the problem I am having, is that the file which gets uploaded always has the filena