data between two php files -


i have php script:

<?php include("simple_html_dom.php"); $url = "http://en.wikipedia.org/wiki/thailand"; echo file_get_html($url); ?> 

how can send $url variable tosql.php script ?

i apologize not including more im doing. im sending url jquery script sends php script titled tosql.php (which stores processed data mysql jquery script)

this should want.

<?php $url = "http://en.wikipedia.org/wiki/thailand"; include("simple_html_dom.php"); echo file_get_html($url); ?> 

by declaring $url before include, it's same declaring $url @ top of simple_html_dom.php.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -