Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=308768.0
  2. You will find /proc in all but some virtual and embedded Linux distributions as far as I'm aware. It is a fairly integral part of the OS.
  3. I don't really see the big deal. It needed to be some single char in my opinion, and that's what we got. Live with it.
  4. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=308756.0
  5. Missing a ; on... require_once('dbconnect.php') Also, require_once does not require brackets. (Not that it will cause an error) require_once 'dbconnect.php';
  6. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=308660.0
  7. trq

    Tricky One

    You shouldn't be using the dir function at all, instead, query your database. That is why you have the data stored in the database isn't it?
  8. Post your current code and the exact error you are getting.
  9. Now you are redirecting gallery to gallery, this causes an endless loop.
  10. It is a PECL extension. See http://ca2.php.net/manual/en/intl.installation.php (will move this thread back to PHP Help). And no, Ive never used/heard of it, sorry.
  11. ResourceBundle isn't any standard php class, what framework / library are you trying to use? Is it installed?
  12. scp should be fine but make sure you use compression to speed things up. eg; tar czf - sourcedir/ | ssh foo@foo.com tar xzf - -C destdir
  13. Your description of your problem leaves allot to be desired.
  14. A simple example. <?php session_start(); if (isset($_POST['pin'])) { $pin = mysql_real_escape_string($_POST['pin']); $sql = "SELECT id FROM users WHERE pin = '$pin'"; if ($result = mysql_query($sql)) { if (mysql_num_rows($result)) { $_SESSION['pin'] = $_POST['pin']; } } }
  15. Quotes are belong around strings, it really is that simple. $bookingID[$row['id']] = $row['id']; echo $bookingID[$row['id']];
  16. What exactly are you doing and what is the exact error your getting?
  17. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=308673.0
  18. Header errors have nothing to do with where a file is included. You cannot however have any output sent to the browser prior to calling the header function. This for instance.... echo '<script>alert("Some fields were not filled out!");</script>'; header("Location: http://www.inkzoid.com/shoutbox/shout.php"); will cause errors because echo sends data to the browser.
  19. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=308617.0
  20. trq

    PHP API?

    An API is an application programming interface. This basically means that the application in question has provided an interface for programmers to use to access certain functionality programatically. This, could mean lots of different things, but in regards to a web application, it generally means you make a GET request for certain data, and the application sends this data back. Of course, there can be more to it, for instance Google provides an API for Gmail that allows you to add new users (create new email addresses) to your (Google applications) domain.
  21. This topic has been moved to CSS Help. http://www.phpfreaks.com/forums/index.php?topic=308631.0
  22. Its been my experience that Zend is far too slow to handle any large applications. We (my employer) had to ditch a CMS that we had developed on top of Zend because it simply took far too long between request and response. You may say it wasn't optimized, but believe me, we spent a good two months trying to optimize it because we weren't willing to drop 12 months worth of development without a fight. In the end though, we just couldn't get the performance we required. A much smaller custom framework has since been developed and is producing MUCH better results.
  23. Do you have a question / problem?
  24. This topic has been moved to PHP Installation & Configuration. http://www.phpfreaks.com/forums/index.php?topic=308601.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.