is it possible? If yes how

Started on the old forum in March 2012 · view the original in the archive · old links redirect here

3 replies · 396 views · started 14 years ago · 1 min read

2 participants
something else Fellow · 2,296 posts #2

make a folder called music and do a string replacement on the grabber script to include the word "/music/" and then place the music grabber script inside of it 🙂

jonac Junior · 24 posts #3

thanks, u mean i should rename the grabber with the word "music" ?

something else Fellow · 2,296 posts #4

you would have to put a string replacement in the grabber something on the lines of:

$text = str_replace("some word here","/music/",$text);

but without seeing the script im just guessing ..... it might need preg_replace which is slightly different:

$text = preg_replace("/index.php?page=music&(.*?)" /is", "/music/index.php?$1\"", $text);

but once again its a complete guess 🙂

Added after 2 minutes:

Heres a better example of preg replace: http://coding-talk.com/f14/help-how-to-extract-item-bet-between-this-code-17110/

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close