Error |
Error |
tudsy |
Aug 19 2017, 12:35 AM
Post
#1
|
Advanced Member Group: Members Posts: 246 Joined: 30-September 14 Member No.: 21,611 |
Hi
With this query string, I get the error: [19-Aug-2017 05:13:26 UTC] PHP Parse error: syntax error, unexpected '<' in /home/ecovibdc/public_html/ECOVIB2D/MYART/processmidpage.php on line 135 [19-Aug-2017 05:17:15 UTC] PHP Notice: Undefined index: username in /home/ecovibdc/public_html/ECOVIB2D/MYART/ecovib2d1.php on line 187 [19-Aug-2017 05:17:15 UTC] PHP Notice: Undefined index: email in /home/ecovibdc/public_html/ECOVIB2D/MYART/ecovib2d1.php on line 187 When I load ecovib2d1.php, load the graphic and hover over the buy button, I get a 'NaNNaN.........' type of output on the status bar. I do not know what is happening? I think I have defined username and email correctly in the query string? document.getElementById('form').action="http://103.226.223.161/~ecovibdc/ECOVIB2D/MYART/processmidpage.php?username=" + <?php echo $_GET['username'];?> + "&email=" + <?php echo $_GET['email'];?> + "&Person=" + personname + "&Price=" + Priceofart + "&Graphic=" + picname.replace('w.bmp','.bmp'); Thanks. Attached File(s) processmidpage.php ( 3.82k ) Number of downloads: 507 ecovib2d1.php ( 10.02k ) Number of downloads: 466 |
CharlesEF |
Aug 20 2017, 11:38 PM
Post
#2
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
I can't see the entire URL of this:
http://103.226.223.161/~ecovibdc/ECOVIB2D/...stg%40gmail.com Which looks like it might be the URL for 'processmidpage.php'. Is that how your browser shows the URL? Those '...' in the URL are hiding info I need to see. Or are you using the built-in browser in some editor? I need to see the complete URL. Use a real browser. This post has been edited by CharlesEF: Aug 20 2017, 11:41 PM |
pandy |
Aug 21 2017, 02:21 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
But it is complete? It's just the forum software that shortens the link text. Look at the status bar (if you are lucky enough to still have one...) or copy the URL.
CODE http://103.226.223.161/~ecovibdc/ECOVIB2D/MYART/ecovib2d1.php http://103.226.223.161/~ecovibdc/ECOVIB2D/MYART/processmidpage.php?username=Adrian+Tudini&email=stg%40gmail.com |
CharlesEF |
Aug 21 2017, 02:13 PM
Post
#4
|
Programming Fanatic Group: Members Posts: 1,981 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
But it is complete? It's just the forum software that shortens the link text. Look at the status bar (if you are lucky enough to still have one...) or copy the URL. CODE http://103.226.223.161/~ecovibdc/ECOVIB2D/MYART/ecovib2d1.php http://103.226.223.161/~ecovibdc/ECOVIB2D/MYART/processmidpage.php?username=Adrian+Tudini&email=stg%40gmail.com Thanks pandy, I keep forgetting that the forum software plays tricks. |
Lo-Fi Version | Time is now: 26th April 2024 - 12:55 AM |