系统要求:
可以跟踪到我方链接出去到达其他电子商务网站产生的交易信息
有点类似角色倒换后的CPS广告联盟
实现方式:
可以在我方加代码也可以在其他网站添加代码语言要求:不限,要求熟悉网站开发及数据库费用面谈
有意者请联系:
QQ:137957158

解决方案 »

  1.   

    $img_bg    = (function_exists('imagecreatefromjpeg') && ((imagetypes() & IMG_JPG) > 0)) ?
                                imagecreatefromjpeg($this->folder . $theme[0]) : imagecreatefromgif($this->folder . $theme[0]);
                $bg_width  = imagesx($img_bg);
                $bg_height = imagesy($img_bg);            $img_org   = ((function_exists('imagecreatetruecolor')) && PHP_VERSION >= '4.3') ?
                              imagecreatetruecolor($this->width, $this->height) : imagecreate($this->width, $this->height);            /* 将背景图象复制原始图象并调整大小 */
                if (function_exists('imagecopyresampled') && PHP_VERSION >= '4.3') // GD 2.x
                {
                    imagecopyresampled($img_org, $img_bg, 0, 0, 0, 0, $this->width, $this->height, $bg_width, $bg_height);
                }
                else // GD 1.x
                {
                    imagecopyresized($img_org, $img_bg, 0, 0, 0, 0, $this->width, $this->height, $bg_width, $bg_height);
                }
                imagedestroy($img_bg);            $clr = imagecolorallocate($img_org, $theme[1], $theme[2], $theme[3]);            /* 绘制边框 */
                //imagerectangle($img_org, 0, 0, $this->width - 1, $this->height - 1, $clr);            /* 获得验证码的高度和宽度 */
                $x = ($this->width - (imagefontwidth(5) * $letters)) / 2;
                $y = ($this->height - imagefontheight(5)) / 2;
                imagestring($img_org, 5, $x, $y, $word, $clr);            header('Expires: Thu, 01 Jan 1970 00:00:00 GMT');            // HTTP/1.1
                header('Cache-Control: private, no-store, no-cache, must-revalidate');
                header('Cache-Control: post-check=0, pre-check=0, max-age=0', false);            // HTTP/1.0
                header('Pragma: no-cache');
                if ($this->img_type == 'jpeg' && function_exists('imagecreatefromjpeg'))
                {
                    header('Content-type: image/jpeg');
                    imageinterlace($img_org, 1);
                    imagejpeg($img_org, false, 95);
                }
                else
                {
                    header('Content-type: image/png');
                    imagepng($img_org);
                }            imagedestroy($img_org);            return true;