Create and use a cookie for a website in PHP?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • doihe

    #1

    Create and use a cookie for a website in PHP?

    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.

    ----------------------------------------------
    Posted with NewsLeecher v2.0 Final
    * Binary Usenet Leeching Made Easy
    * http://www.newsleecher.com/?usenet
    ----------------------------------------------


  • Matthijs ter Woord \(Team Indy\)

    #2
    Re: Create and use a cookie for a website in PHP?

    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




    "doihe" <trrttr@ru.co m> wrote in message
    news:d%aCe.2403 2$271.7068@fe63 .usenetserver.c om...[color=blue]
    > 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.
    >
    > ----------------------------------------------
    > Posted with NewsLeecher v2.0 Final
    > * Binary Usenet Leeching Made Easy
    > * http://www.newsleecher.com/?usenet
    > ----------------------------------------------
    >
    >[/color]


    Comment

    Working...