Re: [PHP-DB] big data base

2005-03-15 Thread Kevin
"Martin Norland" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > luis medrano wrote: > > Hi All, > > > > I need you help. I need to design a very big data base, around 900GB > > or more of information but I never had design or manage this magnitude > > of information before. I really

Re: [PHP-DB] Queries close session

2005-03-15 Thread Matt Ferris
> normally people put all > their session check/start-up stuff in a seperate file and then include > that > when needed: > > > require "db_connect.inc"; > require "session.inc"; Of course, you would want to make sure any of your included PHP files have the .php (or equivilant) extension, thus pre

Re: [PHP-DB] most popular places

2005-03-15 Thread Kevin
"Micah Stevens" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > With mysql 4.1 you could union and then subSelect maybe? I'm not > super-familiar with sub selects, so this code won't likely run.. There is a unwritten rule that states: "If your db needs the use of unions the db is se

[PHP-DB] Re: recommending a PHP book?

2005-03-15 Thread Jeremiah Fisher
"PHP 5 Power Programming" by Andi Gutmans, Stig Bakken, and Derick Rethans may be worth the read for you. It doesn't mention an MVC, but they do talk a little about patterns in PHP. However, you probably won't find much in-depth coverage of patterns in PHP. There are alot of good books written

[PHP-DB] Re: recommending a PHP book?

2005-03-15 Thread Philip Olson
Do. Not. Cross. Post. Use ONE mailing list at a time. Please have all further replies to this unfortunate thread go to php-general and only php-general. Regards, Philip -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] global var

2005-03-15 Thread Henk Jan Wils
thnx.. it works! - Original Message - From: "J. Connolly" <[EMAIL PROTECTED]> To: "Henk Jan Wils" <[EMAIL PROTECTED]>; "PHP list" Sent: Tuesday, March 15, 2005 8:09 PM Subject: Re: [PHP-DB] global var you need to call the function function echo_txt() { global $txt; echo $txt; } ?> ---

Re: [PHP-DB] global var

2005-03-15 Thread Bastien Koert
You also need to call the function echo_text(); //call the function function echo_txt() { global $txt; echo $txt; } ?> From: "J. Connolly" <[EMAIL PROTECTED]> To: Henk Jan Wils <[EMAIL PROTECTED]>, PHP list Subject: Re: [PHP-DB] global var Date: Tue, 15 Mar 2005 14:09:43 -0500 you need to cal

Re: [PHP-DB] global var

2005-03-15 Thread J. Connolly
you need to call the function function echo_txt() { global $txt; echo $txt; } ?> --- i got no signature, jzf Henk Jan Wils wrote: sorry, thats the way i meant it... i have it that way, but it doesnt work... - Original Message - From: "Bastien K

Re: [PHP-DB] global var

2005-03-15 Thread Vladimir Rodionov
Hi, Shouldn't it be echo $txt? Vladimir. Novosibirsk, Russia. On Mar 16, 2005, at 00:38, H. J. Wils wrote: Hi, I want to use a global var, but it doesnt seem to work. This how it should be right? function echo_txt() { global $txt; echo $global; } ?> but it doesnt work

Re: [PHP-DB] global var

2005-03-15 Thread Henk Jan Wils
sorry, thats the way i meant it... i have it that way, but it doesnt work... - Original Message - From: "Bastien Koert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Tuesday, March 15, 2005 7:50 PM Subject: RE: [PHP-DB] global var no, that is not how it should be function echo_t

RE: [PHP-DB] global var

2005-03-15 Thread Bastien Koert
no, that is not how it should be function echo_txt() { global $txt; echo $txt; } ?> From: "H. J. Wils" <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] global var Date: Tue, 15 Mar 2005 18:38:13 + Hi, I want to use a global var, but it doesnt seem to work. This how it should

[PHP-DB] global var

2005-03-15 Thread H. J. Wils
Hi, I want to use a global var, but it doesnt seem to work. This how it should be right? function echo_txt() { global $txt; echo $global; } ?> but it doesnt work... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] recommending a PHP book?

2005-03-15 Thread Bastien Koert
Martin Fowler is the man behind most of this style of Enterprise Architecture (http://www.martinfowler.com/books.html#eaa) His Pof EAA is the definitive book on this and is used as the model for php bastien From: "Danny Lin" <[EMAIL PROTECTED]> To: php-db@lists.php.net, phpdoc@lists.php.net, ph

[PHP-DB] Re: recommending a PHP book?

2005-03-15 Thread Jim Plush
Hey Danny, no good books on that subject regarding php/mcv that I've seen but PHP Architecht has some good articles on MVC, I believe they have a free issue that has a huge article on PHP/MVC. www.phparch.com Danny Lin wrote: Can any one recommend a good book that discusses MVC design patterns w

[PHP-DB] recommending a PHP book?

2005-03-15 Thread Danny Lin
Can any one recommend a good book that discusses MVC design patterns with PHP (and mySQL)? Thanks. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] php and serial port

2005-03-15 Thread Rodrigo Cabeceiras
hi can php interact whit a serial port, (example com1 -> modem) and exchange info whit a modem(hayscommand) ? has any one tried ? thks rodrigo --- [This E-mail scanned for viruses by Declude Virus] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP-DB] variable and MySQL

2005-03-15 Thread Ross Honniball
Not entirely sure what you are wanting, but if you want a variable variable, just use a double $ sign. eg: $fred = 'var2'; $var2 = 'value of var 2'; echo $$fred; will echo 'value of var 2' At 10:14 AM 15/03/2005, you wrote: Hi, I'm trying to make a script but have a problem ... How could I do thi

Re: [PHP-DB] Queries close session

2005-03-15 Thread Jochem Maas
Adept-Hosting.Net Administration wrote: I am using the following script to maintain a login session on some pages: session_start(); if(empty($_SESSION['username'])) { die('An error has ocurred. It may be that you have not logged in, or that your session has expired

[PHP-DB] error handling

2005-03-15 Thread Chenri
hello, how can i use error_log( ) function to capture the error occured in my server, currently the Error warning is switched off and i can't turn it on because it is in production server the problem is the query miss some records, and i didn't see it's error message beside this code $err=my