Click here to Skip to main content
15,993,913 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using windows 8.1, 64bit OS, PHP Version 5.6.19 and Visual Studio 2015. I want my C# console application to read input from PhP. Means i will insert input in PhP and my C# console application will read that input from my PhP file. How can i do that?

What I have tried:

I haven't found any clue to solve the issue
Posted
Updated 11-Apr-16 19:47pm
Comments
Garth J Lancaster 12-Apr-16 1:28am    
iirc, PHP is a language. Using it, you can write your data into (almost anything) including a file on disk, a database (eg SQLite, MySQL) .... Once you've figured out which is appropriate for you, you can set up your console program to read the data

You mention 'PHP File' .. what do you really mean ? maybe you should put some more details in your question (edit it, dont post it again) of what you are trying to do from an end-to-end process point of view so we could determine a better way of assisting you
Member 11345334 12-Apr-16 1:51am    
Actually i am working with fingerprint verification. It's a part of my project. I have built my total project in PhP using Laravel framework but i couldn't find any way to verify fingerprint using PhP. I have found finger print verification code in C#. Now i want to connect my finger print verification project (which is built in C#) with my main PhP project. From my PhP UI i will send image as input of my C# fingerprint project and i will again show the output of my C# project in PhP UI. Can you please help me to resolve the issue?
Garth J Lancaster 12-Apr-16 3:26am    
I would probably put a REST layer around the c# fingerprint verification software - likely, using NANCY & TOPSHELF

1 solution

You can use WebClient to connect to any web resource : WebClient Class (System.Net)[^]

http://www.dotnetperls.com/webclient[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900