Anyone know how to update a record on logout, heres what i am using for
login, however there iare no variables for the logout page.
?
session_start(); // Start Session
include(connect.php);
$username = $_POST['username'];
$password = $_POST['password'];
// Register some session variables
Hi,
When someone hit the logout page say logout.php.
You can write the code in that page itself to update
the record. Since the username of that particular user
is stored as a session as long as the user closes the
browser window.
So in the logout page you can add like this.
For example I want to math this stream:
123 mm 334
What is the pattern that math with this stream?
Thanks
On 4/29/05, Malcolm Mill [EMAIL PROTECTED] wrote:
What is it you want to do?
On 4/29/05, Khorosh Irani [EMAIL PROTECTED] wrote:
Hello
I have a question:
What is in the role of
Khorosh Irani wrote:
For example I want to math this stream:
123 mm 334
What is the pattern that math with this stream?
Thanks
123[[:space:]]+mm[[:space:]]+334
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Richard for your answer
Il giorno 29/apr/05, alle 10:07 PM, Richard Lynch ha scritto:
If you're just going to delete the files after your script is done, why
copy them somewhere else at all?
Your best bet is to try and use the /tmp dir, or, more properly, what
PHP
thinks is a good place
I sent this about a week ago, but I forgot to 'reply to all', and send
it to the list.
Thanks Rolf for pointing that out to me.
I'm not totally sure, but this might work. I'm too tired to understand
rolf's masks, but:
?php
function bin2int($bin){
$a = bindec($bin);
return ($a 128) ? ($a) :
* Khorosh Irani [EMAIL PROTECTED]:
For example I want to math this stream:
123 mm 334
What is the pattern that math with this stream?
Depends on what regexp function you use, what exactly you want to match,
and whether or not you want to know, after you match, any of the
segments. Rasmus has
Karin van den Berg wrote:
Hi,
I am on a quest for a new good webhost and I am currently using a trail
account at a host that seems pretty good, but has one problem. I cannot
turn register_globals off. They don't allow php_flag/php_value in
.htaccess for security reasons but in this case it's
Ross Hulford wrote:
Hi,
I have a table with 15 columns or so that has been inherited from an older
db and am trying to insert an auto increment column (in mysql) without
having to number it manually. This is fine when I add new colums via a form
but the old entries have a null value
You also need to recognize that you are going to need presentation-layer
logic. You simply can't get around that and you shouldn't confuse
presentation-level logic, which can be quite complex, with the business
logic behind your application. I often see people make the mistake of
trying to
The DOM implementation i PHP5 allows classes to be extended. Extending
the Document class is no problem, but how can I extend the Element class
and use it in a DOM tree?
DOMDocument::createElement returns a DOMElement object which you cannot
extend.
Could this be a solution?
class MyElement
Hello,
Penghui Wang wrote:
Hi lists:
I am new here. And i know little about php. Sorry ask so stupid
question.
snipped ...
$headers .= Content-Transfer-Encoding: UTF-8\n;
$headers .= Content-Type: text/plain; charset=utf-8\n;
snipped ...
head
title/title
meta http-equiv=Content-Type
i've been doing some reading on optimizing php for fastest performance.
are there any benifts to configure php with:
--enable-inline-optimization
also running eAccelerator.
these are my current options:
--with-apache=../apache_1.3.33 \
--with-mysql=/usr/local/mysql \
--with-xml \
--with-gd \
Sebastian wrote:
i've been doing some reading on optimizing php for fastest performance.
are there any benifts to configure php with:
--enable-inline-optimization
That's the default now, so no, you don't need that.
also running eAccelerator.
these are my current options:
On 4/30/05, Erik Franzén [EMAIL PROTECTED] wrote:
The DOM implementation i PHP5 allows classes to be extended. Extending
the Document class is no problem, but how can I extend the Element class
and use it in a DOM tree?
DOMDocument::createElement returns a DOMElement object which you cannot
Hey,
I know this belongs more on the mysql list, but I'm not a member there and I
dont often have problems queries plus dont have time to join then ask just
this one q and then unsub...so if possible please help :-)
I have these two tables:
jappz_guestbook(owner_cno, sent_datetime, is_secret,
Hi again
On 4/30/05, Christian Stocker [EMAIL PROTECTED] wrote:
On 4/30/05, Erik Franzén [EMAIL PROTECTED] wrote:
The DOM implementation i PHP5 allows classes to be extended. Extending
the Document class is no problem, but how can I extend the Element class
and use it in a DOM tree?
Hi Pablo,
Thanks for replying.
The problem is the images are not coming properly
go here :http://www.jappz.com/prob.gif and you will see the results i am
getting when
i should be getting the images according to the red arrows there.
Thanks,
Ryan
On 5/1/2005 1:56:23 AM, Pablo Gosse ([EMAIL
On Fri, April 29, 2005 4:36 pm, Philip Olson said:
I remember in Perl I used to extract vars from a single fetchrow by
adding
each var name to the beginning (like this). Only this ain'ta workin
:)...
Anyone know the right syntax to do this?
($var1, $var2, $var3)=
Richard Lynch wrote:
On Fri, April 29, 2005 4:36 pm, Philip Olson said:
I remember in Perl I used to extract vars from a single fetchrow by
adding
each var name to the beginning (like this). Only this ain'ta workin
:)...
Anyone know the right syntax to do this?
($var1, $var2, $var3)=
Christian Stocker wrote:
Does not work, will never work, just forget about it ;)
Ok, that was not the really right answer ;) Of course it does work.
You can even do stuff on that element, if you use the variable, resp.
reference ($oMyElement) for doing this.
What doesn't work (and I referred to
21 matches
Mail list logo