dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: New Method to launch a new website

  1. #1
    Join Date
    Sep 2011
    Posts
    3

    Exclamation New Method to launch a new website

    Hello Everybody,

    As all coders have no time I will bring it up directly.

    1- We are launching a new website at a small ceremony.
    2- The website will have initial page that has a button says "Launch Me".
    3- When the official presses the Launch Me button we need it to rename the index file with the official page for the full website we created.

    We thought about coding a batch file that will have the FTP details and commands to rename the index file with the Official page, but the problem here is that we don't know how to create such a button that will execute the .bat file on the server side. All what we need is a button or any way that will rename the index file with the official one by pressing a button.

    Any tips people?

    Thanks in-advance.

  2. #2
    Join Date
    Jul 2003
    Location
    The City of Roses
    Posts
    2,503
    You could make the "Launch Me" link to a PHP file. You'll only need one line of code...

    rename('index_staged.html', 'index.html');
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Sep 2011
    Posts
    3
    Hello Jeff,

    Could you give us an example, for instance the FTP details username 123 pass 123.
    How it will look like in the final result ... and is it possible to relate it to a button in DreamWeaver dreictly? please and thank you.

    Your help is Mucha-appreciated.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles