"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
> 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
"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 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
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
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;
}
?>
---
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
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
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
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
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
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
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
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
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
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.
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
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
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
19 matches
Mail list logo