Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You can't save anything to the client via php as it is a server side language.
  2. I believe that is covered in my last post. The answer is no. hard coded queries are not effected.
  3. namespaces exist in php since 5.3 http://php.net/namespaces
  4. Not exactly. Yes. mysql_real_escape_string should be used on ANY and ALL user inputted data that is to be used within a query (of ANY and ALL types).
  5. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=314681.0
  6. You are still not very clear. HTML can be used to create GUI's. Are you talking about creating desktop applications? You could take a look at PHP-GTK, though its Python implementation (GTK I mean) is probably a better choice.
  7. No, that would be.... RewriteRule ^ClientArea\/([a-zA-Z0-9_\.-]+)$ ClientArea/profile.php?username=$1
  8. The first line will throw an error if the 'page' index doesn't exist. that is the entire point of the if statement following it. Code should be.... if (isset($_GET['page'])) { $page = $_GET['page']; if (file_exists("pages/$page.php")) { include "pages/$page.php"; } else { echo "<h1>Finner ikke siden</h1>"; } } else { include "pages/index.php"; }
  9. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=314652.0
  10. Why have you got single quotes around $page ? And where is $page defined?
  11. Your not using the data returned by str_replace. $url="{$_GET['url']}"; $url = str_replace('http://', '', $url); echo "<a href=\"http://$url\">$url</a>";
  12. Sounds likely. Probably. You can pay a set fee to have your registrations 'private'.
  13. Ive only ever used Zend Framework, but there are plenty out there.
  14. 1) You should be able to apply the same principles as any other language. 2) UI has nothing to do with php. 3) WYSIWYG doesn't work with web development. Not well anyway.
  15. Sorry, but your post makes little sense. How exactly do you plan an authenticating your users without asking them for any credentials.?
  16. Of course. Thats' what profile.php should do.
  17. You will need to find a cli player for windows (im not a windows user). Windows media player might even except command line arguments, you'll need to check that out.
  18. Can we see includes/inc_login.php ?
  19. There are command line players around for Linux, what OS are you talking about?
  20. All that information + examples of its usage can be found in the manual: http://php.net/ldap
  21. Then there is still something wrong with your php install no doubt. Can you get html files served from the same directory?
  22. You firstly should run another phpinfo script to see if php is working.
  23. $_SERVER['DOCUMENT_ROOT'] returns the full file system path to the root of the current vhost. This path means nothing to a browser which is only interested in the path *after* the document root. The rest is unreachable from the web.
  24. Paths are a pretty simple concept that allot of people seem to chock on for some reason. Links have nothing to do with php, you might post your problematic code within the HTML help board.
×
×
  • 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.