Re: [PHP] Re: move_uploaded_file > 1MB

2003-06-04 Thread Yves Daemen
thats on the server , check if the temp file is there with > $_POST['tmp_name'] or its size value > > -Original Message- > From: Yves Daemen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 7:44 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: move_uploade

[PHP] Re: move_uploaded_file > 1MB

2003-06-04 Thread Yves Daemen
I got the same error some time ago, and I almost went nuts trying to find the cause of this seemingly "insoluble" problem. But it has actually nothing at all to do with your script or the max_file_size in PHP or the one you give with the HTML form. Those are offcourse 2 limits which are important,

Re: [PHP] Creating favorites

2003-06-04 Thread Yves Daemen
Adding the icon is done like this (grabbed it from the php.net site): http://static.php.net/www.php.net/favicon.ico"; /> "Edward Peloke" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > I know you can use javascript to add the bookmark to the favorites folder, > not sure how to add

[PHP] Re: determine action of a form dynamically?

2003-06-04 Thread Yves Daemen
Best way to do this, in my opinion, is by using a javascript-code like this The javascript function would then look like this: function processForm(url) { document.forms[0].action = url; document.forms[0].submit(); } "Mukta Telang" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTE

[PHP] Re: convert seconds to hours, minutes, seconds

2003-06-03 Thread Yves Daemen
It's just some mathematics: assume $time is the value in seconds: $secs= $time % 60; $totalMinutes = ( $time - $secs ) / 60; $minutes = $totalMinutes % 60; $hours = ( $totalMinutes - $minutes ) / 60; Now you can do like this: echo "$time secondes is $hours hours, $minutes minutes and $sec

[PHP] Re: unable to register session variables

2002-05-23 Thread Yves Daemen
First make sure you have done a session_start() If that's not the problem, why not trying this syntax $_SESSION["layer"] = $layer; Think it's easier when looking at your session_vars as if it was an array, which it is actually... "Pushkar Pradhan" <[EMAIL PROTECTED]> schreef in bericht [EMAIL

[PHP] Session vs MySQL-dbase

2002-05-22 Thread Yves Daemen
Hi everyone, since I'm developing a PHP-based forum, and still improving it, I was wondering about some issue. I'm having registered users, and keep their data in a dbase. When they log in, data is retrieved from the database. Now some slight "problem" comes up. I'm working on an account on

[PHP] Session vs MySQL-dbase

2002-05-22 Thread Yves Daemen
Hi everyone, since I'm developing a PHP-based forum, and still improving it, I was wondering about some issue. I'm having registered users, and keep their data in a dbase. When they log in, data is retrieved from the database. Now some slight "problem" comes up. I'm working on an account on a se