headers

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
geeshan
Forum Newbie
Posts: 10
Joined: Fri Mar 24, 2006 12:02 am

headers

Post by geeshan »

Sorry for the subject. Actually I dont know how to name it, I'm very much new to php
By the way, this is my problem.

<td width="54%"><font color="0D52C5"><strong><a href="count.php"?ID=5 >

how I get the value of ID in the next page

And when I use this coding ,

header ("Location : http://svrmlb/webhost4/dit3m2-0611/ec/ec project/articles/aa.doc");

it give me this,
Warning: Cannot modify header information - headers already sent by (output started at E:\4thYear\dit3m2-0611\ec\ec project\count.php:8) in E:\4thYear\dit3m2-0611\ec\ec project\count.php on line 10

how do I fix this.

many thanks
Geeshan
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: headers

Post by s.dot »

geeshan wrote:how I get the value of ID in the next page
$_GET['id']
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply