Jul 23, 2008

Updating Website From Another -- Website - Is it possible, and how?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Updating Website From Another -- Website - Is it possible, and how?

matak
i was just thinking about this project that i'm doing, and i thought that it would be a good thing that i could update my website let's say on trap17 from my localhost computer with a click of a mouse, without all of that ftp mambo-yumbo

the thing is that i wanted an "UPDATE" button on my site which woud connect to my localhost and update all the things needed.

let's say i added few profiles localy, and i want to update them on site.. how could it be done.

if i was crude in explanation please write what info u still need and i'll post it back...

Reply

hts
http://www.ftpsynchronizer.com/

install the program, set it up with your hostname, password etc...then you can synchronize between your computer and your webhost wink.gif

ps: this is not free...however, if this software does not satisfy your, just search google for ftp synchronization (that`s what I did smile.gif )...maybe you`ll find something better wink.gif

Reply

matak
well, yes i didn't wanted program but just piece of code. that's why i posted in php programing. but i guess this is a hard one to answer and maybe requires some expert knowlege of programing.

later il try googleing your way, and if anybody else has any ideas on how to google this one PM me or something..(i really have problems trying to figure out how is something translated from croatian to english in these technical terms)

pozdrav
wink.gif

Reply

Sirius
I would suggest using Macromedia Dreamweaver. It's not 'free' but it's great for php coding such that it colorizes the code and when you save the file, there is a option so that it can automatically connect, and upload the saved file to your web server.


Reply

garbage
that would be it, i have also read about this on adifferent forum if i can find the link ill post it here beacause those people had posted several sites..

Reply

galexcd
He isn't talking about ftp or editing sophtware guys... He means a peice of code that can change code on a diferent page dynamicly. And I do think I know the solution for this. The php fopen, and fwrite functions do just this.

Syntax:
fopen(string filename,string mode[,bool use_include_path[,resource zcontext]])
fwrite(resource handle,string string[,int length])

basically, you could just write
CODE

$content="Text you would like to set your file to";
$open=fopen("http://www.yoursite.com/file.php","w");
fwrite($open,$content);
fclose($open)


I didn't try this code yet, so Im not sure if you can write directly to the file through http, but you can definatly do it through ftp by making the url ftp://user:password@yoursite.com/file.php instead of http://www.yoursite.com/file.php.

Remember, the file that you are tring to write to, if you do not use FTP, needs to be writable by the world, so set the proporties of the file to give everybody permison to read and write the file.

 

 

 


Reply

matak
yes qwertyiscool that is the piece of code i've wondered about.
but i'm real noob at all of this, beacouse right now i have great problems with joomla and file permisions. something is messing everything up. i don't know, maybe the problem is in my .htacces file, i'm editing it right now but file manager is not working right. beacouse of permisions i can't edit it in ftp client. i think i need to go to sleep, and then i'll try this piece of code of yours tommorow smile.gif
installing filezila as my last option..

Reply

galexcd
It should work, but PM me if you have any more problems

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : updating website website

  1. Updating Php File Through A Web Form - (5)
  2. Real Time Updating With Ajax - I need a bit help with ajax in this real time chat script. (5)
    CODE <script type='text/javascript'> function submitForm() {     var
    xhr;     try { xhr = new XMLHttpRequest(); }                     catch(e)
        {           xhr = new ActiveXObject(Microsoft.XMLHTTP);     } xhr.onreadystatechange
    =function() { if(xhr.readyState == 4) { if(xhr.status == 200)
    document.getElementById('c').innerHTML="SENT"; else
    document.ajax.dyn.value="ERROR CODE" + xhr.status; } }; var data=document.ajax.dyn.value;
    //var chat=document.aja...
  3. Creating A Login Box That Links To My Phpbb Forum - Have my phpBB Forum Intergrated with my Website (4)
    Can someone please give me a code that I can use to put a login box on my website, that will login a
    user into my phpBB Forum? Sort of like Having my phpBB Forum Intergrated with my Website? Thank you
    so much if you can! /angel.gif" style="vertical-align:middle" emoid=":angel:" border="0"
    alt="angel.gif" /> Ex. ...
  4. Help With Some Website Coding - Databases and saving form results (4)
    Hey all, I was looking for some help with creating my new website. I have a form already created,
    with some text areas, checkboxes, drop down menu's, ect. I need some help setting up the code to
    save the form data once the user clicks "Submit" after filling in their information in the form. I
    was hoping to do this 2 ways - 1. Saving the information into some type of database (MySQL I'm
    guessing?) and 2. Have the form results emailed to me. I am familiar with the old way of emailing
    the results by putting "mailto:email@domain.com" into the form, but new browse...
  5. Question: Securing A Website For Beginners - (1)
    I don't really understand 'bout it. What kind of security we have to make to hold our web
    secure. Only log in features? how bout 'deface' method? how does it work? thx in advance
    Please use detailed topic title. ...
  6. How I Can Display Forum Topic On Main Website ? - (4)
    Suppose i have a website.. domain.com , and have phpbb forums on domain.com/forums.. And i want to
    display the new topics written in the forum on the main page of website...how i can do that.. ? for
    example ,I want to display this topic `? "domain.com/forums/viewtopic.php?t=16" how can i do
    that ?...
  7. Sending Messeges Over A Website. - (3)
    i want to learn how members of a website can send messeges to each other using php since im learning
    it. okay i can write in more detail..that for example if users can register on a website , suppose
    there are some users on the website , and now i want to learn how they can send messeges to each
    other.suppose each user has a unique ID ... and for example if some one has send the messege to
    other member of website , then he can know that he has recieved a new messege..something like inbox
    on the website where all of his messeges can be stored...lets say same way like on t...
  8. Can My Forum And Website Use The Same Profiles? - (3)
    I've been programming a 'rate-em' site from scratch. You know like Hot Or Not. YEs,..
    yet another rate-em website. Anyway, i'ts done and before I launch it I need to add a forum as
    the finishing touch, but all the forum softeware out there seems so hard to integrate. I'm
    trying to make it so that when a user logs into my rate-em website they are also logged into 'my
    forum'. i.e. i want my forum and web site to use the same profile data. If anyone knows of a
    forum program made for this objective please let me know. I'm in over my head, a...
  9. Music Website - (3)
    http://www.metalmania.net I'm pretty much a novice when it comes to php/mysql and I have been
    trying to figure out how to build something similar to the way the site above works. Do any of you
    know of a tutorial or script or something that would show me how to accomplish something very
    similar to that? I have also been exploring phpnuke platinum with the TopMusic mod, but it just
    doesnt want to do what I want it to do. Sure it has a lot of features already done for me, but the
    architecture and navigation is very poor in my opinion, not nearly as efficent as the n...
  10. Free Website Portal - (2)
    hey everyone, have you ever used PHP??? well if you have you know how cool it is and nice to work
    with and it has nice mods and stuff for it.... well i got the ultimate php its called
    PHP-Platinum very very very nice Portal and Engine Coding, slick sleek and smooth are 3 words for
    this portal... if you want to see it in action and see features of it or even download it and check
    it out for yourself visit this site PHP-Nuke Platinum Features & Downloads its a very nice
    thing to use so go check it out, i love it cause its got nice protection so your site stays s...
  11. Website Help - Need php programmers to help me. (10)
    I need some php programmers help. I am working on a website. I have asked for some code in another
    topic and would now like help. These will possibly be sold. And if they do I am willing to pay the
    people who help me out a lot some of it. Dun start asking to help and like help a tiny bit and
    expect to get something big out of it. I am only paying to people who help a lot and once they are
    sent out. You must also be good with making clan websites. These will be for clans. If you bother me
    about getting money than no pay. More info on aim. My aim is generalds2001...
  12. Php Website Assistance? - Help Me (1)
    Hello, i have just set up a website, and want to protect the site using login and password
    protection. Can anyone give me some PHP scripts which will keep a track of usernames and passwords,
    and add them to the access rights list. is this possible? If so, i would be much obliged if you
    would do so. Thank you. P.S If anyone needs assistance with HTML, that is my speciality, so send
    me a message. Always happy to help...
  13. Need Help With My Website - (4)
    Hello, i have Invision Power Board v3, my website is http://www.generatione.trap17.com/forums] , I
    am doing this website for this organization. Anyhow, i still dont have a home page, but i have the
    forum part set up. And that is what i need some help on. and i had a couple of questions in which i
    was wondering if you guys new how to change these settings. How can i change the title of my
    website? The current one is New Directions - Forum (Powered by Invision Power Board). How can i
    put more links in for example in trap17 there are , i was wondering how could i ...
  14. Php Dynamic News Updating Using Mysql - changing a sites news using MySQL and PHP (3)
    Hey everyone. It appears to me that everyone really know what they are doing in this forum and im a
    pretty new to this PHP and MySQL combo. I know some PHP but not MySQL....I am trying to make a new
    website but i want to be able to go to a certain update page and change the news on the main index.
    For example: - The main page show news updates of the last 10 post. - I go to the update page
    and then fill in the form and it will add this post to the top of the list and still only print the
    top 10. I have no clue how to do this with MySQL. At the moment i am doing it u...
  15. Links To Lots Of Usefull Website - I AM NOT SPAMING THIS TOOK ME 15 MINUTES (1)
    HELLO HERES A LIST OF LOTS OF USEFULL SITES I FOUND: || Codecs || http://www.free-codecs.com
    http://www.codecsdownload.com http://www.freecodecs.net http://www.click-now.net
    http://www.click-now.org || Search Engines || www.google.com www.search.com www.altalavista.com
    www.AllSearchEngines.com www.mamma.com || Programming Help Sites || www.patorjk.com
    www.planet-source-code.com www.freevbcode.com www.codearchive.com www.vbaccelerator.com
    www.vbcode.com www.abstractvb.com www.developerfusion.com www.codeproject.com www.extreme-vb.net ||
    Free Online Game Play || ...
  16. Website Made With Php - help... (31)
    I want to create and interactive website, similar to ' Free Web Templates ' I do not have
    the knowledge to create such a website where users sign up, login, and have profile pages, also
    pages displaying their contributions.... If someone could create a base for this website for me,
    e.g, login page, mambers page, profile page, creations page and so on... which I can then change the
    layout and so on to suit my needs... I can off a small amount of money for this, however, not alot.
    Any response is welcome, Thank you, Craig....
  17. Very Good Php Website - Informations about php editors (10)
    Just go here: http://www.php-editors.com/ ...
  18. Debugging Your Php Or Your Website - Very easy and proven steps! (6)
    First, download Apache 2 (Web Server) from http://www.apache.org Second, download PHP Binaries
    from http://www.php.net On the installation of Apache 2, when you are asked for the website
    address, just enter 127.0.0.1 That's it, to integrate PHP Binaries to Apache 2, check out the
    Apache documentation and the PHP documentation. To access your offline debugging website, go to
    your browser, and navigate to 127.0.0.1 or 127.0.0.1:8080...
  19. Help About My Website - Need comments and suggestions (7)
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> Hi. I need your
    comments and suggestions. Please do visit my website at http://www.karlo.co.nr and tell me what
    you think. If you want the source code of my website, just send me a message and I will send it to
    you. I'm still a beginner in PHP so please do guide me into the right path of PHP programming
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> Thanks.
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ...



Looking for updating, website, website

Searching Video's for updating, website, website
advertisement



Updating Website From Another -- Website - Is it possible, and how?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE