Re: [PHP] Anyone else doing PHP on Symbian?

2008-02-05 Thread Cameron Just
More info can be found here... When I get my Nokia N82 I am going to try it out. http://wiki.opensource.nokia.com/projects/PAMP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Optimized PHP

2007-10-02 Thread Cameron Just
One trick that one of my friends has taught me is to only use double quotes "s where needed as they are parsed by PHP and instead use single quotes 's i.e. $fred['john'] = 10; is better than $fred["john"] = 10; or echo 'This is some text' . "\n"; instead of echo "This is some text\n"; He told

[PHP] SFTP connections via PHP

2007-09-25 Thread Cameron Just
Hi All, Just wondering if anyone has had any success getting a connection working with PHP via SFTP. I am running Win 2003 Server PHP Version 5.1.6 Win32 OpenSSL v0.9.8e Light is installed PECL module for SSH2 is installed The following code - // create connetion

[PHP] Including files within a class definition

2004-07-04 Thread Cameron Just
Hi, I have a program which generates classes based on table structures within a database. However there are a few times where I need to put custom methods within these generated classes. I want to be able to do this but php gives an error for the following include class generatedClass { var $t

[PHP] Sessions on clustered machines

2002-06-05 Thread Cameron Just
Hi, Just wondering if sessions can be shared on clustered webservers? ie one location for session.save_path which is shared amongst many machines. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Database connection problem

2002-03-25 Thread Cameron Just
Hi, Genenally you can use 'localhost' as the hostname username 'root' and the password is blank. I beleive this is a default user when mysql is installed. The details about how to connect are in the database 'mysql' and the table 'user'. You should probably add a new user specifically for your p

Re: [PHP] Regular Expression Challenge

2002-03-25 Thread Cameron Just
\ / Microsoft Security > Specialist: > X The moron in Oxymoron. > / \ http://www.thebackrow.net > > On Mon, 25 Mar 2002, Cameron Just wrote:

Re: [PHP] Regular Expression Challenge

2002-03-25 Thread Cameron Just
"/'([a-z]+)-([a-z]+)\s(?:([0-9]+(?::[0-9]+|))(?:,\s)?)*'/" > > -- > Matt > > - Original Message - > From: "Cameron Just" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, March 25, 2002 6:15 AM > Subject: [P

[PHP] Regular Expression Challenge

2002-03-24 Thread Cameron Just
Hi, I am trying to pull out the following information via a regular expression. The string I am searching on is 'wed-thurs 9:35, 14:56, 18:35' and I want it to retreive wed thurs 9:35 14:56 18:35 The regular expression I am using is ([a-z]+)-([a-z]+) +([0-9]{1,2}:?[0-9]{0,2})[, ]* It seems to

[PHP] Classes within classes (Should I do this?)

2001-12-04 Thread Cameron Just
Hi, Is this a bad thing to do have a class stored within another class? I would also like to store an array of another class within a class. It seems to work apart from the fact that I can't reference an array of class directly. ie $test_array[0]->get(); This gives an error. Example code. -

[PHP] Anyone have the wording for a license for clients?

2001-03-22 Thread Cameron Just
important points I have missed? I know the law is very different from country to country but I'm sure much of this would be the same. Cameron Just ([EMAIL PROTECTED]) Phoenix Digital Develo

[PHP] Windows Share access with filesystem functions.

2001-01-30 Thread Cameron Just
wroot\thisfile.phtml I have used escape characters when referencing the directories too. $filename = "nt4server\\wwwroot\\thisfile.phtml" It still doesn't work. Is there something on my NT box that I need to set up? Thanks *****