On Fri, Feb 4, 2011 at 2:48 PM, newguy <aimanparv...@gmail.com> wrote: > no its not working, i get the following error: > > Error: The requested address '/users/display/game' was not found on > this server.
If debug is set to 0 and there's any kind of non-fatal error, Cake throws a 404. It's possible you have an error somewhere. > Moreover all the file extensions are fixed to be zip and I have files > on my disk under gamefiles folder in app folder. On clicking link > three I want game.zip to be downloaded where as on clicking link 2 > example1.zip should be downloaded. As i said, pass the file name or slug to the action. Don't hard-code things. It's programming basics. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php