Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Cool, so it's working? What is the question again then?
  2. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=350599.0
  3. Yes, I did try it. That doesn't mean what I have is correct... Debbie So do us all a favour and post the relevant code along with a description of what expect to happen and what *is* actually happening.
  4. This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=350611.0
  5. There is no real way of persisting data across requests in PHP (excepting maybe session which I would not recommend in this case, or caching mechanisms such as APC or memcache). It's quite common to have your application hit the database to get it's configuration on page load.
  6. This topic has been moved to PHP Installation & Configuration. http://www.phpfreaks.com/forums/index.php?topic=350565.0
  7. Of course you can, why not try it?
  8. Far too vague a question to be answered simply. CMS's can be very simple single content areas drawn from a single database field or quite complex page builder built from complex data structures. Also, we have no idea how good of a programmer your are either with php alone or with cake.
  9. You might need to post an example, it's not real clear what your doing. A switch can only check a single variable or constant is equal to a series of values.
  10. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=350586.0
  11. That doesn't answer the question. Where exactly are you stuck?
  12. You can gain shell access to a DLink router and skip the web interface all together. I would look down that path first rather than hacking together http requests.
  13. Where exactly are you stuck?
  14. So again, how exactly do you propose to search through this data?
  15. You are kidding right? And how exactly do you propose to search through this data? You can't, not efficiently anyway. There are better ways of storing key value pairs. You need to learn to handle these code rollouts better. I work for a company that has over a dozen applications. We make database changes on an almost daily basis. There are ways of managing this easily.
  16. That code makes no sense. dirname returns a complete path. There is no need to pass it's output back into dirname for each directory in the tree.
  17. This topic has been moved to PHP Math Help. http://www.phpfreaks.com/forums/index.php?topic=350528.0
  18. So research the subject yourself.
  19. It's up to you. However, you did say you "don't really plan on International Customers".
  20. If you plan on taking advantage of internationalisation.
  21. I know what it says, I have read it.
  22. Take a look here: http://en.wikipedia.org/wiki/Email_address#Valid_email_addresses Most people won't have an email address above 60-80 chars, but they are still valid well over that longer than that.
  23. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=350525.0
  24. I'm not going to write the code for you but just give a you a start. Instead of using a simple array, use a multidimensional array. eg; var imgs = [ ['images/featured/1.png', 'http://somedomain.com'], ['images/featured/2.png', 'http://somedomain.com'], ['images/featured/3.png', 'http://somedomain.com'], ['images/featured/4.png' 'http://somedomain.com'] ];
×
×
  • 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.