+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Encoder

  1. #11
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Encoder

    Hi,

    Tech support sent me this:
    Here is the path to the file fmencoder, /usr/local/etc/httpd/cgi-bin.
    I have a strong suspicion that they are wrong.

    Here's a script that should reveal the truth:
    PHP Code:
    <?php
    echo getcwd();
    echo 
    "<br />\n";
    system("pwd");
    ?>
    Please call it "pwd.php" and load it into your document root and also cgi-bin.

    Open in a browser to find the truth paths.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  2. #12
    Join Date
    Mar 2007
    Posts
    23

    Default Re: Encoder

    When I browsed to pwd.php I got this:
    /usr/local/etc/httpd/htdocs
    /usr/local/etc/httpd/htdocs

    This is the same as phpinfo has for the Document Root.This is where my web page files are located.

    NOw, cgi-bin is on the same directory level as htdocs is. In other words, when I ftp in, I see both the htdocs directory and the cgi-bin directory and can open either one. Maybe this will help you understand the directory structure.

    With /usr/local/etc/httpd/htdocs in $SET_DOCUMENT_ROOT and I submit the form it trys to open the file in my web editor in Firefox and says Page Cannot Be Displayed in IE6. I've tried several variations, but nothing works. I either get this error or Cannot chdir to "/usr/local/whatever" to run filter "encode".

    Any other ideas?
    Thanks,
    Dan

  3. #13
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Encoder

    Hi,

    Quote Originally Posted by danp
    When I browsed to pwd.php I got this:
    /usr/local/etc/httpd/htdocs
    /usr/local/etc/httpd/htdocs

    This is the same as phpinfo has for the Document Root.This is where my web page files are located.
    Yes, that's pretty conclusive now. It's a very surprising path, though.

    With /usr/local/etc/httpd/htdocs in $SET_DOCUMENT_ROOT and I submit the form it trys to open the file in my web editor in Firefox and says Page Cannot Be Displayed in IE6. I've tried several variations, but nothing works. I either get this error or Cannot chdir to "/usr/local/whatever" to run filter "encode".
    My next thought is that your webserver refuses to execute binary CGI programs.

    So, the workaround we have for that is to use the SOCKET_FILTERS configuration instead of FILTERS.

    Replace "YourSiteHere" with your site name

    PHP Code:
    $SOCKET_FILTERS = array(
                     
    "httpencode"=>array("site"=>"YourSiteHere",
                         
    "port"=>80,
    <
    snipped
    and then in the HTML form replace "encode" with "httpencode".

    If you need help with this setup, please send server access details using this secure form:
    https://secure.rootsoftware.com/~tectite/sendsecret.php
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #14
    Join Date
    Mar 2007
    Posts
    23

    Smile Re: Encoder

    Success. It works. Have just submitted my purchase order. Thanks for all the help.
    Dan

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Encoder Download
    By pppe in forum FormMailEncoder/Decoder
    Replies: 12
    Last Post: 25-Nov-2008, 12:59 AM
  2. Using the encoder
    By ckroon in forum FormMailEncoder/Decoder
    Replies: 3
    Last Post: 10-Oct-2006, 08:33 PM
  3. Encoder error message
    By lal in forum FormMailEncoder/Decoder
    Replies: 8
    Last Post: 19-May-2005, 11:35 AM
  4. encoder and good template
    By dunn123 in forum FormMailEncoder/Decoder
    Replies: 3
    Last Post: 13-Jan-2005, 12:36 AM
  5. Encoder/decoder
    By Ellie in forum FormMailEncoder/Decoder
    Replies: 4
    Last Post: 28-Jul-2004, 09:44 AM

Bookmarks

Posting Permissions

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