I'm new to PHP and decided to use the cakePHP framework to help me get started.
I can't figure out one thing though, I want to call methods on the RequestHandlerComponent class to update a users last used IP address and other information, I figured the best place to put this would be in the beforeSave() method on the User model.
I can'...
My code basically needs to start up a simple chat server with a client. Where the server and the client can talk back and forth to each other. I've gotten everything to be implemented correctly, but I can't figure out how to shut down the server whenever I'm done. (I know it's ss.shutdown()).
I'm wanting to end right now based on a...
lets say i want to go to
http://example.com/something/a/few/directories/deep
is there a way I can process this in PHP without having to make those directories? I just want to get everything after the domain name as a variable and work from there.
...
Is there a way to check if a cakePHP action is being called from an swf/flash movie like there is for Ajax using the requestHandler?
...
http://stackoverflow.com/questions/2871655/proper-mime-type-for-fonts
This matter is solved but i dont know how to do.
help me I use cakePHP , I read RequestHanlder Component in bookcake but i dont ever use MIME.
...