可以在aspx中形成可以调用php [英] can form in aspx can call php

查看:100
本文介绍了可以在aspx中形成可以调用php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好..

我在aspx页面中有一个表单,包含所有aspx控件。每次更改凭据时,使用我的aspx页面发送邮件都有问题。所以我想到调用php页面n通过php函数发送电子邮件..任何人帮助因为'post'方法在我的aspx页面中不被接受...

Hi everyone..
I Have one form in aspx page with all aspx controls..There is a problem for mail sending using my aspx page as every time they are changing credentials..so I thought of calling php page n send email via php function..Can anybody help as 'post' method is not accepted in my aspx page...

推荐答案

首先你需要在调用所需函数的 PHP 服务器上创建一个网页,并返回结果(理想情况下为 SOAP XML 格式)。然后,您可以通过.NET WebRequest 获取该网页。
First you need to create a webpage on the PHP server that calls the function you want, and returns the results (ideally in SOAP or XML format). Then, you can GET that webpage through the .NET WebRequest .


这篇关于可以在aspx中形成可以调用php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