DigitalDave

Members
  • Content

    211
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by DigitalDave

  1. Yes, that is my current logic. But peanut butter in the jelly is nasty.
  2. If you're making a PB&J sammich, and you only have one knife and no sink to wash it in .. Do you put on the peanut butter first and then dip the knife into the jelly, and risk contaminating the jelly with the peanut butter .. or put on the jelly first and risk contaminating the peanut butter?
  3. Why does there have to be a label? I don't believe in ghosts, but no one calls me a ghostiest?
  4. Easy. http://www.youtube.com/watch?v=gC8GTmX2G5w
  5. This one is 10 microns wide. I wonder if there is an atomic snow man somewhere that's even smaller? http://www.youtube.com/watch?v=LmK8ec9MruM
  6. This is the hottest Bollywood song along with translation. http://www.youtube.com/watch?v=bLpROhIg9eA
  7. Your rap name should be Rick Shah.
  8. Great vocalists don't need a prompter. They sing from the heart. I dunno if this guy has been nominated for a grammy yet or not.
  9. This song always gets to me around Christmas. http://www.youtube.com/watch?v=6lHHQu4CIos
  10. Shah, please tell me your first name is Rick.
  11. Take me for a ride Nat? I'll be your bitch and I won't grope you at all.
  12. Billy, can you send me another invite please? I had to get a new phone since my old one was gimped. 31E767FB
  13. Can I hang with the kewl kids too ? 30335B86
  14. Thinking about getting one of these so I can be all that.
  15. PHP by itself is not necessarily a secure language. It's no more secure than any other high level language. All languages offer the programmer ample opportunity to code in security flaws. But, suggesting that a new programmer use pre-built libraries and CMS's with tons of publicly available and exploitable code to setup their website is wrong. As do most, if not all CMS's. That can be done with a call to MD5 and an IF statement on a $_SESSION variable. Awesome .. It knows the PHP unicode_decode function. I'm not sure how that is even relevant in the scope of this thread, but ok. Using Javascript for form validation is simply wrong, and is in no way secure. An SQL query is the same no matter what SQL DBMS you use. Granted there are slight sytactical differences, but "SELECT * FROM my_table;" works the same in PostGres, Oracle and MySQL. Regardless, I have never seen a web dev decide to switch from MySQL to Oracle on a whim. The small difference of forty thousand dollars usually seals that deal. You're comparing an operating system, webserver, scripting enging and DB to CMSes that uses the Python language. This doesn't even make sense. Apples to oranges.
  16. Not trying to derail the thread, but you seriously aren't saying that PHPNuke and Joomla are secure are you? Citing security as a reason to use a CMS is like duct taping a midget to your wrist for altimeter checks.
  17. Loading files is pretty simple. Read up on using the proper ENCTYPE (encoding) in your FORM tag (usually multipart/form-data) and throw in a FILE tag to get the browse button form element. Keep the MAXFILESIZE variable in mind. Then, access the HTTP POST'ed file through the PHP $_FILES superglobal variable. Here's the PHP manual page on it. http://www.php.net/manual/en/features.file-upload.post-method.php At that point, you'll want to move the file onto the filesystem and probably store a reference to it in the DB. Do not put files directly into the DB, only store string references to them in the DB. Later, you'll query the DB, pull out the URL for the file and use it to create a link to the file in your HTML output.
  18. I disagree about not using PHP. There is nothing inherently more insecure about using PHP for backend than Python. Error checking on user submitted data is something that all programmers should learn to do manually. There are tons of arguments over which is a better scripting language. But that's outside the scope of this thread. The OP said he wanted to learn how to do the programming. Learning how to use editors that create code for you is counterproductive to learning how to code. I know guys that have been using Dreamweaver for years and still can't hand code an HTML table properly, let alone create a DB query and process the results into HTML output. Learn basic HTML, it's not complex. Then wrap your brain around HTTP requests using GET and POST. After that, pick a scripting language (PHP, ASP, Python .. whatever) and practice handling the request data on the server and returning stuff back to the browser. Then, read up on the basics of SQL and learn how to create databases and setup basic tables. By then, you'll be ready to learn the DB functions in your scripting language and use them to get the data you need to process for HTML output. Having a noob programmer to start using editors at the very beginning is a bad idea IMHO.
  19. Deuce Poppi does a tandem at about 1:20 http://www.youtube.com/watch?v=Z1izqZJmGF4
  20. I'm a backend developer and I primarily use PHP/MySQL. You can host a LAMP (Linux, Apache, MySQL, PHP) website at godaddy.com for like $76.00 for two years. PHP is easy to learn and has a built in image manipulation library (GD) for resizing, resampling, cropping etc. Typically, you'll load images through an HTML form and grab the file from the $_FILES superglobal variable. You'll store the file on the hard drive and the path in the DB. Then you'll query the DB to extract the file path to "build" the HTML output with. There are plently of free image gallery scripts out there, but it's simple enough to create your own. I'm not sure what you mean by "embed a website", but I can help you if you have specific questions.
  21. When you give your girl the arch hand signal in bed.
  22. It was a few pages back, but this one made me laugh my spleen out.