Search results

  1. M

    Content-Disposition attachment

    Your issue isn't at all clear. What URL does the user access? Where is this URL used? Take us through the steps. Make sure you read the question asking guides linked to in my sig. If you're asking about some sort of program, post a self-contained and concise source code sample. We could also use...
  2. M

    Quick search bar help...

    Set the background-color of input.search to "transparent" rather than #595959. Rather than a text box whose size is determined by the background image, you can make an elastic one by using a tileable background image with end pieces set using :before and :after pseudo-elements (for IE gte 8) or...
  3. M

    Are there two sine and cosine ratios?

    A design note: breaking the overall task down in terms of subtasks and defining a few helper functions should help prevent logic errors, as it can make things more readable and certainly makes them more testable (you can unit test the subtasks to ensure they do what they're supposed to)...
  4. M

    VB Cycling through an array of checkboxes

    Shouldn't the array AllCheckboxes be declared with size 6, not 5? You've got six checkboxes, after all. Filling the array by assigning from the individual checkboxes couples the form definition and setCheckBoxes too tightly. If you add or remove a checkbox, you'll need to edit setCheckBoxes...
  5. M

    How do we know which Wordpress plugins causes High CPU Usage?

    Since it sometimes took a week before being suspended, waiting one day between re-enabling plugins isn't enough time. You'll need to wait a fortnight between enabling plug-ins.
  6. M

    VB Cycling through an array of checkboxes

    The error is thrown in line 56, but you haven't told us which line that is. What's line 56? It's very likely that the selected topping checkboxes are already in a collection of some sort, which you could use instead of creating your own. Sample code should be self contained and concise. Your...
  7. M

    How do we know which Wordpress plugins causes High CPU Usage?

    I can't answer your questions definitively, but I can tentatively. Sadly, I know of no methods that are easy or have a high likelihood of succeeding. From PHP, you could get current processor stats (including CPU usage) using procfs, but PHP on the free hosts is restricted in what can be...
  8. M

    HTML code HELP... My page is not showing

    You say "increase loading speed" like it's a bad thing. Did you mean "increase loading time?" In either case, it's not always true. When images are posted on the same site, the browser can fetch them in the same request using pipelining, thus not having to pay the cost of setting up a TCP...
  9. M

    Database Architecture

    Some more terms to include in searches for specific topics: "relational model", "normalization", "normal form", "denormalization", "anomaly", "foreign key", "functional dependency". See also the thread "sql database".
  10. M

    time limit exceed

    Don't have your page do so much. If there are tasks that you can't cut out completely, create some sort of queueing mechanism. Have the page that's timing out add the jobs to the queue rather than performing the task itself. Process jobs from the queue periodically with a cron script. The...
  11. M

    Mysql Host Name?

    That's a FAQ. Remember to check there and search before posting.
  12. M

    Help on support services

    Sorry, I misremembered what was an open_basedir restriction as a safe_mode restriction. It looks like all the basic requirements are there, though you might run into resource usage restrictions (such as the cron limitation descalzo mentions), as outlined in the terms of service.
  13. M

    what is the path for ImageMagick

    You're right. A script I once wrote was failing due to an open_basedir restriction, and I misremembered it as a safe_mode restriction. Substitute "open_basedir" for "safe_mode" in my previous post.
  14. M

    what is the path for ImageMagick

    What are you looking for, exactly? The convert binary? The library? The PHP extension? I don't believe the extension is installed, and the others likely won't be accessible as safe mode is enabled in PHP and other means of script execution have been disabled. If you're using PHP, the GD...
  15. M

    Help on support services

    Taking a quick look at the requirements, the only item on that list that doesn't match what's on the free servers is safe mode, which is turned on. If you've already signed up for an account, you can always check in cPanel or use phpversion , ini_get and extension_loaded to check most of that...
  16. M

    how to register my updated domain name

    What are you talking about? Your question is very unclear. Do you mean you want to use your own domain? Do you want obtain a domain? Something else?
  17. M

    Database Error: Unable to connect to the database:Could not connect to MySQL

    We're going to need more information. Post a minimal example of your connection code, being sure to censor any private information, such as your DB password. You can partially censor the DB username, but there should be enough to show you're using the correct kind of name (cpanel username + "_"...
  18. M

    Has anyone here found a solution to IE Hover?

    The way you've written your post, it sounds like you have a problem with hovering itself (it's like "has anyone found a solution to car engines?" or "How do you solve a problem like Maria?"), as opposed to a bug in hovering (of which IE has multiple). What's the exact issue you're dealing with...
  19. M

    xml help

    D'oh, you're right. I didn't look closely enough at the call to open. OP: note that synchronous requests can severely impact the responsiveness of your page, depending on how long the server takes to respond. On the major browsers, Javascript executes in a single thread per tab, so a...
  20. M

    Page scrolls to the top after a href is clicked upon which a div is set visible

    Using an <a> has a particular meaning. It implies that the element is a link to somewhere. If it's not actually a link, you shouldn't use <a>. On the other hand, if you want the page to work when JS is disabled, it makes sense to use a link, in which case the href attribute should be set to...
Top