Problems with the Windows version of XAMPP, questions, comments, and anything related.
by BobbyS » 01. May 2008 23:37
hello,
I am trying to test a php redirect and cannot get it to work. Here is what I am doing.
I make a new file called something.php
In this file I put this code
<?php
header( 'Location:
http://www.anywhere.net' ) ;
?>
I call it with
http://localhost/mysite.com/something.php
I have tried putting this file in htdocs as well as in mysite.com and cannot get it to work. I get an error message either way. Can somebody please help me?
Thanks,
BobbyS
-
BobbyS
-
- Posts: 24
- Joined: 04. July 2007 23:02
- Location: Alb, New Mexico
by Wiedmann » 02. May 2008 09:08
I get an error message either way. Can somebody please help me?
Not without the error message.
-
Wiedmann
- AF Moderator
-
- Posts: 17102
- Joined: 01. February 2004 12:38
- Location: Stuttgart / Germany
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 128 guests