Webscrapping with ionic


#1

hello everyone, i have a php code to scrap information from some website… i want to use that php code with ionic. i dont know how to do that… i wonder if is it possible to use php with ionic ?


#2

PHP is a server side language. Ionic uses clientside javascript. The two don’t and can’t be mixed.


#3

Thnk you for your response. Then how can i perform web scrapping with ionic ?


#4

Call this php code via AJAX and return the result via JSON.
Take a look at the Angular $http service:


#5

Okay thenx a lot for your valuable answer