Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. You really need to explain your question. The $_SERVER array is just like any other array accept it comes pre-populated with some variables based on your environment. You can't exactly *store* anything in it. Nothing that will persist across requests anyway.
  2. Globals are bad in anyone's books.
  3. And within C:\xampp\php\PEAR you have a directory called Auth containing a file called HTTP.php ?
  4. Storing anything within the $_SERVER array will not persist through multiple requests so you may as well just use a normal array.
  5. If You mean the mail() function then yes, of course you can.
  6. if (isset($_GET['view'])) { include $_GET["view"] . ".php"; } else { // include some default } you'd best check the file exists locally before including it too as this method alone opens a massive security hole.
  7. PHP executes on the server, you need to use a client side language (Javascript) to execute anything in the browser.
  8. Are you sure you've placed the dll's in the correct directory? (C:\Program Files\PHP\ext according to your ini file) Are you sure your editing the correct ini file? Have you checked IIS's logs for errors?
  9. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=326794.0
  10. Did you see this? http://www.phpfreaks.com/forums/index.php?topic=244703.0
  11. Then you don't need to compile anything. Place the dll's in your ext directory and add the relative entries to you ini. Restart IIS.
  12. If your planning on making this a web application then PHP needs a web server in order to be processed.
  13. Have you installed the Auth_HTTP package?
  14. The basic gist is: Questions and answers need a parent_id field. Questions have a parent_id of 0 while answers have a parent_id that matches there related question's ID.
  15. Hay man, welcome aboard. I work in Sydney myself (Surry Hills), though I live up on the Central Coast. Anyway, welcome to our community.
  16. Take a look at http://php.net/__autoload
  17. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=326703.0
  18. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=326722.0
  19. Returned from what? Were going to need more details.
  20. You will need to make sure the user your server runs as has permissions to mount.
  21. Have you hits up Google? It's not like that hasn't been covered before.
  22. Hello and welcome to our community. I'm not sure w3schools is the best resource for learning php, allot of there stuff is pretty dated from memory. there's a good link to a free book in my signature (Hudzilla), reading that from end to end will get you a pretty good foundation.
  23. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=326600.0
  24. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=326606.0
×
×
  • 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.