473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Multi-user Database Locking with PHP

dlite922
1,584 Expert 1GB
I have an application written in PHP, and i'm trying to not to convert it to Java (for its locking functionality), and possibly do it somehow with PHP.

maybe PHP and Java.

My needs are that if 20 users are accessing the system, instead of having 20 DB connections, i can have 1, 3, 5, 10 or whatever the case.

A constantly running request handler. This is also knows to some as process forking, to fork a process into child processes.

In other words, is it possible to run a PHP background process that can handle requests?

Through what i know of PHP, this is not possible, but i'm not 100% sure.

Let me know how i can achive this, or with any other technology? Java and PHP get along good?

There was a question about calling a Java function from PHP that went unanswered, so I'm not holding my breath.

thanks guys,

DM
Mar 3 '08 #1
2 1360
hi,
I've got a little question :
What is the purpose of the DB manager if you don't send it request directly ?
I mean, DB system are made for being asked informations, request by many users (more than 20...).
Mar 4 '08 #2
dlite922
1,584 Expert 1GB
hi,
I've got a little question :
What is the purpose of the DB manager if you don't send it request directly ?
I mean, DB system are made for being asked informations, request by many users (more than 20...).
well its not just the database, i was looking for ROW locking type things. and for example I also have an FTP transaction that i don't want users to do simulatneously.

For the FTP what i'm planning to do is just set a flag in a small table in the database to weather or not a user is working with the FTP site.

I think that if I had a process with active connection to the DB (maybe Java?) , i wouldn't have to do all these database connections in PHP.
Mar 4 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: * ProteanThread * | last post by:
but depends upon the clique: ...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
6
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
6
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.