By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,189 Members | 1,028 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,189 IT Pros & Developers. It's quick & easy.

Modifing a small script

P: n/a
In this script: http://moose.cc/scripts/grabber/v02/index.phps
How would I make it append the domain name of the source image to the
saved image name?
Like Http://www.test.com/example.jpg to save as test.com.jpg

I think it would be easiest to modify when it starts to break up the
filename:

" $filename = explode("/",$url); // Break the filename up into
chunks "
Dec 15 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You can modify the name right before $fileAsave = $fileA.

On Dec 15, 2:14 pm, benstern <flyingslo...@gmail.comwrote:
In this script:http://moose.cc/scripts/grabber/v02/index.phps
How would I make it append the domain name of the source image to the
saved image name?
Like Http://www.test.com/example.jpg to save as test.com.jpg

I think it would be easiest to modify when it starts to break up the
filename:

" $filename = explode("/",$url); // Break the filename up into
chunks "
Dec 16 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.