PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Search form doesn't work when submitted

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by spartacus_33 View Post
    I guess I should call my provider to see what platform they support, I checked .asp.
    If you selected ASP, then the script you'll be uploading (and expecting to open) is "search.asp". Not "search.php".

    Originally posted by spartacus_33 View Post
    <form method="get" action="http://home.comcast.net/~spartacus_33/Knucklehead/search.php">
    But your form here is still going to "search.php"?

    Originally posted by spartacus_33 View Post
    Well, my provider says they support, .php, .asp and .cgi.
    If your hosting company actually supports PHP, then when you put a file named "myfile.php" in a folder, and access the URL from your browser, it should never return a "file not found" error and redirect you to a different page as you are seeing.

    Similarly with ASP and any "myfile.asp" file.

    Your hosting company either:

    (a) Does not actually support PHP or ASP as stated (or theres additional details you're omitting, like its only supported under a certain folder, or a file extension)

    (b) You are NOT uploading the files to where you think they are. You might have uploaded the files to a different folder. This happens more often than you may think.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X