Recent content by garrette

  1. G

    PHP and mysql questions; retrieving information for different users.

    Thank you, very informative! I will be sure to look at an go over all that you've said! Thanks!
  2. G

    PHP and mysql questions; retrieving information for different users.

    Okay, my title may seem confusing but here is what I want: I am trying to make it so that I can retrieve information, depending on which user is logged in. I have a page that when a user looks at it, the user see's his name. i have run into a problem, because I am unsure of how to retrieve more...
  3. G

    I want to learn PHP

    Not to be mean, but I actually lol'd at this post, don't use W3schools, and html is nothing like php. But, the two do go together when developing websites. The most similar language to php that I have learned so far would have to be C++, which is much easier to test since it can be done using...
  4. G

    I want to learn PHP

    Personally, I would start with html and css because they are very, very easy to learn (in my opinion). Once i learned those I personally went on on to learn C++ from a website online, learncpp.com, and I found that very helpful to learning php and javascript. The tutorial is very easy, and...
  5. G

    Problem with encrypting passwords.

    Now I found out that my passwords were very insecure, and that rainbow tables would be able to easily find out my information. . . so I decided to try and encrypt them. function enc($string) { $salt = "@x2p"; $hash = sha1(md5($salt.$string)).md5($string).sha1(md5(md5($string)))...
  6. G

    Why doesn't this save to my mysql file? (PHP)

    Thanks for the information! I will be sure to look into all of this! Very helpful.
  7. G

    Help with php and mysql

    Haha I was using it for a bit, but in someones signature they claimed it was bad, so I went elsewhere. I'm used a page called "freewebmasterhelp" just to get me started, I already know some c++, and I'm finding it very similar to php in many ways.
  8. G

    Maximum File Size Upload

    That would be correct if he was storing these files for download. The terms of service state that this can't be used to host scripts such as torrentflux. It also states that it is alright to host files, as long as they have to do with the website. Now if this website gets too large and overuses...
  9. G

    Why doesn't this save to my mysql file? (PHP)

    I have fixed the problem, it was within the database. I don't remember what exactly I did, but I did get it working. As for the SQL injection, how to I stop this insecurity? I am using a tutorial from 2009 to help with learning the mysql extensions, but that is probably according to what you...
  10. G

    Why doesn't this save to my mysql file? (PHP)

    It worked literally 15 minutes before, and I tried to make a small change to the script, erased it because I changed my mind, and now it won't save this information to my database. . . any idea why? <?php //form data $submit = $_POST['submit']; $Name = strip_tags($_POST['Name']); $username =...
  11. G

    Javascript Highscore Table

    This would be put to better use in the scripts forum! This section is for help with scripts, so I believe this is misplaced unless you are looking for some sort of help !
  12. G

    Help with a mysql database, how to reset a "unique" id to 1.

    As of now, the database in mysql has a unique row, named "id" which is set as auto-increment. I was debugging the site with some fake accounts, and now I deleted them and wish to make actual accounts on the site, but the id number doesn't start at 1, it starts where it left off. How can I...
  13. G

    Problem with php. Connecting to a database. Easy fix?

    Well it may not be "proper" coding structure, but the webpage displays fine. It works this way, I'm sure it could work another as well.
  14. G

    Spyking on your own kids?

    I was just saying that giving them a fair warning would be nice, as a means of keeping their privacy to an extent. I personally have a friend in highschool who's parents do this, and they don't get on other systems to "continue" any bad behavior they have. As a teenager still (17 in college), I...
Top