Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. I'm not sure what you meen by "vhost writes", but there is such a thing as mass vhost configuration.
  2. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=357468.0
  3. Take another look at PFMaBiSmAd's example.
  4. You say you've already read some examples and didn't understand them, how could we make them easier to understand? Instead, why don't you post the code your having trouble with and a description of your actual problem?
  5. The "email" type attribute will actually validate the data it contains if you set the "required" attribute. Of course, not all browsers yet support this functionality however.
  6. The reason it always displays "Yes" is because both "N" and "Y" evaluate to true. You need an expression that will evaluate to true or false. "<td>" . $result[7] == 'Y' ? "Yes" : "No" . "</td>";
  7. What your evaluating needs to make sense. Your trying to execute * 1.210 What exactly do you expect to happen?
  8. There is no such thing as "support for Ajax". Ajax is just a normal http request.
  9. If you think you know how they do it, what is your question?
  10. MDN is probably the best free resource getting around. https://developer.mozilla.org/en/JavaScript/A_re-introduction_to_JavaScript
  11. Make sure you have error reporting enabled in your php.ini and that display errors is turned on. Once you can see some error messages, post them here.
  12. Your going to need to be a lot more specific about your issues. We cannot see what you are seeing and are not mind readers.
  13. You seriously need to take a step back a bit and read some of the documentation that you have been linked to on numerous occasions. PHP requires a HTTP server with PHP installed and configured in order to work. There is no way around this. Once you have a working HTTP server with PHP installed and configured it will be able to parse .php files and make use of PHP libraries such as PHPMailer. If I see another of these threads I'm closing it and will kindly ask you to move on.
  14. That is because you cannot access the $type property directly anymore, you need to access it via the new methods you have created. May I suggest you take a look at the examples in the manual? This is all pretty straight forward stuff. http://php.net/oop5
  15. Both preferably. You need a http server with php installed and configured to use while developing and of course your production server needs the same.
  16. Haha. My fault. Your missing the function keyword (as was I in my original example). public function setType($type) { $this->type = $type; } public function getType() { return $this->type; }
  17. You need to install and configure PHP. See http://www.php.net/manual/en/install.windows.php
  18. HTML is interpreted client side by the browser. PHP needs to be interpreted server side in order for the server to send the resulting html to the browser. You need a HTTP server with PHP installed and configured. This is all covered in the manual: http://www.php.net/manual/en/getting-started.php
  19. As I said, using setBar doesn't really make any sense does it? Fix it, and post your current code.
  20. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=357293.0
  21. A better description of your problem would be helpful.
  22. Kinda on the right track. You would call your methods setType() and getType() though. Doesn't make much sense using Bar.
  23. Ive said it before, but there is no such thing as a good free host. Anyway, we are not brining up this same subject again in another thread. See http://www.phpfreaks.com/forums/index.php?topic=117475.0
  24. class Foo private $bar; public setBar($bar) { $this->bar = $bar; } public getBar() { return $this->bar; } }
×
×
  • 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.