![]() |
Time as action parameter http://localhost/id/time/date - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Time as action parameter http://localhost/id/time/date (/showthread.php?tid=56049) |
Time as action parameter http://localhost/id/time/date - El Forum - 11-23-2012 [eluser]jacobson[/eluser] Hello, I have a problem with structure of my link... I have to pass through the function argument time and date. When i have 0/0/date it works but when I put 0/10:30/date if says throws an error 404 page not found error... Should I do something to make this time works in the URL ? ///////////// I solved this problem by adding timestamp instead of HH:mm time and parsing data in the controller. Worked ![]() Time as action parameter http://localhost/id/time/date - El Forum - 11-23-2012 [eluser]adamck[/eluser] You should never pass a : in a URL as a browser is interpret it as a port http://somewebsite.com:80 |