I found out that books are rarely useful in learning any sort of programming : online resources, docs and lots of practice works better for me.
implode(',' asort(explode(',' $list)))
Video files are huge and hence take a huge time to upload. It's most likely not the script that is slow, just the line...
Have you simply tried: file_put_contents("iplog.txt", $_SERVER['REMOTE_ADDR'], FILE_APPEND); ? You might want to add a line break or other...
and use a regexp to filter .. as well as ://
That really depends. Take for example MySQL with the default MyISAM tables: each table has its own file. So stuffing lots of pictures in one table...
Then it makes sense. The solution I use to generate summaries for my RSS feeds is just to cut out the first X chars and then algorithmically...
That's an issue easely fixed: use a script and/or mod_rewrite to cache the image on the Web server so that it is only retrieved from the database...
I personally hate sites that break up text in pages: this is a computer display, not a book, so it's a lot easier to scroll down than have to...
I don't think the htmlspecialchars() should be used here : you don't need it for the database (which doesn't understand HTML), it'll just make the...
It really depends. For very small images (thumbnails, smileys, etc.) a database is usually more convenient because all your datas are stored...
www.php.net with the commented documentation is very helpful. Otherwise a good Google search usually turns out the proper answers.
To debug this kind of thing you should really use Firefox with the Firebug plug-in. It'll let you check every HTML element margins and padding and...
No that part is correct, '' is an empty string but not the same as NULL so it is a valid default for a NOT NULL column. The issue is with the...
The reason it doesn't work is that you are assigning a default varchar ('' is a string) to an integer value (listingid)
Separate names with a comma.