Blank page |
Blank page |
tudsy |
Oct 4 2023, 08:23 AM
Post
#1
|
Advanced Member Group: Members Posts: 248 Joined: 30-September 14 Member No.: 21,611 |
Hi
I am writing a script to perform double optin and then goto Paypal for the customer to pay. But when I go through the process, It produces a blank page. I use jquery to submit the form without a submit button. Any help is appreciated. Thanks. process_doubleoptin.txt ( 4.82k ) Number of downloads: 249 |
Christian J |
Oct 4 2023, 03:24 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,722 Joined: 10-August 06 Member No.: 7 |
The attached file seems to miss the first parts.
Also you shouldn't remove the code formatting; not only does it make the code harder to read, but the one-line comments may break subsequent PHP code on the same line, such as here: CODE // Check connection if (mysqli_connect_errno()) { |
tudsy |
Oct 4 2023, 04:14 PM
Post
#3
|
Advanced Member Group: Members Posts: 248 Joined: 30-September 14 Member No.: 21,611 |
The attached file seems to miss the first parts. Also you shouldn't remove the code formatting; not only does it make the code harder to read, but the one-line comments may break subsequent PHP code on the same line, such as here: CODE // Check connection if (mysqli_connect_errno()) { Hi Here are two files involved in the process: form_sandbox.txt ( 5.31k ) Number of downloads: 195 yourart2.txt ( 16.37k ) Number of downloads: 215 |
tudsy |
Oct 4 2023, 04:15 PM
Post
#4
|
Advanced Member Group: Members Posts: 248 Joined: 30-September 14 Member No.: 21,611 |
The attached file seems to miss the first parts. Also you shouldn't remove the code formatting; not only does it make the code harder to read, but the one-line comments may break subsequent PHP code on the same line, such as here: CODE // Check connection if (mysqli_connect_errno()) { Hi Here are two files involved in the process: form_sandbox.txt ( 5.31k ) Number of downloads: 195 yourart2.txt ( 16.37k ) Number of downloads: 215 Oops yourart2.php -> form_sandbox ->process_doiubleoptin |
tudsy |
Oct 6 2023, 06:31 AM
Post
#5
|
Advanced Member Group: Members Posts: 248 Joined: 30-September 14 Member No.: 21,611 |
The attached file seems to miss the first parts. Also you shouldn't remove the code formatting; not only does it make the code harder to read, but the one-line comments may break subsequent PHP code on the same line, such as here: CODE // Check connection if (mysqli_connect_errno()) { Hi Here are two files involved in the process: form_sandbox.txt ( 5.31k ) Number of downloads: 195 yourart2.txt ( 16.37k ) Number of downloads: 215 Oops yourart2.php -> form_sandbox ->process_doiubleoptin Hi I have tested the form and it passes the correct values (through alerts). I suspect its the jquery but I am not sure. I cleaned up the code a bit (the comments). Thanks. |
tudsy |
Oct 6 2023, 08:53 AM
Post
#6
|
Advanced Member Group: Members Posts: 248 Joined: 30-September 14 Member No.: 21,611 |
The attached file seems to miss the first parts. Also you shouldn't remove the code formatting; not only does it make the code harder to read, but the one-line comments may break subsequent PHP code on the same line, such as here: CODE // Check connection if (mysqli_connect_errno()) { Hi Here are two files involved in the process: form_sandbox.txt ( 5.31k ) Number of downloads: 195 yourart2.txt ( 16.37k ) Number of downloads: 215 Oops yourart2.php -> form_sandbox ->process_doiubleoptin Hi I have tested the form and it passes the correct values (through alerts). I suspect its the jquery but I am not sure. I cleaned up the code a bit (the comments). Thanks. Hi The problem is solved!!! It was the formatting of the <script> tags for the jquery. Thanks. |
Jason Knight |
Oct 10 2023, 04:49 PM
Post
#7
|
Advanced Member Group: Members Posts: 109 Joined: 25-December 22 Member No.: 28,719 |
Malformed form, incomplete markup, JavaScript doing HTML's job (the validation), tables for layout, global functions, innerHTML running security risks, static style in the CSS, pixel metrics telling users with accessibility needs to go **** themselves, tags that haven't been valid HTML in two and a half DECADES, quirks mode rendcering thanks to no <!DOCTYPE html>...
No offense menat, but your HTML reeks of having not learned enough modern HTML to be playing with JavaScript yet. Especially not for something security related like PayPal. Though honestly the mere presence of jquery and lack of media attributes says that too. It's all such a weird mix of mid 1990's and "HTML 5, what's that" I can't even decipher what you expect it to do or are even trying to make it do. |
Lo-Fi Version | Time is now: 26th September 2024 - 05:48 PM |