473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Is it possible to run PHP under ASP.net

I am tried to run php code in asp.net.
or we can call php file in asp.net???????
urgent..
Jan 11 '12 #1

✓ answered by Frinavale

PHP is a web scripting language/technology that returns HTML to the browser when it is run. So does ASP.NET.

If you want to "call" a PHP page, then you have to make a web request to it. You will receive HTML as a response.

Ajax stands for Asynchronous JavaScript and XML. It is a client scripting language...which means that it runs in the browser.

You could use Ajax to call your PHP application on the server to retrieve information to display in the browser. Likewise, you could use Ajax to call your ASP.NET application.

You have to remember that even though these files are just code-text to you, they are compiled by the web server so that it can execute the application. Calling a "file" won't do anything...calling an application will.

-Frinny

7 1890
Hi, it seems impossible virtually. ASP.NET page processing is completely different as compared to PHP. You can install PHP in IIS and that may lead to some work around but can't help you with that.
Jan 11 '12 #2
Frinavale
9,735 Expert Mod 8TB
PHP and ASP.NET are two different web technologies that cannot be merged together.

It would really help if you explained what you are trying to do and why so that we can give you advice on the best way to solve your problem.

-Frinny
Jan 11 '12 #3
I am tring to call php program in asp .net file.
hey cam i try ajax????
Jan 12 '12 #4
Frinavale
9,735 Expert Mod 8TB
PHP is a web scripting language/technology that returns HTML to the browser when it is run. So does ASP.NET.

If you want to "call" a PHP page, then you have to make a web request to it. You will receive HTML as a response.

Ajax stands for Asynchronous JavaScript and XML. It is a client scripting language...which means that it runs in the browser.

You could use Ajax to call your PHP application on the server to retrieve information to display in the browser. Likewise, you could use Ajax to call your ASP.NET application.

You have to remember that even though these files are just code-text to you, they are compiled by the web server so that it can execute the application. Calling a "file" won't do anything...calling an application will.

-Frinny
Jan 12 '12 #5
okkkkk.......
thank you.......
Jan 14 '12 #6
m best
7
hmm two technologies
Jan 15 '12 #7
yaaaaa........it's possible....
I am done this......
Jan 16 '12 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Julia Briggs | last post by:
I am struggling to create a PHP function that would take a specified image (JPG, GIF or PNG) from a link, and resize it down to a thumbnail so it will always fit in a 200x250 space. I am hoping...
36
by: rbt | last post by:
Say I have a list that has 3 letters in it: I want to print all the possible 4 digit combinations of those 3 letters: 4^3 = 64 aaaa
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
7
by: Andrzej | last post by:
Is it possible to call a function which name is given by a string? Let assume that I created a program which call some functions for example void f1(void), void f2(void), void f3(void). ...
2
by: Bhupesh Naik | last post by:
This is a query regarding my problem to make a spell and grammar check possible in text area of a web page. We have aspx pages which are used to construct letters. The browser based screens...
1
by: AAA | last post by:
hi, I'll explain fastly the program that i'm doing.. the computer asks me to enter the cardinal of a set X ( called "dimX" type integer)where X is a table of one dimension and then to fill it...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
4
by: RSH | last post by:
Okay my math skills aren't waht they used to be... With that being said what Im trying to do is create a matrix that given x number of columns, and y number of possible values i want to generate...
7
by: Robert S. | last post by:
Searching some time now for documents on this but still did not find anything about it: Is it possible to replace the entry screen of MS Office Access 2007 - that one presenting that default...
14
by: bjorklund.emil | last post by:
Hello pythonistas. I'm a newbie to pretty much both programming and Python. I have a task that involves writing a test script for every possible combination of preference settings for a software...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.