NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Web Redirection with php- NEED HELP!

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
3 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 06-07-2005, 06:35 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jun 2005
Posts: 2
goldenplate is an unknown quantity at this point
 



Web Redirection with php- NEED HELP!


I registered a domain name and a web forwarding service which allows me to redirect this domain name to a uglier domain name. Example www.domain.info to http://www.domain.com/index.php?refid=xxxxx. When it is forwarded the information that was suppose to be received after the php doesnt come through so it is just like going to www.domain.com. How do I make it so it receives the information after php? I want to redirect this www.domain.info to http://www.domain.com/index.php?refid=xxxxxx literally.
Last edited by IAmAllanShore; 06-07-2005 at 07:54 PM. Reason: Referral Links Removed. Thanks!
goldenplate is offline  
Old 06-07-2005, 06:58 PM   #2 (permalink)
Senior Member
 
harkster's Avatar
Join Date: Mar 2004
Location: Red State
Posts: 1,605
harkster is a splendid one to beholdharkster is a splendid one to beholdharkster is a splendid one to beholdharkster is a splendid one to beholdharkster is a splendid one to beholdharkster is a splendid one to beholdharkster is a splendid one to behold
 



Code:
<?PHP header("HTTP/1.1 301 Moved Temporary");
header("Location: http://www.domain.com/index.php?refid=349921");
exit();
?>
Upload this as index.php to your domain.info home directory. This should work and be SE friendly.
????: NamePros.com http://www.namepros.com/programming/96650-web-redirection-with-php-need-help.html

Woops I didn't see that you were using some kind of service. Can't say for that other than trying to quote the destination URL. They may prevent passing info because of security concerns.
Last edited by hark; 06-07-2005 at 07:11 PM.
harkster is offline  
Old 06-07-2005, 07:32 PM THREAD STARTER               #3 (permalink)
New Member
Join Date: Jun 2005
Posts: 2
goldenplate is an unknown quantity at this point
 



I can discontinue the web-forwarding service.
goldenplate is offline  
Old 06-07-2005, 07:55 PM   #4 (permalink)
NamePros Expert
Join Date: Nov 2004
Location: Esse quam videri
Posts: 8,316
IAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond reputeIAmAllanShore has a reputation beyond repute
 

Member of the Month
January 2005Member of the Month
February 2007
Ethan Allen Fund Child Abuse Child Abuse Child Abuse Child Abuse Save The Children Save The Children Child Abuse Child Abuse Child Abuse Child Abuse VA Tech Memorial Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse Child Abuse
Moved to the programming folder for lack of further connection to DND.
Thanks,
Allan
__________________

Something Witty This Way Comes...
IAmAllanShore is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Getting started with PHP (The Basics) deadserious Webmaster Tutorials 60 11-17-2007 11:35 AM
Googlism - What does google think of you? deadserious The Break Room 55 12-15-2005 09:09 AM

 
All times are GMT -7. The time now is 12:31 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger