Jump to content


  • Posts

  • Joined

  • Last visited


Everything posted by LiamProductions

  1. I do not own nor affliate with this site but i host with it: http://www.apthost.com Its cheap, Why not?
  2. Where are you including the mysql connection?
  3. make it search the DB for there IP then if it matches don't do anything and if it doesnt match any run the script to log.
  4. Hey. Im kind of stuck. Well... If im getting like a subject title from a database. How would i get the first 10 chars and then have like 3 dots after it? What functions should i be using or could someone post an example. Cheers, Liam.
  5. SMTP = Simple Mail Transfer Protocol. Maybe the IP is for the login page or something
  6. Wrong board to post this in. But, PHP Designer 2007.
  7. Nope, Donate to http://www.phpfreaks.com if you can. EDIT: The link is wrong above: Use http://www.php.net/mkdir
  8. Hmm... <?php $user = $_POST['user']; mkdir("$user", 0777); ?> To make the folder http://www.php.net
  9. Take off the validation sign, When you have 23 Errors!
  10. Table 'system.system' doesn't exist The database is called system and the table with users in is called members.
  11. Hey. Heres the error: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\MySystem\members.php on line 11 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\MySystem\members.php on line 12 There was a critical error. Matching your data. And heres the code: <?php if(isset($_POST['submit'])) { if(isset($_POST['user'])) { if(isset($_POST['pass'])) { include('mysql.php'); $user = mysql_real_escape_string($_POST['user']); $result = mysql_query("SELECT * FROM `system` WHERE `members`.`user` = '$user'"); $user = mysql_fetch_assoc($result); if(mysql_num_rows($result) == 0) { echo "There was a critical error. Matching your data."; } else { $enteredPassword = md5($_POST['pass']); $pass = ($_POST['pass']); if($enteredPassword == $pass) { $userC = $_POST['user']; setcookie("User", $userC, time()+3600); } else { echo "There was a critical error. Matching your data."; } } } else { echo "There was a critical error with you <b>Password</b>."; } } else { echo "There was a critical error with your <b>Username</b>."; } } else { echo "There was a critical error."; } ?> Its a login file. Can you find the error because i can't.
  12. Is RoR free or do you have to pay for it like ASP
  13. http://miniurl.us.to/8267926.php Get a better host. and even if only you use the admin panel you should still make the pass field type password
  14. Heres a simple version of how you should do it Form.html <form method="post" action="file.php"> <input type="text" name=\"name\"> <input type="message" name="message"> <input type="submit"> file.php <?php $to = "Myemail@phpfreaks.com"; $name = $_POST['name']; $message = $_POST['message']; $subject = "Mail form"; mail($to, $subject, $message); ?> If you have a STMP server that should work also i hope it gives you an idea Take a look at http://php.net/mail
  15. Try: http://www.php.net/sleep <?php echo "Script here"; sleep(; echo "Img here"; ?>
  16. Hotmail normally blocks any emails that you don't have on ur contacts or you have not asked for safe view on it. Try making a hotmail and use that to email hotmail users and include no images and it might work.
  17. Im not sure about ports but i know they go into thousands my friend said.
  18. try: http://www.uk2.php.net/gd Otherwise, I don't think there is a program that will do it for you inless you use something like Danosoft
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.