Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. trq

    What is a trigger ?

    http://dev.mysql.com/doc/refman/5.0/en/triggers.html
  2. This has what to do with the installation and configuration of php? If you are familiar with php you should have no issue figuring this out for yourself.
  3. To be honest I'm not sure I believe the claims. If you know C, go for it. The code is available on http://php.net
  4. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=352720.0
  5. Of course not. PHP is open source.
  6. A forked version generally means that the source code has been hacked in some manner making it different to the official version.
  7. mod_php is the fastest route as it is built into Apache and started when the server starts. All of the cgi's are started upon each request.
  8. No, you don't need any loop. Just pass the resource to mysql_fetch_assoc which will give you an array. This array will have your data in it.
  9. You don't have to do anything. Just pass it a complete url.
  10. Your going to need to escape $message. See mysql_real_escape_string
  11. Why don't you post some relevant code then?
  12. mysql_query returns a result resource not an integer.
  13. Storing data in a comma separated fashion within a database is generally a bad approach. It makes searching your data for more difficult.
  14. Is there a particular reason your not using a database for this? I think your making it more difficult then it needs to be.
  15. It's pretty simple logic: if (http_file_exists($your_url)) { trigger_error('exists!'); } else { // do whatever else you want. }
  16. Is there a particular reason your using fastcgi over mod_php? mod_php is far superior performance wise.
  17. Highly recommended though. One thing Iv'e learnt at my latest place of employment is that data integrity is best handled at the database level.
  18. This is quite normal, what exactly is the issue?
  19. That would be as simple as.... // authenticate the user if ($authenticated) { $_SESSION['loggin-in'] = true; } Then to check to see if they are logged in. if (isset($_SESSION['logged-in'])) { // do whatever }
  20. The first is checking to see if the request is of type POST. The secong is assigning a value to the variable $_POST.
  21. This topic has been moved to Application Frameworks. http://www.phpfreaks.com/forums/index.php?topic=352626.0
×
×
  • 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.