i need to redirect to other page with out using header if it is not possible tell me how can i use header with relative url plz n 10q

Recommended Answers

All 3 Replies

why don't you use a meta refresh:

echo '<meta http-equiv="refresh" content="2;url=relativeurl.html">';

You can build your absolute URL from PHP-supplied functions. Take a look at PHP.net's header page, under "Notes" and above the comments.

http://www.php.net/header

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.