![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Programmer
Join Date: Mar 2007
Posts: 39
Rep Power: 0
![]() |
And why are you doing that?
|
|
|
|
|
|
#22 | |
|
King of Portal
|
As I replied to you once before I will refer you back to what I wrote...
Quote:
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
|
#23 |
|
Professional Programmer
|
Aha, i didn't see that, sorry.
I guess you could use mutex for a file where you write all the other filenames and only one thread will access the file at one time, and then you're sure you have unique file names. http://www.php.net/shm_get_var -- maybe it will be of some help
__________________
Don't take life too seriously, it's not permanent ! |
|
|
|
|
|
#24 |
|
Programmer
Join Date: Mar 2007
Posts: 39
Rep Power: 0
![]() |
I know, why is that one of the parameters you are working with? Are there many bulletin boards that use flat files instead of databases? Is there a purpose why you're not using a database where one should be used?
|
|
|
|
|
|
#25 |
|
King of Portal
|
If you want an explanation of the script just click on the link in my signature. The only other flat file database board that I've found is Ultimate PHP Board.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#26 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I think you're beginning to discover why that choice was not optimal
.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#27 |
|
King of Portal
|
Not a question of optimal, it's a question of requirements. Every learning experience has its obstacles. I'm still reading up on database management so the solution may take me some time, but I've no doubt I'll come up with one.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#28 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I recall the requirements from earlier posts. The question isn't whether or not you can come up with a solution. Also, there's no question that you can learn some things. The question is whether or not you made the right move to satisfy you ORIGINALLY expressed goals.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#29 |
|
King of Portal
|
Ya I could've used an already existent flat file database, but then I wouldn't have really learned as much. Because scripting the forum to work hasn't been that difficult. It's the database programming that has provided an interesting challenge. Since I can't use SQL databases because this board is intended for people who don't have access to an SQL database on their service. I only found two viable implementations which I've mentioned elsewhere in some posts. Both of them were beyond my own comprehension and I didn't just want to use somebody else's work without understanding what it was doing, because if an error occurred I highly doubt I could say how or why it did. GrimBB has its secondary purposes to others, but the only reason I work on it is to learn (I've actually learned some better CSS and HTML practices as a side bonus).
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#30 |
|
Programmer
Join Date: Mar 2007
Posts: 39
Rep Power: 0
![]() |
In almost every implementation of PHP, there's going to be some form of SQL database available, unless it's a really basic free web host.
And if it is, there are much better solutions for free web hosts available. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| queue - shared memory | programmingnoob | C++ | 4 | Mar 26th, 2007 8:19 PM |
| message queue game | programmingnoob | C | 19 | Sep 29th, 2006 5:14 AM |
| Queue again | zman2245 | C++ | 3 | Sep 9th, 2005 1:07 PM |
| Queue. Array vs Linked List | zman2245 | C++ | 9 | Sep 9th, 2005 1:14 AM |
| Queuing and Queue Tables | foxcity911 | Other Programming Languages | 1 | Aug 6th, 2005 11:19 PM |