Sign In!
|
New User?Signup Now!
|
Forgot password?
Source Code 4 you
Home
Create Forum Topic
Check WebSite Rank
Publish Articles
UV Web Booster
Contact
Forum Type
Search Engine
.Net C# VB F# VC++
MonoPoject
Java J2EE
Zand Php Cake Php
Oracle Database Server
Mysql Database Server
DB2 Database Server
MSSql Databse Server
Javascript Ajax
Html Xml Xhtml
C Programming
C++ Programming
D Programming
CGI Programming
Perl Programming
Cobol Programming
Pascal Programming
Ruby Programming
Drupal Programming
Automobile
Software Testing
Linux Unix Mac Sun OS
Embedded Systems
Mainframe
IC Microcircuit Chip
Electronics Electrical
Hardware Netwarking
SAP ERP
Logical Reasoning
Human Resources
Science
Agriculture
Accounting
History
Pharmaceutical
Other Topic
Zand Php Cake Php
Posted by :
mig
Common memory area for PHP scripts
Hello People
I would like to know if there exists some common area (memory) for
PHP , such that I can write / read there and other scripts can also
write / read into this area.
This would be an useful way for scripts to communicate, avoiding use
of files or databases.
Here an application I need to write for security reasons: IP calls
script, and I need to know if this IP has previously executed another
script on the last nn hours / minutes / seconds.
The only way I can figure this, is by writing info on database and
later to check it by searching DB from other script.
But I want avoid use databases, since these checkings could be very
often (many times a second), so a internal commom memory would be very
useful.
thanks
Posted by :
PatiDure
Re : Common memory area for PHP scripts
Doesn't exists, script is executed on connection basis. I would use
DB, text file or write some additional application (C/Java/...) which
stores the info in a memory and allows You to update/query it as
needed from the PHP script.
Posted by :
C.
Re : Common memory area for PHP scripts
The PHP Session is not system-wide - its scope is the session only -
and since HTTP is a stateless protocol, it relies on the client
replaying a session handle in every request - so not a suitable
candidate for protecting your system against people whio are trying to
undermine its security.
If you have the better reply, then send it to us. We will display your reply after the approval.
Name :
Email Id :
Reply :