Re: [PHP] iterate javascript verification

2013-05-27 Thread Tim Dunphy
Sounds good! Thanks Ken. Very clear now. Tim Sent from my iPhone On May 27, 2013, at 1:57 PM, Ken Robinson kenrb...@rbnsn.com wrote: When you do validation of the form in the same script that shows the form, the normal way to do this is ?php if (isset($_POST['submit'])) { // //

Re: [PHP] Header Keep-Alive

2013-05-27 Thread Sebastian Krebs
2013/5/27 Al n...@ridersite.org I'm trying to increase the connection timeout; but can't get it to work. Note: Keep-Alive gets repeated. I'm using: header(Connection: Keep-Alive); header(Keep-Alive: timeout=9, max=100); Set the second optional argument to true See

Re: [PHP] Re: Can javascript or php help with this

2013-05-26 Thread Jim Giner
On 5/25/2013 9:11 PM, dealTek wrote: On May 25, 2013, at 4:30 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So - create another field on your form. Add an onclick event to your submit button. Have it run a js function that takes the two fields and places them into the new field.

Re: [PHP] Can javascript or php help with this

2013-05-26 Thread dealTek
On May 26, 2013, at 5:48 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 5/25/2013 9:11 PM, dealTek wrote: On May 25, 2013, at 4:30 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So - create another field on your form. Add an onclick event to your submit button. Have it run

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote: {result_ok:true,result_message:null,client_name:Radek Krej\u010da} How odd -- when i run that through json_decode, it works fine: $d = '{result_ok:true,result_message:null,client_name:Radek Krej\u010da}'; echo Initial:

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote: {result_ok:true,result_message:null,client_name:Radek Krej\u010da} How odd -- when i run that through json_decode, it works fine:

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:21 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote:

Re: [PHP] .htaccess and user file/folder access outside public_html

2013-05-25 Thread Camilo Sperberg
On May 25, 2013, at 13:38, Rafnews raf.n...@gmail.com wrote: Hi, i'm facing a problem and i don't know where to start and in fact, how to do it. Situation: Users of my website should be able to save their resume files + cover letters on my webserver. problem: how to make their

Re: [PHP] json_decode mistery

2013-05-25 Thread Matijn Woudt
On Fri, May 24, 2013 at 9:06 AM, Radek Krejča radek.kre...@starnet.czwrote: Hello, I am usin json regulary, but in one script I have mistery: echo($decrypted_data).\n\n; var_dump(json_decode($decrypted_data, true)); echo \n;

Re: [PHP] Re: Can javascript or php help with this

2013-05-25 Thread dealTek
On May 25, 2013, at 4:30 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So - create another field on your form. Add an onclick event to your submit button. Have it run a js function that takes the two fields and places them into the new field. function combineFields() { var mm

Re: [PHP] Random

2013-05-24 Thread Last Hacker Always onpoint
I needed something like this echo(rand(1,30)) On 5/24/13, Last Hacker Always onpoint lasthack...@gmail.com wrote: okay thanks tamouse and others you think am not on point hmmm? I'll show you i am. On 5/24/13, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, May 23, 2013 at 3:51

Re: [PHP] Random

2013-05-24 Thread Ashley Sheridan
Last Hacker Always onpoint lasthack...@gmail.com wrote: I needed something like this echo(rand(1,30)) On 5/24/13, Last Hacker Always onpoint lasthack...@gmail.com wrote: okay thanks tamouse and others you think am not on point hmmm? I'll show you i am. On 5/24/13, tamouse mailing lists

Re: [PHP] Random

2013-05-24 Thread Nick Pratley
Lola On Friday, May 24, 2013, Ashley Sheridan wrote: Last Hacker Always onpoint lasthack...@gmail.com javascript:; wrote: I needed something like this echo(rand(1,30)) On 5/24/13, Last Hacker Always onpoint lasthack...@gmail.comjavascript:; wrote: okay thanks tamouse and others you

Re: [PHP] Random

2013-05-24 Thread Jim Giner
On 5/24/2013 3:04 AM, Last Hacker Always onpoint wrote: I needed something like this echo(rand(1,30)) On 5/24/13, Last Hacker Always onpoint lasthack...@gmail.com wrote: okay thanks tamouse and others you think am not on point hmmm? I'll show you i am. On 5/24/13, tamouse mailing lists

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-24 Thread Richard Quadling
On 23 May 2013 16:31, Stuart Dallas stu...@3ft9.com wrote: On 23 May 2013, at 15:54, Richard Quadling rquadl...@gmail.com wrote: I'm building an XML file. It is within an OOP structure and is pretty simple. The method is ... /** * Turn an error from the W2GlobalData

Re: [PHP] iterate javascript verification

2013-05-24 Thread Ken Robinson
You do realize that you shouldn't rely on Javascript to validate values returned in a form? Also, if you use HTML5, you can use the required attribute in the input tag and the browser won't let a user submit a form with a required field not filled. Of course, you should still validate within

Re: [PHP] iterate javascript verification

2013-05-24 Thread musicdev
You can validate via JS if required, for example: (JS CODE): if(element.value.length == 0){ // handle 0 length value } I do agree with Ken that you SHOULD NOT perform JS validation. It is preferable to use php or the new HTML5 features. JS can be turned-off by the user which will make JS

Re: [PHP] iterate javascript verification

2013-05-24 Thread Ken Robinson
I took your code and modified it to use HTML5 validation (and few other changes). You can see the results at http://my-testbed.com/test1/form_validation.phphttp://my-testbed.com/test1/form_validation.php My code follows: ?php $fields =

Re: [PHP] Source code of original PHP release.

2013-05-23 Thread Serge Fonville
Hi, Have you looked at http://php.net/manual/en/history.php.php? Could you also share some information on what you have already, as to prevent we would provide information you already have? HTH Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Matijn Woudt
On Thu, May 23, 2013 at 4:54 PM, Richard Quadling rquadl...@gmail.comwrote: Hi. I'm building an XML file. It is within an OOP structure and is pretty simple. The method is ... snip Nothing particularly difficult to understand, but I just don't like having the XML embedded this way.

Re: [PHP] Simple objective which always seems to make me think I'm doing it wrong.

2013-05-23 Thread Stuart Dallas
On 23 May 2013, at 15:54, Richard Quadling rquadl...@gmail.com wrote: I'm building an XML file. It is within an OOP structure and is pretty simple. The method is ... /** * Turn an error from the W2GlobalData service into normal document as this will make it easier to integrate

Re: [PHP] Source code of original PHP release.

2013-05-23 Thread Daniel Brown
On Thu, May 23, 2013 at 2:16 AM, chris ch...@cribznetwork.com wrote: I'm currently writing a paper on the evolution of PHP and web development/security as a whole. One of the things I want to incorporate is snippets of source code to show how things have grown and advanced since the 90's If

Re: [PHP] Source code of original PHP release.

2013-05-23 Thread chris
Thank you Sir. Just what I needed :) I didn't even know there was a museum. Cheers, Christopher Tombleson On 2013-05-24 05:02, Daniel Brown wrote: On Thu, May 23, 2013 at 2:16 AM, chris ch...@cribznetwork.com wrote: I'm currently writing a paper on the evolution of PHP and web

Re: [PHP] Random

2013-05-23 Thread Stuart Dallas
On 23 May 2013, at 21:51, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site. Seriously? Did you try to find out how to do this yourself before asking here? http://php.net/rand And, more generally: http://php.net/docs -Stuart --

Re: [PHP] Random

2013-05-23 Thread Daniel Brown
On Thu, May 23, 2013 at 4:51 PM, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site. You need to know that you've been removed from the list (but you'd still have to be subscribed to be able to read this). -- /Daniel P. Brown Network

Re: [PHP] Random

2013-05-23 Thread Tedd Sperling
On May 23, 2013, at 4:54 PM, Daniel Brown danbr...@php.net wrote: On Thu, May 23, 2013 at 4:51 PM, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site. You need to know that you've been removed from the list (but you'd still have to

Re: [PHP] Random

2013-05-23 Thread Stephen
On 13-05-23 04:51 PM, Last Hacker Always onpoint wrote: Hey I need code for random number 1-30 for my site. http://php.net/manual/en/function.rand.php -- Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Random

2013-05-23 Thread musicdev
His gmail name should be Last last last last Hacker hacker acker not-cker Never On-point :) On Thu, May 23, 2013 at 4:51 PM, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Moving from mysql functions to mysqli or PDO - which is best?

