[PHP] session timeouts

2001-08-20 Thread Nigel_Soon
Hi, I'm writing a web survey in php and trying to set session timeouts. I have a main script that starts the session and displays the pages. Is there a way I can make the session timeout if they idle for too long? Thanks, Nigel -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] getting extra output with cURL

2001-08-15 Thread Nigel_Soon
Hi, I'm using curl to do a post and when I run the curl_exec($ch) it does the post and the result is displayed, however after the it is printing a 0. It seems to be in the return of the post because if I echo something after the curl_exec statement it come after the 0. Has anybody had any expe

RE: [PHP] require using url

2001-08-08 Thread Nigel_Soon
Yeah the file is on a HTTP server. I don't exactly get the source code showing though as it is enclosed in php tags and the HTTP server is running php. Thanks, Nigel On Wed, 8 Aug 2001, Bruin, Bolke de wrote: > Is that file living on a HTTP server which PARSES the function? Eg do you > get > t

Re: [PHP] require using url

2001-08-08 Thread Nigel_Soon
Line 51 has a call to login(). The login() function is in functions.php which lives on a different server. I try to use functions.php by putting the require statement in survey.php. This works when they both live on the same server but when I try using require with the url to a remote server it fa

[PHP] require using url

2001-08-08 Thread Nigel_Soon
Hi, I'm having a problem using require with a url. What I'm trying to do is have a php script on a server that calls a file on another server using require. The file that is called on the other server contains php functions that the calling php script uses. I my attempts so far I get: Fatal erro