Jump to content

get id from header??


andy_b_1502

Recommended Posts

Hi everyone,

 

I have a login area, and i also have set up for me is a view page... the view page is each user's sort of profile, it gets id and displays relevant content.

 

i was wondering if i could get the id or post rather through a re-direct on log in?

 

for example user logs in with username and password,

 

user is re-directed to the view page like this:

 

header( "refresh:5;url=view00=id.php " );

echo '<h1>You will be re-directed in 5 seconds...</h1>';

 

user is taken to view page where they can edit bit on it.

 

So far though i'm getting page not found error? first of all is this possible? if not whats the correct way/better way?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/262864-get-id-from-header/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.