🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages Started by roladdon Thu, 17 Apr 2008 14:29
How to call php code from indy
#348
Author: roladdon
Date: Thu, 17 Apr 2008 14:29
16 lines
1273 bytes
I am trying to call  php code from indy:  error message "403 Forbidden"

1)
Body = TIdHTTP1->Get("http://123.com/456/test.php", ts);

2)
TStringList *ts = new TStringList();
Body = TIdHTTP1->Post("http://123.com/456/test.php", ts);

both get's the error  "403 Forbidden", this php code should return "ok"

How can I call a PHP page?

thanks,

Roland 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads