Re: [PHP] Opendir on site root directory?

2009-03-08 Thread Stuart
2009/3/8 Clancy clanc...@cybec.com.au I want to index the files on a website recursively. The program will run in the site root directory, which GETCWD reports as D:/Websites/Website_1. I can open any file in the root directory simply using its file name; Joe.dat, for example, and I can

Re: [PHP] Backend autodatabase update

2009-03-08 Thread Andrew Williams
The Os is windows. so which is better way to keep the program constantly. The program get financial data from different system and update our database for another system to pick up. The pick up system is across the glob and because of global time difference, the program must be up running 24

Re: [PHP] Backend autodatabase update

2009-03-08 Thread Andrew Williams
*I want to check that the job is still running and start, if it stopped because the program is meant to consistently update for the global market?* On Sat, Mar 7, 2009 at 11:19 PM, George Larson george.g.lar...@gmail.comwrote: I'm new to the list, so maybe I've missed something. Please

Re: [PHP] Opendir on site root directory?

2009-03-08 Thread Clancy
On Sun, 8 Mar 2009 09:01:18 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au I want to index the files on a website recursively. The program will run in the site root directory, which GETCWD reports as D:/Websites/Website_1. I can open any file in the root

Re: [PHP] Opendir on site root directory?

2009-03-08 Thread Stuart
2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 09:01:18 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au I want to index the files on a website recursively. The program will run in the site root directory, which GETCWD reports as

Re: [PHP] Backend autodatabase update

2009-03-08 Thread George Larson
There are a lot of ways to tackle that problem but everything coming to mind involves third-party software. You can use Sysinternals PsListhttp://technet.microsoft.com/en-us/sysinternals/bb896682.aspx( http://technet.microsoft.com/en-us/sysinternals/bb896682.aspx) to look for your process. If

[PHP] verify data in fields

2009-03-08 Thread PJ
My mysql table contains data. But I don't know how to verify what exactly is the data... is it an array, an integer, an alphanumeric character or what? vardump($whatever) returns null; the structure of the table is no null for the column fields and has been filled like this: $autoid = 1; $test =

Re: [PHP] Long Execution Time - Safe Mode

2009-03-08 Thread Nitsan Bin-Nun
I don't know if it will work but it definitely worth's a shoot.. try to create a recursive call from your php page to the same php page, then in each call make let's say umm 10 edits, using this method you will probably be able to bypass the server's limitations, but I had never tested it so I

[PHP] web refreshing problem

2009-03-08 Thread Andrew Williams
Hi, my php program does not display current result of submitted form instead the previous content is shown until you refresh manually (which means resubmitting the form). Can someone help me out because, I want to display the result of the latest form result and not the old one. I am using

[PHP] PHP includes

2009-03-08 Thread Gary
I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to put the files once altered as with a template, however, is that the only advantage. My particular concerns are

Re: [PHP] PHP includes

2009-03-08 Thread Sudheer Satyanarayana
Gary wrote: I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to put the files once altered as with a template, however, is that the only advantage. My particular

Re: [PHP] PHP includes

2009-03-08 Thread George Larson
Right. There are several advantages to using included files. You can write routines that you're going to use repeatedly and just include the file with the code, instead of re-inventing the wheel, as they say. Consistency is another advantage. So, if you design your header, sidebar and footer

Re: [PHP] verify problem

2009-03-08 Thread 9el
On Sun, Mar 8, 2009 at 7:31 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sat, 2009-03-07 at 06:23 -0800, Michael A. Peters wrote: Ashley Sheridan wrote: I'm more a fan of lining up opening and closing brackets so they are at the same indent level. It prevents one of the

Re: [PHP] insert array values

2009-03-08 Thread Jim Lucas
PJ wrote: Jim Lucas wrote: PJ wrote: 9el wrote: On Sat, Mar 7, 2009 at 5:37 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: I've done some rethingking and this may be the direction to go: What I need to wind up with is something like this: $sql =

Re: [PHP] web refreshing problem

2009-03-08 Thread George Larson
Maybe you could use a javascript refresh? But that would still mean resubmitting the form. On Sun, Mar 8, 2009 at 11:35 AM, Andrew Williams and...@stocksignals.comwrote: Hi, my php program does not display current result of submitted form instead the previous content is shown until you

Re: [PHP] verify data in fields

2009-03-08 Thread Ashley Sheridan
On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know how to verify what exactly is the data... is it an array, an integer, an alphanumeric character or what? vardump($whatever) returns null; the structure of the table is no null for the column fields and

Re: [PHP] web refreshing problem

2009-03-08 Thread Ashley Sheridan
On Sun, 2009-03-08 at 15:56 -0500, George Larson wrote: Maybe you could use a javascript refresh? But that would still mean resubmitting the form. On Sun, Mar 8, 2009 at 11:35 AM, Andrew Williams and...@stocksignals.comwrote: Hi, my php program does not display current result of

Re: [PHP] verify data in fields

2009-03-08 Thread PJ
Ashley Sheridan wrote: On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know how to verify what exactly is the data... is it an array, an integer, an alphanumeric character or what? vardump($whatever) returns null; the structure of the table is no

Re: [PHP] insert array values

2009-03-08 Thread PJ
Well, I have everything more or less under control... just one little thingie... I was able to get everything working quite well... basically as I thought it should go with a little help from my friends, here on the list :-) many of my problems were small omissions and /or typos and misplaced

Re: [PHP] verify data in fields

