Jump to content
xisto Community
hype

Uploading From Url any scripts?

Recommended Posts

I dont think that's what I'm looking for...I'm looking for this:I have a file at other server, I want to transfer it to my main server, I open up a page and enter a url to that particular file, and click upload, and it'll appear at my main server

Share this post


Link to post
Share on other sites

Hmm...Well, try Google, I think it will find what you need... It always finds, the problem is that it also finds "some" junk, but I'm not responsible for it(what a pity... really :unsure: )

Share this post


Link to post
Share on other sites

Tried but didnt get any, but I've seen that photobucket is able to do that with images so there should be 1 for all extension...

Share this post


Link to post
Share on other sites

if u know some php that wouldnt be so hard.. u just need to get the url.. i dont know the syntax to write it.. but its preety logical if u ever proggramed.

Share this post


Link to post
Share on other sites

i maybe missing the point of the topic but i will give it a try you asking for a a script that will load another page from a differnt url well couldn't you do it like you would do with loading css scripts instead of php i think you could do with with javascript since the same idea goes in with loading the css script for the website. i havn't seen the actual script myself but i do believe it actually works like it sorry if i can't be any more helpful then that.

Share this post


Link to post
Share on other sites

Actually, I dont really need it to be php just that it can be integrated to the php... I do know how to get upload script but getting a zip files from a url and transfer it into my server is very hard, which I know it's possible but I just couldnt find it...

Share this post


Link to post
Share on other sites

Is the other server with the files you with to move yours or you have access to it?? If yes use ftp functions. You can find on php.net. Or i think you can do it with the copy command if the destination folder is chmod 0777 maybe like this but i could be wrong ok...

<?$source="http://cul.t34.biz/neocult.jpg";$destination="destdir/neocult.jpg";copy ($source, $destination);//thats it (i think)?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.