[fx.php_list] Re: A question about uploading files in PHP on a Linux box

  • From: Dale Bengston <dale.bengston@xxxxxxxxx>
  • To: fx.php_list@xxxxxxxxxxxxx
  • Date: Thu, 22 Dec 2016 12:47:52 -0500

Hi Bob,

I think you can figure this out by sticking phpinfo(); on one of your pages and 
looking at the table under the header PHP Variables. There should be some paths 
to scripts exposed there, which will help you verify the full path to your 
uploads.

Hope this helps,
Dale


Dale Bengston, Owner
Streamline Studio, LLC
Rockville, MD USA

On Dec 22, 2016, 12:29 PM -0500, Bob Patin <bob@xxxxxxxxx>, wrote:

I need to write an upload script for a website that’s hosted on a Linux box. 
I’ve done this lots of times on Mac servers, and the path looks something 
like this:

/Library/WebServer/Documents/clientname/admin/uploads/

That’s the whole path to the "uploads" folder, after the HD itself.

On a Linux box, would it be the same (the whole path minus the actual HD’s 
name)?

If anyone has written one of these little scripts for a Linux web server, 
your help would be much appreciated.

Thanks,

Bob Patin
Longterm Solutions
bob@xxxxxxxxxxxxxxxxxxxxx
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin@xxxxxx
Twitter: bobpatin

FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

Other related posts: