My sites are all messed up

Discussion in 'Programming' started by SHO, Apr 18, 2009.

  1. #1
    My sites were working perfect and I decided to change hosting so I downloaded all the files onto my computer and uploaded them on the new server. Now when I go to the page it asks me to download my php file on one site and the next is i cant fill out the form bc when I do and hit submit it asks if I want to download the app send file. Anyone know what causes this? the sites are stockinvestingsite.com stocknetpros.com and callcenteroutsourcingnow.com
     
    SHO, Apr 18, 2009 IP
  2. joep1978

    joep1978 Peon

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I guess you fixed the download PHP issue. Looking at stocknetpros.com, the action on the form is "../application_send.php":-

    <form method="post" action="../application_send.php"/>

    ../ means the parent directory, but you're already at the top level of the site so it's not possible to go up a level so I think it's posting to the index - this needs to be either a relative URL to reach application_send.php relative to the formpath (which is /) or an absolute URL
     
    joep1978, Apr 19, 2009 IP