Jump to content

JonnoTheDev

Staff Alumni
  • Posts

    3,584
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by JonnoTheDev

  1. When inserting records and there is no date you should set the field to null, otherwise you end up with 0000-00-00 SET date=NULL Do a mass update on your table to clear the bad records UPDATE table SET date=NULL WHERE date='0000-00-00'
  2. Here is the most obvious error in your code. I haven't read through the rest of the thread but I spotted this straight away. if (isset($_POST['edit']) && $username = 'Admin') You are setting $username to Admin rather than testing a condition. The comparison operator is == This means that anyone can edit any post. Change to if (isset($_POST['edit']) && $username == 'Admin')
  3. Made a few for clients. Wouldn't try to integrate a 3rd party script into your own system. The most important part is reporting sales to your affiliates and sending them monthly figures of sales, commission, etc.
  4. As cags has said, are you hotlinking stuff from your website like video or images on sites like twitter?
  5. Browse through this category http://computers.shop.ebay.co.uk/Vintage-Computing-/4193/i.html?_npmv=3 Highly unlikely that you will find a 386 sx25 knocking about. What the hell would you do with one anyway, run MSDOS.
  6. Just to add my two penneth worth. I would highly recommend Sphinx. Another option is Lucene, which is part of the Zend framework.
  7. LOL. Doesn't sound like it would be much of a game with those.
  8. If this is your companies server are you even sure that the mail server is running?
  9. The mail server should be on the webserver where you are hosting the site. The mail transer agent is probably sendmail or exim. It will have nothing to with your MX record. By the sounds of it they are trying to help you with sending mail from your own pc, not from your website. The first thing to check is the mail headers that are being used in php's mail() function. Some servers require additional switches or the mail will not go out. If you have a control panel on your hosting account I would assume you can access the mail log and see any errors.
  10. Code looks fine. Whatever is on port 9333 is simply refusing the GET request.
  11. $qry_AL = "SELECT max(position) AS x FROM `articles` WHERE `uri`='$uri'"; $result_AL= $mysqli->query($qry_AL, MYSQLI_STORE_RESULT); $AL = mysqli_fetch_array($result_AL); print $AL['x'];
  12. WOW. You have it
  13. JonnoTheDev

    OMG!

    Led by Kurt Russell. http://www.imdb.com/title/tt0111282/
  14. Really. Not from your Facebook profile picture! [attachment deleted by admin]
  15. JonnoTheDev

    OMG!

    LOL! I think todays date is a big giveaway on this one.
  16. Does anyone remember the Gorillas game in QBASIC?
  17. You see this thing used all the time on like cheap ass dating sites in the uk. It'll say things like 'meet the perfect girl in Bristol'. I'm no where fuc**** near Bristol for god sake, and not that I use dating sites, just had to make a few for clients.
  18. Then maybe it will work for you
  19. The IP provided by the ISP will not be your curent location. In fact my IP locates to London UK which is over 200 miles away. So, this is not a viable solution to the question.
  20. If you have agreed a spec then I would charge a project price. Any ammendments outside of the spec are charged at an hourly rate.
  21. I think this would have to be some kind of GPS like apps you see on mobile phones / sat nav. You cannot get this through WIFI as this is essentially just a wireless router.
  22. Bloody hell. Are you in Mensa?
  23. What part are you stuck on? What you should really do is rename the file once it has been uploaded. Some users tend to upload files with funny characters or spaces in them, or upload a file with the same name that overwrites another. This is bad when it comes to the web so I usually hash the name of the file with a timestamp or something so you get a unique filename. Since you know the name of the file it is easy to store it in your database.
  24. Or even simpler, just create a user profile that does not have admin privileges. Then they cannot change any system settings or install stuff that may damage the system.
×
×
  • 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.