|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Hi,
Does anone know of a script/set of scripts that will enable vistors to vote on pictures that does not require a database and just write the details of each picture to a text file???? So far I have only found one "PHP Picture Vote" but this requires a SQL database! Thanks, Nick |
|
#2
|
||||
|
||||
|
If you don't want something so complicated then have a look at XML and write your own PHP parser for it. Just read the file line by line and put the data into arrays. Then organise it how you like. Then upon voting you have to write to the file. It's the writing to/from file that's the problem though. You have to lock the file off so that no two people can edit it at once.
|
|
#3
|
||||
|
||||
|
Check out hotscripts.com etc, as you're likely to find something there...
//NoXcuz
__________________
UN*X is sexy! who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Picture Voting???? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|