On Friday 25 January 2002 03:06, Todd Cary wrote:
> Jason and Daniel -
>
> Maybe this is a cop out, however it is working. Comments welcomed..
>
>
>
>print('');
> ?>
> Sendfile
>
> ...
Hmm, but if the file was a recognised type then this would just display the
file in yo
Jason and Daniel -
Maybe this is a cop out, however it is working. Comments welcomed..
');
?>
Sendfile
...
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
On Friday 25 January 2002 02:16, daniel wrote:
> Todd-
>
> > When I use the following code, I am not asked if I want to Save the file
> > or Open it. Instead, the contents of the file are displayed in the
> > browser. I am sure that I have missed something simple!!
> >
> > Todd
> >
> > > $len
On Friday 25 January 2002 02:23, Jason Wong wrote:
> In general, if the file is on disk then simply using:
>
> header("Location: http://www.domain.com/downloads/myfile.exe";);
>
> would work. Whether the user is asked to "Save or Open..." depends on the
> browser setting.
>
> If you're using a
On Friday 25 January 2002 01:35, Todd Cary wrote:
> Jason -
>
> I had looked it up in the manual, but I am not sure of what to put into
> the area /* ... output pdf file ... */
>
> Any help is appreciated
>
> Todd
>
>
>
> If you want the user to be prompted to save the data you are sendi
Todd-
> When I use the following code, I am not asked if I want to Save the file
> or Open it. Instead, the contents of the file are displayed in the
> browser. I am sure that I have missed something simple!!
>
> Todd
>
>$len = filesize("test.pdf");
> header("Content-type: application/p
Daniel -
When I use the following code, I am not asked if I want to Save the file
or Open it. Instead, the contents of the file are displayed in the
browser. I am sure that I have missed something simple!!
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List
Todd-
> I had looked it up in the manual, but I am not sure of what to put into
> the area /* ... output pdf file ... */
>
> Any help is appreciated
>
> Todd
>
>
>
> If you want the user to be prompted to save the data you are sending,
> such as a generated PDF file, you can use the
Jason -
I had looked it up in the manual, but I am not sure of what to put into
the area /* ... output pdf file ... */
Any help is appreciated
Todd
If you want the user to be prompted to save the data you are sending,
such as a generated PDF file, you can use the Content-Disposition
On Friday 25 January 2002 01:00, Todd Cary wrote:
> Jason -
>
> <<<
> Then in your file download.php, have a single statement using the
> header()
> function to redirect to the file that is to be downloaded.
>
>
> What is the syntax for the header() function?
Manual? Lots of good
Jason -
<<<
Then in your file download.php, have a single statement using the
header()
function to redirect to the file that is to be downloaded.
>>>
What is the syntax for the header() function?
Many thanks...
Todd
--
Dr. Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing
On Thursday 24 January 2002 21:33, Todd Cary wrote:
> When the surfer presses a button, I want a pre-determined file to be
> downloaded by the surfer - the box to come up on the surfer's browser:
> "Open or save...".
Many ways to do this, one of which could be:
Then in your file do
When the surfer presses a button, I want a pre-determined file to be
downloaded by the surfer - the box to come up on the surfer's browser:
"Open or save...".
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
On Thursday 24 January 2002 13:27, Todd Cary wrote:
> What is the syntax to give the surfer an opportunity to download a file?
Please elaborate.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Kitchen activity is highlighted. Butter up a friend.
*/
--
PHP General Mailing List
14 matches
Mail list logo