[PHP-DB] global var

2005-03-15 Thread H. J. Wils
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

[PHP-DB] POST-value form a textarea

2004-12-03 Thread H. J. Wils
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

[PHP-DB] get POST-value from a textarea

2004-12-03 Thread H. J. Wils
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

RE: [PHP-DB] POST-value form a textarea

2004-12-03 Thread H. J. Wils
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

[PHP-DB] POST problem, extended

2004-12-03 Thread H. J. Wils
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

RE: [PHP-DB] POST problem, extended

2004-12-03 Thread H. J. Wils
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

RE: [PHP-DB] POST problem, extended

2004-12-03 Thread H. J. Wils
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

Re: [PHP-DB] POST problem, extended

2004-12-03 Thread H. J. Wils
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

RE: [PHP-DB] Question: Putting separate form elements into an array

2004-10-17 Thread H. J. Wils
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:

[PHP-DB] session

2004-10-17 Thread H. J. Wils
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])) {

Re: [PHP-DB] session

2004-10-17 Thread H. J. Wils
: 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

[PHP-DB] endless loop / running as a service?

2004-07-13 Thread H. J. Wils
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

[PHP-DB] [PHP]: session problem

2004-06-24 Thread H. J. Wils
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

RE: [PHP-DB] [PHP]: session problem

2004-06-24 Thread H. J. Wils
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