Page 1 of 1

PHP & P2P

Posted: Wed Aug 02, 2006 9:59 pm
by fedra
I need some help for one of my freeware applications:
http://bionixwallpaper.com/news.html

I want to create a small PHP script but I am a beginner in PHP.
I need to know how to start.
Thanks.

Posted: Thu Aug 03, 2006 12:35 pm
by Klemen
How about:
http://www.google.com/search?hl=en&q=php+tutorial

This forum is here to support PHPJunkyard scripts and not as a general PHP support forum.

Posted: Thu Aug 03, 2006 1:03 pm
by fedra
No.
I am not talking about learning PHP.
I already started to do that few days ago and I advanced pretty well (PHP is so easy).


What I want to know is how PHP works.
For example:
I want to write a script that accepts connections from my software (probably 100 connections/users per second) and read/write data to a DB file (which is TXT):
1: it must store the user IP of the new user (and other data)
2: it must share this data (at request) with other users.

What will happen if two users will ask simultaneously, one of them to read and one of then to write to the DB file in the same time?


I can write this program in my programming language (Delphi) in 10-15 minutes, and I know how to handle simultaneous requests. However, in PHP it will take few weeks, as this is my first contact with PHP.


The radical solution, if I do not succeed, is to write my own HTTP server in Delphi to handle the requests but first I will try it in PHP.
If there are PHP programmer, which are willing to help a freeware project (BioniX) then I will happy, add you as co-author to this project.

Thanks.

Posted: Thu Aug 03, 2006 7:22 pm
by Klemen
Like said, this is NOT the place for what you want, it is the place to offer support for PHPJUNKYARD scripts and nothing else.

Posted: Fri Aug 04, 2006 11:20 am
by fedra
Ok.
I will look for another PHP related web site.