Re: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread tedd
At 8:03 PM +0100 11/21/07, Jochem Maas wrote: tedd wrote: > Well, I wasn't able to get it to work -- I couldn't find where to change the FF settings (Mac). type 'about:config' into the address bar :-) I know I'll get a big argument from all of you about this, but sometimes I can be pretty

Re: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jochem Maas
Jay Blanchard wrote: > [snip] > huh? if I post a file to a script that returns a 204 status and nothing > else then the page should not change in the browser. > [/snip] > > True, the missing piece is that the post cannot move the file up to the > server. I was referring to a standard POST not us

Re: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jochem Maas
tedd wrote: > At 12:23 PM -0600 11/21/07, Jay Blanchard wrote: >> [snip] >> But, take a look at this: >> >> http://www.captain.at/ajax-file-upload.php >> >> They look like their blowing the same wind. >> [/snip] >> >> Yep, look at all of the gotchas. > > > Well, I wasn't able to get it to work --

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Andrés Robinet
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 21, 2007 3:24 PM > To: tedd; Jochem Maas > Cc: Colin Guthrie; php-general@lists.php.net > Subject: RE: [PHP] Re: uploading files... necessary Ajax? > > [snip] &g

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread tedd
At 12:23 PM -0600 11/21/07, Jay Blanchard wrote: [snip] But, take a look at this: http://www.captain.at/ajax-file-upload.php They look like their blowing the same wind. [/snip] Yep, look at all of the gotchas. Well, I wasn't able to get it to work -- I couldn't find where to change the FF

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jay Blanchard
[snip] But, take a look at this: http://www.captain.at/ajax-file-upload.php They look like their blowing the same wind. [/snip] Yep, look at all of the gotchas. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread tedd
At 11:49 AM -0600 11/21/07, Jay Blanchard wrote: [snip] Ahhh, so that's it. My twitchy little brain was thinking if I can send arguments to the server via ajax, then why can't I send ""multipart/form-data"? After all, data is data right? It might be too cpu intensive, but I can imagine js break

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jay Blanchard
[snip] Ahhh, so that's it. My twitchy little brain was thinking if I can send arguments to the server via ajax, then why can't I send ""multipart/form-data"? After all, data is data right? It might be too cpu intensive, but I can imagine js breaking down an image file in packets and then sendi

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread tedd
At 11:32 AM -0600 11/21/07, Jay Blanchard wrote: [snip] huh? if I post a file to a script that returns a 204 status and nothing else then the page should not change in the browser. [/snip] True, the missing piece is that the post cannot move the file up to the server. Ahhh, so that's it. My

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jay Blanchard
[snip] huh? if I post a file to a script that returns a 204 status and nothing else then the page should not change in the browser. [/snip] True, the missing piece is that the post cannot move the file up to the server. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jochem Maas
Jay Blanchard wrote: > [snip] > So that I can get my head around this, are all of you saying there is > no Ajax equivalent of: > > > > > > > > We can't in some way use the ajax post method to send the file in the > background without a refresh (other than using iframe) is that > correct?

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jay Blanchard
[snip] That is correct. Without an IFRAME you cannot upload a file without a refresh. [/snip] Take Two. You could also open another window, but that kinda defeats the purpose. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Andrés Robinet
iframe or a SWF). Hope not to be far from thruth Rob (sorry, top posting, we've all read the rest of it :D) > -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 21, 2007 2:13 PM > To: Jochem Maas; Colin Guthrie > Cc: php-general@li

RE: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jay Blanchard
[snip] So that I can get my head around this, are all of you saying there is no Ajax equivalent of: We can't in some way use the ajax post method to send the file in the background without a refresh (other than using iframe) is that correct? Or am I completely missing something here? [/sn

Re: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread tedd
Hi gang: So that I can get my head around this, are all of you saying there is no Ajax equivalent of: We can't in some way use the ajax post method to send the file in the background without a refresh (other than using iframe) is that correct? Or am I completely missing something here?

Re: [PHP] Re: uploading files... necessary Ajax?

2007-11-21 Thread Jochem Maas
Colin Guthrie wrote: > T.Lensselink wrote: >> On Wed, 21 Nov 2007 08:38:18 -0600, "Jay Blanchard" <[EMAIL PROTECTED]> >> wrote: >>> [snip] >>> Seems to me Pere want's to do an upload without reloading the whole >>> page. >>> [/snip] >>> >>> The problem is that you cannot upload files using Ajax alo

Re: [PHP] Re: Uploading Files Should I use MySQL or Server for storage?

2007-05-22 Thread Robert Cummings
On Tue, 2007-05-22 at 11:00 +0200, clive wrote: > itoctopus wrote: > > I have tried both, and I tell you that I really felt that the filesystem is > > a more convenient way of doing it. > > > I have to agree, filesystems were after all designed to store files. I > reckon reading a file from disk

Re: [PHP] Re: Uploading Files Should I use MySQL or Server for storage?

2007-05-22 Thread Tijnema
On 5/22/07, clive <[EMAIL PROTECTED]> wrote: itoctopus wrote: > I have tried both, and I tell you that I really felt that the filesystem is > a more convenient way of doing it. > I have to agree, filesystems were after all designed to store files. I reckon reading a file from disk is much quicker

Re: [PHP] Re: Uploading Files Should I use MySQL or Server for storage?

2007-05-22 Thread clive
itoctopus wrote: I have tried both, and I tell you that I really felt that the filesystem is a more convenient way of doing it. I have to agree, filesystems were after all designed to store files. I reckon reading a file from disk is much quicker than reading from a database, maybe only fract

Re: [PHP] Re: uploading files

2002-11-01 Thread Shaun Thornburgh
Thats all fine Here is my form header "Kevin Stone" <[EMAIL PROTECTED]> wrote in message news:020201c281ec$04515820$6601a8c0@;kevin... > Confirm that you're using the proper header information in your HTML > tag.. > > -Kevin > > - Original Message - > From: "Shaun Thornburgh" <[EMAIL

Re: [PHP] Re: uploading files

2002-10-07 Thread Kevin Stone
Possibly. But temp files created during execution should be destroyed when the script exists. So either copying or moving shouldn't make any difference. Besides that I think the difference is strictly semantic. Another possibility is that this is a browser cache issue. -Kevin - Original Mes