Search results

  1. M

    PHP/HTML Glitch help

    The screenshots are useful, but we could use a link to a live page. Also, the sample code should be minimized. The PHP code is extraneous; all that matters is the HTML and CSS. Don't use tables for layout. HTML isn't a formatting language, it's a document structuring language. Use markup...
  2. M

    Feedback form not sending email php

    The ability to find (and fix) bugs doesn't imply bugs exist in any given script. My issue is that you come here asking for help, then denigrate the server admins by making a statement about their abilities when you don't appear to be that knowledgable; hence, you're judging in ignorance. They...
  3. M

    Web services

    It looks like WSF/PHP is a PHP extension, requiring compilation (which in turn requires shell access to the server or another computer running the exact same OS release and with the same configuration) and to be loaded into the PHP process itself. Neither shell access nor extension loading is...
  4. M

    Feedback form not sending email php

    Strong words for someone who can't debug a contact form handler.
  5. M

    So can this host run ASP?

    The Free Hosting Comparison page lists ASP.Net as being available under the "illuminated" and "premium" plans.
  6. M

    Web services

    In particular, we require example code that's complete, concise and representative. Have you read the links in my sig (and now this post) yet?
  7. M

    Get domain name (not subdomain)

    As descalzo hints, a regex is probably the best choice. This question (and related) has been asked number of times on SO, with the accepted answer for the first showing multiple solutions and comparing their relative run-times. Url splitting in php Getting Domain Name From Subdomain How to...
  8. M

    Web services

    That's one of the most open-ended questions I've seen in awhile. When it comes to technical, open ended questions are just about the worst, second perhaps only to vague questions. Read my sig for how to improve the question. Start with the hosting plan comparison page to see which plan meets...
  9. M

    SQL Timeout error when trying to retrieve random row.

    If you post on SO, just make sure that the question is appropriate and you have a good write-up. Jon Skeet's article (linked in my sig) on writing the perfect question was written for SO in particular. SO has become more limited in scope as other StackExchange sites have opened up. There are...
  10. M

    Need Help With my website [background-repeat function problem]

    Which is why I keep asking for a minimal sample. If code is too long to post, it's far too long to wade through. Again, read the link.
  11. M

    Feedback form not sending email php

    mail hands off the message to sendmail for delivery, rather than opening an SMTP (or other mail delivery protocol) session itself, so it doesn't support or require authentication. mail() is a core PHP extension. On the contrary, using a variable properly abstracts out data from code...
  12. M

    Need help in jQuery Mobile

    You're probably thinking of "/icons". "/images" should be fine. It's used on far too many sites to store images for it to be aliased. @jch02140: leave the scheme and server name out of the URL. All you need is an absolute path (e.g. "/mobile/images/icons-18-white.png"). In some cases, the...
  13. M

    Need Help With my website [background-repeat function problem]

    That's still not enough information. Is that screenshot of the desired or erroneous presentation? Do you mean you instead want it to look like: What about minimal sample code (see link in previous post), and a link to a live version of same? What browsers have you tested, and which of these...
  14. M

    Need Help With my website [background-repeat function problem]

    "Try it and you'll see" is never a good approach, because we may not see, due to a different browser, window size or who-knows-what (such as the site being down). For presentation issues, grab a screenshot. Also, create a minimal test case and post it, along with a link to a live copy. Your...
  15. M

    SQL Timeout error when trying to retrieve random row.

    No matter what, ORDER BY RAND() will require a table sort since RAND() isn't in any index (indeed, can't be). One alternative if the table has an integer ID column (which it should, as a surrogate) is to get the largest ID, generate a random number <= the largest ID and retrieve the row with...
  16. M

    Feedback form not sending email php

    Please use [php], [html] or [code] tags (as appropriate) to separate and format code. Don't use die when outputting HTML. You'll get invalid HTML. Boru's been undergoing maintenance, if that's your server. There's a post about it in the News and Announcements section; it's always good to check...
  17. M

    Problem with my contact.php page

    Boru's been undergoing maintenance, if that's your server. There's a post about it in the News and Announcements section; it's always good to check in there periodically, and whenever something that worked previously no longer does.
  18. M

    Cron problem

    You should have access to create cron jobs in cPanel. However, you can run at most one job every 5 minutes, as explained in the X10 Wiki article on cron job limitations and elsewhere in these forums. What happened when you tried?
  19. M

    PHP to begin deprecation of ext/mysql -- start moving your development to PDO now

    That one has a few issues (use of SELECT *, extraneous information, information disclosure in error handling code). As is often the case with tutorials online, I've yet to see one that should be used to the exclusion of others. It's usually best to read multiple tutorials, so you don't get stuck...
  20. M

    I’ve got one question about the T&C’s for this host.

    Image boards fall more under the "Image galleries" restriction. The closest thing I can see in the ToS that would apply is the provision that: From my understanding, user submitted content doesn't qualify as a "web hosting service", so isn't forbidden by this provision. However, I'm not an X10...
Top