ricardocoimbra 0 Posted March 18, 2011 Report Share Posted March 18, 2011 Pessoal eu gero uma pagina com html e php e depois cria que no final da pagina geral tudo e pegar esse codigo para uma variavel é possivel? Ou seja existe alguma função para retornar o html de uma página para uma variavel php? Link to post Share on other sites
yoda 126 Posted March 18, 2011 Report Share Posted March 18, 2011 http://php.net/manual/en/function.ob-start.php before you post, what have you tried? - http://filipematias.info sense, purpose, direction Link to post Share on other sites
ruimcosta 0 Posted March 18, 2011 Report Share Posted March 18, 2011 <?php $homepage = file_get_contents('http://www.example.com/'); echo $homepage; ?> Abraços e beijinhos,Rui Costa Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now