Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 7th, 2008, 09:13 AM
Registered User
 
Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Please Help Me

I have a html/php web site that calls on a perl program to manipulate information given from the html/php page. The html/php page creates txt files for my perl program to work, where the php script executes the perl script. Then the perl program creates an Excel file and a Tab delimited file, which the html/php page will provide links to access these 2 files.

My problem is what if two, three, four, etc...simultaneous users access my web page and hit the submit button at the same time. how do i create code in which these individuals have there own information instead of another one's information?

 
Old September 24th, 2008, 05:34 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

hi,
use session.

surendran
(Anything is Possible)
http://www.suren.info
http://ssuren.spaces.msn.com
 
Old October 5th, 2008, 06:57 PM
Authorized User
 
Join Date: Oct 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

one easy way of doing it , if you store it in session , the external program wont be able to read it,

you need to make your file name same as your session id, so you can pass the session id and so it know which file to look for.

Thanks

http://FindaJobSearch.com









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.