Search results

  1. M

    Having toubles installing Collabtive

    You can use a single database for more than one package, which you usually do by configuring each package to use a table prefix. Wordpress, for example, uses "wp_" by default; if you have three separate installations (which will be rather a drain on system resources and you run the risk of an...
  2. M

    Json

    JSON is purely application layer. The server doesn't enter into it, any more than the postal service cares what format you use when writing letters. This particular forum is for 3rd party code, which is code you don't write. If you have a problem with code you're writing, post in the...
  3. M

    new cronjob error

    The word is the error is a consequence of cronjob abuse suspension. It should be unsuspended after a short time. When editing your cron jobs, make sure you don't schedule more than one every five minutes. Read the X10 Wiki article on cron jobs for more.
  4. M

    php - header(...) not work

    @craberic: Please use [php], [html] or [code] tags (as appropriate) to separate and format code. Giving PHP scripts the correct extension is simpler and more efficient overall. There isn't much of a performance loss with your configuration, but all HTML files will still be processed as PHP...
  5. M

    Executing background jobs - Permissible or not ?

    @qchimex1: you need to pay closer attention when reading, both to my post and the terms of service which you agreed to when you signed up. Both already address your post.
  6. M

    new cronjob error

    File permissions outside of your home directory are beyond your control. This should clear up on it's own. In case it doesn't, I've posted a message for the admins, asking them to look into it.
  7. M

    User age within database

    Code samples for what? Except for creating a class to handle users (which is too dependent on other aspects of the system for me to even begin to think about implementaiton), everything that I mentioned is trivial, or uses a separate library, or both. So, you're welcome, I guess.
  8. M

    cron job and codeigniter

    Yes. The command line "mail" program is not the cPanel e-mail feature. Yes. wget and curl would be the preferred programs, as they are designed for non-interactive use. As for the differences between wget and curl, they each have their own functionality not supported by the other, but (for your...
  9. M

    cron job and codeigniter

    I believe that the cron e-mail feature in cPanel is disabled. At least, it was at one point and I don't remember reading about it being re-enabled. It's better to handle logging yourself. The X10 Wiki article on cron jobs has examples on how to capture output in a file. You could also have the...
  10. M

    cron job and codeigniter

    The command line ain't the web. When you run a script via the command line, CGI doesn't come into play, so you won't have superglobals such as $_SERVER and $_GET. If your scripts need these, either write a boot script that sets them, or use curl or wget. As for the latter two not succeeding, how...
  11. M

    Don't show URL of link in status bar

    The links won't be followed by search engine spiders and will cause problems for screen readers and other tools used by people with disabilities, as would any sort of link that requires JS. HTML is for more than how browser render it; it carries meaning (except for <span> and <div>, which are...
  12. M

    User age within database

    To make an option unselectable after a user has selected another option, give it the "disabled" attribute. To ensure a user picks a value for each input and that the date is valid, use client-side and server-side form validation. Client-side validation should be done as early as possible. For...
  13. M

    Wordpress and PHP prepend_file

    I did. More precisely, the HTTP spec does.
  14. M

    Wordpress and PHP prepend_file

    No, I wrote: I'm not sure how you got anything about a 307 response from that. You'd use a 307 if you wanted the user agent to repeat the request exactly (including the request method) for the new URI, which is unrelated to anything discussed in this thread previously.
  15. M

    Wordpress and PHP prepend_file

    Note how important it is to include code that gives a minimal test case (complete, concise, representative). Without it, we could only guess as to the issue. Follow the advice in my sig to improve your question asking skills. If this is the exact contents of the file, the lack of a space...
  16. M

    hmm css templent problem

    There are a few issues with W3Schools' coverage of web technologies. Their section on CSS isn't so bad, but you may be tempted to turn to W3Schools for others as well. You'd be better served by starting with a site that has good information on all topics that it covers. HTML tutorial - The...
  17. M

    Wordpress and PHP prepend_file

    That's not enough information. Please include a specific description of what you want/expect to happen and what actually happens (including any error messages), and enough to reproduce the issue.
  18. M

    My email scripts don't work!

    I have this one to become a city planner and create a downtown that's a sonic lens, generating high-power infrasound that targets neighboring cities.
  19. M

    hmm css templent problem

    Your question isn't very understandable. Follow the applicable advice in my sig.
  20. M

    Mysql database hostname

    The MySQL connection information is outlined in an X10 wiki article. As for the appropriate DSN format, we can't say since you didn't specify what DB module you're using. In any case, check the documentation. nuwanpra, that's merely a convention employed by some packages, a convention...
Top