Forum Moderators: coopster
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: [new-url.com"...] );
?>
or
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently" Response.AddHeader "Location", " [new-url.com"...]
>
i want that this code is shown like this on page, any suggestion?
What problem are you experiencing?
Don't forget that you can't send a header [php.net] if you've already sent any output. In other words, header() must come BEFORE any echo or print statements.
Then you just echo the actual data you inserted into the database.