Search results

  1. M

    phishing

    From the Wiktionary: From the Wikipedia article: "Phreak" is a portmanteau of "phone freak". For more on the etymology, see also: Language Log: Phishing OED: phishing
  2. M

    login script

    Don't revive long dead threads. If you want to thank someone, use the "like" link. Otherwise, it's just noise.
  3. M

    Hello I am trying to determine what I am doing wrong.. with PHP and mysql

    Note that you can use [PHP] tags for PHP code and it will be colorized according to. Similarly, there's [HTML] for HTML. You must write code to explicitly handle DB errors; it doesn't happen automatically. When you handle errors, make sure you don't output database error messages to non-admin...
  4. M

    Executing background jobs - Permissible or not ?

    You can have non-interactive processes that run as cron jobs. However, the high resource usage (HRU) restriction will still apply. If you're worried about a runaway PHP script, you can use set_time_limit. More generally, you can force a command to exit with: #!/bin/bash timeout=30 if [ $# -gt...
  5. M

    Help setting homepage

    As Debojyoti Ghosh, there is much missing from your issue description. Follow the advice in my sig for guidelines on posting. My best guess is the page that the page that shows up as the index page (the login panel) is named something such as "index.php" or "index.shtml", both of which are...
  6. M

    Dynamic Coupons script needed.

    Don't crosspost. You only need one thread; more just adds noise. If you want someone else to develop something for you, post in the marketplace. This forum is for help with programs you're developing. Keep in mind that if it's something you're going to make money off of, you should be willing to...
  7. M

    Help setting a cronjob up.

    Slightly off-topic, note that you should place the script under your web folder only if the script should also be accessible as a web page. If not, place it elsewhere under your home folder.
  8. M

    Help setting a cronjob up.

    See also the X10 wiki article on cron jobs.
  9. M

    Problem with $_POST in PHP

    Also, note that $_POST isn't a command, it's a variable. In some languages, there isn't much difference between code and data, but PHP isn't quite that way.
  10. M

    Redirection Issue

    The canonical name for www.mail.creativex.in works properly; if you visit http://www.mail.creativex.in/, you get redirected to the google apps site. The issue is that google apps doesn't recognize the www.mail.creativex.in domain. You could try to get google apps to do so, but a better solution...
  11. M

    Redirection Issue

    What's the actual domain? Domains are public, so there's little reason to hide them. It only makes it harder to diagnose the issue. Note that "www.mail.example.com" is a different name from "mail.example.com"; a CNAME record for the latter won't affect the former. Moreover, it can take up to 48...
  12. M

    Why does i get this error?

    The error tells you exactly what's wrong. It indicates you're trying to execute PHP as an SQL query. The mysql extension is outdated and on its way to deprecation. Instead, use PDO, which has many useful improvements, such as prepared statements and support for the Traversable interface, so you...
  13. M

    How does i fill out this?

    Follow the directions in my sig and try again. Use [php], [html] or [code] (as appropriate) to separate and format code.
  14. M

    Need help with cron job!

    wget takes a URL as an argument, not a pathname. Moreover, pathnames don't support query strings. Third, the ampersand is a special character in most shells, marking the end of a command and causing it to be run in the background; to prevent this, you'd need to quote the URL. Is the script...
  15. M

    PHP and mysql questions; retrieving information for different users.

    The username identifies the user, correct? In relational database terms, it's a candidate key for the "users" table, which means the username can uniquely identify each row in the table. That means the username is all you need to get any information about the user, whether in the "users" table...
  16. M

    function works on local not on remote

    When descalzo wrote that he wanted you to define "does not work", it's not because your statement was grammatically incorrect, it's because "does not work" is ambiguous. We can't know how it's not doing what you want. Are you getting an error? Is the function not returning the value you expect...
  17. M

    Cron Help

    Search first. The X10 Wiki also has information on cron jobs.
  18. M

    I want to learn PHP

    LearnCpp overall does seem to provide good information. I've only skimmed it, but so far the information that is off is only slightly off. While they may cause problems at some point, the points that are off are generally edge cases and are better covered later. It's also not quite...
  19. M

    I want to learn PHP

    See "New to PHP, Point in the right direction". There are already many threads in this forum and elsewhere with info on where to learn programming and development. Note that while learning HTML and CSS is a necessary first step for web development, neither involves programming. Also make sure...
  20. M

    function works on local not on remote

    Never write your own SQL escape function. It's too easy to get something wrong and completely unnecessary. The database extensions provide their own functions to prevent SQL injection. In any case, you shouldn't be escaping data, you should be using prepared statements; prepared statement...
Top