Zequez Posted September 12, 2010 Share Posted September 12, 2010 Well, I was searching for a way to save the output of and included file to a string and I find out that I can use get_include_contents(), as it says in the end of the include manual (http://php.net/manual/en/function.include.php). But when I use it PHP says that it's undefined I'm using XAMPP portable, could be that? :S Does this function work on your version of PHP? Sorry fot my english Quote Link to comment https://forums.phpfreaks.com/topic/213205-get_include_contents-is-undefined/ Share on other sites More sharing options...
trq Posted September 12, 2010 Share Posted September 12, 2010 There is no such function built in. But, in the manual, right where you read about it, it is defined. Its a user function. Quote Link to comment https://forums.phpfreaks.com/topic/213205-get_include_contents-is-undefined/#findComment-1110171 Share on other sites More sharing options...
Zequez Posted September 12, 2010 Author Share Posted September 12, 2010 Oh delete this post! xD I was so hurry that I read the function and automatically tried to use it and I didn't noticed that it was a function declaration xD. Sorry xD. Quote Link to comment https://forums.phpfreaks.com/topic/213205-get_include_contents-is-undefined/#findComment-1110174 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.