English 中文(简体)
方案准入和张贴需要开会的形式
原标题:Programmatically access & post a form that requires session

我试图利用PHP和URL:

  1. Access a web-form & maintain session
  2. Post the data to that form with session in place

在我的领导下,我认为这是两个单独的职能,一个是获得表格(启动会议),另一个是公布数据。

最佳回答

页: 1 具体来说,登录<代码> CURLOPT_COOKIE,CURLOPT_COOKIEFILE, and CURLOPT_COOKIEJAR

您应能在同一个网址上提出2项曲线要求,其中1项是主动提出形式(然后把会议桌子放在贵方的档案中),1项是你的要求(用同样的 co子)。

举例来说,该页进一步列出了评论意见。 你们或许也想看一下网上出现的薪棕曲线例子,这些例子确实是你之后的。

问题回答

你们可以执行一条指挥线,要求从营地进行治疗,以拯救 co到类似档案:

curl -c /tmp/mycookies.txt http://www.site.com/login.php

之后,这些厨师在上页时就使用:

cur - b/tmp/mycookies.txt -d uname=My CarloinName&pass=MyPasword&action=login&x=67&y=11

更多地宣传这些指挥线旗:





相关问题
why the session in iis automatically log out?

I used iis6, and when i called a function Directory.delete(), the all the session relate this website will be logged out. and i debugged the website, i found no exception. any one have ideas on this ? ...

Check session from a view in CodeIgniter

What is the best way to check session from a view in CodeIgniter, it shows no way in their user guide, otherwise I will have to make two views on everything, which is kinda weird...still a newbie to ...

Can I get the size of a Session object in bytes in c#?

Is it possible to get the size(in bytes) of a Session object after storing something such as a datatable inside it? I want to get the size of a particular Session object, such as Session["table1"], ...

提供严格分类的出席会议物体

提供严格分类的与会机会的最佳方式是什么? 我正计划转而选择矩阵,这正在促使汇编者抱怨我的幻觉方案拟订方法......

PHP Session is not destroying after user logout

I m trying to create an authentication mechanism for my PHP Application and I m having difficulty destroying the session. I ve tried unsetting the authentication token which was previously set within ...

热门标签