943,634 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 674
  • PHP RSS
Jul 22nd, 2008
0

How to pass invisible data to other pages in a site without using forms

Expand Post »
Hi,

I am developing a PHP module where I need to pass a particular data through different pages without notifying the user about it. The site I am building have forms on every page except 1. So what I was doing before was sending that data through forms in a hidden format. But now I am in a fix. The reason is that in the last page of the site there in no form but there are links to revisit the previous pages. So when a user click on those links that information vanishes. So how could I restore that value. I tried using sessions but failed miserably. I am new to PHP and have problems maintaining sessions. So please suggest me a method without the use of sessions and forms

Thanks in advance

Gaurav
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gargg321 is offline Offline
21 posts
since Jun 2008
Jul 22nd, 2008
0

Re: How to pass invisible data to other pages in a site without using forms

why acnu use sessions
Reputation Points: 19
Solved Threads: 5
Junior Poster
lydia21 is offline Offline
183 posts
since Nov 2007
Jul 22nd, 2008
0

Re: How to pass invisible data to other pages in a site without using forms

by adding ?hiddenname=hiddenvalue[&hiddenname2=hiddenvalue2] end of url address
Reputation Points: 10
Solved Threads: 1
Newbie Poster
odysseous is offline Offline
16 posts
since Oct 2007
Jul 22nd, 2008
0

Re: How to pass invisible data to other pages in a site without using forms

By adding this:
html Syntax (Toggle Plain Text)
  1. <input type="hidden" name="hiddenname">


use this where ever you want to send by hidden....
Reputation Points: 137
Solved Threads: 162
Posting Virtuoso
Shanti C is offline Offline
1,641 posts
since Jul 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Removing noise in jpeg picture
Next Thread in PHP Forum Timeline: image rotation???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC