Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You need to give the IUSR account permissions to the parent directory.
  2. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=310001.0
  3. Obviously because $s_sD[0] never equals any of the values your looking for. You really ought to look at the date functions anyway, you have allot of redundant code.
  4. Not in particular. But of course, like any other piece of a server, if its mis-configured it may represent a risk. The less extensions the better for this exact reason.
  5. PHP's mkdir implementation isn't just a simple wrapper around the CMD.exe, it is quite capable of making directories itself.
  6. Did you read the sticky at the top of this board?
  7. What makes you think that?
  8. This topic has been moved to PHP Installation & Configuration. http://www.phpfreaks.com/forums/index.php?topic=309993.0
  9. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=309973.0
  10. Your data shouldn't have slashes in it once its in the database. If it does, your doing something wrong. It would appear that you have magic_quotes enabled. In this case, you will need to use stripslahses before mysql_real_escape_string on the way IN to the database. As it is at the moment, you are double escaping everything. Once automatically by magic_quotes & then again once (properly) manually yourself using mysql_real_escape_string.
  11. Not without seeing some relevant code.
  12. So, select an editor to use to edit your crontab file.
  13. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=309981.0
  14. This topic has been moved to Linux. http://www.phpfreaks.com/forums/index.php?topic=309899.0
  15. Simply converting functions into methods within a class doesn't make it OOP. If you have no need for the data persistence that objects contain, you likely have no need to make this code a class.
  16. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=309935.0
  17. Subdomains can be created in a number of ways, the most common is to setup a new virtualhost config. See http://httpd.apache.org/docs/2.0/vhosts/ You will also need to make sure your DNS entries are setup with an A record that points to this subdomain specifically or that it allows wildcards.
  18. Were not here to write code for people, but to help people when they get stuck. If your looking for a programmer, post your request in the freelance board.
  19. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=309843.0
  20. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=309867.0
  21. Your code is not indented consistently enough for it to be readable.
  22. Explain? I just did. If you include a file via a url you only get its output, no functions or variables. If you include a file using a file system path, it is inserted into your script as though it is written within the script itself.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.