我刚刚在这个论坛上解决了一个 whatsapi 问题,现在又遇到了另一个问题。
我通过调用whatsprot.class.php 中的类来运行脚本。我可以像魅力一样在本地机器上运行所有脚本。但是远程服务器不喜欢我脚本中的某一行并且拒绝超越它;
我的剧本是;
require "src\whatsprot.class.php";
$username = "91xxxxxxxxxxx"; //Mobile Phone prefixed with country code so for india it will be 91xxxxxxxx
$password = "xxxxxxxxxxxxxxxxxxxxxxxxxxxx";
$identity = strtolower(urlencode(sha1($username, true)));
$w = new WhatsProt($username, $identity, 'WhatsApp Messaging', true);
我的远程服务器没有跨越的线是;
$w = new WhatsProt($username, $identity, 'WhatsApp Messaging', true);
我绝对是个业余爱好者。所以请告诉我需要什么其他信息来揭开这个问题的神秘面纱......