• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

PHP Redirect

How to redirect to the requested page after login in php?

#php#login#development#webdeveloper#redirect
8th Dec 2021, 2:53 PM
Aayush Deep
Aayush Deep - avatar
1 Answer
+ 1
Aayush Deep Use this : header('Location: '.$newURL); Pass your home page link in this function
8th Dec 2021, 2:56 PM
A͢J
A͢J - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Supervised learning, regression
2 Votes
I've Been Trying For an Hour
0 Votes
Programming languages that Sololearn offers
1 Votes
Comparing Numbers
0 Votes
𝗪𝗵𝗮𝘁 𝗱𝗼 𝘆𝗼𝘂 𝘁𝗵𝗶𝗻𝗸 𝗶𝘀 𝘁𝗵𝗲 𝗯𝗲𝘀𝘁 𝗮𝗻𝗱 𝗺𝗼𝘀𝘁 𝘃𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗹𝗮𝗻𝗴𝘂𝗮𝗴𝗲?
1 Votes
Counting specific letter in string
1 Votes
HOW TO CREATE A LINK WITHIN SOLO LEARN
1 Votes
is it worth it ?
0 Votes
How to transfer my sololearn account to another device
1 Votes
Publishing
1 Votes