[PHP] Re: File upload HELP!!!

2003-06-27 Thread Dustin Pate
I believe your problem has something to do with the fact that the filename has spaces in it. "Ian Young" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Tearing our hair out here. Have been trying for ever to get files to upload. > The good news. We are connecting to database and obt

[PHP] Re: unique random id

2003-06-19 Thread Dustin Pate
session_code_length - 1; $index++) { $sid .= substr($Puddle, (mt_rand()%(strlen($Puddle))), 1); } ?> That should work. "Awlad Hussain" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] How do i generate a unique random number? thanks awlad -- PHP General Mailing L

[PHP] Re: cache

2003-06-12 Thread Dustin Pate
"Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > what code can I put at the begining of a php page so that the result from > the cache is never shown ? > > The following code should eliminate the cache for every broswer out there. -- PHP General Mailing List (

Re: [PHP] Downloading a file.

2003-06-12 Thread Dustin Pate
dow, which will be closed automatically when it's discovered to be a file download instead, and then do what ever you want in the main browser window? Dustin Pate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Good Hosting company

2003-06-09 Thread Dustin Pate
http://www.meubox.net is a good hosting company. Check out the prices, and if you would like to setup an account contact me at [EMAIL PROTECTED] "Awlad Hussain" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] anyone knows any good cheap hosting company in UK/US?? with good support.

[PHP] Re: Execute command which has root privileges

2003-06-08 Thread Dustin Pate
You could use sudo, if your system has that. That's what I do for the rare occasion I have to call a script with root perms. But use sudo with care! "Vijaypatel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, I am using FreeBSD 4.7 ,PHP 4.2.3 & Apache 1.3 I want to execute

Re: [PHP] XML Parser Problem

2003-06-07 Thread Dustin Pate
> On Sun, 8 Jun 2003, Dustin Pate wrote: > > > Fatal error: Call to undefined function: xml_parser_create() in > > /home/httpd/rootdir/sstats/includes/XPath.class.php on line 1410 > > > > I now get this error on my phpsysinfo page. I have changed nothing in my > >

[PHP] XML Parser Problem

2003-06-07 Thread Dustin Pate
Fatal error: Call to undefined function: xml_parser_create() in /home/httpd/rootdir/sstats/includes/XPath.class.php on line 1410 I now get this error on my phpsysinfo page. I have changed nothing in my install except for updating recently. My Linux Flavor is Gentoo if that helps. If you need fu