本帖最后由 hoby 于 2014-8-24 09:15 编辑 % k7 B* r0 u1 U+ g4 Q, p- Y " I) O( |3 ]7 Y我是在虚拟主机上面安装IM并且LP是同个域名下。我是用LP页来跑的,刚开始放下面的track代码在头部,LP页就打不开,显示空白:$ e: g- `1 u: z0 }& k. E* n
<?php include ('/home/xxxxx/public_html/xxxxx.com/lp_track.php'); ?>0 w" f+ z% q. _
n9 I: b* W: U9 E* T
然后我修改为下面链接,可以打开,但是IM那边只有点击数据,其他的数据都为0, R& L0 Y# H) T3 {* u6 v! J) a9 _" l
<?php include ('/public_html/xxxxx.com/lp_track.php'); ?> ' g6 l T: h+ q ' l: }# y3 L, u$ U7 [另外,LP页的OFFER链接设置为<?php echo $offer; ?>, 但是打开LP的时候他却链到本LP页网址。 % ~8 J' p" I0 c$ `7 @4 f # G$ s- u+ H9 }, P. S在谷歌上面搜寻也未找到答案,感觉这些PHP函数不起作用,想问下各位是不是虚拟主机的问题? 4 I- K5 ~! P' _7 P p) K; e4 j- D$ E( N) {1 u- w% m, J* v
LP目录下面产生了error_log文件,有如下内容:: m2 w; b: H1 o; s
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined index: iMobiClick in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0$ N Y/ i' m; R# y5 O; F: {. Y& x
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 1 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0) Q( x+ }/ K" m$ D
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 2 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0 8 v( L; N2 \5 e/ f* E, U
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 3 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0 7 b1 ]7 o! L, O8 t
[23-Aug-2014 08:50:58 America/Los_Angeles] PHP Notice: Undefined offset: 4 in /home/xxxx/public_html/xxxx.com/lp_track.php on line 0
复制代码
: n% B, S/ M4 Z! i1 |# w+ q! R+ p2 P; w5 z+ V
7 T; b g3 @0 k% _+ F