0

Hi!
I have a page and it's on 000webhost.com. But they don't allowed to add upload script. So, I thought, is it possible to make a php script that will upload file to one other server (this other server doesn't have installed php). Is this possible? If so, how? Thanks a lot!

2
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by ivan3510
0

You site won't be able to make use of it anyway if it hasn't got php installed, only reference it like href or src.

What are you trying to accomplish?

You could use an iframe do display updated data I suppose. That in itself could be modified with js. So, you should be able to use js and iframes to modify the view of your site.

You may be able to use cross-domain ajax: http://usejquery.com/posts/9/the-jquery-cross-domain-ajax-guide

However, I haven't tried this flavour of it. Nor do I know if it will work on a site without php installed. I can't see why not. Try it?

Edited by diafol: n/a

0

I have two sites. Trough the php file of the first site I want to upload a file to a second site. Is this possible?

0

No, I wouldn't have thought so. Otherwise you could post all sorts of nasties to everybody else's site.

Do you have ftp access to the html site? If so, you may be able to use php's ftp functions to upload to it.

Edited by diafol: n/a

0

Yes, I have it. Thanks for informations. I'll try with php's ftp. Thanks a lot!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.