I have 2 pages called email.php and sendmail.php.email (email.php directs to sendmail.php).I want to print the URL of email.php in sendmail.php
How can i do it?
Lakshith
0
Newbie Poster
Recommended Answers
Jump to PostI think you want to get the referer page. Use
echo $_SERVER['HTTP_REFERER']
to print the referer page.
All 3 Replies
dasatti
0
Junior Poster in Training
chrishea
182
Nearly a Posting Virtuoso
SKANK!!!!!
5
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.