Search results

  1. xPlozion

    A big project help

    yes, thank you. I will take a look at this code in zend... i'll be back in a few... oh, and if you don't mind, can you pm me the whole code if you don't want to post it here. I cannot tell if there's any other errors, cause there's none showing up, but it's only a portion as you noted. -xP
  2. xPlozion

    Latest template

    looks nice for a template :), I just hope that the image loss is just for the preview... keep up the good work
  3. xPlozion

    A big project help

    correct. when php complains about an unexpected $end, then that means that one of the if-else tags aren't properly closed. I believe that you have pinpointed the problem too. also, where $ulevel is, theres no semi-colon ( ; ) at the end, and it just runs right into $email. also, looking...
  4. xPlozion

    A big project help

    on line 114, you have:echo "<br>Back To [<a href="http://forums.x10hosting.com/programming-help/index.php">Main</a>]<br>"; the proper code would beecho "<br>Back To [<a href='http://forums.x10hosting.com/programming-help/index.php'>Main</a>]<br>"; or echo "<br>Back To [<a...
  5. xPlozion

    A big project help

    OK, I understand. I'll start by the MySQL DB Layout. TABLE: users FIELDS: uid, int(4), not null, auto_increment, primary // max user limit: 9999 users username, varchar(255), not null password, varchar(40), not null email, varchar(255), null // allow there to be no email attached w/...
  6. xPlozion

    A big project help

    yes, it's all possible. 1. have different access codes. 0 for member, 1 for admin, 2 for mod, 3 for judge, etc... 2. going off what's above, if ($user_level == '1' || $user_level == '2') { 3. same concept as #2. 4. I don't know what you mean by email is automatically updated, but store the...
  7. xPlozion

    Need Help with Log In and Password Protected Pages

    do you want the page to be protected so when they try to get to the url, a box comes up ontop of the browser asking for a login, such as when you try to enter a router (linksys, netgear, etc...). if so, then it's protected by .htpasswd . the exact setup isn't clear to me, as I've never had to...
  8. xPlozion

    [REQ][200 points]Solve my login cookie problem

    ty, post any errors if there's any and i'll work on it ;)
  9. xPlozion

    MySQL not inserting into database?

    change $result= mysql_query("INSERT INTO login VALUES('$user', '$pass2', '$email', '$active')"); // to $result= mysql_query("INSERT INTO login (username, password, email, active) VALUES('$user', '$pass2', '$email', '$active')") or mysql_error(); and change the fields in the first set of ()'s...
  10. xPlozion

    Looking for PHP and MySQL programmer.

    I may not be a professional, but I've been coding with PHP for a few years and MySQL integration was a must from the start. My site is developed solely around a MySQL back-end. Hardly anything in the site is static. I have also developed a few sites for various clans... Portfolio (although...
  11. xPlozion

    [REQ][200 points]Solve my login cookie problem

    according to his profile:
  12. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    @kkenny: thank you. @wizet: all done. the script is fully functional, and I put the comment script where it'll look good in that page. And with that, I'm out to bed. It's late (10:36), I'm tired, and I have to get up early for work... PS. If you need any other help with anything else, I am...
  13. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    thank you, but you are still having problems with your mysql_connect. I'll post an image to help you out greatly... i'll be back in a few minutes ;) <?php mysql_connect("localhost", "DB_USER", "PASSWORD"); // change DB_USER and PASSWORD mysql_select_db("DB_NAME"); // change DB_NAME ?>
  14. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    ok, thank you. is there anything you can do about the other topic though, or am i sol with that one (although it was only 200 iirc)?
  15. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    @wizet: actually, as kkenny was saying, it's quite hard. the only way that they would be able to hack it is by sql injection, which mysql_real_escape_string prevents. seeing non-vital source code, such as the code i posted is not going to pose any security threat. Just don't post your db...
  16. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    by the looks of it, you aren't including the whole db username. You've only got kage (assuming it's your db username). It needs to be cpuser_dbuser where cpuser is the username that you use to log into cpanel, and dbuser is the username you used for the database.
  17. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    run the sql code i posted on the front page in phpMyAdmin, under the SQL tab http://mfhome.us.to:2082/3rdparty/phpMyAdmin/index.php? -link to phpMyAdmin. on the right, you'll see click on the db u created, then click on SQL on the top and paste the code i posted before in the textbox:
  18. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    do you have a mysql database created? did you run sql query in it? modify those two lines to connect to the database. keep localhost the same, but change cpuser_dbuser to your database user, password to the password that the dbuser has, and make sure that you add the user to the database. then...
  19. xPlozion

    [REQ][300] Need someone to finish up a comment box script

    OK, looking at your page, your error is that the page is an htm file, when it needs to be a php file. Rename new_additions.htm to new_additions.php . also, put the proper values in the top 2 lines where there's mysql_connect and mysql_select_db.
Top