Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Considering jpGraph is a simple PHP library. it doesn't need installing as such. Just put it in a directory somewhere and then include the necessary files into your own code. The best place to put jpGraph is probably somewhere on your php include_path. You can see what your include_path is by either checking your php.ini file, or by executing a script containing.... <?php echo get_include_path(); ?>
  2. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=322218.0
  3. No. a just depends on b. See http://php.net/manual/en/language.oop5.inheritance.php
  4. I'll put this fix in this afternoon.
  5. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=322128.0
  6. The underscore has no special meaning. Some people however (including myself) name private properties & methods starting with an underscore just to make them easier to see.
  7. It seems a long winded approach, where is $cds defined?
  8. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=322125.0
  9. echo $c->things->morethings; As a side note, a & b are in no way related.
  10. Check phpinfo to see if xmlrpc is enabled (it likely isn't). If not, you will need to enable it within the extensions section of your php.ini then restart Apache.
  11. Sorry, but that code makes little sense. can you please describe exactly what your trying to do?
  12. Where exactly did you here that? It is ALWAYS up to the programmer to sanitize data. Prepared statements help, but there not the be all and end all and there not exclusive to PDO either.
  13. I really wouldn't recommend the idea. GIT (or any really) is tried and true and will always offer allot more features, will be compatible with other systems / tools and be allot more stable than any half baked solution.
  14. register_globals where disabled for security reasons. If your php4 has them on still, I would still strongly recommend fixing the code.
  15. Your code also looks like it relies upon register_globals being on, this has been off by default for around 8 years, even in php4.
  16. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=322069.0
  17. defined check sot see if a constant is defined. There is no alternative.
  18. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=322037.0
  19. PHP Code Sniffer will check for standards, not syntax. You can use php's cli to check for syntax errors.
  20. As I said, if your calling getimagesize() on images on the local server you should be using a file path, not a url.
  21. But the output you have presented say you CAN connect?
  22. Sorry, I misread the question. Using the rewrite rules you have will block all http access (this includes requests from php's getimagesize()) unless they originate from the mysite.com domain. There is no way to block http and still allow getimagesize() to work as it actually uses http to retrieve remote files.
  23. It might work, but maintaining a large application written like that would be a chore.
  24. Use a file path with getimagesize(), not a url.
×
×
  • 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.