Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Even MS aren't supporting VB6 any more, why would you bother?
  2. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=336172.0
  3. As I said in your other thread. PHP's mail() function does not support authentication, hence, you will not be able to use it with gmail. It is designed to work with local servers. You will need to use a third party library like PHPMailer, or install a sendmail emulator such as ssmtp.
  4. You would be much better off storing your data properly and not using comma separated values.
  5. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=336124.0
  6. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=336095.0
  7. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=336097.0
  8. Gmail requires authentication. PHP's mail function does not support it.
  9. It's not that difficult to setup really, but as MrAdam has stated, you'll need to do some reading. I've implemented this type of thing several times in my career and it's not really something that is going to be explained easily in a simple forum post. The first thing I would do is read up on 'dynamic' virtual hosts. It's covered in the Apache manual. It basically allow you to setup Apache to use wildcard paths. This in turn enables you to add sites by simply creating directories in the right place. You don't even need to restart Apache for these sites to become available. Seriously though, if your hear asking these questions your not in the position to do this yourself just yet. Servers invite people looking for security holes and unless you know what you are doing your service will fail. If it does fail, you need to consider that it's not just your data on the line but your clients.
  10. There is no native way to do this in php. Easy enough to roll your own though. function inc($file) { ob_start(); include $file; return ob_get_contents(); }
  11. This topic has been moved to Linux. http://www.phpfreaks.com/forums/index.php?topic=336054.0
  12. trq

    flash 4 linux

    What freeware for flash?
  13. Sounds to me like you need a version control system. There are plenty around. Git is flavor of the month at the moment is is becoming more and more popular by the minute, Subversion is also another popular choice.
  14. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=336019.0
  15. Databases are used for storing data. It really is that simple.
  16. This has nothing to do with any changes in PHP5. allow_url_fopen has been off by default in PHP for a number of years for a number of security concerns. Fix your code to use file paths instead of urls.
  17. This topic has been moved to Other. http://www.phpfreaks.com/forums/index.php?topic=335878.0
  18. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=335829.0
  19. Thanks man, a little hung over today after dinner and a few wines last night.
  20. I would say it's just crap code. The ot_discount class is being included more than once. Further questions would belong in the Third Party Scripts board.
  21. Just get all your data in one query. Running multiple queries like that is ridiculous.
  22. Your missing the closing ; around your first query. eg; this CREATE TABLE `customers_to_discount_codes` ( `customers_id` int(11) NOT NULL default '0', `discount_codes_id` int(11) NOT NULL default '0', KEY `customers_id` (`customers_id`), KEY `discount_codes_id` (`discount_codes_id`) ) should be... CREATE TABLE `customers_to_discount_codes` ( `customers_id` int(11) NOT NULL default '0', `discount_codes_id` int(11) NOT NULL default '0', KEY `customers_id` (`customers_id`), KEY `discount_codes_id` (`discount_codes_id`) );
  23. If you had posted your question in the correct board you might have noticed the big sticky thread at the top which says; HEADER ERRORS - READ HERE BEFORE POSTING THEM. Please note, we also have code tags for using when posting code.
×
×
  • 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.