phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Quick STR_REPLACE question


 
Search this topic... | Search phpBB2 Discussion... | Search Box
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Author Message
JLA
Board Member



Joined: 30 Apr 2009

Posts: 298
Location: U.S.A


flag
PostPosted: Wed May 06, 2009 9:16 pm 
Post subject: Quick STR_REPLACE question

Got it - Thanks - please delete topic
_________________
http://www.jlaforums.com
Back to top
Ptirhiik
Board Member



Joined: 19 Nov 2008

Posts: 114


flag
PostPosted: Wed May 06, 2009 10:08 pm 
Post subject: Re: Quick STR_REPLACE question

Quote:
$res = preg_replace('#^http://thisurl\.com/stuff/(.*)$#is', 'http://whatever/&foo=$1&bar=whatelse', $orig);
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 298
Location: U.S.A


flag
PostPosted: Wed May 06, 2009 10:38 pm 
Post subject: Re: Quick STR_REPLACE question

Ptirhiik wrote:
Quote:
$res = preg_replace('#^http://thisurl\.com/stuff/(.*)$#is', 'http://whatever/&foo=$1&bar=whatelse', $orig);


Thanks - that did it.

_________________
http://www.jlaforums.com
Back to top
Jim_UK
Board Member



Joined: 19 Nov 2008

Posts: 538
Location: North West UK


flag
PostPosted: Thu May 07, 2009 9:14 am 
Post subject: Re: Quick STR_REPLACE question

JLA wrote:
Got it - Thanks - please delete topic


If topics are deleted when the OP has an answer how do others learn from them? icon_rolleyes.gif

Jim
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Thu May 07, 2009 10:37 am 
Post subject: Re: Quick STR_REPLACE question

Same question from me!
Why deleting?

BTW JLA: what has happened to your forums viewcounter? Looks a bit like it has lost a lot of viewcounts.
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 298
Location: U.S.A


flag
PostPosted: Thu May 07, 2009 3:06 pm 
Post subject: Re: Quick STR_REPLACE question

Jim_UK wrote:
JLA wrote:
Got it - Thanks - please delete topic


If topics are deleted when the OP has an answer how do others learn from them? icon_rolleyes.gif

Jim


Sorry - it was an unrelated issue. If there is an interest - send a PM and I'll tell you what it was about.

_________________
http://www.jlaforums.com
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Thu May 07, 2009 5:23 pm 
Post subject: Re: Quick STR_REPLACE question

JLA wrote:
send a PM and I'll tell you what it was about.

Nice joke! icon_lol.gif
Back to top
Jim_UK
Board Member



Joined: 19 Nov 2008

Posts: 538
Location: North West UK


flag
PostPosted: Thu May 07, 2009 5:58 pm 
Post subject: Re: Quick STR_REPLACE question

Holger wrote:
JLA wrote:
send a PM and I'll tell you what it was about.

Nice joke! icon_lol.gif

icon_lol.gif icon_lol.gif icon_lol.gif

Actually quite amusing that the first post in the topic is quote "unrelated" to what follows.

Jim
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 298
Location: U.S.A


flag
PostPosted: Thu May 28, 2009 4:50 am 
Post subject: Re: Quick STR_REPLACE question

Sorry for the confusion that caused!
_________________
http://www.jlaforums.com
Back to top
Display posts from previous:   
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0094 seconds using 15 queries. (SQL 0.0015 Parse 0.0003 Other 0.0076)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo