The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Error
tudsy
post Aug 19 2017, 12:35 AM
Post #1


Advanced Member
****

Group: Members
Posts: 166
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)
Attached File  processmidpage.php ( 3.82k ) Number of downloads: 245
Attached File  ecovib2d1.php ( 10.02k ) Number of downloads: 180
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
tudsy   Error   Aug 19 2017, 12:35 AM
CharlesEF   According to your code, in 'ecovib2d1.php...   Aug 19 2017, 06:50 PM
tudsy   According to your code, in 'ecovib2d1.php...   Aug 20 2017, 12:15 AM
tudsy   [quote name='CharlesEF' post='134837' date='Aug 2...   Aug 20 2017, 05:39 AM
CharlesEF   [quote name='tudsy' post='134839' date='Aug 20 20...   Aug 20 2017, 09:49 AM
tudsy   [quote name='tudsy' post='134839' date='Aug 20 2...   Aug 20 2017, 04:30 PM
CharlesEF   Well, can't you post the URL so I can see how ...   Aug 20 2017, 09:01 PM
tudsy   Well, can't you post the URL so I can see how...   Aug 20 2017, 10:40 PM
CharlesEF   You didn't post any URL's. Please post th...   Aug 20 2017, 10:48 PM
tudsy   You didn't post any URL's. Please post t...   Aug 20 2017, 11:23 PM
CharlesEF   I can't see the entire URL of this: http://103...   Aug 20 2017, 11:38 PM
pandy   But it is complete? It's just the forum softwa...   Aug 21 2017, 02:21 AM
CharlesEF   But it is complete? It's just the forum softw...   Aug 21 2017, 02:13 PM
tudsy   [quote name='pandy' post='134852' date='Aug 21 20...   Aug 22 2017, 07:44 AM
CharlesEF   Based on pandy's post (you should have used co...   Aug 21 2017, 02:10 PM
CharlesEF   I already gave you a hint. I said that the URL wa...   Aug 22 2017, 10:41 AM
CharlesEF   Oh, sorry I forgot. You want to decode in PHP for...   Aug 22 2017, 10:49 PM
tudsy   Oh, sorry I forgot. You want to decode in PHP fo...   Aug 23 2017, 06:16 AM
CharlesEF   I don't use $_GET very often. I didn...   Aug 23 2017, 10:36 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th November 2018 - 02:47 PM