khany

Merseyside, United Kingdom

sharifkhan.co.uk

Experienced PHP developer looking to create high-end applications to order. Now producing client-side Dart applications.

Jan
4
awarded Supporter
Dec
28
comment CakePHP 3 Entity Confusion
while I agree with your answer, it may be better not to say "it's wrong" as, as you yourself say, it may be right. For coders coming from RDB, saying it may be right could be a better way to help them.
Dec
22
comment How to call pdf.php file from Cakephp 3 application?
I am wondering why you have '.php' in your action. Cake does not work like standard PHP as it is an MVC framework. How familiar are you with CakePHP?
Dec
14
awarded Nice Question
Nov
18
awarded Notable Question
Nov
17
revised How can I generate a pdf using CakePhp v3.x
link was dead.
Nov
9
comment Can I set the default order on the Table class on cakephp3
@burzum is there an example of the beforeFind option you have stated?
Sep
23
comment How to load a component in console/shell
I am a little concerned that a Component may not be the right place for this kind of integration but +1 as it works for me too.
Sep
16
comment mysql unique number generation
@middaparka yes auto_increment generates orders in a pre-defined order but the OP asked for a unique random integer. I also have had need for such a number and I used the create-check cycle - but I would prefer a better way.
Sep
9
asked How to filter on related data in cakephp 3
Aug
24
comment Cakephp 3.0 Login returns false everytime
For those upgrading from CakePHP 2.x, you are used to having hashed passwords of a length of 40 characters, so you may be tempted to limited your password field to VARCHAR(40). CakePHP 3.0 hashes to VARCHAR(60) so make sure you set your db table accordingly.
Aug
10
comment Cakephp 2.5. Auth Basic: Redirect on Unauthorized Error
While the answer is contained in the link, the answer also contains the keywords that a web search could contain should the link break.
Aug
5
comment How to install pub (command line usage) for Dart on Ubuntu web-server
small edit, should be pub --help
Jul
10
comment How to check if a file exists in webroot directory in cake?
is file_exists they way to do it in cake?
Jun
19
awarded Autobiographer
Jun
19
awarded Supporter
Apr
26
comment loginRedirect in cakephp not working correctly
I may be wrong but isn't that how 'friendly forwarding' works? If you specify a page that redirects, a successful login will get you back there, otherwise you get redirected to the loginRedirect.
Mar
9
comment Why does second load of this dart:js date picker code error?
Okay I didn't find a solution to this so I can't answer but by swapping from bootstrap date picker to jQuery ui date picker I got it working. HTH.
Mar
9
comment Why does second load of this dart:js date picker code error?
Well, thanks, but it's a simple question and I don't see why you need to see the whole app to say whether you know the answer or not.
Mar
9
comment Why does second load of this dart:js date picker code error?
@GünterZöchbauer gist.github.com/sierrakilo/1f4ce41b8a032d10f5d7
1 2 3 4 5