hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Need Help with simple script!!!

Forum Jump

Need Help with simple script!!!

Reply Post New Thread In Programming Discussion Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
New Member
Join Date: Aug 2002
Posts: 2

Need Help with simple script!!!

Hi all,

Can someone please help me... I KNOW NOTHING about PHP, and normally program with ASP. The problem i have, is simple, I need to create a redirect page. However the server it is for, Will not support asp, and only supports php... The details are as follows...

A person enters the address,

The page reads that info and sends the user automatically to

That is it...

IN ASP the script would be as follows
dim members
members = request.querystring("ID")
Responce.redirect("" & members & "/index.html")

simple... however i need it is php, can someone help me...

I look forward to your replies...


Sponsored Links
Web Hosting Master
Join Date: Nov 2001
Posts: 857
PHP Code:
"Location:" $ID "/index.html";


New Member
Join Date: Aug 2002
Posts: 2
Thank you very much, will try that this evening

Sponsored Links
Junior Guru
Join Date: Jun 2002
Location: Sherbrooke, Québec
Posts: 182
Make sure there are not spaces/returns before <? or after ?> so that nothing is sent before header information. If you do, you will get a message such as "Header already sent"


Related posts from
Title Type Date Posted
Safe GoDaddy Super Bowl Ad Resonates with Small Business Owners Web Hosting News 2015-02-02 16:24:42
Service Providers Push Updates to Fight OpenSSL Heartbleed Bug Web Hosting News 2014-05-01 08:31:27
Web Hosting Sales and Promos Roundup - December 6, 2013 Web Hosting News 2014-05-23 15:42:37
Nasuni Launches Cloud Mirroring Feature to Storage Solution Web Hosting News 2013-08-08 14:15:27
OpenStack and the AWS API Debate Web Hosting News 2014-05-09 12:40:29

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?