kfurt next week
- Original Message -
From: "Bill Rausch" <[EMAIL PROTECTED]>
To: "George Pitcher" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 8:22 PM
Subject: RE: [PHP] Delivering NAMED pdf files
> George,
>
>
George,
Rasmus' suggestion is correct, but he was terse as usual :) and you
might not have understood what he was saying.
My solution is to present a list of the filenames available as LINKS
(to non-existent files). Then the script does what you've already
got. The problem is that some brows
D]
> Subject: Re: [PHP] Delivering NAMED pdf files
>
>
> Yes,
>
> If I download the file as it is named, it is the file I expected, only not
> named the way I wanted.
>
> George
>
> "MrBaseball34" <[EMAIL PROTECTED]> wrote in message
> [EMAIL P
Yes,
If I download the file as it is named, it is the file I expected, only not
named the way I wanted.
George
"MrBaseball34" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> > And the php page which is fileaccess.php:
> >
> > > $fp1 = "D:\\Pdf\\" . $fp;
>
> And the php page which is fileaccess.php:
>
> $fp1 = "D:\\Pdf\\" . $fp;
> $len = filesize($fp1);
> header("Content-Type: application/pdf");
> header("Content-Disposition: inline; filename=$fp1");
> header("Content-Length: $len");
> readfile($fp1);
> ?>
Have you CHECKED the value of $fp?
-
er" <[EMAIL PROTECTED]>; "Php-General@Lists. Php. Net"
<[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 12:45 PM
Subject: RE: [PHP] Delivering NAMED pdf files
> can you paste the full text of the code as you have it? I don't see
anywher
fine.
>
> I thought that php was better than Frontier, though.
>
> George
> - Original Message -
> From: "speedboy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, October 19, 2001 12:27 PM
> Subject: Re: [PHP] Delivering NAMED p
ssage -
From: "speedboy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 12:27 PM
Subject: Re: [PHP] Delivering NAMED pdf files
> > Thanks for the suggestion but it didn't change anything.
>
> It won't. Put them in a web acces
Sebastian,
Just tried it - it dosn't work for me.
George
- Original Message -
From: "Sebastian" <[EMAIL PROTECTED]>
To: "'George Pitcher'" <[EMAIL PROTECTED]>; "'Php-General"
<[EMAIL PROTECTED]>
Sent: Friday, October
> Thanks for the suggestion but it didn't change anything.
It won't. Put them in a web accessible directory and don't use custom header calls
because they do not work reliably.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
if user
is
authorized to get these files.
sebastian
> -Ursprüngliche Nachricht-
> Von: George Pitcher [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 19. Oktober 2001 12:55
> An: Arpad Tamas; [EMAIL PROTECTED]
> Betreff: Re: [PHP] Delivering NAMED pdf files
>
>
&g
Arpi,
Thanks for the suggestion but it didn't change anything.
George
- Original Message -
From: "Arpad Tamas" <[EMAIL PROTECTED]>
To: "George Pitcher" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 11:13 AM
Subject:
Rasmus,
Thanks for the suggestion but it didn't change anything.
George
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "George Pitcher" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 10:54 AM
Su
On Friday 19 October 2001 11:52, George Pitcher wrote:
> Hi all,
>
> I am delivering my PDF files from a non-internet directory. The
> file gets delivered but the filename is always changed to the name
> of the php script.
>
> Can anyone tell me how to get the file delivered so that the name
> sta
The obvious hack would be to simply make the link:
http://your.domain.com/script.php/filename_you_want.pdf
-Rasmus
On Fri, 19 Oct 2001, George Pitcher wrote:
> Hi all,
>
> I am delivering my PDF files from a non-internet directory. The file gets
> delivered but the filename is always changed
Hi all,
I am delivering my PDF files from a non-internet directory. The file gets
delivered but the filename is always changed to the name of the php script.
Can anyone tell me how to get the file delivered so that the name stays as
it was on the server?
My PHP code. This is all the php code I
16 matches
Mail list logo