Re: [PHP] Question

2001-01-12 Thread Simon Robson
> >Is there a way in PHP to get the size of a directory? (so I can see how >much disk space my users are using in their home directory). Maybe a system call to 'du' if you're on a unix/Linux system? Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP] Cookies

2001-05-14 Thread Simon Robson
Hi, You should look into output buffering: http://www.php.net/manual/en/ref.outcontrol.php There's a few tutorials listed in the user contributed notes at the end too. Simon At 10:10 14/05/01 +0100, Sascha Andres wrote: >hi, >i want to set cookies. >cookies can only be set before >and tags.

Re: [PHP] doubt regarding mysql & php

2001-07-28 Thread Simon Robson
At 14:11 28/07/01 +0530, Balaji Ankem wrote: > $sql2="UPDATE inventory SET inv_status="assigned" where > inv_tag='$inv_tag' "; // This is line number 29. Try: inv_status='assigned' -- use single quotes, not double. HTH, Simon -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] headers...

2001-08-30 Thread Simon Robson
the final '?>'')? It's an easy thing to overlook... Simon -- Simon Robson www.intropica.com -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

Re: [PHP] more on trimming

2001-02-17 Thread Simon Robson
Take a look at: http://www.php.net/manual/en/function.chop.php almost identical to perl's chomp(). At 13:46 17/02/01 +0530, jaskirat wrote: >Since this thread is running I would like to know the gurus' opinons on the >similar following situation > >Suppose there is a variable like this > >$var