Create and use a cookie for a website in PHP?

  • Thread starter Thread starter doihe
  • Start date Start date
D

doihe

Hi.

I use VB.NET to create a soft which POST data in a website writed
in PHP. First, I must to login in this website with a username and
a password.
After, I must use this cookie to post, to naviguate in this site.

Can I write a cookie in LOCAL (with cookie's value : username,
password, path , time expire...) and use this cookie in order to
POST in this website ? The website can accept my cookie ?
Can I have a code exemple please ?

Thank you.
 
You could use Indy.Sockets for this. Indy.Sockets implements a much more
advanced Http client, but Indy isn't limited to Http. It implements over 100
protocols.

Greets,

Matthijs ter Woord
Team Indy
 
Back
Top