我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在字符串中获取页面的url(不是你的)

Wikipedia has a feature called Special:Random that when added to the end of "http://en.wikipedia.org/wiki/" will direct to a random page. For a website that I am making, I would like to be able to obtain a 'random' wikipedia article url, and after that, I can just parse the url to get the article name. I don't want the url I receive in a string to have Special:Random in it but the article name. Any ideas on how I may be able to implement this?

近期文章

  • PHP Imagick:保存一个保持矢量图像的合成
  • Magento为客户提供可下载产品
  • jQuery Mapster与来自php的动态数据
  • 具有Smtp身份验证的Web表单(回复)
  • 使用SimpleXML创建WS-Security标头?
  • 显示与数据库具有不同符号的数据
  • 动态地将图像从URL加载到div中
  • joomla和另一个php网站之间的常见登录
  • strstr返回空行而不是字符串的第一部分
  • MySQL表结果处理另一个表结果[关闭]
  • 只有从firebug重新发送时,Ajax才有效
  • 用于在多个用户的服务器上运行进程的语言
  • PHP爆炸函数循环用于列标题,以将所需的值返回到Excel文件中
  • 选择框值应该是多页访问
  • checkout qty不会在结帐时更新小计
  • 会话变量泄漏到全局命名空间
  • 在Kohana之外的文件中使用Kohana
  • Jquery $ .post返回错误的数据
  • joomla 2.5仅查看任何预览类别的图像介绍
  • 从PHP发送的电子邮件落后了7个小时

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华