This is a shot in the dark since I've never even done PHP redirection, but
did you try using absolute system pathname (eg. /home/httpd/html/index.php),
or absolute web address (eg. http://www.yoursite.com/index.php)?
> From: [EMAIL PROTECTED] (Jay Paulson)
> Reply-To: "Jay Paulson" <[EMAIL PROTEC
Web Server's log file or user defined log file (Sort of Like PHP Log)?
"Tristan Pretty" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> We've just moved sites, to a new URL...
> on the home page of the old url, I simply had a page that was;
>
> header(Location: http://www.newsite.co
> > header("Location:index.php");
header("Location: login.php");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Bog standard web server logs...
We're hosted on a windows server I think... (sadly)
"Scott Fletcher" <[EMAIL PROTECTED]>
14/10/2003 16:25
To
[EMAIL PROTECTED]
cc
Subject
[PHP] Re: header() function...
Web Server's log file or user defined log file (Sort o
I officially declare this thread foobar.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ws server I think... (sadly)
>
>
>
>
>
> "Scott Fletcher" <[EMAIL PROTECTED]>
> 14/10/2003 16:25
>
> To
> [EMAIL PROTECTED]
> cc
>
> Subject
> [PHP] Re: header() function...
>
>
>
>
>
>
> Web Server's log file
You are all heart... ;-)
Curt Zirzow <[EMAIL PROTECTED]>
14/10/2003 17:23
To
[EMAIL PROTECTED]
cc
Subject
Re: [PHP] Re: header() function...
I officially declare this thread foobar.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
Never mind, I'll just javascript instead! "location.replace('url');
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I tried to use this script but it failed due to the caching. Does
> anyone know the way around hte problem or have a solut
Forget the content length and disposition headers. Just set the content type then
output the file..
header("Content-type: application/pdf");
readfile("junk.pdf");
- Kevin
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I seem to be having problem with sending the
I can't do readfile() because of lots of bug in IE (Internet Explorer)
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Forget the content length and disposition headers. Just set the content
type then output the file..
>
> header("Content-type: application/pdf");
>
I'm sorry but it can't be done. You cannot output a file without printing it to the
output buffer. You cannot print a file to the output buffer without opening the file
into memory. You cannot open a file into memory without using a function like fopen()
or readfile(). It's as simple as that
Well, now, I get an unknown file type. I have already specified the
application type. This was yesterday. Today, I get the file type as
'Acrobat Control for Active X'. That doesn't look right... Oh well...
Will have to play around and see what can I do to make it work better. A
couple of mont
It might help to have a peek at how the php Pdf libraries are doing this
(www.php.net/pdflib, fpdf.org, www.ros.co.nz/pdf) . There are a lot
of things to worry about with pdf, not the least the fact that older
acrobat readers will give plenty of errors when the page is not send fast
enough an
I'm using the library from www.fpdf.org. I currently using the method on
storing the file to the server because of two features. One so I can have
php script to use the email to pick up the file and send it to my boss.
Two, an optional option to view the billing invoice. I am beginning to
think
Aw, scratch that HTML conversion to PDF feature. It require an installation
of a couple of other stuffs. I'm going to stick back to fpdf library for
now.
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm using the library from www.fpdf.org. I currently using the
15 matches
Mail list logo