Try to search your question here, if you can't find : Ask Any Question Now ?

PHP that redirects to another PHP with parameters

HomeCategory: stackoverflowPHP that redirects to another PHP with parameters
Avatarrupesh asked 5 months ago

Right now I have a HTML website that has a place to put a link and a button. That link box and button call a http using the link. For example, if you enter hello, it calls …answer.php?link=hello Everything works but I get a message that I am using mixed content HTTPS and HTTP thats because the php that im calling is in http and my website is in https.
My code is

        <div class="input-wrap">
            <form action="http://hiddenurl/answer.php" class="form-box d-flex justify-content-between">
                    <input type="text" placeholder="Link" class="form-control" name="link">
                <button type="submit" class="btn search-btn">Get It</button>

How can I make a php that I can host inside my server that redirects to that same page but because is a redirect no one will notice the mixed content error.

Basically what I have is
my web in https calls php in http
What I want
My web in https call a php inside my web that is also https that calls the php (auto redirect) in http maintaining the parameters/arguments like my actual code.

Thanks

1 Answers
Best Answer
AvatarArben answered 5 months ago
Your Answer

10 + 19 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com