<META http-equiv="refresh" content="0; url=http://www.xxx.com/000/jobs/jobs.php">

is there a variable that i can use for the directory location of files?

on a refresh of a page, i want the user to get sent to a file that is located in the same folder that the refreshing page is located...

/000/jobs/ <-- what could this part be replaced with?

    Here's how to redirect to a completely dynamic URL:
    header("Location: [url]http://[/url]".$SERVER['HTTP_HOST'].dirname($SERVER['PHP_SELF']).$filename);

    What you're looking for is dirname($_SERVER['PHP_SELF']).

      Write a Reply...