Jump to content

BlackReef

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Posts posted by BlackReef

  1. Ok thanks guys, getting much closer now.  I really appreciate the help.

     

    Now, the last remaining items I have left is to get the submit image to the direct right of the input box, but right now it is appearing as this:

     

    error.jpg

     

    and it should look like this:

     

    testimage.jpg

     

    Currently the code is this:

     

    <form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=368&survey_version=1326">

    <input type="text" name="email" />

    <input type="image" name="submit" src="/application/modules/default/views/scripts/portlets/joinus.jpg" width="55" height="22">

    </form>

     

    and my current CSS is this:

     

    <style type="text/css">

    #footerinputemail {

        bottom: 50px;

        height: 36px;

        position: relative;

        width: 191px;

        right: 3px;

    }

     

    input {

    background-color: #9c9a9c;

    border: 1px solid #FFF;

    width: 150px;

    }

    </style>

     

    Do you guys see where I may be messing this up at?  Thank you guys very much for the help on this, it is appreciated

  2. Ok so I already have a "post" action URL, here it is below.

     

    <form method="post" action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=321&survey_version=1330">

     

    The idea is to put a simple e-mail form on my personal website:

     

    testimage.jpg

     

    And have the post action to go to the URL above (its a marketing company for email submissions / newsletters)

     

    Here is what I have so far, but I know something is not right:

     

    <form>

    <input type="text" />

    <input type="submit" />

    <form method="post" />

    <form action="http://survey.leisuretrends.com/RemoteSurvey.asp?survey=321&survey_version=1330"/>

    </form>

     

    Any help would be greatly appreciated.  Thank you for your patience with me

  3. Hello,

     

    So I am working on a PHP website for a friend, and I have loaded the header.phtml and footer.phtml files in dreamweaver, but the files do not include .css calls or anything, so it basic code showing.

     

    Could somebody please help explain how I can get the actuall website (offline version of it) to appear visually in DW?  I need to add a simple input form in the footer of the website, and I would like to handle it with CSS.

     

    Thanks in advance,

    -J

  4. Thank you in advance for your help.

     

    I do not have alot of experience in PHP. I offered to help a friend put a simple submit form in the footer of their website.

     

    So, I login to the FTP and download the index.php file (assuming this is the home page) and open it in dreamweaver. Instead of seeing the page in the design view, it is blank. So my question is, which files contain the actual home page? Im assuming its a header/footer, or something of the sort?

     

    Here is the code itself in the index.php:

     

    <?php

    /*

    ini_set('display_errors',1);

    error_reporting(E_ALL|E_STRICT);

    */

    // Define path to application directory

    defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application'));

    // Define application environment

    defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'active'));

    // Define path to application directory

    defined('ROOT_PATH') || define('ROOT_PATH', realpath(dirname(__FILE__)));

    defined('BASE_URL') || define('BASE_URL', 'http://' . $_SERVER['SERVER_NAME']);

    defined('HOST_URL') || define('HOST_URL', $_SERVER['SERVER_NAME']);

    // Ensure library/ is on include_path

    set_include_path(implode(PATH_SEPARATOR, array( realpath(ROOT_PATH . '/library'), get_include_path(), )));

    require_once 'Zend/Application.php';

    require_once 'My/Application.php';

    $application = new My_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini' );

    $application->bootstrap()->run();

     

    Thanks in advance,

     

    -J

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.