Sign Up

Become a member of our community to ask questions, answer people's questions, and connect with others.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login our community for help answering questions & connecting with others.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to add post.

Forgot Password?

Need An Account, Sign Up Here
Codegrepr Logo Codegrepr Logo
Sign InSign Up

Codegrepr

Codegrepr Navigation

  • Home
  • Contact Us
  • Language
    • c
    • python
    • java
    • javascript
    • android
    • php
    • html
    • css
    • .net
    • jquery
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Tags
  • Badges
  • Users
  • 0
Asked: January 16, 20222022-01-16T18:59:35+05:00 2022-01-16T18:59:35+05:00

How do I make a redirect in PHP?

  • 0

Is it possible to redirect a user to a different page through the use of PHP?

Say the user goes to www.example.com/page.php and I want to redirect them to www.example.com/index.php, how would I do so without the use of a meta refresh? Is it possible?

This could even protect my pages from unauthorized users.

Source link

php

Sidebar

  • Popular
    • On: August 3, 2022

    How to interpret Rails stats outputs table data?

    • On: January 15, 2022

    Pie charts in R leaflet, turn count into sum and ...

    • On: January 15, 2022

    Why am I getting "Object is possibly 'undefined'" in this ...

    • On: January 15, 2022

    Express JS How to push object to an array of ...

    • On: January 15, 2022

    How to initialize standalone Radio Button Group component checked property ...

Related Questions

    • On: July 29, 2022

    Where is the PHP log file located on Mac OSX?

    • On: July 29, 2022

    Implode a column of values from a two dimensional array ...

    • On: July 29, 2022

    How to rename multiple files in multiple folders with one ...

    • On: July 27, 2022

    Is there any *good* HTML-mode for emacs?

    • On: July 27, 2022

    How to install the SQLite PDO extension on Ubuntu

Explore

  • Home
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Tags
  • Badges
  • Users

© 2022 CODE GREP-R. All Rights Reserved
With Love by CODE GREP-R