PHP header location redirect error in vps

Status
Not open for further replies.

softleaks

Active Member
666
2011
152
0
Hello there,

Recently i shifted my site from a shared hosting to vps.

The script was working good in shared hosting.

When i shifted my site to vps, everything was perfect except the Header location redirect option. Look at the following code:

Code:
header('Location: index.php?success');

The above code worked fine in the shared hosting.

But in my vps, the page successfully redirects to index.php but the '?success' at the end was missing.

Any help regarding this ???

Should i change any vps settings ???
 
4 comments
Status
Not open for further replies.
Back
Top