On Fri, Mar 2, 2012 at 6:09 PM, Nibin V M wrote:
> Hmm..I am a php newbie ( just started learning it )...
>
> what my need is to display website from my server always for a
> non-registered domain.This is the code I use now to display the website
>
> $opts = array(
> 'http'=>array(
> 'method'
Hmm..I am a php newbie ( just started learning it )...
what my need is to display website from my server always for a
non-registered domain.This is the code I use now to display the website
array(
'method'=>"GET",
'header'=>"Accept-language: en\r\n" .
"Cookie: foo=bar\r\n"
On Fri, Mar 2, 2012 at 11:29, Nibin V M wrote:
> Thanks guys :)
>
> Now another problem...I use a test domain ( say blahblah.com ) for testing
> this, which isn't registered yet. So with the given code the index page is
> loading fine. But when I try to click on any links, it will redirect to the
Hello,
On Fri, Mar 2, 2012 at 8:07 AM, Jim Lucas wrote:
>> But on some of my servers, curl isn't enabled! Is there any equivalent
>> code
>> to achieve the same?
I've used a combination of output buffering [1], readfile() [2] and
caching (specific to the framework I was using).
Simply, you cou
Thanks guys :)
Now another problem...I use a test domain ( say blahblah.com ) for testing
this, which isn't registered yet. So with the given code the index page is
loading fine. But when I try to click on any links, it will redirect to the
original domain which isn't exists!
( I have actually po
On 03/02/2012 06:26 AM, Nibin V M wrote:
Hello,
I am trying to display the website content through a php code ( my own
websites; doesn't cause copy right issues ).
I use curl to display the page via the following simple code.
http://mytest.com";);
curl_exec ($curl);
curl_close ($curl);
?>
But
http://www.php.net/manual/en/function.stream-context-create.php
On Fri, Mar 2, 2012 at 4:44 PM, Nibin V M wrote:
> Thanks Marc. But that need to add the DOM parser to the server. What I am
> looking for something like "iframe" in html and that doesn't require any
> additional PHP modules ( I do
Thanks Marc. But that need to add the DOM parser to the server. What I am
looking for something like "iframe" in html and that doesn't require any
additional PHP modules ( I do would like to avoid additions to the current
php; that is why I didn't compiled in curl )
On Fri, Mar 2, 2012 at 8:10 PM,
Thanks Marc. But that need to add the DOM parser to the server. What I am
looking for something like "iframe" in html and that doesn't require any
additional PHP modules ( I do would like to avoid additions to the current
php; that is why I didn't compiled in curl )
On Fri, Mar 2, 2012 at 7:58 PM,
Hello,
I am trying to display the website content through a php code ( my own
websites; doesn't cause copy right issues ).
I use curl to display the page via the following simple code.
http://mytest.com";);
curl_exec ($curl);
curl_close ($curl);
?>
But on some of my servers, curl isn't enabled!
10 matches
Mail list logo