Find the answer to your Linux question:
Results 1 to 2 of 2
Code: curl --cookie 'webtv.login; webtv.bandwidth=1400; webtv.playerPlatform=0' --cookie-jar webtv.login2 --user-agent Mozilla/4.0 --data 'treeId=13&progId=&action=login&username=USERNAME&password=PASSWORD&autoLogin=on&ajax=true' hxxp://XXX.host.org/login.do -v curl -b webtv.login2 --user-agent Windows-Media-Player/9.00.00.4507 'hxxp://XXX.host.fi/showContent.do?treeId=13&progId=16539&adData=%7B%22ad%22%3A%20%7B%7D%7D&ajax=true' How to convert this PHP?...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    2

    curl to php

    Code:
    curl --cookie 'webtv.login; webtv.bandwidth=1400; webtv.playerPlatform=0' --cookie-jar webtv.login2 --user-agent Mozilla/4.0 --data 'treeId=13&progId=&action=login&username=USERNAME&password=PASSWORD&autoLogin=on&ajax=true' hxxp://XXX.host.org/login.do -v
    curl  -b webtv.login2 --user-agent Windows-Media-Player/9.00.00.4507 'hxxp://XXX.host.fi/showContent.do?treeId=13&progId=16539&adData=%7B%22ad%22%3A%20%7B%7D%7D&ajax=true'
    How to convert this PHP?

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    What about starting with the PHP Manual.

    php.net go there and have a lot of fun.

    We arn't here to handout scripts / answers we are here to help you where you failed.
    Thus, try something. If it doesnt work. Let us know what script you wrote and what error you got.

    I can go on like that for a while, however I dont want to become a Troll

    I hope you figure it out and let us know if you need help with your script.
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...