Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

like we call JavaScript in aspx or aspx.cs, I want to call php scripts or files in aspx.cs or aspx

or you may say I want use PHP like JavaScript in asp.net
Posted
Comments
Gopinath_Rajan 1-Oct-12 6:19am    
PHP Script means what?

1 solution

short answer...you can't! it's just like saying "I want to write Java code in C++". JavaScript is client side, PHP and ASP.NET are server side processing platforms.
 
Share this answer
 
Comments
Member 9155630 3-Oct-12 1:00am    
thanks.....I didnt mean that, want to use PHP scripts with aspx, aspx.cs code at Server side
I.explore.code 3-Oct-12 3:02am    
My answer remains the same. You can't. Why would u even want to do that? C# is a brilliant server side language, use it!
damilola Akinnifesi 7-Aug-15 7:21am    
lol but u can now

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