Click here to Skip to main content
15,908,776 members
Home / Discussions / C#
   

C#

 
AnswerRe: executing an PHP file on the webserver Pin
mikone9-Oct-06 21:49
mikone9-Oct-06 21:49 
Hi,

i haven't done anything similiar before but i'm sure you can do this with the System.Net.WebClient class. It provides methods like DownloadFile and ReadFile if i remember right. Executing a PHP file isn't anything else than doing a webrequest.

You will never see the php script code on a page (unless php does not work properly) - those scripts will be preprocessed. that means it generates an output which will be send to the one who did the request.

Hence you just have to "behave" like an internet browser and ask for the files.
Since i don't know how to use the webclient class i would suggest you to use google and learn something about it - i'm sure it's the solution for your problem Smile | :)

Good luck,
mik
GeneralRe: executing an PHP file on the webserver Pin
asamay10-Oct-06 6:37
asamay10-Oct-06 6:37 
QuestionInterface with MSN Messenger Pin
cdenvir9-Oct-06 13:51
cdenvir9-Oct-06 13:51 
QuestionSetting Desktop Wallpaper Pin
monrobot139-Oct-06 13:34
monrobot139-Oct-06 13:34 
AnswerRe: Setting Desktop Wallpaper Pin
Stefan Troschuetz9-Oct-06 21:51
Stefan Troschuetz9-Oct-06 21:51 
GeneralRe: Setting Desktop Wallpaper Pin
monrobot1310-Oct-06 16:07
monrobot1310-Oct-06 16:07 
QuestionInterface for equality(only) comparisons Pin
Dan Neely9-Oct-06 10:30
Dan Neely9-Oct-06 10:30 
AnswerRe: Interface for equality(only) comparisons Pin
Guffa9-Oct-06 10:41
Guffa9-Oct-06 10:41 
GeneralRe: Interface for equality(only) comparisons Pin
Dan Neely9-Oct-06 11:03
Dan Neely9-Oct-06 11:03 
Questionhow to protect application .... Pin
galigal159-Oct-06 10:06
galigal159-Oct-06 10:06 
AnswerRe: how to protect application .... Pin
Malcolm Smart9-Oct-06 10:16
Malcolm Smart9-Oct-06 10:16 
GeneralRe: how to protect application .... Pin
Dan Neely9-Oct-06 10:55
Dan Neely9-Oct-06 10:55 
QuestionSerializing an interface? Pin
Marc Clifton9-Oct-06 8:28
mvaMarc Clifton9-Oct-06 8:28 
AnswerRe: Serializing an interface? Pin
led mike9-Oct-06 8:57
led mike9-Oct-06 8:57 
GeneralRe: Serializing an interface? Pin
Marc Clifton9-Oct-06 9:29
mvaMarc Clifton9-Oct-06 9:29 
GeneralRe: Serializing an interface? Pin
led mike9-Oct-06 10:31
led mike9-Oct-06 10:31 
AnswerRe: Serializing an interface? Pin
Robert Rohde9-Oct-06 22:13
Robert Rohde9-Oct-06 22:13 
QuestionEscape from image folder Pin
Parshant Verma9-Oct-06 7:39
Parshant Verma9-Oct-06 7:39 
AnswerRe: Escape from image folder Pin
Guffa9-Oct-06 9:41
Guffa9-Oct-06 9:41 
QuestionEmpty Crystal Report Pin
WillemM9-Oct-06 7:12
WillemM9-Oct-06 7:12 
AnswerRe: Empty Crystal Report Pin
WillemM9-Oct-06 21:05
WillemM9-Oct-06 21:05 
AnswerRe: Empty Crystal Report Pin
WillemM10-Oct-06 6:24
WillemM10-Oct-06 6:24 
QuestionHow could this not work? Pin
nicknotyet9-Oct-06 6:40
nicknotyet9-Oct-06 6:40 
AnswerRe: How could this not work? Pin
nicknotyet9-Oct-06 6:44
nicknotyet9-Oct-06 6:44 
GeneralRe: How could this not work? Pin
User 66589-Oct-06 7:12
User 66589-Oct-06 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.