|
Posted by Joseph S. on 11/13/53 11:30
Hi,
(1) I have about 8-9 .php files which are far from complex. I first
used GET in all of them. Worked fine. Then I changed all method="get"
to method="post" and $_GET to $_POST with search-replace, thinking that
it should work, but, it seems the $_POST variables are not getting
populated. Then I tried a simple one-page script using post - works
fine. So what could be the problem? I am not using
import_request_variables() or any such advanced feature.
(2) How do you address the situation where you have several
simultaneous users of your web application and your script reads from
the same single file, and maybe writes to the same single file(keep
aside the case of poor design, I am talking of say a page hit counter,
or reading initial settings from the single file), will not several
copies of your code in memory reading the same file on disk cause
problems? is there some specific code for such a situation? I looked
for "threadsafe" and "multiple user" but could not get anything.
Any help is appreciated.
Joseph S.
Navigation:
[Reply to this message]
|