0

Hi,

I want my script to redirect the visitor to the another script which is in another folder under the same parent directory. And i cannot use the "header()" redirect method.

/www/index.php/ (where i want the visitor to be redirected to)

/www/upload/upload.php/ (where i want the visitor to be redirected from)

Here is what i have so far:

<?php

echo '<META HTTP-EQUIV="Refresh" Content="0; URL="../index.php">';    

?>

Edited by marvolo1300: n/a

2
Contributors
4
Replies
9
Views
7 Years
Discussion Span
Last Post by MooGeek
1

try this one instead

<?php

echo '<META HTTP-EQUIV="Refresh" Content="0; URL="../../index.php">';

?

0

I fixed it. I put the quotation in the wrong place. Here's the older code

<?php
	echo '<META HTTP-EQUIV="Refresh" Content="3; URL="../index.php">';  

?>

Here's the revised one:

echo '<META HTTP-EQUIV="Refresh" Content="3; URL=../index.php">';
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.