| | |
How to pass invisible data to other pages in a site without using forms
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jun 2008
Posts: 21
Reputation:
Solved Threads: 0
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
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
Commitment is what transforms a promise into reality. It is the words that speak boldly of your intentions. And the actions which speak louder than the words. It is making the time when there is none. Commitment is the stuff character is made of; the power to change the face of things. It is the daily triumph of integrity over skepticism.
By adding this:
use this where ever you want to send by hidden....
html Syntax (Toggle Plain Text)
<input type="hidden" name="hiddenname">
use this where ever you want to send by hidden....
Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
![]() |
Other Threads in the PHP Forum
- Previous Thread: Removing noise in jpeg picture
- Next Thread: image rotation???
| Thread Tools | Search this Thread |
.htaccess ajax apache api array beginner binary broken buttons cakephp checkbox class cms code cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail mediawiki menu mlm mod_rewrite multiple mysql number oop paypal pdf php phpincludeissue phpmyadmin problem query radio random recursion regex remote script search server sessions sms soap source sp space speed sql subdomain syntax system table tag tutorial update upload url validation validator variable vbulletin video web websphere white xml youtube






