On Fri, Jun 20, 2008 at 2:21 PM, tedd <[EMAIL PROTECTED]> wrote:
>
> Oh, so now you tell us. :-)
Hey, back off! You knew I was a horrible person long before this
thread! ;-P
--
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated se
At 1:00 PM -0400 6/20/08, Daniel Brown wrote:
On Fri, Jun 20, 2008 at 12:59 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
Once you get your download script fixed, try adding these lines to
your page:
Click to Download
And just replace img.php with the name of your script.
Sorr
On Fri, Jun 20, 2008 at 12:59 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
>
>Once you get your download script fixed, try adding these lines to
> your page:
>
>
> Click to Download
>
>And just replace img.php with the name of your script.
Sorry, that should be:
Click to Download
--
On Fri, Jun 20, 2008 at 8:02 AM, pere roca <[EMAIL PROTECTED]> wrote:
>
[snip!]
> imagepng($image,'definitius_hola.png');
Here you call it 'definitius_hola.png'
> $h = fopen("definitius.png", "r");
>header("Content-Type: image/png");
>header("Content-Disposition: attachmen
I believe that you don't even have to program it, try to use:
And include download headers on the php file - as far as i remember it
should popup a "save as" dialog.
Regards,
Nitsan
On 20/06/2008, pere roca ristol <[EMAIL PROTECTED]> wrote:
>
> yes Iv, surely this is a more js/Ajax issue... t
On Fri, Jun 20, 2008 at 8:47 AM, Iv Ray <[EMAIL PROTECTED]> wrote:
> Eric Butera wrote:
>>
>> The only thing I can think of is using JS to create some sort of
>> IFRAME, meta redirect, window.location, or a popup window, something
>> that will force the page to hit your download script directly. I
yes Iv, surely this is a more js/Ajax issue... this is the one who has to
do something with php answer.
sorry,
Pere
2008/6/20 Iv Ray <[EMAIL PROTECTED]>:
> Eric Butera wrote:
>
>> The only thing I can think of is using JS to create some sort of
>> IFRAME, meta redirect, window.location,
Eric Butera wrote:
The only thing I can think of is using JS to create some sort of
IFRAME, meta redirect, window.location, or a popup window, something
that will force the page to hit your download script directly. I've
never attempted it myself so I'm not sure what sort of issues IE would
have
On Fri, Jun 20, 2008 at 8:02 AM, pere roca <[EMAIL PROTECTED]> wrote:
>
> hi everybody!
>
> Hi!
>
> is there some way to allow downloading a PHP generated file from an ajax
> request?
> the simple code below generates the image but not prompts the "save or open
> file..." (it works if I call it dir
pere roca wrote:
hi everybody!
Hi!
is there some way to allow downloading a PHP generated file from an ajax
request?
No idea, but would love to hear if/how you solved it.
Iv
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi everybody!
Hi!
is there some way to allow downloading a PHP generated file from an ajax
request?
the simple code below generates the image but not prompts the "save or open
file..." (it works if I call it directly, not from an HTML and using
ajax...)
thanks,
Pere
$layer=$_GET['params']; //
11 matches
Mail list logo