Hi,
I want to use a global var, but it doesnt seem to work.
This how it should be right?
?
$txt = text;
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
Hello,
How can i get, in PHP, de value from a textarea, using the POST-method.
$_POST['var'] doesn't seem to work...
tnx in advance,
Henk Jan
_
Play online games with your friends with MSN Messenger
http://messenger.msn.nl/
--
PHP
Hello,
Does anyone know how i can get a value, in PHP, from a textarea, using the
POST method?
Thnx in advance!!
Henk Jan
_
Hotmail en Messenger on the move
http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/
--
PHP Database
PROTECTED]
X-Sender: [EMAIL PROTECTED]
Received: from 66.38.136.63 by by21fd.bay21.hotmail.msn.com with HTTP;Fri,
03 Dec 2004 21:58:11 GMT
show code
bastien
From: H. J. Wils [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] POST-value form a textarea
Date: Fri, 03 Dec 2004 22:17:08 +0100
Hello
simplified, my code is as follows:
document
--
?php
$_SESSION['mailtxt'] = $_POST['Body'];
?
form
textarea name='body'?php $_SESSION['mailtxt'] ?/textarea
input type=submit
/form
recalling: in some way, is
forgotten... off course I use the echo... :-)
in some strange way, it only works with a limited size of charactes in the
sended variable :-S
From: Oscar Rylin [EMAIL PROTECTED]
To: 'H. J. Wils' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP-DB] POST problem, extended
Date: Fri, 3 Dec
I do!
From: Neal Carmine [EMAIL PROTECTED]
To: 'H. J. Wils' [EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: RE: [PHP-DB] POST problem, extended
Date: Fri, 3 Dec 2004 16:19:15 -0700
MIME-Version: 1.0
Received: from mc7-f41.hotmail.com ([65.54.253.48]) by mc7-s18.hotmail.com
with Microsoft SMTPSVC
more.
Any other suggetions? Getting crazy around here. :(
From: Clod [EMAIL PROTECTED]
To: H. J. Wils [EMAIL PROTECTED]
Subject: Re: [PHP-DB] POST problem, extended
Date: Sat, 04 Dec 2004 08:14:11 +0800
MIME-Version: 1.0
Received: from pycontech.com ([202.57.71.234]) by mc9-f17.hotmail.com
Hi everybody,
For quite a while i'm struggeled with my session. It doesn't seem to work,
can anyone help me?
This is my code:
page 1:
session_start();
$_SESSION[test] = tryin...;
if (isset($_SESSION[test]))
{
echo a href='session2.php'next page/a;
echo br.session_id();
}
page 2:
sorry, forgot to change the subject :), just to be sure here is my question
again..
Hi everybody,
For quite a while i'm struggeled with my session. It doesn't seem to work,
can anyone help me?
This is my code:
page 1:
session_start();
$_SESSION[test] = tryin...;
if (isset($_SESSION[test]))
{
:
On page 1:
if session is set
{
$s = SID;
echo a href=\page.php?$s\Link/a;
}
- Original Message - From: H. J. Wils [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 17, 2004 9:38 AM
Subject: [PHP-DB] session
sorry, forgot to change the subject :), just to be sure here
I'd like to have a serverside script (php) who checks 24 hours a day wether
theres a file uploaded to my server. But I don't know if that is possible,
since, as far as I know, php only recognizes user actions.
But I don't know how to do this, can aynone help me?
Thanks in advance!!
PS: It's not
I want to use sessions to check wether a user is logged in or not.
Therefore,I use session_start and session_register. When I registere the
values on the same page, they all seem to work. But when I ask the value of
a registered session variable on another page, it is empty?!?! Does anyone
PROTECTED]
X-OriginalArrivalTime: 24 Jun 2004 15:53:08.0025 (UTC)
FILETIME=[57F45A90:01C45A03]
So, on your second page you NEVER see the Welcome... get echoed out? It
always forwards you to the user.php page?
-Original Message-
From: H. J. Wils [mailto:[EMAIL PROTECTED]
Sent: Thursday
14 matches
Mail list logo