Jump to content
Seda145

get_headers(['Location']) returns empty when php script is loaded by another php script

Recommended Posts

Hi everyone!

I've been working on a php script to replace links that contain a query with direct links to the files they would redirect to.

Share this post


Link to post
Share on other sites

Passing an array to get_headers is invalid, so there's that.

Post code. And since it's perfectly valid for it to return empty, why do you say that's wrong?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×

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.