| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jun 2005
Posts: 2
![]() | 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!
|
| |
| | #2 (permalink) |
| Senior Member ![]() Join Date: Mar 2004 Location: Red State
Posts: 1,605
![]() ![]() ![]() ![]() ![]() ![]() ![]() | Code: <?PHP header("HTTP/1.1 301 Moved Temporary");
header("Location: http://www.domain.com/index.php?refid=349921");
exit();
?> ????: 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.
__________________ -- A Sometimes Light Hearted Journey Through The History of Shoes -- -- QUHL.com --
Last edited by hark; 06-07-2005 at 07:11 PM.
|
| |
![]() |
| 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 |