to brighten everything a bit :-)

te code below is pseudo-code, that means use session_start(); in the correct way. I use the echo, to output the data.

More over, the code works fine for small sized variables, but whit huge data, thats why i use the post method, it doesn't seam to work any more.

Any other suggetions? Getting crazy around here..... :(

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 ([]) by mc9-f17.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Fri, 3 Dec 2004 16:23:15 -0800
Received: from [] by pycontech.com(MDaemon.PRO.v7.2.1.R)with ESMTP id md50000055129.msgfor <[EMAIL PROTECTED]>; Sat, 04 Dec 2004 08:24:17 +0800
X-Message-Info: JGTYoYF78jE/Mp0h+XGYF7nzR4dgbKBZ
User-Agent: Mozilla Thunderbird 0.8 (X11/20040913)
X-Accept-Language: en-us, en
References: <[EMAIL PROTECTED]>
X-Authenticated-Sender: [EMAIL PROTECTED]
X-Spam-Processed: pycontech.com, Sat, 04 Dec 2004 08:24:17 +0800(not processed: message from valid local sender)
X-MDaemon-Deliver-To: [EMAIL PROTECTED]
X-MDAV-Processed: pycontech.com, Sat, 04 Dec 2004 08:24:20 +0800
X-OriginalArrivalTime: 04 Dec 2004 00:23:16.0194 (UTC) FILETIME=[72C3CC20:01C4D997]

H.J. Wils,

Below code is means you're putting the content of $_POST['body'] to a session variable $_SESSION['mailtxt'],btw...put session_start() first...

$_SESSION['mailtxt'] = $_POST['Body'];

Below HTML code means that you're getting the content from $_SESSION['mailtxt'], however this form-textarea value has not yet set in the session var and echoing or putting it in textarea is useless...
<textarea name='body'><?php $_SESSION['mailtxt'] ?></textarea>
<input type=submit>

how about a try to output session posted data...

$_SESSION['mailtxt'] = $_POST['body'];

if (isset($_POST['body'])) {
echo "Session Data: ".$_SESSION['mailtxt'];
} else {
<textarea name='body'></textarea>
<input type=submit>


H. J. Wils wrote:

simplified, my code is as follows:
---------------------------------------------------- document --------------------------------------

$_SESSION['mailtxt'] = $_POST['Body'];


<textarea name='body'><?php  $_SESSION['mailtxt'] ?></textarea>
<input type=submit>

recalling: in some way, is de session variable not filled with the POSTed value...

---------------------------------------------------- end document --------------------------------

MSN Search, for accurate results! http://search.msn.nl

Hotmail en Messenger on the move http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to