php - Implementing a 'Email to a friend' functionality. How to pass variables to the next page without using form, session and cookies? -
I am trying to create an "email-to-friend" page using php. The purpose of this page is that users can share the pages they are viewing with their friends.
When a user clicks on the 'share' link, it will redirect the user to a page that asks a user to input their email address and a recipient email address. The topic will be the title of the previous page and the email body will be included in the URL of the previous page as well as any user.
I have got the whole concept here but I am stuck in the implementation phase
P>> Post and GET method is not suitable for use because when a user clicks on the share link, then there is no form in it.
Is there any other way I can use to pass the page title and page URL on the next page? I am open to other suggestions how can I apply this idea differently in advance thanks in advance.
As far as I can see, the Note that You need to url-UN-encoded that you are using The total result URL Due to restrictions in some browsers, it should not exceed 2-4 kilobytes. GET parameter is actually The ideal solution is
http://example.com/share.php?url=http%3a%2f%2fwww.example.com
Comments
Post a Comment