Re: Dam annoying
| From: | Lars Torben Wilson | Date: | Mon, 14 Aug 2000 21:41:46 +0000 |
| Subject: | Re: Dam annoying | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11696@lists.php.net to get a copy of this message | ||
David Costelloe writes:
> Hi all,
> I'm getting extremely frustrating with this header stuff, in ASP all
> I did was add the response.Redirect with PHP all I get is 404 or
> page not found. Here is the code tell me please what it is that is
> so hard to achieve.
[code snipped]
> What is it I am doing wrong?
>
> If you have a solution it would be greatly appreciated.
>
> thanks
>
> David.........
I believe that you'll have better luck if you change:
If ($strFileTo < "" ) {
...to...
If ($strFileTo != "" ) {
At least, this makes the redirect work. I assume that you've put in
www.mysite.com as an example only, since none of the referenced files
exist on that server.
Cheers,
Torben
--
+----------------------------------------------------------------+
|Torben Wilson <torben@php.net> Netmill iTech|
|http://www.coastnet.com/~torben http://www.netmill.fi|
|Ph: 1 250 383-9735 torben@netmill.fi|
+----------------------------------------------------------------+