file_get_contents
am 20.11.2005 08:19:03 von Ron Piggott
I have given the command
file_get_contents($web_page_address);
(I changed this from an array last week)
But after 1015 characters of typing file_get_contents is truncating the
text. I am wondering if there is a PHP setting which is causing this to
happen. But I don't know which PHP setting to change when I use the
phpinfo() command. Any suggestions? I am in an apache environment
where I am able to set a local command with .htaccess file.
Ron
--
ron.piggott@actsministries.org
www.actsministrieschristianevangelism.org
Acts Ministries Christian Evangelism
"Where People Matter"
12 Burton Street
Belleville, Ontario, Canada K8P 1E6
(613) 967-0032
(866) ACTS-MIN
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: file_get_contents
am 20.11.2005 11:13:02 von robleyd
Ron Piggott wrote:
> I have given the command
>
> file_get_contents($web_page_address);
>
> (I changed this from an array last week)
>
> But after 1015 characters of typing file_get_contents is truncating the
> text. I am wondering if there is a PHP setting which is causing this to
> happen. But I don't know which PHP setting to change when I use the
> phpinfo() command. Any suggestions? I am in an apache environment
> where I am able to set a local command with .htaccess file.
>
> Ron
>
Some code would be helpful to try and resolve the problem. Presumably you
are assigning the result of file_get_contents to a variable and then
displaying that variable somehow? Perhaps the string being displayed
contains a character that would foul up the display?
More information, please.
Cheers
--
David Robley
#define QUESTION ((bb) || !(bb)) - Shakespeare.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php