Forum: PHP Oct 3rd, 2009 |
| Replies: 3 Views: 260 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: 681 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: 432 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: 436 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: Assembly Aug 20th, 2008 |
| Replies: 1 Views: 1,375 I hope I got it as well, but I'll give it a try:
When dividing a number with DIV then it returns the result in AX and the modulo in DX.
Communicating with a microchip can easily be done via the... |
Forum: PHP Jun 28th, 2008 |
| Replies: 1 Views: 652 Just put the file favicon.ico in the directory of that file. |
Forum: Assembly May 3rd, 2008 |
| Replies: 3 Views: 892 the simpliest way that I can find right now is saving each occurance of a char in a new array. Basically like this:
string DB 'Hello Demonoid2008!",$
yourloop:
XOR EAX,EAX
MOV... |
Forum: PHP Apr 30th, 2008 |
| Replies: 4 Views: 744 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: 744 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: Assembly Apr 20th, 2008 |
| Replies: 2 Views: 795 First of all, and this is my personal opinion, is assembly much more logical. When fussing around with pointers in C++ I always mess around after a while and don't have a clou which variable stands... |
Forum: C Mar 30th, 2008 |
| Replies: 7 Views: 792 C is good for engeneering for two very simple reasons:
1) the code is very, very light (not every computer has 4Gig of RAM => microcontroller (between 512Bytes and 4KB))
2) it can easily be ported... |
Forum: PHP Mar 29th, 2008 |
| Replies: 2 Views: 513 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,354 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: 2,882 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... |