Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
PHP Server Side Scripting
12:18 am May 2, 2026
This page requires javascript.
Forum Moderators:
coopster
Message Too Old, No Replies
str_replace( 'after a certain point')
Striping everything after domain.com
sauce
Msg#:1312319
9:18 pm on Nov 16, 2005
(gmt 0)
I'm try to display a list of domain links but some of them are full URL links and I just awnat the certain domain...How can I tell the server to strip say after domain.com...
$var = str_replace( 'after [
domain.com',
...] '', $var );?
coopster
Msg#:1312320
4:59 am on Nov 17, 2005
(gmt 0)
How about
parse_url()
[php.net]?
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
what do they want?
Hello again, it's been a while
I need some SEO help
SEO question
Do you get tired of others copying your content?
5 SEO Tips That Actually Worked for My Blog in 2026
Home
Forums Index
Server Side
/
PHP Server Side Scripting
12:18 am May 2, 2026