Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Can someone with html experience help me for 6 mins urgently Please

  • 27-07-2011 10:31PM
    #1
    Registered Users, Registered Users 2 Posts: 126 ✭✭


    guys i have some sites on a shared server and was editing and replaced one index.php file from one site with another!!!
    I have a cached copy of the index page and hace tried restoring it but its not working .
    I dont wanna loose the code can someone help PLease:mad:


Comments

  • Registered Users, Registered Users 2 Posts: 6,655 ✭✭✭daymobrew


    Where is the cached copy of index.php? Are you viewing the page in your browser? (if so, this will probably not be very useful)


  • Registered Users, Registered Users 2 Posts: 66 ✭✭derickmc


    daymobrew wrote: »
    Where is the cached copy of index.php? Are you viewing the page in your browser? (if so, this will probably not be very useful)

    If this is the case you could right click and view source and copy it. I realise that wont give you any of the server code (i.e. if there is PHP in the file you wont get that code) but at least you will get your CSS, Javascript and HTML ... save that and you have something ... hope this helps some bit ..


  • Registered Users, Registered Users 2 Posts: 2,857 ✭✭✭Duckjob


    SteveAdti wrote: »
    guys i have some sites on a shared server and was editing and replaced one index.php file from one site with another!!!
    I have a cached copy of the index page and hace tried restoring it but its not working .
    I dont wanna loose the code can someone help PLease:mad:


    Give your host a call. They can probably restore the original file for you.

    Also, do you not have local copies of everything anyway? If not, you should.


  • Registered Users, Registered Users 2 Posts: 15,079 ✭✭✭✭Malice


    Duckjob wrote: »
    do you not have local copies of everything anyway? If not, you should.
    Exactly. It's a harsh way to learn a very valuable lesson when it comes to modifying live sites.


Advertisement