![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Posts: 7,952
|
Php Help needed...
Can someone share some code that will grab from a webpage all a href's and img's on the page? Also how to grab a certain text string out of a webpage.
Thanks |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
MFBA
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
|
php.net is where all questions about php are answered. much better place to seek answers then GFY.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2003
Location: Austin, TX
Posts: 698
|
I'll be nice and share one regexp
![]() This grabs all linked images on a page: PHP Code:
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Dec 2001
Posts: 7,952
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |