Search the Community
Showing results for tags 'SECURE'.
Hi guys, I have been asked to set up an affiliate site but the content is supplied as an XML feed which is protect by a username & password. Please can someone help me with the code that will allow me to access this secure feed without having to login every time? I have PHP experience but obviously at a basic level! Many ThanksNathan
//captcha.php script <?phpsession_start();$text = rand(10000,99999);$_SESSION["vercode"] = $text;$height = 25;$width = 65; $image_p = imagecreate($width, $height);$black = imagecolorallocate($image_p, 0, 0, 0);$white = imagecolorallocate($image_p, 255, 255, 255);$font_size = 14; imagestring($image_p, $font_size, 5, 5, $text, $white);imagejpeg($image_p, null, 80);?> //html form script <body><form id="form1" name="form1" method="post" action=""><table width="500" border="0"><tr><td>Verify Code </td><td><img src="captcha.php" /></td>&l