2013-05-23 Thread dealTek
On May 18, 2013, at 11:33 AM, Matijn Woudt tijn...@gmail.com wrote: Probably some people will say PDO, others will say MySQLi, in general it doesn't really matter, and I think you have named the biggest differences in your mail. So if you're going to stick with MySQL anyway, you can take

Re: [PHP] Moving from mysql functions to mysqli or PDO - which is best?

2013-05-23 Thread musicdev
I found it easier to use mysqli_* functions as these were mostly identical to mysql_*. So converting from mysql to mysqli did not require allot of rewrite. On Sat, May 18, 2013 at 2:09 PM, dealTek deal...@gmail.com wrote: Hi folks, [post newbie abilities] - I'm attempting to move away from

Re: [PHP] Random

2013-05-23 Thread tamouse mailing lists
On Thu, May 23, 2013 at 3:51 PM, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site. function rand_from_1_to_30() { return 4; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Random

2013-05-23 Thread Last Hacker Always onpoint
okay thanks tamouse and others you think am not on point hmmm? I'll show you i am. On 5/24/13, tamouse mailing lists tamouse.li...@gmail.com wrote: On Thu, May 23, 2013 at 3:51 PM, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site.

Re: [PHP] Re: Doing something wrong?

2013-05-22 Thread Lester Caine
David Robley wrote: Did you make clean after reconfiguring before re-compiling php? According tohttps://bugs.php.net/bug.php?id=63611 that may be a cause. That was the kick - Thanks ... -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact

Re: [PHP] Question about session_id() and session_start()

2013-05-21 Thread Tim Schofield
On 20/05/2013, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 20-5-2013 22:14, Tim Schofield wrote: Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a million lines of C when you could just tell

Re: [PHP] totally a newbie in sending phone number to a webserver

2013-05-21 Thread Farzan Dalaee
require_once('nusoap/nusoap.php'); $client = new nusoap_client('http://smsprovider.com/post/send.asmx?wsdl' ); $err = $client-getError(); if ($err) { echo 'Constructor error' . $err; } $parameters['username'] = ; $parameters['password'] = ; $parameters['to'] =

Re: [PHP] Question about session_id() and session_start()

2013-05-21 Thread 孟远涛
thank you. I read the source code and it helps a lot, now I know the behavior of the code is consistent with the NOTE. I think the reason is that If the 'new' session_id we want to set already exists on the server, but does not exist on the client's cookie, the server must send a set-cookie header

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-21 Thread Dan Joseph
Hey guys, thanks again for the talk and education. I've purchased the book, and started reading thru the links given. Take care! -Dan On Sun, May 19, 2013 at 12:28 PM, Tedd Sperling t...@sperling.com wrote: To all: Thanks to Stuart, I finally got it. The concept of Interface is a bit

Re: [PHP] How do I remove a string from another string in a fuzzy way?

2013-05-21 Thread Tedd Sperling
On May 20, 2013, at 10:17 PM, Daevid Vincent dae...@daevid.com wrote: Initially I was thinking that somehow I could use a simple regex on the needle and haystacks to strip out all white space and str_ireplace() them that way, but then I don't have a way to put the whitespace back that I can

Re: [PHP] pass parameter via URL

2013-05-20 Thread shiplu
On Mon, May 20, 2013 at 7:17 PM, iccsi inu...@gmail.com wrote: I would like to know how can I pass a parameter via URL using control value on the form. something like myPage.php?MyID=txtMyID.value I can use myPage.php?MyID=1, but cannot use myPage.php?MyID=txtMyID.value. Your help and

Re: [PHP] pass parameter via URL

2013-05-20 Thread iccsi
Thanks for the message and helping, Your js looks like to parse URL. Please let me know if I am wrong, Do you have any code to generate the URL parameter using control value? Thanks again for helping, Iccsi, shiplu wrote in message

Re: [PHP] pass parameter via URL

2013-05-20 Thread shiplu
On Mon, May 20, 2013 at 7:49 PM, iccsi inu...@gmail.com wrote: Thanks for the message and helping, Your js looks like to parse URL. Please let me know if I am wrong, Do you have any code to generate the URL parameter using control value? Thanks again for helping, Iccsi, shiplu wrote

Re: [PHP] Symfony?

2013-05-20 Thread Jose Nobile
Hi, I'm using Symfony 1.4 Templating Componenthttp://web.archive.org/web/20101004223616/http://components.symfony-project.org/templating/documentation Saludos, José Nobile On Mon, May 20, 2013 at 11:40 AM, Tedd Sperling t...@sperling.com wrote: Hi gang: Who uses Symfony? Cheers, tedd

Re: [PHP] Symfony?

2013-05-20 Thread Bastien
Bastien Koert On 2013-05-20, at 12:40 PM, Tedd Sperling t...@sperling.com wrote: Hi gang: Who uses Symfony? Cheers, tedd _ I do. It's not my preferred framework. It's very powerful, but very complex and has a ton of yaml config files for the app. The

Re: [PHP] Symfony?

2013-05-20 Thread Ken Robinson
Drupal 8 is being built using Symfony, which means I have to learn it. Ken At 12:44 PM 5/20/2013, Bastien wrote: Bastien Koert On 2013-05-20, at 12:40 PM, Tedd Sperling t...@sperling.com wrote: Hi gang: Who uses Symfony? Cheers, tedd _ I do. It's not my

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread Matijn Woudt
On Mon, May 20, 2013 at 5:33 AM, 孟远涛 yuantao.m...@gmail.com wrote: I find the Note in PHP document. http://www.php.net/manual/en/function.session-id.php Note: When using session cookies, specifying an id for session_id() will always send a new cookie when session_start() is called,

Re: [PHP] pass parameter via URL

2013-05-20 Thread Matijn Woudt
On Mon, May 20, 2013 at 3:17 PM, iccsi inu...@gmail.com wrote: I would like to know how can I pass a parameter via URL using control value on the form. something like myPage.php?MyID=txtMyID.value I can use myPage.php?MyID=1, but cannot use myPage.php?MyID=txtMyID.value. Your help and

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread Tim Schofield
Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a million lines of C when you could just tell them the answer? Thanks Tim Course View Towers, Plot 21 Yusuf Lule Road, Kampala T +256 (0) 312 314 418 M +256 (0)

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread David OBrien
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com wrote: Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a million lines of C when you could just tell them the answer? Thanks Tim

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread Maciek Sokolewicz
On 20-5-2013 22:14, Tim Schofield wrote: Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a million lines of C when you could just tell them the answer? Thanks Tim Course View Towers, Plot 21 Yusuf Lule

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread Matijn Woudt
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote: On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com wrote: Matijn There are well over half a million lines of source code in PHP. It seems a little unhelpful to tell someone to go and read half a

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread David OBrien
On May 20, 2013 8:45 PM, Matijn Woudt tijn...@gmail.com wrote: On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote: On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com wrote: Matijn There are well over half a million lines of source code in PHP. It

Re: [PHP] Question about session_id() and session_start()

2013-05-20 Thread Matijn Woudt
Op 21 mei 2013 03:59 schreef David OBrien dgobr...@gmail.com het volgende: On May 20, 2013 8:45 PM, Matijn Woudt tijn...@gmail.com wrote: On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote: On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com

Re: [PHP] How do I remove a string from another string in a fuzzy way?

2013-05-20 Thread shiplu
Is your ticketing system written from scratch? Because such type of logic is already implemented in existing help desk softwares. I think you can also use a specific string in your email to define which part goes in ticket and which part not. For example, you can include PLEASE REPLY ABOVE THIS

RE: [PHP] How do I remove a string from another string in a fuzzy way?

2013-05-20 Thread Daevid Vincent
-Original Message- From: muquad...@gmail.com [mailto:muquad...@gmail.com] On Behalf Of shiplu Sent: Monday, May 20, 2013 9:03 PM To: Daevid Vincent Cc: php-general General List Subject: Re: [PHP] How do I remove a string from another string in a fuzzy way? Is your ticketing

Re: [PHP] ODBC

2013-05-19 Thread georg
-general@lists.php.net Sent: Saturday, May 18, 2013 7:56 PM Subject: Re: [PHP] ODBC do you have the driver in linux? https://www.microsoft.com/en-us/download/details.aspx?id=28160 On Tue, May 7, 2013 at 11:46 AM, georg georg.chamb...@telia.com wrote: but isnt there some yum command

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
...@gmail.com To: georg georg.chamb...@telia.com Cc: David OBrien dgobr...@gmail.com; PHP General php-general@lists.php.net Sent: Saturday, May 18, 2013 7:56 PM Subject: Re: [PHP] ODBC do you have the driver in linux? https://www.microsoft.com/en-**us/download/details.aspx?id=**28160https

Re: [PHP] ODBC

2013-05-19 Thread georg
- From: Serge Fonville To: georg Cc: Negin Nickparsa ; PHP Mailinglist Sent: Sunday, May 19, 2013 12:45 PM Subject: Re: [PHP] ODBC Hi, I'm not really clear on what you have and haven't done, but did you check permissions? HTH Kind regards/met vriendelijke groet, Serge Fonville http

Re: [PHP] ODBC

2013-05-19 Thread georg
@lists.php.net Sent: Sunday, May 19, 2013 1:29 PM Subject: Re: [PHP] ODBC Hi Serge, compliled some more info Apache error log as: --- [Tue May 14 17:45:11 2013] [error] [client 127.0.0.1] PHP Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Can't open lib '/lib/libmimodbc.so' : file

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
Dec 20 2011 /opt/MimerSQL-10.0.6J/lib/** libmimodbc.so* [root@this ge]# so that seem to be in place ?? -- Tnx Georg - Original Message - From: Serge Fonville To: georg Cc: Negin Nickparsa ; PHP Mailinglist Sent: Sunday, May 19, 2013 12:45 PM Subject: Re: [PHP] ODBC

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
georg.chamb...@telia.com To: Serge Fonville serge.fonvi...@gmail.com Cc: php-general@lists.php.net Sent: Sunday, May 19, 2013 1:29 PM Subject: Re: [PHP] ODBC Hi Serge, compliled some more info Apache error log as: --- [Tue May 14 17:45:11 2013] [error] [client 127.0.0.1] PHP Warning

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
access wise ?) tnx georg - Original Message - From: georg georg.chamb...@telia.com To: Serge Fonville serge.fonvi...@gmail.com Cc: php-general@lists.php.net Sent: Sunday, May 19, 2013 1:29 PM Subject: Re: [PHP] ODBC Hi Serge, compliled some more info Apache error log

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
Cc: php-general@lists.php.net Sent: Sunday, May 19, 2013 1:29 PM Subject: Re: [PHP] ODBC Hi Serge, compliled some more info Apache error log as: --- [Tue May 14 17:45:11 2013] [error] [client 127.0.0.1] PHP Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Can't open lib

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
is apache ?, and then what would that user have as login password? tnx georg - Original Message - From: Serge Fonville serge.fonvi...@gmail.com To: georg georg.chamb...@telia.com Cc: PHP Mailinglist php-general@lists.php.net Sent: Sunday, May 19, 2013 1:42 PM Subject: Re: [PHP

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-19 Thread Tedd Sperling
On May 19, 2013, at 5:19 AM, mrfroasty mrfroa...@gmail.com wrote: On 05/16/2013 11:28 PM, Tedd Sperling wrote: So, if you find a good reference, please let me know. In my point of view, Interfaces and Abstracts are completely different stuffs not related at all.Interface is a kind of a way

Re: [PHP] ODBC

2013-05-19 Thread georg
Mailinglist Sent: Sunday, May 19, 2013 2:35 PM Subject: Re: [PHP] ODBC Hmm, I just noticed GMAIL no longer replies to all, so here is all my correspondence that wasn't sent to the list. Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince

Re: [PHP] ODBC

2013-05-19 Thread georg
Actually who the heck has put SELinux in my machine ? anyone knows (is this a part of fedora ?) /g

Re: [PHP] ODBC

2013-05-19 Thread Larry Martell
On Sun, May 19, 2013 at 9:06 AM, georg georg.chamb...@telia.com wrote: Actually who the heck has put SELinux in my machine ? anyone knows (is this a part of fedora ?) Never used Fedora, but it's part of Red Hat and Centos, so would guess it's also part of fedora. You can disable SELinux with

Re: [PHP] ODBC

2013-05-19 Thread Ashley Sheridan
On Sun, 2013-05-19 at 17:06 +0200, georg wrote: Actually who the heck has put SELinux in my machine ? anyone knows (is this a part of fedora ?) /g SELinux is part of Fedora install. You can disable it (not recommended) or just follow one of the options it gives you depending on what you

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
better would be to allow apache acces to the module i.e. http://www.webhostingtalk.com/showthread.php?t=711418 Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Microsoft! They need to add TRUNCATE PARTITION in SQL Server

Re: [PHP] ODBC

2013-05-19 Thread Serge Fonville
Again to the list Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Microsoft! They need to add TRUNCATE PARTITION in SQL Server https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table 2013/5/19 Serge

Re: [PHP] ODBC

2013-05-19 Thread georg
To: la...@software-horizons.com Cc: georg georg.chamb...@telia.com; PHP Mailinglist php-general@lists.php.net Sent: Sunday, May 19, 2013 5:25 PM Subject: Re: [PHP] ODBC better would be to allow apache acces to the module i.e. http://www.webhostingtalk.com/showthread.php?t=711418 Kind regards/met

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-19 Thread Tedd Sperling
To all: Thanks to Stuart, I finally got it. The concept of Interface is a bit difficult to explain, but his excellent console made the concept clear. Many thanks to all for their efforts to educate me. Cheers, tedd _ t...@sperling.com http://sperling.com -- PHP

Re: [PHP] looking for a PDF generator class/library for PHP 5?

2013-05-18 Thread Ali Reza Sajedi
tcpdf is a good choice ali - Original Message - From: dealTek deal...@gmail.com To: PHP General list php-general@lists.php.net Sent: Saturday, May 18, 2013 3:05 AM Subject: [PHP] looking for a PDF generator class/library for PHP 5? Hi all, I'm looking into a good versatile PDF

Re: [PHP] ODBC

2013-05-18 Thread Negin Nickparsa
be in the distribution of fedora ?) br georg - Original Message - From: David OBrien dgobr...@gmail.com To: georg georg.chamb...@telia.com Cc: PHP General php-general@lists.php.net Sent: Monday, May 06, 2013 11:06 PM Subject: Re: [PHP] ODBC On Mon, May 6, 2013 at 3:32 PM, georg

Re: [PHP] looking for a PDF generator class/library for PHP 5?

2013-05-18 Thread dealTek
Thanks Jose and Ali - I will look into them. -- Thanks, Dave - DealTek deal...@gmail.com [db-3]

Re: [PHP] Moving from mysql functions to mysqli or PDO - which is best?

2013-05-18 Thread Matijn Woudt
On Sat, May 18, 2013 at 8:09 PM, dealTek deal...@gmail.com wrote: Hi folks, [post newbie abilities] - I'm attempting to move away from PHP mysql functions to something newer, either mysqli or PDO. I have read various things about them, but I'm curious at this point which would be best to

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Tedd Sperling
Nick: I thank you for your addition, but what you provided did nothing to explain the difference between abstract and interface. In your example: An abstract Shape with Circle and Square inheriting. OR An interface Shape with Circle and Square implementing. Does exactly the same

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Stuart Dallas
On 17 May 2013, at 14:04, Tedd Sperling tedd.sperl...@gmail.com wrote: I thank you for your addition, but what you provided did nothing to explain the difference between abstract and interface. In your example: An abstract Shape with Circle and Square inheriting. OR An

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Sebastian Krebs
2013/5/17 Tedd Sperling tedd.sperl...@gmail.com Nick: I thank you for your addition, but what you provided did nothing to explain the difference between abstract and interface. In your example: An abstract Shape with Circle and Square inheriting. OR An interface Shape with

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Tedd Sperling
Stuart: You said: An interface does what it says on the tin: it describes an interface that a class can then tell the world it implements. An abstract class provides functionality as well as an interface description. An abstract class cannot be instantiated, it can only be extended.

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Matijn Woudt
On Fri, May 17, 2013 at 4:04 PM, Tedd Sperling tedd.sperl...@gmail.comwrote: Stuart: You said: An interface does what it says on the tin: it describes an interface that a class can then tell the world it implements. An abstract class provides functionality as well as an interface

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Stuart Dallas
On 17 May 2013, at 15:04, Tedd Sperling tedd.sperl...@gmail.com wrote: Stuart: You said: An interface does what it says on the tin: it describes an interface that a class can then tell the world it implements. An abstract class provides functionality as well as an interface

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Přemysl Fiala
Interfaces...I will add my 2 cents to what was already said.You don't need them, but they improve quality of your code. Your application is easily maintained, improved, understandable, accessible, more cleaner, modules can be added easily...They implements some behavior (example):interface

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread David Harkness
On Fri, May 17, 2013 at 7:04 AM, Tedd Sperling tedd.sperl...@gmail.comwrote: To me there is no difference between an abstract class (without method declarations) and an interface. The key difference in OO languages that do not allow multiple inheritance is that you can always add an interface

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Thu, May 16, 2013 at 2:49 PM, Lester Caine les...@lsces.co.uk wrote: Matijn Woudt wrote: On Thu, May 16, 2013 at 10:43 AM, Lester Caine les...@lsces.co.uk mailto:les...@lsces.co.uk wrote: I'm having a problem with webtrees ... http://webtrees.net/ My copy is running on

Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Matijn Woudt wrote: It seems to me the session functions are failing, probably due to problems with the database. Have you checked that there actually is a ##session table in your database? You might want to add some debugging code to these functions, to check if errors occur with inserting or

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Fri, May 17, 2013 at 8:07 PM, Lester Caine les...@lsces.co.uk wrote: Matijn Woudt wrote: It seems to me the session functions are failing, probably due to problems with the database. Have you checked that there actually is a ##session table in your database? You might want to add some

Re: [PHP] Saving session to database

2013-05-17 Thread Andrew Ballard
I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Andrew On May 17, 2013 2:42 PM, Matijn Woudt tijn...@gmail.com wrote: On Fri,

Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Andrew Ballard wrote: I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Found the culprit ... Suhosin

Re: [PHP] looking for a PDF generator class/library for PHP 5?

2013-05-17 Thread Jose Nobile
Hi, try DOMPDF http://dompdf.github.io/, is a powerful conversor from HTML/CSS to PDF. Saludos, José Nobile On Fri, May 17, 2013 at 8:05 PM, dealTek deal...@gmail.com wrote: Hi all, I'm looking into a good versatile PDF generator class/library to use with PHP 5? --- Preferably one which

Re: [PHP] Saving session to database

2013-05-16 Thread Matijn Woudt
On Thu, May 16, 2013 at 10:43 AM, Lester Caine les...@lsces.co.uk wrote: I'm having a problem with webtrees ... http://webtrees.net/ My copy is running on http://webtrees.lsces.org.uk and you will see that it is throwing an error relating to the session handling. Running Apache 2.2.22,

Re: [PHP] php extension about php_stream_fopen_tmpfile()

2013-05-16 Thread Matijn Woudt
On Fri, May 10, 2013 at 3:37 AM, Bleakwind bleakw...@gmail.com wrote: I write a php extension. How can I user Zend API do that? where can I find some doc about file_handle-handle ? There's not really a place to ask questions for writing extensions, but most people here will not be able to

Re: [PHP] Saving session to database

2013-05-16 Thread Lester Caine
Matijn Woudt wrote: On Thu, May 16, 2013 at 10:43 AM, Lester Caine les...@lsces.co.uk mailto:les...@lsces.co.uk wrote: I'm having a problem with webtrees ... http://webtrees.net/ My copy is running on http://webtrees.lsces.org.uk and you will see that it is throwing an error

Re: [PHP] Trying to understand what I've broken to not allow mkdir() to work.

2013-05-16 Thread Alain Williams
On Thu, May 16, 2013 at 03:33:53PM +0100, Richard Quadling wrote: Hi. I'm running on a Mac with a Centos VM (via VirtualBox). Was running from from our SVN server. New repo, now running from GIT. The checkout is on my local machine (using Netbeans, LESS, etc.) The VM is running

Re: [PHP] Trying to understand what I've broken to not allow mkdir() to work.

2013-05-16 Thread Karim Geiger
Hi Richard, On 05/16/2013 04:33 PM, Richard Quadling wrote: Hi. I'm running on a Mac with a Centos VM (via VirtualBox). Was running from from our SVN server. New repo, now running from GIT. The checkout is on my local machine (using Netbeans, LESS, etc.) The VM is running Apache

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Francisco C Soares
On 05/16/2013 11:55 AM, Dan Joseph wrote: Hey Folks, I'm looking to refine my PHP 5 OOP skills. I know the basics, understand patterns, but have clearly missed a few things along the way. Do any of you have some real good PHP 5 OOP tutorials/reads bookmarked you could share? Something other

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
Thanks! This looks like a good start. Covers some things I have questions on. I like his approach. Now I just need something advanced to continue on after this. I'd like to learn more about extending, interfaces, abstracts, and why/when they should be used. Appreciate it! -Dan On Thu, May

Re: [PHP] Trying to understand what I've broken to not allow mkdir() to work.

2013-05-16 Thread Richard Quadling
On 16 May 2013 15:42, Karim Geiger gei...@b1-systems.de wrote: Hi Richard, On 05/16/2013 04:33 PM, Richard Quadling wrote: Hi. I'm running on a Mac with a Centos VM (via VirtualBox). Was running from from our SVN server. New repo, now running from GIT. The checkout is on my

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Tedd Sperling
-Dan: I teach this stuff and still don't fully understand the why/when for interfaces. Even the guru's I talk with can't give me a good explanation as to what the advantages are in using them. I've done a lot of experimenting and can't see any advantage for them other than grouping different

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Nick Khamis
OO comes from the heart. You know you have it when everything you look at turn into objects, attributes, accessors, mutators, and constructors. When IBM transitioned from functional to OO level programming, they had their top level engineers walk into a room and tell their employees that 80% of

<    4   5   6   7   8   9   10   11   12   13   >