Page 1 of 1

redirect

Posted: Tue Dec 29, 2009 6:04 pm
by nite4000
i have a script thats encoded and due to a error witht eh license the domain is wrong i manager to get it to go the correct domain but when i try to test the register page its going back to domain thats wrong and has 2 // like this mysite,com//folder/page.php taking it to .com shoudl be working but its not i renamed the files to filename_old and make a new file with this code here in the new one

Code: Select all

<?php
ob_start ();
require_once ('index_old.php');
$output = str_replace ( ',com', '.com', ob_get_contents () );
ob_end_clean ();
echo $output;
?>
This code makes it go to the .com instead of ,com but problem now is that its not working in the folder members and has 2 // like above.

Any suggestions how to make it work would be nice

Thanks