Skip to content

Instantly share code, notes, and snippets.

@cschlyter
Created April 24, 2013 17:07
Show Gist options
  • Save cschlyter/5453767 to your computer and use it in GitHub Desktop.
Save cschlyter/5453767 to your computer and use it in GitHub Desktop.
[PHP] save attibute contents to a file.
$var_str = var_export($page, true);
file_put_contents('K:\filename.txt', $var_str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment