Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. And what exactly do you want to happen with the id parameter?
  2. Another way would be: mysql_query("SELECT * FROM {$prefix}tablename") but I don't see that it really matters.
  3. If you want to persist a login for that long use cookies. Sessions are not meant to outlive the current session.
  4. stopPropagation is actually a feature that I plan on implementing pretty soon. I'm working on a few plugins at the moment that will require it to be available.
  5. Yeah, the predictable text on my phone can be a pain. there will prob be a few similar posts over the next week or so as I'm off work and moving house. no Adsl for me.
  6. This topic has been moved to Third Party PHP Scripts. http://forums.phpfreaks.com/index.php?topic=361655.0
  7. This topic has been moved to Other Libraries and Frameworks. http://forums.phpfreaks.com/index.php?topic=361665.0
  8. Your best bet would be to store the daytime in a database, then have a corn job run every minute that checks this database to see if it needs to execute your task.
  9. This topic has been moved to PHP Applications. http://forums.phpfreaks.com/index.php?topic=361667.0
  10. Your missing the entire point of using a programming language such as PHP. do you think a new page is created here everything someone asks a question? No, it's all database driven. point is, this could be done using a single PHP script ans some url writing.
  11. First Ive got to say Ive not used typo3. I have however heard only good things about it. As for "this custom markup", and "uncommon dev patterns". I don't see the markup as being that different to something like smarty. As for the dev patterns, from all I've heard it's a pretty well orchestrated MVC framework with all the bells and whistles.
  12. See IFNULL. http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html#function_ifnull
  13. This topic has been moved to Ajax Help. http://forums.phpfreaks.com/index.php?topic=361628.0
  14. Really? If I was a client and found out I was being charged more because the developer was going to need to spend time learning the technology I would be looking for another developer. there are plenty of developers around who do know typo3, why pay someone who doesn't?
  15. The error tells you what the problem is. index.php is producing output on line 2. You cannot send any output to the browser prior to calling session_start().
  16. Better yet, add /home/user/public_html/awesome_app/views/assets/ you to your include_path and use: include 'init.inc.php';
  17. How the hell did I not even see that? Must be bed time.
  18. Remove the ; from after win()
  19. Have a look at the $_SERVER array.
  20. This is generally how people that are yet to understand OOP see OOP. It is far from the reality of it all though. Having said that, OOP is not some magic bullet, and it is not always necessary. Sorry you feel that way but we can only judge you by the impression you make on us. Have you actually tried instantiating that user class and calling get_name() ? What does it return? Nothing. Why, because you have to call set_name() first to give the $name property a value.
  21. No. You need to send email to email servers.
  22. Seriously? You have not provided enough code or context for anyone to be able to help you.
  23. Must have missed this: http://forums.phpfreaks.com/index.php?topic=361331.msg1709233#msg1709233
  24. $this->full_name is defined within getName(). It therefore wont exist until getName() is called. Your code is really quite all over the place and your using a lot of variables that aren't declared. You really should be defining all your variables at the top of your class.
×
×
  • 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.