[noob question] post + aspx
My situation is I have arrived at a company that has a ASPX website that needed increased functionality. I am a PHP developer and have near zero experience with ASP. I was able to construct a web page with ASPX however, the from I wrote has data that needs to be send to a php script via POST. I supplied the target URL and all. I have read from google you have to remove the "ruund=server" tag. I have done this but when I push submit, my data doesn't get sent. I even rewrote the page so its just pure HTML. However, if I link to this HTML page, from a ASPX page, when I click submit, nothing happens. If I click it again, it will submit. How can I get this simple HTML site to send data via POST after linking to it from an ASPX page.
Here is the website: http://midland-truck.com/
Notice, if you click the "Newsletter" Link in the top right and click submit, nothing will happen. However, if you navigate to the page directly, it will work as expected.
Any ideas, any and all help is appreciated.
Works the same for me, either way.
Mainly, it doesn't work.
Because your PHP page seems to be trying to post back to the "sent.aspx" page, which is surely a mistake.
You can have an ASPX page send data to a PHP script for processing, but there is no way I'm aware of that the data in a PHP script can be sent back to an ASPX page. If you are going to successfully modify this website, you need to learn ASP.NET, which is what your ASPX page is. Either that or rewrite it in PHP, which you say you're familiar with.
As an aside, I'm moving this thread to the ASP.NET forum, which is where it really belongs.
|All times are GMT +1. The time now is 05:42 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.