Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Ive said it before and I'll say it again. if these databases are ion the same server, use the same connection. And I still stand by your design being suspect but whatever, seems your determined to go down your own path.
  2. Because the tiny_mce directory is obviously in the same directory as your calling page not the web servers root as you had used previously.
  3. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=316797.0
  4. This topic has been moved to Other. http://www.phpfreaks.com/forums/index.php?topic=316811.0
  5. Its a client side address, so the first / points to the web servers document root. But yeah, its likely the path is incorrect.
  6. Template engines just add another layer that isn't really needed.
  7. Like after I run the PHP script? TomTees Yes. Any output from firebug would be good too.
  8. Is there a particular reason your not using CentOS's package manager to install php?
  9. Single quotes are fine within a double quoted string. I would be inclined to use a single quoted string though, just because there are other special chars in there that might break within double quotes. Not much you can do though, your going to need to escape the data properly. What the hell is it if you don't mind me asking?
  10. You can use command line browsers such as links or lynx, but its not likely to work locally and not from remotely. How exactly did you go about installing php?
  11. Sorry, but that makes little sense. what exactly do you want to do?
  12. Put the data in single quotes, I don't see any in there.
  13. Remove the error suppressor so you can at least see what error your getting.
  14. Post your current code. Your using the wrong quotes.
  15. Open a new tab and go to about:config, search for error, make sure 'browser.xul.error_pages.enabled' is set to true.
  16. Disable 'simple error messages' in your browser then tell us what error your actually getting.
  17. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=316747.0
  18. Just look at it. Anywhere where you repeat similar data is redundant. Looks to me like your database design stinks as well though, so I'd start there.
  19. Check for its existence, file_exists. Switching to mode 'a' will create the file if it doesn't exist and append to it if it does. Assuming your using fopen.
  20. UPDATE tbl SET fld = fld-1 WHERE fld > 4
  21. Ive not used windows in a number of years so I'm not sure what options are around. Mail servers are quite complex at the best of times so its not something I would recommend just for development purposes. Instead of using php's built in mail function, you might try google'ing for a third party class such as 'PHPMailer'. This will allow you to use a remote smtp server such as that provided by your isp.
  22. Do you have a mail server installed on the machine the code is executing on?
  23. You would be better off using Javascript.
  24. trq

    close

    Why not check the manual and see? mysql_close.
  25. Have you one any debugging with firebug? I would start there.
×
×
  • 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.