Forum: PHP Oct 3rd, 2009 |
| Replies: 3 Views: 289 Unfortunately, PHP does handle a couple of request parallel. As I don't know exactly what these data are for, I can suppose two ideas for updating the database:
1. Lock it!
Add a new field called... |
Forum: PHP May 25th, 2009 |
| Replies: 10 Views: 702 I can't add anything to the stuff that is said about the .htaccess. But I got you a bit different.
You have an index file in a folder and you now need the name of the folder. This can be done as... |
Forum: PHP May 25th, 2009 |
| Replies: 13 Views: 447 You have to make sure, that you definately don't have any html, echo or print before you set the session. Thats because session sends a cookie to the client via the HTTP-header. As soon you have any... |
Forum: PHP Oct 21st, 2008 |
| Replies: 3 Views: 444 The very easiest way would be to allow only registered users to vote (as it is done at youtube, amazon, and also here).
If you don't want the visitor to sign-up you can do it with a cookie, but... |
Forum: PHP Jun 28th, 2008 |
| Replies: 1 Views: 673 Just put the file favicon.ico in the directory of that file. |
Forum: PHP Apr 30th, 2008 |
| Replies: 4 Views: 766 When accessing a database in PHP you first don't have to bother of whom the data might belong to. You can access all of them and sort out which of them is available for the user and which of them... |
Forum: PHP Apr 27th, 2008 |
| Replies: 4 Views: 766 I wouldn't do any fuss to look in the net. It takes about two days to programme yourself.
1. Write a cookie/session-login. Write the functions in a smooth lib so that you can be sure that they are... |
Forum: PHP Mar 29th, 2008 |
| Replies: 2 Views: 534 do you use a database or file?
when having a db:
code=sql]"UPDATE `profile` SET `hobbies`='coolstuff' WHERE `user`=".$user[/code]
with a file you can do it the same way as createing it:... |
Forum: PHP Mar 17th, 2008 |
| Replies: 2 Views: 1,435 you can realize that with the GD-Lib (look for it at php.net). With that you can create images and write with custom fonts on it. I'm not sure if ttf is supported, but there are a lot of fonts that... |
Forum: PHP Mar 14th, 2008 |
| Replies: 6 Views: 3,022 I don't know how many turkish characters differ from the ISO-Standart, but if there aren't many, you could try to mask them like [u] for "ΓΌ" etc. You save then the masked code in SQL, fetch the data... |