Hi everyone
I have a script which contains contains mostly JavaScript. After various bits of user input, it ends up with an array which contains 6 times (hh:mm) and these can be access by times[0] thru times[5]. Obviously these variables would be available on a clients PC.
Another PHP programmer wants to access these 6 variables and use them within his PHP script to display to the user.
What I'm trying to figure out is some way to "present" these variables in such a way that this other programmer can pick them up and do whatever he (or she) wants.
I have had to discard using cookies as you would have to refresh your browser to get access to them, mainly because some of his users wouldn't understand. I have looked at PHP SESSIONS, but I haven't found anything suitable. I have also looked at localstorage and writing the variables to a text file saved on the clients PC.
I believe there is a suitable solution out there somewhere, and I'm hoping that someone on this forum might have an answer.
terrymold
7
Light Poster
Recommended Answers
Jump to Post"Another PHP programmer" could be interpreted many different ways.
Jump to PostTerrymold, you missed the point.
What is the other PHP programmer writing :
- some code for your page(s)?
- other page(s) on the same site?
- page(s) for some different site?
- not a page at all but some data resource to be called via AJAX?
The precise scenario really matters!
All 6 Replies
Airshow
416
WiFi Lounge Lizard
Team Colleague
terrymold
7
Light Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
terrymold
7
Light Poster
Airshow
416
WiFi Lounge Lizard
Team Colleague
terrymold
7
Light Poster
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.