# Create php file in ionic

**URL:** <https://forum.ionicframework.com/t/create-php-file-in-ionic/82860>\
**Category:** ionic-v1\
**Created:** [March 14, 2017, 9:05am UTC](https://forum.ionicframework.com/t/create-php-file-in-ionic/82860 "2017-03-14T09:05:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nurulatikah](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@nurulatikah](https://forum.ionicframework.com/u/nurulatikah)\
**Post date:** [March 14, 2017, 9:05am UTC](https://forum.ionicframework.com/t/create-php-file-in-ionic/82860/1 "2017-03-14T09:05:35Z")

</div>

I have the problem to call the php file can you give me tips to solve this problem

the error show like this

TypeError: $http.get is not a function  
at ChildScope.$scope.login (controllers.js:132)  
at fn (eval at compile (ionic.bundle.js:27643), :4:206)  
at ionic.bundle.js:65429  
at ChildScope.$eval (ionic.bundle.js:30400)  
at ChildScope.$apply (ionic.bundle.js:30500)  
at HTMLButtonElement. (ionic.bundle.js:65428)  
at defaultHandlerWrapper (ionic.bundle.js:16792)  
at HTMLButtonElement.eventHandler (ionic.bundle.js:16780)  
at triggerMouseEvent (ionic.bundle.js:2953)  
at tapClick (ionic.bundle.js:2942)
