Jump to content

TWyPGn

Member
  • Posts

    24
  • Joined

  • Last visited

Posts posted by TWyPGn

  1. Hello, I am trying to make 8x10 image (a poster with collage pictures in it) in Photoshop, and I want to get this image printed through Wal-Mart on 8x10 paper. When viewed at 100% the image seems very large. I am not sure if this image when printed will be the exact 8x10 or if it would be larger than that. I can't figure out the right image size / pixels to set the image to get a coordinating 8x10.

     

    Here is Image size:

     

    Document size:

    W: 8 inches

    H: 10 inches

     

    Pixel dimensions:

    W: 1600 pixels

    H: 2000 pixels

     

    Resolution: 200 pixels/inch

     

    How can I make sure that I have the 8x10 image that gets printed exactly without any automatic cropping by the printing dimensions? Could anyone please help me out? Thanks!

  2. Yes, I have my own email address in the $to field:). I receive the email when I use "/n", of course it displays all entries in one line with /n between them. When I change "/n" to "\n" I do not get any email. Don't know what's the problem. May be the code doesn't want to work today:/

  3. Hi, thanks for your help so far!

     

    The code I am using is as follows:

     

    <?php

     

     

    $email = $_REQUEST['email'] ;

     

     

    $to = "email@yahoo.com";

    $subject = "Message from website";

     

    $message = "Name: " . $_REQUEST['name'] . "\n" .

    "Address: " . $_REQUEST['address'] . "\n" .

    "Telephone: " . $_REQUEST['telephone'] . "\n" .

    "Message: " . $_REQUEST['message'];

     

    mail( $to, $subject, $message,"From: $email" );

    header( "Location: http://www.website.com/thanks.html\" );

    ?>

     

    I just need to have Name, Address, Telephone and Message displayed in new lines in the body of the email message. I don't know if there is anything else that can take care of that. I would appreciate if you could please help me in making this form/code work fine. Thanks!

  4. Thanks falkencreative! By changing "/n" to "\n" has created another problem: The email is not sent at all :( I don't know why because I just changed this, nothing else. I am so sorry to bother you with such little problems but being a novice in PHP I am unable to fix such problems. I'll appreciate if you could please help me resolve the issue. Thanks!

  5. Hello & Thanks to falkencreative, dms, jlhaslip for relpying to my query. I did try this code:

     

    $message = "Name: " . $_REQUEST['name'] . "/n" . "Message: " . $_REQUEST['message'];

     

    The email is sent with the info but there is one problem. Instead of another line, the message is displayed in the same line as the name is with \n. Something like this:

     

    Name: TWyPGn/nMessage: hello

     

    Would you please help me solve this problem? Thanks!

  6. Hello, I am making a contact form that takes input from the contact form and sends it to you in an email message.

     

    The HTMl is:

     

     

    Email:

     

    Message:

     

     

     

     

    The PHP of "contactform" is:

     

    <?php

     

    $email = $_REQUEST['email'];

    $message = $_REQUEST['message'] ;

     

    mail("email@yahoo.com", "Message from the Website",

    $message, "From: $email" );

    header( "Location: http://www.website.com/thanks.html\" );

     

    ?>

     

    I need to add more fields to the form such as Name, Address and Telephone but being this my first experience with PHP I am unable to do that. Upon adding additional fields the form seems to work fine as the form moves to thanks.html page but there is no email sent.

     

    Please help me add multiple fields to the form above that actually sends the data in the email. Thanks!

  7. Thanks jlhaslip & judkels for replying. Here let me say that I don't know ANYTHING about php. This the first time I am working on a "form". I have made simple html/css webistes with no php or javascript. So I don't know if I need a software or any application to run php. I am total novice in this.

     

    I was wondering if submit button php code works when the website is launched, or can one check its working in design phase. I have tried various php codes that send data to an email but nothing has worked. I thought since I haven't launched the website it might not be working properly.

     

    If anyone could please explain all the steps that I need to do for this form to work, I'll be very grateful.

     

    Please help!!!

  8.  

     

    <?php

    //This is a very simple PHP script that outputs the name of each bit of information (that corresponds to the name attribute for that field) along with the value that was sent with it right in the browser window, and then sends it all to an email address (once you've added it to the script).

     

    if (empty($_POST)) {

    print "

    No data was submitted.

    ";

    print "

  9. Thanks Eric! I checked foxycart online. Since I am new to this, I want to have all the info before going into it. I have a few questions about foxycart:

     

    Are the foxycart people going to make the website (I want to make my own layout and design) including the shopping cart? Secondly, am I supposed to use their webhosting service or can I use any other? Thirdly, how it all works?

     

    Thanks!

  10. Thanks LSW for your detailed reply. Paypal shopping cart seems to be an easy solution to it. Do I need to buy the shopping cart software/service from paypal?

     

    I googled Zend. Am I supposed to buy the shopping cart software or download the script from the website http://www.zend.com/en/ ? I am not very clear about the whole thing.

     

    I'll appreciate if you could explain both Paypal and Zend thing in detail.

  11. I intend to make an online boutique but have no experience in that. I?ll try to explain the problem to the best of my ability.

     

    Making web pages isn?t a problem but I don?t know how to add online shopping features like shopping cart, payment methods, maintaining customer accounts etc. I have a few questions like:

     

    1) Do shopping cart and payment features use JavaScript or any kind of database to process the order?

    2) Does maintaining customer accounts require any database?

    3) How does the seller access the order information etc?

     

    I?ll be grateful if anyone could explain in detail. Thanks!

  12. Hello, there are sub-navigation lists in the main list. The HTML and CSS is as follows:

     

    HTML

     

     

    CSS

     

    #navcontainer {

    margin: 0px;

    background: #D3C196;

    padding: 0 1px;

    margin: 0px;

    width: 250px;

    }

     

    ul#navlist, ul#subnavlist1, ul#subnavlist2, ul#subnavlist3 {

    margin: 0;

    padding: 0;

    list-style-type: none;

    font-family: verdana, arial, sans-serif;

    }

     

    /* MAIN NAVIGATION LIST */

     

    ul#navlist li { margin: 0 0 1px 0; }

     

    ul#navlist li a {

    display: block;

    margin-bottom: 5px;

    margin-top: 5px;

    background: #DCCEAD;

    border-width: 1px;

    border-style: solid;

    border-color: #EBE2CF #C5AC72 #CDB887 #800000;

    border-left: 12px solid #800000;

    padding: 2px;

    font-size: 12px;

    color: black;

    text-decoration: none;

    font-weight: bold;

    }

     

    ul#navlist li a:hover {

    background: #D3C196;

    border-color: #C5AC72 #EBE2CF #EBE2CF #800000;

    padding: 4px;

    }

     

    ul#navlist li a#current { border-left: 12px solid #FF9933; }

     

    ul#navlist li a.drop {

    background: #DCCEAD url('arrow.gif') no-repeat 95% 5%;

    border-color: #EBE2CF #C5AC72 #CDB887 #800000;

    padding: 2px;

    }

     

    ul#navlist li a.drop:active { border-color: #EBE2CF #C5AC72 #CDB887 #FF9933; }

     

    /* SUB NAVIGATION LISTS */

     

    ul#subnavlist1 li { display: inline; }

     

    ul#subnavlist1 li a {

    display: block;

    margin-left: 10px;

    margin-right: 10px;

    padding: 2px;

    background: transparent;

    border-top: 0px none;

    border-right:0px none;

    border-left:0px none;

    border-bottom: 1px dashed black;

    font-size: 11px;

    color: black;

    text-decoration: none;

    font-weight: normal;

    }

     

    ul#subnavlist1 li a:hover {

    padding: 2px;

    text-decoration: none;

    border-top: 0px none;

    border-right:0px none;

    border-left:0px none;

    border-bottom: 1px dashed black;

    color: white;

    }

     

    ----------------------------------

    ul#subnavlist2 li { display: inline; }

     

    ul#subnavlist2 li a {

    display: block;

    margin-left: 10px;

    margin-right: 10px;

    padding: 2px;

    background: transparent;

    border-top: 0px none;

    border-right:0px none;

    border-left:0px none;

    border-bottom: 1px dashed black;

    font-size: 11px;

    color: black;

    text-decoration: none;

    font-weight: normal;

    }

     

    ul#subnavlist2 li a:hover {

    padding: 2px;

    text-decoration: none;

    border-top: 0px none;

    border-right:0px none;

    border-left:0px none;

    border-bottom: 1px dashed black;

    color: white;

    }

    -------------------------------------

    ul#subnavlist3 li { display: inline; }

     

    ul#subnavlist3 li a {

    display: block;

    margin-left: 10px;

    margin-right: 10px;

    padding: 2px;

    background: transparent;

    border-top: 0px none;

    border-right:0px none;

    border-left:0px none;

    border-bottom: 1px dashed black;

    font-size: 11px;

    color: black;

    text-decoration: none;

    font-weight: normal;

    }

     

    ul#subnavlist3 li a:hover {

    padding: 2px;

    text-decoration: none;

    border-top: 0px none;

    border-right:0px none;

    border-left:0px none;

    border-bottom: 1px dashed black;

    color: white;

    }

     

    -----------------------------------

     

    ul#navlist li a#subcurrent {

    font-weight: bold;

    color: #800000;

    }

     

    ul#navlist li a#subcurrent:hover { color: #ddd; }

     

    Problem:

     

    The sub-current link (a#subcurrent) in subnavlist1, subnavlist2 or subnavlist3 works partially: the text doesn't change its color and weight, however the 'a#subcurrent:hover' link works as it changes its color to grey.

     

    I have tried using class subnavlist instead of 3 different IDs but that changes the layout. I have tried using subnavlist1, subnavlist2, subnavlist3 in the a#subcurrent link but to no avail. Could anybody please help me in getting the link work properly? I hope I have explained the problem well. Thanks!

  13. Hello, I want to indent the lines/paragraphs that also contain class. Plz see the following example:

     

    2009

     

    This is year 2009.hello hello hello hello hello hello hello hello

    hello hello hello hello hello hello hello hello hello hello

     

    But it appears like this:

     

    2009

    This is year 2009.hello hello hello hello hello hello hello hello

     

    hello hello hello hello hello hello hello hello hello hello

     

    The css and html I am using for this is as follows:

     

    p.indent {

    text-indent:-30px;

    margin-left:35px;

    }

     

    span.text {

    font-style: italic;

    font-weight: bold;

    }

     

     

    2009

    This is year 2009.hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello .

     

     

    How can I make all the lines indent? Thanks!

  14. Hello, I am trying to make vertical menu with sub-menus for my website. I am looking for expand/collapse menus... a menu button expands and shows its sub-menu on-click and collapses and hides on-click. There are a lot of codes to do this in JavaScript but I don't know JavaScript. I want to accomplish this using CSS. Is there any method where I can create expand/collapse vertical menu with CSS? Thanks!

×
×
  • Create New...