php 蓝奏解析源码

小编 2022-06-22 12:23:06 网页源码 浏览量:1140 0 收藏

PHP] 纯文本查看 复制代码

?

01

02

03

04

05

06

07

08

09

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

<?php

//调用接口:http://localhost/index.php?url=https://xxx.lanzout.com/xxxxxxxx&p=xxxx

//更新时间:2022-02-20 02:42:08

header("Content-Type: text/html;charset=utf-8");

//网页访问

function MloocCurl($url, $method, $ifurl, $post_data)

{

    //设置ua

    $UserAgent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36';

    //初始化cURl

    $curl = curl_init();

    //设置cUrl传输选项

    curl_setopt($curl, CURLOPT_URL, $url);

    curl_setopt($curl, CURLOPT_USERAGENT, $UserAgent);

    curl_setopt($curl, C




精易论坛:bbs.125.la

原贴地址:php 蓝奏解析源码

https://bbs.125.la/forum.php?mod=viewthread&tid=14718333
(出处: 精易论坛)

 资源下载
微云  
您需要 登录账户 后才能发表评论
  • 全部评论 (0条)