[PHP-users 33685] phpを使用して、https://のページを文字列で取得したいです。

tanig108 @ edogawa.home.ne.jp tanig108 @ edogawa.home.ne.jp
2008年 6月 24日 (火) 01:32:31 JST


php$B$r;HMQ$7$F!"(Bhttps://$B$N%Z!<%8$rJ8;zNs$G<hF@$7$?$$$G$9!#(B


php$B$r;HMQ$7$F!"(Bhttps://$B$N%Z!<%8$rJ8;zNs$G<hF@$7$?$$$G$9!#(B
$B4D6-$O!"(BwindowsXP+php5$B$G!"%W%m%s%W%H$h$j(Bphp -m$B$H$9$k$H(Bopenssl$B$H=P$k4D6-$G(B
$B$9!#(B

$s=file_get_contents($URL);
echo $s;
$B$r;HMQ$7$F$$$^$9!#(B
URL$B$K$h$C$FF0:n$,0[$J$j$^$9!#(B
$B-!(B
$URL="https://jizen.kuronekoyamato.xx.xx/jizen/cr/jz/wb/CRJZWBJS0050.jsp";
$B$G$O!"?7$7$$%j%s%/@h$K%Z!<%8$,Ht$s$G$7$^$$$^$9!#(B
$BHt$P$J$$$h$&$K!"$b$7$/$O!"%j%s%/@h$N(BURL$B<hF@$,L\E*$G$9!#(B

$B-"(B
$URL="https://www.deal.XXXXX.co.jp/ITS/login/MemberLogin.jsp";
$B$G$O!"0J2<$N%a%C%;!<%8$,I=<($5$l$^$9!#(B
$B!V(BUnable to find the socket transport "https" - did you forget to enable it
when you configured PHP$B!W(B
$s$B$NCf?H$O(BNULL$B$N$h$&$G$9!#(B

$B$d$j$?$$$3$H$O!"(B
http://$B!A$N%Z!<%8$,<hF@$G$-$k$h$&$K!"(B
fopen,fgets,fclose$B$N$h$&$K(Bhttps://$B!A$N%Z!<%8$NJ8;zNs$r<hF@$9$k$3$H$G$9!#(B

$B%;%C%7%g%s$r$D$J$2$?$j$9$kI,MW$,$"$k$N$G$7$g$&$+!)(B
https$B$,$h$/J,$+$C$F$$$J$$$N$G!";29M$K$J$k%5%$%H$J$I$"$j$^$7$?$i!"$465<x4j$$(B
$B$^$9!#(B

$B$h$m$7$/$*4j$$$7$^$9!#(B



PHP-users メーリングリストの案内