2009-03-08 Thread George Larson
Ash certainly does raise an interesting point. :) Couldn't you just use DESCRIBE or EXPLAIN the tables through MySQL? On Sun, Mar 8, 2009 at 4:35 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sun, 2009-03-08 at 10:25 -0500, PJ wrote: My mysql table contains data. But I don't know

Re: [PHP] insert array values

2009-03-08 Thread Ashley Sheridan
On Sun, 2009-03-08 at 16:52 -0500, PJ wrote: Well, I have everything more or less under control... just one little thingie... I was able to get everything working quite well... basically as I thought it should go with a little help from my friends, here on the list :-) many of my problems

Re: [PHP] insert array values

2009-03-08 Thread PJ
Ashley Sheridan wrote: On Sun, 2009-03-08 at 16:52 -0500, PJ wrote: Well, I have everything more or less under control... just one little thingie... I was able to get everything working quite well... basically as I thought it should go with a little help from my friends, here on the list

Re: [PHP] insert array values

2009-03-08 Thread Ashley Sheridan
On Sun, 2009-03-08 at 17:52 -0500, PJ wrote: Ashley Sheridan wrote: On Sun, 2009-03-08 at 16:52 -0500, PJ wrote: Well, I have everything more or less under control... just one little thingie... I was able to get everything working quite well... basically as I thought it should go

Re: [PHP] Opendir on site root directory?

2009-03-08 Thread Clancy
On Sun, 8 Mar 2009 12:33:15 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au On Sun, 8 Mar 2009 09:01:18 +, stut...@gmail.com (Stuart) wrote: 2009/3/8 Clancy clanc...@cybec.com.au I want to index the files on a website recursively. The program will run

[PHP] Re: Database Abstraction Class

2009-03-08 Thread Micah Gersten
Michael A. Peters wrote: Anywhoo, that being said, does anyone have a suggestion for a good database abstraction class? Preferably one that already has decent support for several open source databases? Try Doctrine: http://www.doctrine-project.org/ From the website: What is Doctrine?

[PHP] Re: Database Abstraction Class

2009-03-08 Thread Shawn McKenzie
Micah Gersten wrote: Michael A. Peters wrote: Anywhoo, that being said, does anyone have a suggestion for a good database abstraction class? Preferably one that already has decent support for several open source databases? Try Doctrine: http://www.doctrine-project.org/ From the

[PHP] Re: Database Abstraction Class

2009-03-08 Thread Micah Gersten
Shawn McKenzie wrote: Micah Gersten wrote: Michael A. Peters wrote: Anywhoo, that being said, does anyone have a suggestion for a good database abstraction class? Preferably one that already has decent support for several open source databases? Try Doctrine:

Re: [PHP] Re: Database Abstraction Class

2009-03-08 Thread Chris
Wow, a proprietary language that I get to learn on top of the two that do the job and that I already know! Bonus! Not trying to be an ass, I haven't used doctrine, but they need some marketing help. My point is that the ability to write queries in a proprietary dialect is not really a

Re: [PHP] insert array values

2009-03-08 Thread PJ
Ashley Sheridan wrote: On Sun, 2009-03-08 at 17:52 -0500, PJ wrote: Ashley Sheridan wrote: On Sun, 2009-03-08 at 16:52 -0500, PJ wrote: Well, I have everything more or less under control... just one little thingie... I was able to get everything working quite well...

[PHP] stdin, stdout, stderr, 3

2009-03-08 Thread Richard Lynch
I have a program sending/receiving data to/from my CLI script using: 0 stdin 1 stdout 2 stderr 3 ?? 0, 1, and 2 are trivial. How do I access 3? I tried /dev/fd/3 and failed to open it... Got no error messages about why it failed to open, it just failed. Am I missing something? -- Some

[PHP] PHP Frameworks

2009-03-08 Thread HallMarc Websites
First time caller; long time listener.. I have been looking at various PHP MVC frameworks; Limb3, Symphony, Mojavi, Navigator, WACT, etc. I'm looking for any input anyone might have regarding which framework seems to be the most promising? Thanks, Marc

Re: [PHP] Re: Database Abstraction Class

2009-03-08 Thread Paul M Foster
On Sun, Mar 08, 2009 at 08:25:25PM -0500, Shawn McKenzie wrote: Micah Gersten wrote: snip Try Doctrine: http://www.doctrine-project.org/ From the website: What is Doctrine? Doctrine is an object relational mapper (ORM) for PHP 5.2.3+ that sits on top of a powerful database

Re: [PHP] PHP Frameworks

2009-03-08 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com --

Re: [PHP] PHP Frameworks

2009-03-08 Thread Paul M Foster
On Sun, Mar 08, 2009 at 11:54:01PM -0400, HallMarc Websites wrote: First time caller; long time listener.. I have been looking at various PHP MVC frameworks; Limb3, Symphony, Mojavi, Navigator, WACT, etc. I'm looking for any input anyone might have regarding which framework seems to

[PHP] Re: PHP Frameworks

2009-03-08 Thread Micah Gersten
HallMarc Websites wrote: First time caller; long time listener.. I have been looking at various PHP MVC frameworks; Limb3, Symphony, Mojavi, Navigator, WACT, etc. I'm looking for any input anyone might have regarding which framework seems to be the most promising? Thanks,

Re: [PHP] Re: PHP Frameworks

2009-03-08 Thread Micah Gersten
Chetan Rane wrote: HI I also was looking for various frameworks and came across a very nice framework, which is feature rich as well as very fast You can see more details at http://www.yiiframework.com/ Chetan Dattaram Rane | Software Engineer | Persistent Systems