Re: Help---using pdfs with PHP

From: Date: Thu, 11 Jan 2001 23:17:52 +0000
Subject: Re: Help---using pdfs with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34140@lists.php.net to get a copy of this message
What's URL?... Is that the actual code you have? If so, the browser is going to try to do a *RELATIVE* path to that, I think... ----- Original Message ----- From: Sam <Sam@dragoman.co.uk> Newsgroups: php.general Sent: Thursday, January 11, 2001 7:25 AM Subject: [PHP] Help---using pdfs with PHP > > This is the code I use > > if ($HTTP_ACCEPT_LANGUAGE=="en-gb") > { > header("location: URL/test.pdf"); > exit; > } > > but it doesn't work, whereas when I paste the URL into the browser, it works > fine. > Is there any reason for this? > > Thanks > Sam Rose > > ____________________________________________________________________________ > ________________________________________________________________ > > The information in this email and in any attachments is confidential and may > be privileged. If you are not the intended recipient, please destroy this > message, delete any copies held on your systems and notify the sender > immediately. You should not retain, copy or use this email for any purpose, > nor disclose all or any part of its content to any other person. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#34140) next »