From 095a106241a625b4838869b0666efc2f891b3d9a Mon Sep 17 00:00:00 2001 From: oes Date: Tue, 2 Apr 2002 06:14:47 +0000 Subject: [PATCH] Follow redirects --- doc/webserver/actions/step2.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/webserver/actions/step2.php b/doc/webserver/actions/step2.php index 635f1d11..0a1d94f1 100644 --- a/doc/webserver/actions/step2.php +++ b/doc/webserver/actions/step2.php @@ -8,9 +8,12 @@ This file belongs in ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/ - $Id: step2.php,v 1.1 2002/03/30 03:20:30 oes Exp $ + $Id: step2.php,v 1.4 2002/04/01 19:13:47 oes Exp $ $Log: step2.php,v $ + Revision 1.4 2002/04/01 19:13:47 oes + Extended, fixed bugs, beefed up design, made IE-safe + Revision 1.1 2002/03/30 03:20:30 oes Added Feedback mechanism for actions file @@ -159,7 +162,8 @@ $ch = curl_init ($referrer_url); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch, CURLOPT_FAILONERROR, 1); -curl_setopt ($ch, CURLOPT_TIMEOUT, 15); +curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1); +curl_setopt ($ch, CURLOPT_TIMEOUT, 20); ob_start(); $success = curl_exec ($ch); -- 2.39.2