Search results

  1. M

    WordPress PHP form plugin help...

    It can help to think in terms of host and embedded languages (which is also useful for SQL injection). The host language is simply the primary language that's being processed. When the PHP interpreter is running, PHP is the host language and things like HTML, Javascript, CSS and SQL are embedded...
  2. M

    MySQL Total Column

    In any case, it's not clear what councils wants, so we can only guess. If councils wants a running total, changing earlier values is not an insignificant consistency problem. Note that "earlier" isn't well defined according to councils' post: would it refer to insertion order (as you posit)...
  3. M

    WordPress PHP form plugin help...

    I'm afraid I don't quite get the difficulty. You should place it wherever in the HTML source you want the form to be. Just make sure it's within <?php ... ?> tags.
  4. M

    MySQL Total Column

    Since column totals are a property of the table and not whatever the rows represent, the total shouldn't be stored in rows of the table. Additionally, this redundancy will potentially cause inconsistencies, and it violates third normal form. Instead, use SUM or WITH ROLLUP in your queries to...
  5. M

    question about output_buffering

    As far as I can tell, output_buffering isn't set on the free servers, which means it should default to "0", which is off. Otherwise, you can call ob_flush when necessary.
  6. M

    EyeOS 1.9 allowed?

    EyeOS is allowed, though even older versions may cause HRU suspensions. Giving others access would be problematic, as certain features (such as file upload) could get you in trouble. For example, if anyone uses the site for file hosting, or uploads copyrighted material, nulled scripts (or other...
  7. M

    Suspension a cause d'une pas phishing

    You'll have to excuse my writing this response in English. I can read French, but it's been awhile since I could write it. That's quite a genteel plea. Unfortunately, phishing falls under the Zero Tolerance Policy. We can't know what purpose the phishing pages had, so if they were on your site...
  8. M

    Cpanel login

    Another user was having problems connecting to Boru. Clear your DNS cache and ping boru, as outlined in the other thread. Also try accessing Boru from another computer. It's possible you were experiencing a temporary network outage and need to do nothing further.
  9. M

    IP address appears blocked

    First, make sure it's not just a problem with DNS. Clear your DNS cache, then try connecting to the host by IP address by (e.g.) pinging 69.175.121.66 (which is Boru's IP) or by telnetting to port 80 on Boru and sending a HTTP request: HEAD / HTTP/1.0 Host: <your hostname here> If the above...
  10. M

    Account Suspension

    As the suspension message says, you can unsuspend yourself.
  11. M

    internal sever error

    Internal servers errors come from Apache, not MySQL or any other server. They usually indicate a misconfiguration. If you're referring to the error when viewing http://northlight.x10.mx/magento, try installing it via Softaculous if you haven't already. Make sure you look through the Magento...
  12. M

    Apache

    At some point, magic quotes will be disabled, but it can only be disabled for everyone. mod_rewrite is loaded. You can enable the rewrite engine yourself by adding the following to your .htaccess: RewriteEngine on RewriteBase / which a little searching would have told you.
  13. M

    jQuery .each()

    If the browser says $ isn't a function, then it isn't defined as a function at the time you're trying to call it. As for the cause, note the call to $.noConflict at the end of http://www.pratham.me/wp-includes/js/jquery/jquery.js.
  14. M

    Squeak Smalltalk Error

    Please use [php], [html] or [code] tags (as appropriate) to separate and format code. That's not enough to reproduce the problem. Please follow the directions in my sig and read over the linked documents, following their guidelines.
  15. M

    How to automatically send a reply mail using PHP?

    I see you didn't enter a shebang line, as the document linked in the previous post shows. Don't pipe the e-mail directly to the script, pipe it to PHP, telling it which script to execute. As stated previously, Trying to execute the script directly will be too much of a hassle...
  16. M

    How to automatically send a reply mail using PHP?

    In cPanel, you can forward e-mails to a program, which should get the e-mail on standard input. Make sure you use the full path to php ("/usr/local/bin/php-cli" or "/usr/local/bin/php" should work), include any necessary arguments (such as "-q" to suppress HTTP header generation for the non-CLI...
  17. M

    Squeak Smalltalk Error

    A quick web search suggests you may be running into a bug in IPv6 handling. If you need more than that, you'll have to provide sample code and the error message. All problem descriptions should include what you expect to happen and what actually happens, which includes any error messages.
  18. M

    PHP Open Basedir

    Search first.
  19. M

    Content Based Image Censoring Class

    Try training some neural networks. As long as you've got a large sample that you've classified, they have a decent possibility of working. The main problem will probably be that the size of the network is O(width*height) of the images, with O((width*height)**2) initial connections.
  20. M

    Need help on .htaccess

    Referer wouldn't work because it would give the address of the page (if any) that linked to the login page. There's the X-Forwarded-For and X-Real-Ip headers, but they can be (partly) spoofed. The load balancing proxy will add the real IP of the client to whichever headers it uses, so you can...
Top