FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


php: copy function





traxion
Code:

Warning: copy() [function.copy]: URL file-access is disabled in the server configuration in /usr/home/traxion/domains/xxx/public_html/xxx/xxx/xxx.php on line 82

Warning: copy(http://www.google.nl/intl/nl_nl/images/logo.gif) [function.copy]: failed to open stream: no suitable wrapper could be found in /usr/home/traxion/domains/xxx/public_html/xxx/xxxx/xxxx.php on line 82
/usr/home/traxion/domains/xxx/public_html/xxx/images/logo.gif


when i use the copy function, i get this error. is the function blocked by frihost ?
mathiaus
If you read the error, it tells you!

URL file-access is disabled in the server configuration


Therefore you can copy local files, but not external using URLs.

Depending on what it is you are trying to do, you can use curl.
Related topics
Including With PHP
Build an online dictionary by PHP/MySQL
PHP Mail Function
PHP VS ASP
PHP mail function ?
Php mail function
File upload problem :'(
PHP mail() Function
SMTP, sendmail e PHP mail function
Mailer settings in Joomla
help: some function php is off
PHP mail() function...
PHP search function with MySQL fulltext
Php No Spam Mass Mailing Script
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.