Recent content by §cott™

  1. §

    Hiring/driving a car at 17?

    Can a 17 year old drive (and even hire) a car on their red P's from the state of NSW to Queensland? Is it illegal, and what would the penalty be if a P plater drove a hired car?
  2. §

    Hiring/driving a car at 17?

    Can a 17 year old drive (and even hire) a car on their red P's from the state of NSW to Queensland? Is it illegal, and what would the penalty be if a P plater drove a hired car?
  3. §

    Hiring/driving a car at 17?

    Can a 17 year old drive (and even hire) a car on their red P's from the state of NSW to Queensland? Is it illegal, and what would the penalty be if a P plater drove a hired car?
  4. §

    Australian Photography Competitions?

    What trustworthy Australian photography competitions (free online submission) are open for entries? Also would rather if they were for amateurs.
  5. §

    PHP: Simple encryption?

    What is a fast and simple PHP encryption with decryption script (that works with text/numbers/symbols)?
  6. §

    PHP: Remove all attributes from all html tags?

    I think you use preg_replace() but don't know how to remove all attributes from all html tags using it. Can you?
  7. §

    PHP: Help! preg_replace?

    how do i remove certain attributes from html tags? e.g. <a href="link" title="qwerty">click</a> remove title="qwerty"??? how do i remove the content from within an attribute?
  8. §

    PHP: BBCode -> HTML Converter?

    What is the best PHP BBCode -> HTML Converter and HTML -> BBCode Converter?
  9. §

    PHP: Convert negative number to positive?

    Is there a pre-existing functions? Would multiplying the negative number by -1 work for every neg. number? wats better? abs($negNumber) or ($negNumber*-1)
  10. §

    PHP: mysql_real_escape_string?

    mysql_real_escape_string() requires a active database connection for it to function. Can it be substituted with this: str_replace(array('\x00', '\n', '\r', '\', "'", '"', '\x1a'), '', $value); ? Or would a dummy connection work? I assumed that.
  11. §

    PHP: trim str to length?

    What function cuts a string to a certain length?
  12. §

    PHP: mysql_real_escape_string()?

    Can you use mysql_real_escape_string without connection to a database?
  13. §

    In PHP, do you have to declare session_start(); within a function?

    No, Just at the top of the page.
  14. §

    PHP: "./" at start of path?

    Difference between "./", "/" and neither dot or slash at start of path? e.g. include("./folder/folder/file.php"); include("/folder/folder/file.php"); include("folder/folder/file.php");
  15. §

    AddHandler cgi-script?

    How can i have PHP code executed in a file called "page" without any file extension (or any visible file extension)? Will this work? "AddHandler cgi-script afolder/page" (in a htacess file) fixed. lol
Back
Top