Jump to content

Azu

Members
  • Posts

    1,047
  • Joined

  • Last visited

    Never

Everything posted by Azu

  1. It's nothing to do with the network though. The MySQL server is on the exact same computer as the PHP. And yes, PHP is accessing MySQL through a module. I'm sorry if I sounded rude but I just really would like to remove this overheard since it is (relatively) large.. I'm not really sure what I should update either. I have the latest versions of PHP and MySQL that I can find, and 4 gigabytes of RAM, 3 15,000 RPM sata hardrives in RAID 0, and a Core 2 Duo CPU.. which one is the weakest link? =S Oh and I haven't been getting any errors. It's just that the connect is taking longer then everything else put together that concerns me. And it doesn't seem to matter whether I use _connect or _pconnect; I can't find any differance. This confuses me.
  2. ANYWAYS, can somebody please just answer me instead of trying to find excuses not to? That would be very nice!
  3. Well PHP can do pretty much everything that is needed for running most websites, and it's fast to code in since it already has most of the functions you'll need built in. Wouldn't it take longer to make the same site in say python or perl?
  4. Hmm. Well I'm pretty sure that OpenGL is free open-source software that anyone can use on any operating system, and DirectX is closed-source proprietary software that isn't free and can only be ran on a single operating system. So in my opinion the choice is rather obvious.
  5. Doesn't it also work on nvidia?
  6. You could have found that out on Google you know, lol.. Okay, on a serious note, I think you should just have the file links go to the paypal page with the ID of the file, and then when they buy it, it makes an entry into your database for the ID of that site and the URL, and the paypal page redirects to that link when they pay, so the download starts immediatly, and when the URL is accessed, it is deleted from the database, so it can't be leaked. No registration or anything needed. Also you should set the mime type to force them to DOWNLOAD the file not PLAY it. This way they can listen to it as many times as they want. This is how I would do it anyways.
  7. Okay, you win, PHP sucks. But I'm still going to keep using it because I think it rules.
  8. Try: <?php $a= 1; echo $a; ?> That's not single quotes OR double quotes. That's good old fashioned integers
  9. That's a good way to get a site's adsense account shut down!
  10. I thought OpenGL was free open-source software that anyone can use on any operating system?
  11. Okay I'll try to explain this again. When it takes around 1MS for EVERYTHING on the page except the _connect, which takes between 8 and 20 MS, if I can shave those off, that means that it will be around 8 to 20 times (800 to 2000% speed increase) fast without having to buy any new hardware. Meaning load can increase by 8 to 20 times on the same hardware. This would be a HUGE increase. So I would be very grateful if somebody could tell me how to fix it. I am certain that mysql(i)_connect is not supposed to take longer then everything else put together. And I'm pretty sure it's not disk seek. Wouldn't something as basic as the stuff needed to connect to the database be cached in memory?
  12. Doesn't ANYONE know why mysqli_connect and mysql_connect are taking longer to run then everything else on my site put together? How do I fix it?
  13. By purposefully refusing to ensure that handicapped people can access your service?
  14. You could care less about discriminating against people who have done nothing wrong, simply because there is no law in your country that will stop you? That kind of attitude is what led to womens' and blacks' rights being suppressed for so long, you know.
  15. Hmm I tried switching to mysqli but that made the connect take TWICE as long. On some pages, 90% of the load is from the connect! Please tell me how to fix it, I'm sure it shouldn't be taking longer then everything else put together!
  16. That's a good way to get a site's adsense account shut down!
  17. Avant is just IE with a different skin. Don't waste time testing both. And don't forget to test Lynx! If it doesn't work in Lynx, that probably means it won't work for any kind of screen readers, meaning you will be blocking out visually impaired people, which is illegal in some countries.
  18. I wish I could buy that and stick it in my room.
  19. Don't use quotes for integers it will turn them into strings! And single quotes won't work for variables.
  20. [quote author=Daniel0 link=topic=101004.msg649158#msg649158 date=1184869008] Maybe it's a stupid question, but how was the first assembly compiler then made? ??? [/quote]Yep, binary. Assembly is the lowest (fastest/smallest) programming language besides binary. The downside is that it has a steeper learning curve; it's not as simple and easy as "higher" level languages.
  21. True, you could just NEVER click on ANY links from emails, and NEVER go to ANY websites that you don't completely trust. But personally, I think it's easier to just not let people run javascript on my computer except where there is a good reason to (like for sites that can't run unless you let them use javascript).
×
×
  • 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.