You are here: Re: [PHP] how to post a question? « PHP « IT news, forums, messages
Re: [PHP] how to post a question?

Posted by Edward Vermillion on 07/22/05 23:40

Chirantan Ghosh wrote:
> Hello Edward,
>
> I did try your approach in this page
> http://www.homecare1.biz/public_html/PHPsiteTest01.html with no avail.
> How would I find out if I have fopen wrappers enabled?
> This page is remote hosted ( Hosted by Godaddy.com who state I have
> PHP/MySQL enabled).
> CODE USED:
> ===========
> <table width="778" border="0" cellspacing="0" cellpadding="0">
> <tr>
> <td>


All you need to have in the page is this code:
> <?php
>
> print
> htmlentities(file_get_contents('http://www.dtcc.com/ThoughtLeadership/menu.htm'));
>
>
> ?>


you don't need this either:
> </td>
> </tr>
> <tr>
> ============
>
> Thanks for the help,
> Chirantan
>

Since it's a remote server, it's quite lilely that they've disabled
fopen wrappers. It can be a security concern for hosting providers. All
you can do is ask them if they allow it, they should be able to tell you
but I really doubt that they do.

You can check what they have configured php for by running this in a page:

<?php

phpinfo();

?>

That should give you a pretty page with a lot of information about what
is available for you to run through php.

Good luck!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация