Jump to content

Insert variables into Header Redirect


xProteuSx

Recommended Posts

I am trying to modify a header redirect similar to this:

 

header("Location: index.html");

exit;

 

I would like to do something like this:

 

header("Location: index.html?user=' . $user . '");

exit;

 

Ofcourse, this does not work.  Any hints?

Link to comment
https://forums.phpfreaks.com/topic/254634-insert-variables-into-header-redirect/
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.