Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. 1) Does this api not have any documentation? 2) Yes. Just make the form method GET. 3) Is what your code or something else you need from the providing Dataservice?
  2. You can configure php to not report deprecation warnings. I wouldn't go to 5.5 though if I was using mysql_*. Your code is obviously not modern enough for it.
  3. ​It's really just semantics but 5.5 is the *current* version, everything else is considered an *old* version. There are stable releases of each.
  4. No its not neither or efficient or even productive IMO.
  5. If your using php5.5 just use the new password hashing extension: http://php.net/password Else, use the compat library: https://github.com/ircmaxell/password_compat
  6. Change: SELECT MAX(`mapid`) to SELECT MAX(`mapid`) AS maxMapid Then access via: $result->maxMapid;
  7. The only reason I said not to simply rip it out is because it wont' work stand alone. That particular implementation it pretty tightly coupled to the Service layer (which it shouldn't be, but thats another story), so you would need all of that as well which you don't want. Besides, the pattern itself is VERY simple and could be implemented in just a few lines of code really so....
  8. Its implemented in just a couple of classes if you disregard the interfaces. Don't try ripping it out and using it, try to understand what it is an how it works. The idea is quite simple.
  9. I can't imagine they'd be worth anything. I mean, who would want them?
  10. You could implement a filter chain of sorts. I have a very simple example implementation in my old (dead) framework, Proem: https://github.com/proem/proem/tree/develop/lib/Proem/Filter And some docs: http://proemframework.org/docs/current/filter.html
  11. Passing an SQL query around where people can see it is fraught with all sorts of dangers.
  12. Why does it matter?
  13. A well designed API can be accessed by any language. Just use the Ruby examples as just that, examples.
  14. You forgot to include a description of your problem. You might also try narrowing your issue down somewhat. Most people will look at a massive code dump (especially when (like yours) its not formatted in a manor that makes it readable) and not bother replying.
  15. Yeah, I had already Googled it. Doesn't mean it's at all well known though. I would suggest you find a forum specific to phonegap or read there docs.
  16. Take a look at the Symfony "Process" component.
  17. Your code is?
  18. Had never heard of phonegap. To loop into directories your likely going to need to use recursion. How this is done exactly will depend entirely on the libraries that this framework provides. I suggest you keep looking at the docs. I would imagine there are too many people here using it.
  19. Your post is not at all clear. Are you looking to join a list as described or run a list as described? If its the former, mailing lists like that are generally pretty specific to a particular application. Is there a particular application your looking to discuss? If its the later, mailing lists are generally configured to sit on top of a mail server, not a web server. Iv' not heard of any mailing list software being written in PHP. Python is the more popular language for such things.
  20. And why the hell would that make any sense?
  21. Are you planning on running this within a browser environment or server side?
  22. trq

    plz litile help

    Make sure you have build-essentials installed. apt-get install build-essentials
  23. Again, you need to break the problem down into parts. How do you think this would be done? Have you thought about it at all?
  24. Do you know how to write php code? You just need to think the problem through, breaking it down into small pieces.
×
×
  • 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.