[php-list] How to use phpsuexec

2006-04-21 Thread Michael Sullivan
I have installed mod_suphp (for phpsuexec).  The problem is that it wants me to set the docroot variable.  Can I set it to multiple values? I use UserDir in apache2, so the docroot would have to be /home/*/webspace/html (and possibly many directories under that.)  Is this legal?  Is there anothe

Re: [php-list] File Upload

2006-04-21 Thread Tom Price
Here are header formats for several types. These are part of the actual data rather than a browser-provided mime association:      http://www.fastgraph.com/help/image_file_header_formats.html   http://semmix.pl/color/exgraf/eeg12.htm   Gordon Stewart <[EMAIL PROTECTED]> wrote:   Im designing

[php-list] File Upload

2006-04-21 Thread Gordon Stewart
Im designing a secure section of my site :- (passworded...) (not https - but just passworded) Im planning on adding a file-upload script, & have found this on the net... http://www.phpfreaks.com/tutorials/36/0.php My main query - Is to how do I test to see if the file is actually a JPG / GIF