Re: [PHP-WIN] Date Problem

2012-06-21 Thread John Harris
On 21 Jun 2012 8:43, Huiberts, Pieter J. wrote > Sorry gentlemen, quick question how do I unsubscribe from this list? > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Follow the information provided? -John -- PHP Windows Mailing List

Re: [PHP-WIN] phpinfo script loading time

2012-02-18 Thread John Harris
On Sat, Feb 18, 2012 at 11:03 PM, Mayur Patil wrote: > > I installed Apache 2.2.22 and PHP 5.3.10. > So, when My internet connection is active, > phpinfo script runs fast as well as the > apache index.html. > But when I disconnect from internet, > the compilation of PHP script again goes > slow. I

[PHP-WIN] Unsubscribe (was FW: [PHP-WIN] Politics)

2008-10-24 Thread John Harris
On 23 Oct 2008 17:04, Bill Bolte <[EMAIL PROTECTED]> wrote > I've tried unsubscribing 3 times from this list and it never takes. What > do I have to do to get off it? You could try following instructions. (They are included in the headers of every message.) list-help:

Re: [PHP-WIN] I don't know what I'm doing wrong

2008-09-15 Thread John Harris
ntained under my "test" directory > > --- On Thu, 9/11/08, John Harris <[EMAIL PROTECTED]> wrote: > > I can't see a problem if your connection.php file is located off the > practice.php folder. > > C:\wamp\www\WebRoot\Test\Images\Connections\connecti

Re: [PHP-WIN] I don't know what I'm doing wrong

2008-09-11 Thread John Harris
On 11 Sep 2008 14:45, Daniel Wagner wrote > (This is my connections.php) > > $db  =   mysql_select_db($database, $link); > ?> > > (And this is my practice.php) > > require_once("Connections/connection.php");  //database connection > [snip] > When I try to view the page I get this back: >

Re: [PHP-WIN] windows path problem: failed to open stream: No such file or directory

2006-12-18 Thread John Harris
On 16 Dec 2006 at 21:53, Nii Amon Dsane wrote: > require_once "../folder2/SomeClass.php"; > > I get this error: > > *Warning*: main(../folder2/SomeClass.php): failed to open stream: No such > file or directory in *C:\Program > Files\xampp-php\xampp\htdocs\inside\classes\folder1\ThisClass.php* on

RE: [PHP-WIN] Finding a percentage

2006-05-31 Thread John Harris
On 31 May 2006 at 9:09, Luis Moreira wrote: > This is not exactly a PHP issue, it is straight math !!! > > Percent = value / (max - min) Don't forget to range the value (if unlike the original question, the minimum is not zero) and multiply by 100. Percent = ( (value - min) / (max - min) ) * 1