Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Everything posted by DeanWhitehouse

  1. Echo out $id Echo $id;
  2. $query = "SELECT * FROM $table WHERE L1 = $uname AND L2 = md5($pword)"; $result = mysql_query($query) or die (mysql_error());
  3. $id = $_GET['id']; $id = stripslashes($id);
  4. Yes, on the page you can do $id = $_SESSION['id']; $sql = mysql_query("SELECT * FROM table WHERE id ='".$id."'");
  5. Ok, Put session_start(); on the top of everypage , then put on the login where the header is $_SESSION['id'] = $id;
  6. JS , or meta refresh
  7. Why do it like that ? Why not make it unique for each user by storing there id in a session ?
  8. 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());
  9. 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?
  10. 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?
  11. I don't think you can use this != operator in Mysql statements try <> or PaidID = 0 ??
  12. 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.
  13. I wasn't sure whether it still works outside the webfolder, thats why i didn't say.
  14. Mod please move to JS section. Also look at the onclick event
  15. o,yer my bad.
  16. <select> <option>this is drop down item one</option> </select> And please don't ask for script to be written, try your self
  17. This is php help, not HTML
  18. 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.
  19. 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?
  20. Try changing REQUEST to POST, and also do if(isset($_POST['send'])) { //all your code in here (the email bits etc.) }
  21. 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?
  22. It doesn't really matter what way? As they both print out something if there is a session started.
  23. 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.