I have a php form that i have on one domain. If i copy all files to another domain. How can i change my redirect so it goes to index.php in the same folder? So if i copy all files to another folder or domain, it will work without any editing.
This how it looks today.
/* Redirect browser */
header("Location: http://my_domain.com/Folder/"); /* Make sure that code below does not get executed when we redirect. */
So if i copy all files to http://my_domain.com/app/