Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Everything posted by DeanWhitehouse

  1. $query = "SELECT * FROM $table WHERE L1 = $uname AND L2 = md5($pword)"; $result = mysql_query($query) or die (mysql_error());
  2. $id = $_GET['id']; $id = stripslashes($id);
  3. Yes, on the page you can do $id = $_SESSION['id']; $sql = mysql_query("SELECT * FROM table WHERE id ='".$id."'");
  4. Ok, Put session_start(); on the top of everypage , then put on the login where the header is $_SESSION['id'] = $id;
  5. Why do it like that ? Why not make it unique for each user by storing there id in a session ?
  6. Try mysql_query("SELECT * FROM members WHERE PaidID <> '1' AND ZipCodes LIKE '%".$SEARCH."%'") or die(mysql_error()); //or try mysql_query("SELECT * FROM members WHERE PaidID = '0' AND ZipCodes LIKE '%".$SEARCH."%'") or die(mysql_error());
  7. If you hard coded the photos you will most likely need to hard code the pagination. You may be able to do it using arrays?
  8. If you're not busy you could do it manually, when someone has paid send them the program? Another thing you could do is instead of protecting the download why not protect the software? With a license key (only used once) or similar?
  9. I don't think you can use this != operator in Mysql statements try <> or PaidID = 0 ??
  10. I suppose you can use a mysql database or you could do flat file, but don't expect us to write it for you , look into mysql databases and running mysql queries in php.
  11. I wasn't sure whether it still works outside the webfolder, thats why i didn't say.
  12. Mod please move to JS section. Also look at the onclick event
  13. <select> <option>this is drop down item one</option> </select> And please don't ask for script to be written, try your self
  14. Can you put the page in a folder where bots dont go, because i assume yourr site has google etc. running bots on it. Also try no-index meta tags etc.
  15. How can i do that thing like google suggestions ,where if i enter something like Great Britain but spell it like Geat Britian How can i offer the correct one?
  16. Try changing REQUEST to POST, and also do if(isset($_POST['send'])) { //all your code in here (the email bits etc.) }
  17. Ok, have you also tried any error reporting error_reporting(E_ALL); ini_set('display_errors','On'); ? And echoing the session vars to check if they are correct?
  18. It doesn't really matter what way? As they both print out something if there is a session started.
  19. Did you use a html generator? If so learn html, then php and then maybe javascript.
×
×
  • 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.