trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
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?
-
Recreating An Uploaded Image to Protect It Against Virus ?
trq replied to phdphd's topic in PHP Coding Help
No its not neither or efficient or even productive IMO. -
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
-
Change: SELECT MAX(`mapid`) to SELECT MAX(`mapid`) AS maxMapid Then access via: $result->maxMapid;
-
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....
-
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.
-
I can't imagine they'd be worth anything. I mean, who would want them?
-
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
-
Is it better to make the AJAX script do all the work, or vice versa?
trq replied to CrimpJiggler's topic in Javascript Help
Passing an SQL query around where people can see it is fraught with all sorts of dangers. -
Why does it matter?
-
A well designed API can be accessed by any language. Just use the Ruby examples as just that, examples.
- 1 reply
-
- php
- canvas lms
-
(and 2 more)
Tagged with:
-
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.
-
how to create links for all files in directory with javascript?
trq replied to et4891's topic in Javascript Help
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. -
There is
-
How to make AJAX requests while a PHP script is running
trq replied to CrimpJiggler's topic in Javascript Help
Take a look at the Symfony "Process" component. -
Your code is?
-
how to create links for all files in directory with javascript?
trq replied to et4891's topic in Javascript Help
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. -
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.
-
And why the hell would that make any sense?
-
how to create links for all files in directory with javascript?
trq replied to et4891's topic in Javascript Help
Are you planning on running this within a browser environment or server side? -
Make sure you have build-essentials installed. apt-get install build-essentials
-
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?
-
Do you know how to write php code? You just need to think the problem through, breaking it down into small pieces.