Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

file_get_contents in javascript

//Or You can use php.js library. Which allow some php functions for javascript. 
//file_get_contents() function one of them.

<script>
	var data = file_get_contents('Your URL');
</script>

//You can find more info about php.js : http://phpjs.org/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
6+6 =