khany

Merseyside, United Kingdom

sharifkhan.co.uk

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

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
Jun
1
comment Making button go full-width?
The answer from @Layke is correct. Use that.
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
Mar
9
comment Why does second load of this dart:js date picker code error?
@GünterZöchbauer I did it with a delay of 1 second and still the same result.
Mar
8
asked Why does second load of this dart:js date picker code error?
Mar
2
comment How to delete indexedDB in Chrome
couldn't find hostname for chrome app but this works when you inspect the app.
Feb
11
comment explode textarea php (at new lines)
Yup. Worked for me too, not the \r\n one.
Feb
11
comment Insert line break inside placeholder attribute of a textarea?
Does not work in Safari either
Feb
6
awarded Yearling
Feb
6
accepted Dart using jQuery date picker with initial parameters
Feb
6
comment Dart using jQuery date picker with initial parameters
I will give you this one as it appears I have to use 'format' and not 'dateFormat' but other than that your answer was correct. Thanks
Feb
5
comment Dart using jQuery date picker with initial parameters
Yes you can set the dateFormat on the initialiser or afterwards. When this didn't work I tried both ways. The error in my other comment to Zdenek relates to the second callMethod function, which may shed some light on it.
1 2 3 4 5