kk_loke86
I try to redirect my page to another website by using include and the site`s url. My code is something like this:
where $redirect_url=http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?lvl=0&id=3617
I try on my localhosr server and get the following warnings:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in D:\wamp\www\natural protein database\redirect.php on line 13
Warning: include(http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?lvl=0) [function.include]: failed to open stream: no suitable wrapper could be found in D:\wamp\www\natural protein database\redirect.php on line 13
Warning: include() [function.include]: Failed opening 'http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?lvl=0' for inclusion (include_path='.;C:\php5\pear') in D:\wamp\www\natural protein database\redirect.php on line 13
Can anyone help me to solve this problem? By the way, does frihost allow me to do something like that in my website?
| Code: |
|
<?php include($redirect_url); ?> |
where $redirect_url=http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?lvl=0&id=3617
I try on my localhosr server and get the following warnings:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in D:\wamp\www\natural protein database\redirect.php on line 13
Warning: include(http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?lvl=0) [function.include]: failed to open stream: no suitable wrapper could be found in D:\wamp\www\natural protein database\redirect.php on line 13
Warning: include() [function.include]: Failed opening 'http://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?lvl=0' for inclusion (include_path='.;C:\php5\pear') in D:\wamp\www\natural protein database\redirect.php on line 13
Can anyone help me to solve this problem? By the way, does frihost allow me to do something like that in my website?
