Something like:
select date_format('unix-timestamp', yoursessiontimestampcolumn) from
sessiontable;
Then, you can just use time() and subtract to get the number of seconds, and
divide by 60 for the minutes.
Or, better yet, you can use MySQL functions to select sessions that are
old/new or
You can get here:
http://monica.inf.ufsc.br/Docs/MySQL.pdf
see you.
Augusto
On Fri, 3 Aug 2001, Andreas D. Landmark wrote:
At 03.08.2001 10:36, Pere Vineta wrote:
Dear friends,
Any one of you know when PHP Manual in PDF Format will be available?
Thanks
Probably when Adobe stops
why am i the bush?
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
- Original Message -
From: Tim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 7:23 AM
Subject: Re: [PHP] Adopt A
and since you're running Win32, i'd *highly* suggest
running apache to a service... so that you dont have
to spawn a console window everytime you want to
use your webserver.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 5:52
ASP is basically like PHP, only it uses a VB-based
language instead of perl/c-based one.
which means it sucks - vb is evil.
-Original Message-
From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] Spot the difference?
isnt this fact a good enough reason to believe it
So you're saying that I should be able to pass the = sign in just fine
into the fopen call with no errors? I understand what you mean that if
= was what the variable was defined as, then THAT is where I'd use
urlencode ;) I wasn't too sure about that, but now I am.
Quite odd that it reports
Why you ppl. do this:
if ($condition) {
file://action 1
file://action 2
file://action 3
}
Because they have been saved.
instead of this:
if ($condition)
{
file://action 1
file://action 2
file://action 3
}
Because they are damned to hell.
:-)
- file 1 ---
What filename is this?...
?
session_start();
if (!isset($var1)) {
session_register(var1);
session_register(var2);
header(location: index.php);
That should be Location with a capital 'L'. It matters.
If you are using Cookies for sessions, then
Naive Question:
Your BIND server is running on port 1?...
Is that for sure? I would have expected a port number 1024.
I believe the protocal (3rd arg) argument to socket() should be 'udp' or
'tcp' rather than the documented int type and value of 0 you used... At
least, there's a
I am currently working with a hosting company that is striving to attain
everything you all have mentioned. Check out
http://www.eaccounts.net/ref/jp52950052/referer=emaillink
I do the Beta testing for them and have all of my sites hosted there. If
there is something missing, let me know and
Ditto!
At 13:27 2/08/2001 -0400, Jeff Lewis wrote:
Ok, I have to admit, that made me laugh out loud here in the office :)
Jeff
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 1:05 PM
Subject: RE: [PHP] Oh and one more
Now I can do one or two of these seperate but can anyone suggest a logic
to
take to allow someone to say: I'd like to search for Computer Programmers
between 1 and 3 years experience in Kitchener and that have these
keywords.
But the next person may come and say I want Computer Programmers
There is a nice library that handles this called pcltar at
http://phpconcept.free.fr/index.en.php3
on 8/2/01 11:37 PM, Eduarko Kokubo wrote:
I'm still trying to compress an entire directory on a linux server to be
decompressed probably in windows client. I'm trying to use exec command and
Kyle Smith schrieb am Donnerstag, 2. August 2001, 22:36:57:
Ok, im trying to cut down on the posts here but this time im really stuck, so could
somebody guide me through the usage of mySQL and PHP and show me how to input data
into a mySQL database and read
it, or just redirect me to
Darren, et. al.,
Everything gets posted here - general syntax, database and install
questions. Just look at the volume of php-mysql related questions; if they
were directly posted on php-db the volume would drop to a more manageable
level. Similarly, usage of php-install would help reduce
Ok, I have to admit, that made me laugh out loud here in the office :)
Jeff
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 1:05 PM
Subject: RE: [PHP] Oh and one more thing
it's a little bit complicated, but here goes.
Hi Kyle,
Yes, one such ultimate tutorial exists, it's called the PHP Manual. It's
large and nice and contains many examples and user comments. If you find
it scary, try out some less ultimate tutorials first. Go through the
tutorials on devshed.com phpbuilder.com zend.com and related
I have a file written by C whit a c-style struct like this:
struct BACACHE
{
char author[300][100];
int top;
time_t uptime;
time_t touchtime;
int busystate;
};
is there any way to get these data into PHP with certain variable type ?
I've tried to use unpack() function, but I found
Hello everyone,
Need some help. I installed phpMyAdmin on this new server and cannot
get it to work. I've installed this tool many times, so i'm pretty
comfortable with the installation process. However, I've never ran into
the errors I am getting today.
The server is
He's young. Impatience is a documented feature of the youth of today (hmmm,
am I old now ;( )
I've was helping him offlist with php/mysql yesterday - he seems to have it
installed now. All he needs to do now is learn php, and mysql, and
courtesy.
Shouldn't take more than another thousand or
functions that have many multiple exit points
This is your real problem. Don't do that.
Re-structure the logic to have one, and only one, exit point to the function
at the bottom.
Non-local exit (exit points not at the end of a function) should be reserved
for truly disastrous situations
add yourself to the apache group in the groups file. This will allow you to
do a chmod for the group on the apaceh dir so you are able to write to it.
chmod +775 I think you would want to do on the directory.
C
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
WHY AM I GEORGE BUSH!?!?!?
-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
- Original Message -
From: B. van Ouwerkerk [EMAIL PROTECTED]
To: Tim [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday,
101 - 123 of 123 matches
Mail list logo