[PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
I've got a d/e screen that collects a path and a file name. My script then attempts to verify that the file exists before moving on to do things with it. I've displayed the combined fields and they are showing correctly - ie, c:\temp\emax.pdf as well as c:/temp/emax.pdf . But when I use that

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
On Monday, 25 April 2011 at 00:26, Jim Giner wrote: I've got a d/e screen that collects a path and a file name. My script then attempts to verify that the file exists before moving on to do things with it. I've displayed the combined fields and they are showing correctly - ie,

Re: [PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
Hmmm... did not realize that. From all the code I examined I thought it was looking at the client. So how does one do a file upload from the client to the host? Preferably with ftp rather than http. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
On Monday, 25 April 2011 at 01:07, Jim Giner wrote: Hmmm... did not realize that. From all the code I examined I thought it was looking at the client. So how does one do a file upload from the client to the host? Preferably with ftp rather than http. FTP is a completely separate system

Re: [PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
because I've seen many comments in my research that ftp is better for larger files. I'm trying to upload photos so I know that they can be big. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
On Monday, 25 April 2011 at 01:24, Jim Giner wrote: because I've seen many comments in my research that ftp is better for larger files. I'm trying to upload photos so I know that they can be big. Considering the number of websites out there that use HTTP POST for uploading photos I really

Re: [PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
Well, I'll take your word for it. As well as that of all the examples on Google that come up when looking for php ftp uploads which are NOT doing ftp uploads at all. Seems that many people are calling the 'move' of their file from one host folder to another an 'upload'. Thanks! -- PHP

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
You're probably seeing references to the move_uploaded_file PHP function which is used when processing an HTTP POST file upload. However, the fact that a simple query like that didn't give you anything related should tell you how often FTP upload is integrated into a website. Modify your search