Almost there, still need email php help!

Hey there everyone,
I posted my issue earlier but the thread seems to be dead.  I have been researching php syntax and looked at some other examples online, and I think I almost have it.  I just need a little extra assistance to get there.
I had my php page partially working earlier, and I was receiving emails from my form submission, but all the data I got was subject and phone number.  I didn't get my thank you page to come up either.  My form has fields for name, email, phone, 3 comment fields and 3 reference fields.  Not sure why I wasn't getting all of the data so I tried redoing my code.
Now, after redoing the code, I get my thank you page to come up, but I don't get any email notification with the submitted data anymore.  I am not sure why.  I had some code syntax errors but I fixed them through process of elimination and I have no syntax errors now.
Would someone be able to take a look at my files and tell me what I am doing wrong?  I am always ready to put in work and test through trial and error, but I just am not sure where to start.  I am so close!!!
Thanks for reading and for any advice, I really appreciate it!
Jayson

David, thank you!  It works!  You are my new hero!
Well, through it all I learned a lot about syntax, headers, form security, etc etc  Very helpful!  Even learned about bare LF's lol.
I am trying to also have the thank you page redirect to the manufacturer's page after 5 seconds, and I did some reading about redirect code through meta and php.  Not sure if it matters which one I use, and I am also confused about where to put it.
These are what I found:
<head>
<meta http-equiv="refresh" content="5; URL=thankyou.htm">
</head>
<?php
header("refresh: 5; thankyou.htm";
?>
If I use the meta tag, does it go directly in the code on the thank you page?  And if I use the pgp code, where does that go?  I tried it but the page was having trouble redirecting.
Thanks again for all of your help, and if you feel generous enough to help me with this too I would really appreciate it!
Jayson

Similar Messages

  • Almost there! Need a little help with CSS Menu

    Hi folks,
    I am almost there with a menu system.  The problems I discovered were mostly to do with layout.css nav elements interfering with my custom code.   http://bendannie2.businesscatalyst.com/flexi2.html 
    Here are the problems I can't seem to resolve.
    There appears a red diamond list element and I can't seem to remove it or find it in the Inspector on any css link
    the secondary menus blink and are hard to select on hover over tertiary menus (see On Sale>Cartier> )
    the tertiary menus are a little crowded towards the secondary menus.
    the css classes in inspector seem to repeat ad infinitum
    Any help most deeply appreciated...
    BTW, it works better on a smart phone!
    Jeff

    Thanks, Don't know why I didn't see that... 
    I'm stil having a problem with the hover area for selecting sub menus... The problem appears to be the js, I think!, I'm not qualified to analyze jquery. 
    The behaviors are as follows:
    The On Sale submenus stay active even when you roll off that menu and select another.
    The hover area after the first scrollover appears to be below the existing text of the top level and not on the text itself.
    there is something going on as you scroll down  through the submenus where they are blinking on and off as you pass each sub tab...   This uses jQuery 1.7.2, so if that has been fixed in a later edition, I don't know... 
    Perhaps it is the way I set the CSS but I didn't, to my knowledge, change a hover/selection area for the menus...
    TIA,
    JEff

  • Change my apple id email address on my pc now i cant sign in with my iphone or ipad there still old email address how do i change this

    changed my apple id email adress on my pc now i cant sign in on phone or ipad there still my old email.ipad is new bought just before xmas is this something to do with a device only been aloud to be associated with one id in a space of 90 days .so have i just to wait seems  a bit strange can any one help please

    Thanks Roscoe23 found your solution in another part of the forum. All good now :-)

  • Home share almost there, but need HELP!

    I have one Win7 laptop and one XP laptop.  Setup home share on each (share is setup on both computers, authorized both, same local net).  XP laptop sees the other computer's share and when I click on it I see the songs/files just as expected.  However, on the Win7 I can see share name of the XP computer but when I click on it, it does not show anything only acts like its loading then positions the cursor back on the music tab.  nothing showing under the share.
    Any ideas?  I've turned off my virus protection (Security Essentials), rebooted, stopped and started the share, plugged directly into my router.....no change.
    I was previsouly on version 9+ on both systems and it did not work and now I'm on the latest version of Itunes for both systems.
    Help!

    However, on the Win7 I can see share name of the XP computer but when I click on it, it does not show anything only acts like its loading then positions the cursor back on the music tab.  nothing showing under the share.
    Hmmmm. Experimental advice, but perhaps have a check through the following document. (In principle, a LSP issue might stuff up Home Sharing, although I've not met an example of it in the wild yet.)
    Apple software on Windows: May see performance issues and blank iTunes Store

  • [SOLVED] Almost there just need a global progress bar

    Heya,
    There's no man page for bar so I have looked at the code a bit. I am trying to have a progress bar to copy a folder with many files including symbolic links (unfortunately pycp does not support them yet). With the -s parameter, I can specify the approximate size of what I am copying but it works only if it is a single file.
    I have also tried pv, pipemeter, orphan advcp, ecp, scp and I am now desperate.
    Would someone be kind enough to help me ?
    [tamikana@archlinux ~]$ cat /usr/bin/bar
    #! /bin/sh
    # bar
    # 'cat' with ASCII progress bar
    # (c) Henrik Theiling
    BAR_VERSION=1.4
    # Synopsis:
    # 'bar' works just like 'cat', but shows a progress bar in ASCII art on stderr.
    # The script's main function is meant to be usable in any Bourne shell to be
    # suitable for install scripts without the need for any additional tool.
    # Shell Script Usage: bar [options] [files]
    # Options:
    # -h displays help
    # Examples:
    # Normal pipe:
    # : bar mypack.tar.bz2 | tar xjpf -
    # Individual pipe for each file:
    # : bar -c 'tar xjpf -' mypack1.tar.bz2 mypack2.tar.bz2
    # Individual pipe, using ${bar_file} variable:
    # : bar -c 'echo ${bar_file}: ; gzip -dc | tar tvf -' \
    # : -e .tar.gz \
    # : file1 file2 file3 file4 file5 \
    # : > package-list.txt
    # Programs and shell commands:
    # Required (otherwise this fails):
    # if, then, else, fi, expr, test, cat, eval, exec
    # shell functions
    # test:
    # a = b
    # a -lt b
    # a -gt b
    # a -le b
    # -f a
    # -n a
    # -z a
    # expr:
    # a + b
    # a - b
    # a '*' b
    # a / b
    # a : b
    # Optional (otherwise this does not show the bar):
    # grep, dd, echo, ls, sed, cut
    # ls:
    # must output the file size at fifth position.
    # The command line interface also uses:
    # awk
    ####>-SCHNIPP-<########################################################
    bar_cat()
    # Use this shell function in your own install scripts.
    # Options:
    # Width of the bar (in ten characters). The default is 76 characters.
    test -z "${BAR_WIDTH}" && test -n "${COLUMNS}" && BAR_WIDTH=${COLUMNS}
    # Check syntax:
    ( expr "${BAR_WIDTH}" + 0 >/dev/null 2>&1 ) || BAR_WIDTH=0
    BAR_WIDTH=`expr ${BAR_WIDTH} + 0` || BAR_WIDTH=0
    test "x${BAR_WIDTH}" = x0 && BAR_WIDTH=76
    # Maximal block size to use for dd.
    test -n "${BAR_BS}" || BAR_BS=1048567
    # BEGIN PERC
    # Whether to show a percentage.
    test -n "${BAR_PERC}" || BAR_PERC=1
    # END PERC
    # BEGIN ETA
    # Whether to show estimated time of arrival (ETA).
    test -n "${BAR_ETA}" || BAR_ETA=1
    # END ETA
    # Width of the trace display:
    # BEGIN TRACE
    test -n "${BAR_TRACE_WIDTH}" || BAR_TRACE_WIDTH=10
    # END TRACE
    # The command to execute for every given file. Each file
    # is piped into this command individually. By default, the
    # files are simply dumped to stdout.
    test -n "${BAR_CMD}" || BAR_CMD=cat
    # The characters to be used in the bar
    test -n "${BAR_L}" || BAR_L='['
    test -n "${BAR_R}" || BAR_R=']'
    test -n "${BAR_C0}" || BAR_C0='.'
    test -n "${BAR_C1}" || BAR_C1='='
    # Additional extension to add to each file:
    #BAR_EXT=${BAR_EXT-}
    # Whether to clear bar after termination. Otherwise keep the full bar.
    #BAR_CLEAR=${BAR_CLEAR-0}
    # Unless switched off by user, use the bar by default:
    test -n "${BAR_OK}" || BAR_OK=1
    BAR_WIDTH=`expr ${BAR_WIDTH} - 3`
    bar_trace=''
    # BEGIN TRACE
    if test "x${BAR_TRACE}" = x1
    then
    BAR_WIDTH=`expr ${BAR_WIDTH} - ${BAR_TRACE_WIDTH}`
    bar_lauf=${BAR_TRACE_WIDTH}
    bar_t_space=''
    bar_t_dot=''
    while test "${bar_lauf}" -gt 1
    do
    bar_t_space="${bar_t_space} "
    bar_t_dot="${bar_t_dot}."
    bar_lauf=`expr ${bar_lauf} - 1`
    done
    bar_trace="${bar_t_space} "
    fi
    # END TRACE
    bar_eta=''
    BAR_GET_TIME='echo'
    # BEGIN ETA
    ( expr 1 + ${SECONDS} >/dev/null 2>&1 ) || BAR_ETA=0
    if test "x${BAR_ETA}" = x1
    then
    BAR_GET_TIME='( echo ${SECONDS} )'
    BAR_WIDTH=`expr ${BAR_WIDTH} - 6`
    bar_eta='--:-- '
    fi
    # END ETA
    bar_perc=''
    # BEGIN PERC
    if test "x${BAR_PERC}" = x1
    then
    BAR_WIDTH=`expr ${BAR_WIDTH} - 5`
    bar_perc=' 0% '
    fi
    # END PERC
    BAR_GET_SIZE='( ls -l "${BAR_DIR}${bar_file}${BAR_EXT}" | sed "s@ *@ @g" | cut -d " " -f 5 ) 2>/dev/null'
    # portable?
    # check features:
    ( ( echo a ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | dd bs=2 count=2 ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | grep a ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | sed 's@ *@ @g' ) >/dev/null 2>&1 ) || BAR_OK=0
    ( ( echo a | cut -d ' ' -f 1 ) >/dev/null 2>&1 ) || BAR_OK=0
    # check ranges:
    test "${BAR_WIDTH}" -ge 4 || BAR_OK=0
    BAR_ECHO='echo'
    BAR_E_C1=''
    BAR_E_C2=''
    BAR_E_NL='echo'
    # Does echo accept -n without signalling an error?
    if echo -n abc >/dev/null 2>&1
    then
    BAR_E_C1='-n'
    fi
    # Check how to print a line without newline:
    if ( ( ${BAR_ECHO} "${BAR_E_C1}" abc ; echo 1,2,3 ) | grep n ) >/dev/null 2>&1
    then
    # Try echo \c:
    if ( ( ${BAR_ECHO} 'xyz\c' ; echo 1,2,3 ) | grep c ) >/dev/null 2>&1
    then
    # Try printf:
    if ( ( printf 'ab%s' c ; echo 1,2,3 ) | grep abc ) >/dev/null 2>&1
    then
    BAR_ECHO='printf'
    BAR_E_C1='%s'
    else
    BAR_ECHO=':'
    BAR_E_C1=''
    BAR_E_NL=':'
    BAR_OK=0
    fi
    else
    BAR_E_C1=''
    BAR_E_C2='\c'
    fi
    fi
    # prepare initial bar:
    bar_shown=0
    if test "${BAR_OK}" = 1
    then
    bar_lauf=0
    bar_graph=''
    while test `expr ${bar_lauf} + 5` -le "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C0}${BAR_C0}${BAR_C0}${BAR_C0}${BAR_C0}"
    bar_lauf=`expr ${bar_lauf} + 5`
    done
    while test "${bar_lauf}" -lt "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C0}"
    bar_lauf=`expr ${bar_lauf} + 1`
    done
    ${BAR_E_C2}" 1>&2_eta}${bar_perc}${BAR_L}${bar_graph}${BAR_R}
    bar_shown=1
    fi
    # for shifting large numbers so that expr can handle them:
    # Assume we can compute up to 2147483647, thus 9 arbitrary digits.
    # We must be able to do + of two numbers of 9 digits length. Ok.
    # BEGIN LARGE
    ( ( test 1999999998 = `expr 999999999 + 999999999` ) >/dev/null 2>&1 ) || BAR_OK=0
    bar_large_num="........."
    bar_div=""
    # END LARGE
    bar_numsuff=""
    # find size:
    bar_size=0
    if test -n "${BAR_SIZE}"
    then
    bar_size=${BAR_SIZE}
    # BEGIN LARGE
    while expr "${bar_size}" : "${bar_large_num}" >/dev/null 2>&1
    do
    bar_div="${bar_div}."
    bar_numsuff="${bar_numsuff}0"
    bar_size=`expr "${bar_size}" : '\(.*\).$'`
    done
    # END LARGE
    BAR_GET_SIZE="echo '${BAR_SIZE}'"
    else
    for bar_file
    do
    bar_size1=0
    if test -f "${BAR_DIR}${bar_file}${BAR_EXT}"
    then
    bar_size1=`eval "${BAR_GET_SIZE}"`
    # BEGIN LARGE
    # divide and upround by pattern matching:
    if test -n "${bar_div}"
    then
    bar_size1=`expr "${bar_size1}" : '\(.*\)'${bar_div}'$'` || bar_size1=0
    fi
    # adjust if still too large:
    while expr "${bar_size1}" : "${bar_large_num}" >/dev/null 2>&1
    do
    bar_div="${bar_div}."
    bar_numsuff="${bar_numsuff}0"
    bar_size1=`expr "${bar_size1}" : '\(.*\).$'`
    bar_size=`expr "${bar_size}" : '\(.*\).$'` || bar_size=0
    done
    # upround if necessary:
    if test -n "${bar_div}"
    then
    bar_size1=`expr "${bar_size1}" + 1`
    fi
    # END LARGE
    # add to total size:
    bar_size=`expr ${bar_size} + ${bar_size1}`
    # BEGIN LARGE
    # adjust if still too large:
    while expr "${bar_size}" : "${bar_large_num}" >/dev/null 2>&1
    do
    bar_div="${bar_div}."
    bar_numsuff="${bar_numsuff}0"
    bar_size=`expr "${bar_size}" : '\(.*\).$'`
    done
    # END LARGE
    else
    BAR_OK=0
    fi
    done
    fi
    bar_quad=`expr ${BAR_WIDTH} '*' ${BAR_WIDTH}`
    test "${bar_size}" -gt "${bar_quad}" || BAR_OK=0
    if test "${BAR_OK}" = 0
    then
    # For some reason, we cannot display the bar. Thus plain operation:
    for bar_file
    do
    if test "${bar_file}" = "/dev/stdin"
    then
    eval "${BAR_CMD}"
    else
    eval "${BAR_CMD}" < "${BAR_DIR}${bar_file}${BAR_EXT}"
    fi
    done
    else
    # Compute wanted bytes per step:
    bar_want_bps=`expr ${bar_size} + ${BAR_WIDTH}`
    bar_want_bps=`expr ${bar_want_bps} - 1`
    bar_want_bps=`expr ${bar_want_bps} / ${BAR_WIDTH}`
    # Compute block count per step to keep within maximum block size:
    bar_count=1
    if test "${bar_want_bps}" -gt "${BAR_BS}"
    then
    bar_count=`expr ${bar_want_bps} + ${BAR_BS}`
    bar_count=`expr ${bar_count} - 1`
    bar_count=`expr ${bar_count} / ${BAR_BS}`
    fi
    # Compute block size for given count:
    bar_wc=`expr ${BAR_WIDTH} '*' ${bar_count}`
    bar_bs=`expr ${bar_size} + ${bar_wc}`
    bar_bs=`expr ${bar_bs} - 1`
    bar_bs=`expr ${bar_bs} / ${bar_wc}`
    # Compute bs * count, the bytes per step:
    bar_bps=`expr ${bar_bs} '*' ${bar_count}`
    # Compute bytes per hundredth:
    bar_bph=`expr ${bar_size} + 99`
    bar_bph=`expr ${bar_bph} / 100`
    # Run loop:
    bar_pos=0
    bar_graph="${BAR_L}"
    bar_cur_char=0
    bar_t0=`eval "${BAR_GET_TIME}" 2>/dev/null` || bar_t0=0
    for bar_file
    do
    # BEGIN TRACE
    if test "x${BAR_TRACE}" = x1
    then
    bar_trace=`expr "${bar_file}" : '.*/\([^/][^/]*\)$'` || bar_trace="${bar_file}"
    bar_trace=`expr "${bar_trace}${bar_t_space}" : '\('${bar_t_dot}'\)'`
    bar_trace="${bar_trace} "
    fi
    # END TRACE
    # Initial character position in bar for file:
    bar_char=`expr ${bar_pos} / ${bar_want_bps}` || bar_char=0
    while test "${bar_char}" -gt `expr ${bar_cur_char} + 4`
    do
    bar_graph="${bar_graph}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}"
    bar_cur_char=`expr ${bar_cur_char} + 5`
    done
    while test "${bar_char}" -gt "${bar_cur_char}"
    do
    bar_graph="${bar_graph}${BAR_C1}"
    bar_cur_char=`expr ${bar_cur_char} + 1`
    done
    # Get file size. This must work now (we checked with test -f before).
    bar_size1=`eval "${BAR_GET_SIZE}" 2>/dev/null` || bar_size1=0
    # BEGIN LARGE
    # Divide and upround by pattern matching:
    if test -n "${bar_div}"
    then
    bar_size1=`expr "${bar_size1}" : '\(.*\)'${bar_div}'$'` || bar_size1=0
    bar_size1=`expr "${bar_size1}" + 1`
    fi
    # END LARGE
    # loop:
    bar_total=0
    exec 6>&1
    exec 5<"${BAR_DIR}${bar_file}${BAR_EXT}"
    while test "${bar_total}" -lt "${bar_size1}"
    do
    dd bs="${bar_bs}" count="${bar_count}${bar_numsuff}" <&5 >&6 2>/dev/null
    bar_total=`expr ${bar_total} + ${bar_bps}`
    if test "${bar_total}" -gt "${bar_size1}"
    then
    bar_total="${bar_size1}"
    fi
    bar_pos1=`expr ${bar_pos} + ${bar_total}`
    bar_proz=`expr ${bar_pos1} / ${bar_bph}` || bar_proz=0
    # BEGIN PERC
    if test "x${BAR_PERC}" = x1
    then
    bar_perc=" ${bar_proz}% "
    bar_perc=`expr "${bar_perc}" : '.*\(.....\)$'`
    fi
    # END PERC
    # BEGIN ETA
    if test "x${BAR_ETA}" = x1
    then
    bar_diff=`eval "${BAR_GET_TIME}" 2>/dev/null` || bar_diff=0
    bar_diff=`expr ${bar_diff} - ${bar_t0} 2>/dev/null` || bar_diff=0
    bar_100p=`expr 100 - ${bar_proz}` || bar_100p=0
    bar_diff=`expr ${bar_diff} '*' ${bar_100p}` || bar_diff=0
    bar_diff=`expr ${bar_diff} + ${bar_proz}` || bar_diff=0
    bar_diff=`expr ${bar_diff} - 1` || bar_diff=0
    bar_diff=`expr ${bar_diff} / ${bar_proz} 2>/dev/null` || bar_diff=0
    if test "${bar_diff}" -gt 0
    then
    bar_t_unit=":"
    if test "${bar_diff}" -gt 2700
    then
    bar_t_uni="h"
    bar_diff=`expr ${bar_diff} / 60`
    fi
    bar_diff_h=`expr ${bar_diff} / 60` || bar_diff_h=0
    if test "${bar_diff_h}" -gt 99
    then
    bar_eta=" ${bar_diff_h}${bar_t_unit} "
    else
    bar_diff_hi=`expr ${bar_diff_h} '*' 60` || bar_diff_hi=0
    bar_diff=`expr ${bar_diff} - ${bar_diff_hi}` || bar_diff=0
    bar_diff=`expr "00${bar_diff}" : '.*\(..\)$'`
    bar_eta=" ${bar_diff_h}${bar_t_unit}${bar_diff} "
    fi
    bar_eta=`expr "${bar_eta}" : '.*\(......\)$'`
    fi
    fi
    # END ETA
    bar_char=`expr ${bar_pos1} / ${bar_want_bps}` || bar_char=0
    while test "${bar_char}" -gt "${bar_cur_char}"
    do
    bar_graph="${bar_graph}${BAR_C1}"
    ${bar_trace}${bar_eta}${bar_perc}${bar_graph}${BAR_E_C2}" 1>&2
    bar_cur_char=`expr ${bar_cur_char} + 1`
    done
    done
    ) | eval "${BAR_CMD}"
    bar_pos=`expr ${bar_pos} + ${bar_size1}`
    done
    # ${BAR_ECHO} "${BAR_E_C1}" "${BAR_R}${BAR_E_C2}" 1>&2
    fi
    if test "${bar_shown}" = 1
    then
    # BEGIN TRACE
    test "x${BAR_TRACE}" = x1 && bar_trace="${bar_t_space} "
    # END TRACE
    # BEGIN ETA
    test "x${BAR_ETA}" = x1 && bar_eta=' '
    # END ETA
    if test "x${BAR_CLEAR}" = x1
    then
    # BEGIN PERC
    test "x${BAR_PERC}" = x1 && bar_perc=' '
    # END PERC
    bar_lauf=0
    bar_graph=''
    while test `expr ${bar_lauf} + 5` -le "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph} "
    bar_lauf=`expr ${bar_lauf} + 5`
    done
    while test "${bar_lauf}" -lt "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph} "
    bar_lauf=`expr ${bar_lauf} + 1`
    done
    ${BAR_E_C2}" 1>&2_eta}${bar_perc} ${bar_graph}
    else
    # BEGIN PERC
    test "x${BAR_PERC}" = x1 && bar_perc='100% '
    # END PERC
    bar_lauf=0
    bar_graph=''
    while test `expr ${bar_lauf} + 5` -le "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}${BAR_C1}"
    bar_lauf=`expr ${bar_lauf} + 5`
    done
    while test "${bar_lauf}" -lt "${BAR_WIDTH}"
    do
    bar_graph="${bar_graph}${BAR_C1}"
    bar_lauf=`expr ${bar_lauf} + 1`
    done
    ${bar_trace}${bar_eta}${bar_perc}${BAR_L}${bar_graph}${BAR_R}${BAR_E_C2}" 1>&2
    ${BAR_E_NL} 1>&2
    fi
    fi
    ####>-SCHNAPP-<########################################################
    BAR_AWK_0=''
    # Command line interface:
    while test -n "$1"
    do
    case "$1" in
    -o|-c|-w|-0|-1|-e|-d|-b|-s|-\[\]|-\[|-\]|-T)
    if test -z "$2"
    then
    echo "$0: Error: A non-empty argument was expected after $1" 1>&2
    fi
    BAR_ARG="$1"
    BAR_OPT="$2"
    shift
    shift
    -o*|-c*|-w*|-0*|-1*|-e*|-d*|-b*|-T*)
    BAR_ARG=`expr "$1" : '\(-.\)'`
    BAR_OPT=`expr "$1" : '-.\(.*\)$'`
    shift
    -h|-n|-p|-D|-D-|-q|-V|-t|-E|-L)
    BAR_ARG="$1"
    BAR_OPT=""
    shift
    --) shift
    break
    -*) echo "$0: Error: Unrecognized option: $1" 1>&2
    exit 1
    break
    esac
    case "${BAR_ARG}" in
    -h) echo 'Usage: bar [-n] [-p] [-q] [-o FILE] [-c CMD] [-s SIZE] [-b SIZE]'
    echo ' [-w WIDTH] [-0/1/[/] CHAR] [-d DIR] [-e EXT] [Files]'
    echo ' bar -V'
    echo ' bar -D'
    echo ' bar -D-'
    echo 'Options:'
    echo ' -h displays help'
    echo ' -o FILE sets output file'
    echo ' -c CMD sets individual execution command'
    echo ' -e EXT append an extension to each file'
    echo ' -d DIR prepend this prefix to each file (a directory must end in /)'
    echo ' -s SIZE expected number of bytes. Use for pipes. This is a hint'
    echo ' only that must be greater or equal to the amount actually'
    echo ' processed. Further, this only works for single files.'
    echo ' -b SIZE maximal block size (bytes) (default: 1048567)'
    echo ' -w WIDTH width in characters (default: terminal width-3 or 76)'
    echo ' -0 CHAR character for empty bar (default: .)'
    echo ' -1 CHAR character for full bar (default: =)'
    echo ' -[ CHAR first character of bar (default: [)'
    echo ' -] CHAR last character of bar (default: ])'
    echo ' -n clears bar after termination'
    echo ' -t traces (=displays) which file is processed'
    echo ' -T WIDTH no of characters reserved for the file display of -t'
    echo ' -p hides percentage'
    echo ' -E hides estimated time display'
    echo ' -q hides the whole bar, be quiet'
    echo ' -D tries to dump the bar_cat() shell function, then exit.'
    echo ' Here, -t, -p, -E remove the corresponding feature completely.'
    echo ' Further, -L removes large file support from the code.'
    echo ' -D- same as -D, but dumps the function body only'
    echo ' -V displays version number'
    echo ' -- end of options: only file names follow'
    exit 0
    -n) BAR_CLEAR=1
    -L) BAR_LARGE=0
    BAR_AWK_0="${BAR_AWK_0} /END *LARGE/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *LARGE/ {x=0} ;"
    -t) BAR_TRACE=1
    BAR_AWK_0="${BAR_AWK_0} /END *TRACE/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *TRACE/ {x=0} ;"
    -T) BAR_TRACE_WIDTH="${BAR_OPT}"
    -q) BAR_OK=0
    -p) BAR_PERC=0
    BAR_AWK_0="${BAR_AWK_0} /END *PERC/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *PERC/ {x=0} ;"
    -E) BAR_ETA=0
    BAR_AWK_0="${BAR_AWK_0} /END *ETA/ {x=1} ;"
    BAR_AWK_0="${BAR_AWK_0} /BEGIN *ETA/ {x=0} ;"
    -V) echo "bar v${BAR_VERSION}"
    exit 0
    -D) echo "BAR_VERSION=${BAR_VERSION}"
    awk "${BAR_AWK_0}"'{sub(/ *#.*$/,"")} ; /^bar_cat/ {x=1} ; {sub(/^ */,"")} ; /./ {if(x)print} ; /^}/ {x=0}' "$0"
    exit 0
    -D-) echo "BAR_VERSION=${BAR_VERSION}"
    awk "${BAR_AWK_0}"'{sub(/ *#.*$/,"")} ; /^}/ {x=0} ; {sub(/^ */,"")} ; /./ {if(x)print} ; /^{/ {x=1}' "$0"
    exit 0
    -o) exec 1>"${BAR_OPT}"
    -c) BAR_CMD="${BAR_OPT}"
    -b) BAR_BS="${BAR_OPT}"
    if BAR_RAW=`expr "${BAR_BS}" : '\(.*\)k$'`
    then
    BAR_BS=`expr ${BAR_RAW} '*' 1024`
    elif BAR_RAW=`expr "${BAR_BS}" : '\(.*\)M$'`
    then
    BAR_BS=`expr ${BAR_RAW} '*' 1048567`
    fi
    -s) BAR_SIZE="${BAR_OPT}"
    if BAR_RAW=`expr "${BAR_SIZE}" : '\(.*\)k$'`
    then
    BAR_SIZE=`expr ${BAR_RAW} '*' 1024`
    elif BAR_RAW=`expr "${BAR_SIZE}" : '\(.*\)M$'`
    then
    BAR_SIZE=`expr ${BAR_RAW} '*' 1048567`
    fi
    if test "$#" -gt 1
    then
    echo "Error: -s cannot be specified for multiple input files." 1>&2
    exit 1
    fi
    -e) BAR_EXT="${BAR_OPT}"
    -d) BAR_DIR="${BAR_OPT}"
    -0) BAR_C0="${BAR_OPT}"
    -1) BAR_C1="${BAR_OPT}"
    -\[) BAR_L="${BAR_OPT}"
    -\]) BAR_R="${BAR_OPT}"
    BAR_L="${BAR_OPT}"
    BAR_R="${BAR_OPT}"
    -w) BAR_WIDTH="${BAR_OPT}"
    esac
    done
    # Invoke main function:
    if test "$#" = 0
    then
    bar_cat /dev/stdin
    else
    bar_cat "$@"
    fi
    EDIT: solved https://bbs.archlinux.org/viewtopic.php … 85#p498885
    It seems like I have not tried every potential packages after all
    Last edited by tamikana (2011-10-30 16:04:46)

    This might help http://www.dwcourse.com/dreamweaver/ten-commandments-spry-menubars.php#one
    Also, if you use DW CS5 click on Live Code and Live View. Then when clicking on the menu items in Live View, watch the changes in classes that occur. This mifgt give you a clue of what to do.
    Cheers,
    Gramps

  • Aggregated planning in SNP...almost there but need more guidance...

    Gurus, 
    I am working on Aggregated SNP for our company.
    1. I have created a Loc Prod hierarchy. The hierarchy has 1 real Location under a pseuso Location and has 6 real products under pseudo header product.It looks like the screenshot below.
    2. I do not have a PPM hierarchy or a Resource hierarchy
    3. I run the Location heuristic for the header AGG_MFIBER@ Location 1010. I get the correct Pl orders for the header product. The Source Determination is set to Only Sub level.
    4. I am able to disaggregate the header values to the sub-products fine.
    5. But when I look at the Planned orfders for the sub products I see that there is no source of supply even though I have the PPMs for them.
    Do I need to create a PPM hierarchy and then disaggregate it for the system to get the lower level PPMs?
    I will work on it next week but if I can get some help it will save me a great deal of time.
    Thanks in advance,
    Subash

    Hi Cyrille,
    How are you? It has been long....
    This may end up in a long exchange....
    1. I struggled for sometime before I was able to set up the LOC Hier and PROD Hier and generate the LOCPROD Hier, as my screenshots show.
    2. I was able to run SNP for AGG_MFIBER and then disaggregate it to sub products. That is when I found the source of supply issue. I saw that the Header product did not have a SOS and created an SNP PPM manually. This is just after I posted the message.
    3. After that I tried to create a SNP PPM Hierarchy. I was able to add AGG_MFIBER to level for header PPM. After that I added all the sub products in the above LOCPROD Hierarchy and was able to save the same. I went to the edge table /SAPAPO/RELDHPPM and saw 57 entries.
    4. After that I ran SNP for AGG_MFIBER with Source Determination at 'Only Sublevel', the system created planned orders to cover the requirements but it still did not pick up the source of supply for AGG_MFIBER.
    5. Then I changed the Source Determination from 'Only Sublevel' to 'Only Header level' and executed SNP. This time it put ONE planned order only for the header material in the second period but it did pick up the Source of Supply.
    Still trying to understand the logic...
    Any ideas here as I try to get further...
    Thanks again,
    Subash
    Message was edited by: Subash Nanjangud
    Cyrille,
    After working thru the day on this issue I have been able to make things work...I will update the details tomorrow morning..
    Thanks,
    Subash

  • NEED URGENT PHP HELP

    Well I need a freelancer to create a database for
    www.singersweb.com ( a website for singers…) the database
    includes creating profile system a rating system and more. It would
    help if you know how to work with flash, xml, mysql, php…
    just whatever it takes to get the job done. Also I will do all the
    design work.
    If interested or have any comments or questions reply or
    better yet email me at [email protected] thank you.
    Donnavan

    hello i would like to know if
    i could download dreamweaver on my windows 98

  • Still need 16:9 help

    I asked a little while back but didn't find an answer. Any other help would be greatly appreciated!
    I Shot a short on XL-2 as 16:9, 24P. Imported and edited as 29.97 DV-NTSC footage with anamorphic checked. I did a Basic export to Quicktime with no specific setting. The quicktime file does not come out stretched vertically like I thought it would, it comes out looking correct, with bars on top & bottom.
    I import to DVDSP and set everything up as 4:3 frame-burned disk and works fine on standard TV with bars at the top and bottom. BUT on widescreen TV, the image is small and has bars on all four sides.
    On an earlier reccomendation, I set-up DVDSP with all setting to 16:9, but what this did was stretch the image horizontally. It now fill the left and right frame of a widescreen TV but the image stretched.
    What am I doing wrong? I just want to burn a DVD that will play on a widescreen TV and fill the frame.
    Thanks

    "Basic export to Quicktime with no specific setting."
    You should be checking your settings!
    "it comes out looking correct, with bars on top & bottom."
    What you have is letterboxed output, not anamorphic. "Correct" would be an image without letterbox bars.
    "on widescreen TV, the image is small and has bars on all four sides."
    This is just what happens when a letterboxed image goes on a widescreen TV. Try it again making sure "anamorphic" is in the settings at each stage.

  • Help still needed

    I still need help to get this script working.
    <?
    PHP Guestbook 1.1
    Written by Tony Awtrey
    Anthony Awtrey Consulting
    See http://www.awtrey.com/support/dbeweb/ for more information
    1.1.ora - Mar. 29, 2000
    - Version for Oracle by Kari Pannila
    kartsa@_NO_SPAM_ougf.fi
    1.1 - Oct. 20, 1999 - changed the SQL statement that reads data
    back out of the database to reverse the order putting the
    newest entries at the top and limiting the total displayed
    by default to 20. Added the ability to get the complete list
    by appending the URL with '?complete=1'. Added the code and
    additional query to count and list the total number of entries
    and included a link to the complete list.
    1.0 - Initial release
    This is the SQL statement to create the database required for
    this application.
    CREATE TABLE GUESTS (
    GUEST_ID NUMBER (4) NOT NULL,
    GUEST_NAME VARCHAR2 (50),
    GUEST_EMAIL VARCHAR2 (50),
    GUEST_TIME DATE,
    GUEST_MESSAGE VARCHAR2 (2000),
    PRIMARY KEY ( GUEST_ID )
    CREATE SEQUENCE GUEST_ID_SEQ
    START WITH 0
    INCREMENT BY 1
    MINVALUE 0
    NOCACHE
    NOCYCLE ;
    // This checks to see if we need to add another guestbook entry.
    if (($REQUEST_METHOD=='POST')) {
    // This loop removed "dangerous" characters from the posted data
    // and puts backslashes in front of characters that might cause
    // problems in the database.
    for(reset($HTTP_POST_VARS);
    $key=key($HTTP_POST_VARS);
    next($HTTP_POST_VARS)) {
    $this = addslashes($HTTP_POST_VARS[$key]);
    $this = strtr($this, ">", " ");
    $this = strtr($this, "<", " ");
    $this = strtr($this, "|", " ");
    $$key = $this;
    // This will catch if someone is trying to submit a blank
    // or incomplete form.
    if ($name && $email && $message ) {
    // This is the meat of the query that updates the guests table
    $query = "INSERT INTO guests ";
    $query .= "(guest_id, guest_name, ";
    $query .= "guest_email, guest_time, guest_message) ";
    $query .=
    "values(guest_id_seq.nextval,'$name','$email',SYSDATE,'$message')";
    // This is where we connect first time to the database
    $c1 = ocilogon("chukws","ikechi","orcl");
    $stmt = ociparse($c1,$query);
    OCIexecute($stmt,OCI_DEFAULT);
    OCIFreeStatement($stmt);
    OCICommit;
    } else {
    // If they didn't include all the required fields set a variable
    // and keep going.
    $notall = 1;
    ?>
    <!-- Start Page -->
    <HTML>
    <HEAD>
    <TITLE>Add a Message</TITLE>
    </HEAD>
    <BODY BGCOLOR="white">
    <H1>Add A Message</H1>
    <!-- Let them know that they have to fill in all the blanks -->
    <? if ($notall == 1) { ?>
    <P><FONT COLOR="red">Please answer all fields</FONT></P>
    <? } ?>
    <!-- The bits of PHP in the form allow the data that was already input
    to be placed back in the form if it is filled out incompletely -->
    <FORM METHOD="post" ACTION="koe.php">
    <PRE>
    Your Name: <INPUT
    TYPE="text"
    NAME="name"
    SIZE="20"
    MAXLENGTH="50"
    VALUE="<? echo $name; ?>">
    Your Email: <INPUT
    TYPE="text"
    NAME="email"
    SIZE="20"
    MAXLENGTH="50"
    VALUE="<? echo $email; ?>">
    Enter Message:
    <TEXTAREA NAME="message" COLS="40" ROWS="8" WRAP="Virtual">
    <? echo $message; ?>
    </TEXTAREA>
    <INPUT TYPE="submit" VALUE="Add">
    </PRE>
    </FORM>
    <HR>
    <?
    // This is where we count the number of entries.
    $c1 = OCIlogon("chukws","ikechi","orcl");
    $query = "SELECT COUNT(*) FROM guests";
    $stmt = OCIparse($c1,$query);
    OCIexecute($stmt);
    OCIFetch($stmt,OCI_DEFAULT);
    $numguest = OCIResult($stmt,1) ;
    ?>
    <!-- This is where we report the total messages. -->
    <P>
    <? echo $numguest[0]; ?> people have
    left me a message.
    </P>
    <?
    // This is where we decide to get all the entries or just the last 20.
    // This variable is set by just adding a '?complete=1' after the URL.
    $c1 = OCIlogon("chukws","ikechi","orcl");
    if ($complete == 1) {
    $query = "SELECT guest_name,guest_email,to_char(guest_time,'DD.MM.YYYY
    HH24:MI:SS'),guest_message FROM guests ORDER BY guest_time DESC";
    } else {
    echo "Here are the first 20:<BR><br>\n";
    $query = "SELECT guest_name,guest_email,to_char(guest_time,'DD.MM.YYYY
    HH24:MI:SS'),guest_message FROM guests WHERE ROWNUM<21 ORDER BY
    guest_time DESC";
    $stmt = OCIparse($c1,$query);
    OCIexecute($stmt,OCI_DEFAULT);
    // This will loop as long as there are records waiting to be processed.
    // Notice the plain HTML inside the while loop structure. PHP is
    flexable
    // enough to allow you to break into and out of the "code" at any point.
    // ------------------------ while start
    while (OCIFetchInto($stmt, &$guest)) {
    ?>
    <TABLE BORDER="1" WIDTH="700">
    <TR><TD>
    Name: <? echo $guest[0]; ?>
    </TD><TD>
    Email: ">
    <? echo $guest[1]; ?></A>
    </TD><TD>
    Time: <? echo $guest[2]; ?>
    </TD></TR>
    <TR><TD COLSPAN="3">
    <? echo $guest[3]; ?>
    </TD></TR>
    </TABLE>
    <BR>
    <?} // end while ?>
    </BODY>
    </HTML>
    Am getting the following error,
    Parse error: parse error, unexpected T_WHILE in d:\application\product\10.1.0\db_2\apache\apache\htdocs\koe.php on line 182
    Can CJJ and others please help. Thanks

    Replace your line <?} // end while ?> with
    <?} // end while
    ?>
    Regards,
    Torsten

  • I down loaded Firefox 3.6.10, did the execution and still when load it as my browser I get a message that says "Almost there". What is going on?

    When I load Firefox as my browser, a screen comes up that wants me to download the 3.6.10 version again but, as I said, it has been downloaded, executed and I have tried this several times with the same result. I run Vista Home Premium operating system. I can still browse the internet but still get my home page as "You are almost there" or some such. What should I do?

    I have tried everything I could to fix this, but some things require actually being on Firefox, and since I cannot get on, I cannot click on the tabs to do it. I have even totally uninstalled firefox, and that has not fixed this. I still get the same message that firefox is running and I need to close it or restart (which I have also tried dozens of times). I have removed things like Java, and that has not helped either. If I cannot even get on line in firefox, how can I fix this. I am not crazy about using internet explorer, but right now, it is my only option. I even tried to start in safe mode, and the same message box pops up!

  • I changed my email perferences 4 days ago and am still getting email mailouts....HELP!

    i changed my email perferences 4 days ago and am still getting email mailouts....HELP!

    Give this a try:
    Go to your profile page.
    Select the Notifications tab clear out anything that shows there.
    Go back to your profile
    In the Actions box select Preferences
    Select the Email Notifications Preferences tab
    Set the values as you like
    Go back to your profile
    In the Actions box select Manage Email Notifications
    delete any that show
    Note: steps 4 & 7 appear to be the same but they are not. The steps need to be followed as specified. If this doesn't stop the email we'll need to have a host look into it.
    Good luck.

  • I had to remove Mavericks and do a reinstall on 10.8.5 but still need help...

    I have been trying to undo my Mavericks upgrade in October and after considerable effort I am mostly got back to 10.8.5 OS but still need a bit of help. I just want the previous OS back in place then I'll try Mavericks soon....
    1)               I never seem to pay attention so is 10.8.5 the last OSX prior?  As long as it isn't Mavericks, I want to get it installed.
    2)               I had to reformat my iMac so I have a residual elements from 10.9 and one issue that I had before was permissions. Every number of files either on other hard drives or sometimes in my same user folder was asking for permission and authentication to simply move a file.. A popular one you'll see at the bottom the person/whatever/ problem known as fetching.  Could someone just give me the general reason of this fetching and permissions problem that I ran into?  Better yet since I just want to avoid it altogether into the future tell me what's the best way to assure it disappears forever.
    3)          Another, which is kind of a big ticket item for me is the backup/restore/cover your (!!!) system. I was a good little iMac User and had Time Machine backed up for a period prior to the Mavericks install. I'm a little bit upset that TM isn't 100%....but what is...?  I need another backup/restore system in place and that's what I am looking for recommendations on.  An item that saved me a bit was that I had OS 10.8.3 on an external hard drive.  The problem with that one was it was on a partition, on one of the drives requiring to be reformatted.  It worked as a bridge consolidating files and all but was a big headache as a partition on the external. Recovery Disk did it's part but wasn't enough as well.   Is there a simple/easy idea...clone, disk images, boot from an external drive… ?
    4)          iPhoto (9.4.3) currently will not open the libraries which iPhoto (9.5) converted. Is there way to go back?  Seems the App Store and Software update don't like something. I'm getting into a loop with App Store, iPhoto and the OS. Either the software needs operating system ... then the App Store says it's incompatible or some other complaint.  Right now I have 9.4.3 iPhoto installed for OSX 10.8.5 and was only able to create a new library and the converted ones currently do not open.
    Thanks to your help

    10.8.5 is the lates ML edition.  I use TM and also carbon copy cloner as my second backup.  If I were you and you have a TM backup prior to Mavericks I would try another restore at bootup.  You should erase your drive first in that process using disk utitlites and then use TM to put back you apps and files.  The other choice is to do an internet recovery and then use TM to restore your apps and files.  That should fix the permissions issue.  I did the same thing and all was OK including getting my original iPhoto progam (9.4.3), iphoto11 and photos back.

  • I deleted my email account of my iPad buy mistake now I've put it bk on I've only got a few emails come back on not my old ones from before there still in my in box if I going my hotmail account on pc and on my phone, how do I get them bk on my iPad thank

    I deleted my email account of my iPad buy mistake now I've put it bk on I've only got a few emails come back on not my old ones from before there still in my in box if I going my hotmail account on pc and on my phone, how do I get them bk on my iPad thank

    What type of account did you set-up on the iPad, POP, IMAP, the items on your iPad could have downloaded off the server or you will need wait awhile for the message to update to the iPad. 

  • I had a software (something 6) come up on my iphone so i pressed yes, since then after restarting on its own it keeps saying no sim ! even though my o2 sim has been there all the time?? ive complety restored my iphone still doing the same, help!!!!???

    i had a software (something 6) come up on my iphone so i pressed yes, since then after restarting on its own it keeps saying no sim ! even though my o2 sim has been there all the time?? ive complety restored my iphone still doing the same, help!!!!???

    Dude or hot-spur,
    Not fishy at all!!!! You really think I would have taken any more of my time to post a bogus rant? We'll no, it is unfortunately all true. I want to hear from anyone who is experiencing such problems not anyone else that wants to put there two cents in. I really don't need anymore hate or negativity. Just people's experiences because I feel like I am the only one having so many problems. Thank you
    Yes, I have had some unfortunate bad luck to have so many problems at the same time, but some of them are just things you cannot do on the new OS.
    Thank you again

  • Still need help with flash player download

    I'm still having a problem with the flash player, please read my last post below:
    "I've tried everything here & still can't download the flash player. Anytime I try to download it asks me to install ADM add-on and then when I click on that, my computer freezes. How do I enable this add-on without my computer freezing? Can anyone help pls?"

    Thanks a lot for your help, it is truly appreciated.
    Date: Thu, 29 Oct 2009 18:52:38 -0600
    From: [email protected]
    To: [email protected]
    Subject: Still need help with flash player download
    You can set Flash Player to check for updates on the Global Settings Manager panel:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.htm l
    >

Maybe you are looking for