[PHP] Persistent connections

2013-10-26 Thread Nibin V M
Hello, I have been reading docs and many are telling that persistent connections are kept open indefinitely. But I found in PHP docs that it will not close after script execution like requesting a page; so should it close after the request is over? So when exactly a persistent connection should

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..thanks guys...I will check further then. thanks for your inputs :) On Sun, Mar 4, 2012 at 9:59 PM, Govinda wrote: > >>> in factI really need to remove the file ( which will be created for > >>> every access - making a copy from another location ). I can't leave > that > >>> file alone for

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..I have script which will run based on some values in "user's" homedir. In fact I have tried to run the script from a various locations; but it didn't work as expected like it run from each users homedir. So, when the user access the page, it will copy the actual script to the user's homedir a

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
0530, Nibin V M wrote: > > Hello, > > I need to run a few commands when a user close the browser tab. That is, I > have a php page ( index.php ) and it will create a temporary file to track > some stuffs. That temporary file should be removed, when the user close the > browser

[PHP] Script execution after window close

2012-03-04 Thread Nibin V M
Hello, I need to run a few commands when a user close the browser tab. That is, I have a php page ( index.php ) and it will create a temporary file to track some stuffs. That temporary file should be removed, when the user close the browser tab. Is there any way to achieve this? Thank you, -- R

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
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"

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
ote: > 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

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
r 2, 2012 at 8:10 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 would like to avoid additions to the current

Re: [PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
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,

[PHP] curl equivalent in PHP

2012-03-02 Thread Nibin V M
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!

Re: [PHP] Website preview script

2012-02-29 Thread Nibin V M
9 Ashley Sheridan > >> ** >> On Wed, 2012-02-29 at 19:54 +0100, Simon Schick wrote: >> >> >> Hi, Nibin >> >> I wonder what you'd call a ... >> Do you mean a screenshot or the HTML-response from the server, specially >> prepared (sounds

Re: [PHP] Website preview script

2012-02-29 Thread Nibin V M
just started to learn PHP today ) I need to start from scratch. If yo could provide some sample code, it will be great :) thanks for your input guys.. On Thu, Mar 1, 2012 at 12:11 AM, Ashley Sheridan wrote: > ** > On Wed, 2012-02-29 at 19:29 +0100, Matijn Woudt wrote: > > On Wed, Feb 29,

[PHP] Website preview script

2012-02-29 Thread Nibin V M
Hello, I am very new to PHP coding. I am trying to achieve a task via PHP, regarding which I have been googling around for a few days and now come up with emtpy hands! Ok, what I need to write is a "website preview script". That is I need to display a website hosted on serverA and pointing elsewh