Find Jobs
Hire Freelancers

Help with creating a proper postback script and url

$10-30 CAD

已关闭
已发布7 个月前

$10-30 CAD

货到付款
I am looking for a freelancer who can help me with creating a proper postback script and URL for my project. I am using an existing script that needs modification that probably is wrong .m trying to create a functional postback url and script to communicate with cpx research. I have been trying to do this for a very very very long time , I gave up and now im back at it. Here is what I can share of the [login to view URL] script. <?php // Get the values from the postback URL parameters $status = $\_GET\['status'\]; $trans\_id = $\_GET\['trans\_id'\]; $user\_id = $\_GET\['user\_id'\]; $amount\_local = $\_GET\['amount\_local'\]; $amount\_usd = $\_GET\['amount\_usd'\]; $offer\_id = $\_GET\['offer\_id'\]; $ip\_address = $\_GET\['ip\_click'\]; // Validate the data and check for errors if ($status != "completed" && $status != "pending") { // Invalid status die("ERROR: Invalid status"); } // Perform the actions that you want to do with the data // Connect to your database using mysqli or PDO \*\*\*\*MY DATABASE LOGIN INFO\*\*\*\*\* // Create a mysqli object $conn = new mysqli($db\_host, $db\_user, $db\_pass, $db\_name); // Check for connection error if ($conn->connect\_error) { die("ERROR: Connection failed: " . $conn->connect\_error); } // Prepare and bind an SQL statement to insert or update the data in your table // Replace the table name and column names with your own $stmt = $conn->prepare("INSERT INTO offerwall\_history (user\_id, trans\_id, ip\_address, claim\_time, amount) VALUES (?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE claim\_time = ?, amount = ?"); $stmt->bind\_param("ssssis", $user\_id, $trans\_id, $ip\_address, $amount\_usd); // Execute the prepared statement if ($stmt->execute() === false) { // Handle execute error die("ERROR: Execute failed: (" . $stmt->errno . ") " . $stmt->error); } // Close the prepared statement and the connection $stmt->close(); $conn->close(); // Echo a response that indicates whether the postback was successful or not echo "OK: Postback received"; Here is what is required from cpx research [login to view URL] and with the script i made ( which I am sure is not correct ) I am getting this postback result from cpx [login to view URL] which shows status 1 in the links but the "status code" box shows 0 the result box is empty. Also nothing is updated in the cloums in my database which you can see here [login to view URL] . . Specific requirements for the project include: - Modifying the existing postback script to pass conversion data into database - Ensuring the script is compatible with the chosen platform or network CPX RESEARCH - Creating a URL that properly tracks and records the macros Ideal skills and experience for the job: - Strong knowledge and experience in postback script development and modification - Familiarity with the chosen platform or network - Proficiency in URL tracking and conversion data analysis -MY SQL DATABASE SKILLS - Attention to detail and ability to accurately implement script modifications If you have the necessary skills and experience, please reach out to discuss the project further. I can pay $10 maximum .
项目 ID: 37379370

关于此项目

5提案
远程项目
活跃5 个月前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价$32 CAD来参与此工作竞价
用户头像
I have a few questions in relation to the specs of the project. Could we please have a word? My Skills: HTML, MySQL, Laravel, PHP and JavaScript
$10 CAD 在10天之内
4.7 (176条评论)
7.1
7.1
用户头像
Hello there! We are an experienced software development team with over 8 years of experience. We specialize in providing services such as web application development, mobile app development (iOS & Android), front-end and back-end development, database design and optimization, UI/UX design and quality assurance. After reading you job description we think we can do this task efficiently in required time. We believe our diverse skill set makes us the perfect fit for this project Plus we provide timely delivery within budget as part of our .commitment to service excellence. If you'd like to discuss further please reach out so we can start working together
$20 CAD 在7天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, there As I 'm PHP and Laravel Expert, your project attracts me. Let's discuss more. Thanks for considering me. Best, Lei
$10 CAD 在7天之内
5.0 (2条评论)
0.0
0.0
用户头像
Hello. I understood your detail. I have no experience with it, but I will give it a try. Best Regards
$20 CAD 在7天之内
0.0 (0条评论)
0.0
0.0

关于客户

CANADA的国旗
Bridgewater, Canada
0.0
0
会员自10月 26, 2023起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。