[SOLVED] How Can I Add a Simple Volume Indicator to Panel?

I've managed to get an XFCE de up and running and sound is working as well as keyboard shortcuts. I don't get any splash message to tell me the volume levels, neither do I have any indicator in the panel. How do I get any feedback on my current sound level without having to start the mixer?
I've had a look around and I think I have mixer plugins installed, yet I don't have a suitable items to add in the "Add New Items" dialog.
Xubuntu has and indicator, that would be good enough for me but I don't know how.
I'd appreciate any help
(The fact that I got this far without posting on the forums shows how amazing the Wiki is! Thanks for that and ArchLinux. It's so much fun)
Last edited by hypertyper (2011-12-15 11:09:58)

Thanks for the prompt replies.
I had Mixer installed and when you told me it was the right app I played around with it some more and realised that I had to select the right sound card for the applet to show the volume. When I first added it the only functionality seemed to be that it opened mixer when I clicked on it.
I tried volwheel as well, both work great. I guess it's personal preference from here.

Similar Messages

  • Basic Stuff!! How can I add a simple frame?

    Hi,
    Sorry for what's a pretty basic question... I'm used to version 4.0 of Photoshop Elements and I've used this for a while and one feature I used heavily was to add a simple white frame with a drop shadow to pictures I publish on the web. It is/was really simple, I have the photo open in the editor and simply double click the frame and it automatically adds it to fit around the outside of the phot regardless of size etc.
    I now have Elements 7, and I just cannot find any way to do this at all. I've searched for tutorials, and the only frame function I've found seems to want to use a fixed frame size that hides some of the picture.
    It's becoming quite infuriating, what was once a simple task in PSE 4 has gotten me completely beaten in PSE 7...
    Can someone please help me, it's driving me round the bend!!!

    Hi Barbara....
    Thanks for your help, I can see the frames there, but they seem to work in a completely different way to PSE 4.
    If I double click a frame, or select and click apply then they're all cropping the photo to fit the frame which is the opposite behaviour to PSE 4 which fitted the frame around whatever the phot was... Then all it seems I can do is make the pic bigger or smaller, but if it's not the same aspect ratio as the frame then I get blank bits.
    And I can't figure out how to get the drop frame look I got before... for an example see here:
    http://www.pbase.com/ian_stickland/image/42248149

  • How can I add a simple URL to Streamwork?

    Hi,
    I want to add a simple URL to a StreamWork activity. I do not care whether this is in a text or a collection etc. All I would like to see is that the URL is displayed as such (i.e. blue, underlined) and a user can navigate to the URL with a simple cklick. Even in WORD you can do this and the URL is converted to an active link automatically, but I didn't find a way to do this in Streamwork.
    So far, I add the URL into a text and then the user has to edit the text, mark the URL and then copy/paste it into a browser. In a lot of cases, the URL was deleted by accident or changed etc.
    Thanks
    Oliver
    Edited by: Oliver Nuernberg on Jan 28, 2011 10:03 AM

    Maybe there is a misunderstanding here -- Rob is probably thinking of the Status Updates.
    However, when you edit a Text item you will find a Hyperlink option in the tool bar at the top of the Item. So this is possible, Oliver, but you may not have seen this option.
    Thanks,
    Pete

  • How can I add JScrollpane to one of the panels of a JFrame????

    I want to generate a screen with one JFrame and two JPanels.one panel to the left of the Frame and another to the right.
    I want to add a Jscrollpane to left panel,to which i am adding images so that they can be scrolled.How can I achieve this ???????????
    please reply me.............
    this is Basic Frame class.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    public class BasicFrame
    private JFrame frame = null;
    private JPanel CanvasPanel = new JPanel();
    private JPanel libraryPanel = null;
    public static void main(String args[])
    new BasicFrame();
    public BasicFrame()
    frame = new JFrame( "Java3d Demo of VRML Loading ");
    frame.setSize( 800, 600 );
    frame.setLayout(new BorderLayout());
         frame.add(CanvasPanel,BorderLayout.EAST);
    frame.add(new LibraryPanel(),BorderLayout.WEST);
         frame.setMenuBar(createMenuBar());
    frame.setVisible( true );
         // kill the window on close
         frame.addWindowListener(new WindowAdapter()
         public void windowClosing(WindowEvent winEvent)
         System.exit(0);
    public MenuBar createMenuBar()
    MenuBar menubar = new MenuBar();
         Menu menu;
    Menu subMenu;
    MenuItem menuItem;
    menu = new Menu("File");
    menuItem = new MenuItem("New");
    menu.add(menuItem);
    //menuItem.addActionListener(this);
    menuItem = new MenuItem("Load");
    menu.add(menuItem);
    //menuItem.addActionListener(this);
    subMenu = new Menu("Save");
    menu.add(subMenu);
    menuItem = new MenuItem("VRML97");
    subMenu.add(menuItem);
    //menuItem.addActionListener(this);
    menuItem = new MenuItem("X3D");
    subMenu.add(menuItem);
    //menuItem.addActionListener(this);
    subMenu = new Menu("Print");
    menu.add(subMenu);
    menuItem = new MenuItem("VRML97");
    subMenu.add(menuItem);
    //menuItem.addActionListener(this);
    menuItem = new MenuItem("X3D");
    subMenu.add(menuItem);
    //menuItem.addActionListener(this);
    menuItem = new MenuItem("Quit");
    menu.add(menuItem);
    //menuItem.addActionListener(this);
    menubar.add(menu);
    menu = new Menu("View");
    menuItem = new MenuItem("Reset");
    menu.add(menuItem);
    menuItem.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    menubar.add(menu);
    return menubar;
    this is Library panel class.To this,I want to add Jscrollpane to scroll the images displayed in this panel.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import java.awt.image.BufferedImage;
    import javax.imageio.ImageIO;
    public class LibraryPanel extends JPanel
    private ArrayList<String> imageList = new ArrayList<String>();
    private ImageIcon imageIcon;
    private JLabel imageLabel[] = new JLabel[100];
    private String path = "small images";
    private JList list;
    LibraryPanel()
    setSize(400, 600);
    setBorder(BorderFactory.createLineBorder(Color.black));
    setLayout(new FlowLayout());
    JScrollBar vbar = new JScrollBar(JScrollBar.VERTICAL, 30, 40, 0, 300);
    indexFiles();
    for(int imageNo=0;imageNo<imageList.size();imageNo++)
    try
    imageIcon = new ImageIcon(path + "/" + imageList.get(imageNo));
    imageLabel[imageNo] = new JLabel(imageIcon);
    //scrollPane.getViewport().
              add(imageLabel[imageNo]);
    catch (IllegalArgumentException illegalArgEx)
    illegalArgEx.printStackTrace();
         add(comboBox(),FlowLayout.CENTER);
    add(vbar,FlowLayout.CENTER);
    public JComboBox comboBox()
    String[] comboTypes = { "Sachin", "YuvRaj", "Ganguly", "Dravid", "Sehwag", "Dhoni" };
         // Create the combo box, and set 2nd item as Default
         JComboBox comboTypesList = new JComboBox(comboTypes);
         comboTypesList.setSelectedIndex(0);
         return comboTypesList;
    public void indexFiles()
    File dir = new File(path);
    String[] children = dir.list();
    if (children == null)
    System.err.println("Error: The directory doesn't exists!");
    System.exit(1);
    else
    imageList.ensureCapacity(children.length);
    for (int i = 0; i < children.length; i++)
    if(children.endsWith(".jpg"))
    imageList.add(children[i]);
    please reply me

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    public class BasicFrame
        private JFrame frame = null;
        private JPanel CanvasPanel = new JPanel();
        private JPanel libraryPanel = null;
        public static void main(String args[])
            new BasicFrame(); 
        public BasicFrame()
            frame = new JFrame( "Java3d Demo of VRML Loading ");
            frame.setSize( 800, 600 );
            frame.setLayout(new BorderLayout());
         frame.add(CanvasPanel,BorderLayout.EAST);
            frame.add(new LibraryPanel(),BorderLayout.WEST);
         frame.setMenuBar(createMenuBar());
            frame.setVisible( true );
         // kill the window on close
         frame.addWindowListener(new WindowAdapter()
             public void windowClosing(WindowEvent winEvent)
                 System.exit(0);
        public MenuBar createMenuBar()
            MenuBar menubar = new MenuBar();
         Menu menu;
            Menu subMenu;
            MenuItem menuItem;
            menu = new Menu("File");
            menuItem = new MenuItem("New");
            menu.add(menuItem);
            //menuItem.addActionListener(this);
            menuItem = new MenuItem("Load");
            menu.add(menuItem);
            //menuItem.addActionListener(this);
            subMenu = new Menu("Save");
            menu.add(subMenu);
            menuItem = new MenuItem("VRML97");
            subMenu.add(menuItem);
            //menuItem.addActionListener(this);
            menuItem = new MenuItem("X3D");
            subMenu.add(menuItem);
            //menuItem.addActionListener(this);
            subMenu = new Menu("Print");
            menu.add(subMenu);
            menuItem = new MenuItem("VRML97");
            subMenu.add(menuItem);
            //menuItem.addActionListener(this);
            menuItem = new MenuItem("X3D");
            subMenu.add(menuItem);
            //menuItem.addActionListener(this);
            menuItem = new MenuItem("Quit");
            menu.add(menuItem);
            //menuItem.addActionListener(this);
            menubar.add(menu);
            menu = new Menu("View");
            menuItem = new MenuItem("Reset");
            menu.add(menuItem);
            menuItem.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
            menubar.add(menu);
            return menubar;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import java.awt.image.BufferedImage;
    import javax.imageio.ImageIO;
    public class LibraryPanel extends JPanel
        private ArrayList<String> imageList = new ArrayList<String>();
        private ImageIcon imageIcon;
        private JLabel imageLabel[] = new JLabel[100];
        private String path = "small images";
        private JList list;
        LibraryPanel()
            setSize(400, 600);
            setBorder(BorderFactory.createLineBorder(Color.black));
            setLayout(new FlowLayout());
            JScrollBar vbar = new JScrollBar(JScrollBar.VERTICAL, 30, 40, 0, 300);
            indexFiles();
            for(int imageNo=0;imageNo<imageList.size();imageNo++)
                try
                    imageIcon = new ImageIcon(path + "/" + imageList.get(imageNo));
                    imageLabel[imageNo] = new JLabel(imageIcon);
                    //scrollPane.getViewport().
              add(imageLabel[imageNo]);
                catch (IllegalArgumentException illegalArgEx)
                    illegalArgEx.printStackTrace();
         add(comboBox(),FlowLayout.CENTER);
            add(vbar,FlowLayout.CENTER);
        public JComboBox comboBox()
            String[] comboTypes = { "Sachin", "YuvRaj", "Ganguly", "Dravid", "Sehwag", "Dhoni" };
         // Create the combo box, and set 2nd item as Default
         JComboBox comboTypesList = new JComboBox(comboTypes);
         comboTypesList.setSelectedIndex(0);    
         return comboTypesList;
        public void indexFiles()
            File dir = new File(path);
            String[] children = dir.list();
            if (children == null)
                System.err.println("Error: The directory doesn't exists!");
                System.exit(1);
            else
                imageList.ensureCapacity(children.length);
                for (int i = 0; i < children.length; i++)
                    if(children.endsWith(".jpg"))
    imageList.add(children[i]);

  • How can I add a shadow to a tabbed panel?

    Trying to put a shadow on the active state of a tabbed panel so the tab and the content areas share one continuous shadow. Want the active panel to look like it's sitting above the other, inactive panels - the way a stack of file folders would look: shadows on all the tabs, but the folder on the top of the stack would have a shadow around the tab and the rest of the folder.
    I can get the shadows to work on the tabs - where the active tab has a larger shadow than the normal (inactive) tabs and they look like they're sitting behind it - but when I try to add a shadow to the content panel it makes the panel appear to sit above the tab that goes with it. I tried arranging the tab on top ("Bring to front") but it still sits behind the content panel. Also tried pulling all the tabs to the front, but the content panel still sits in front and any shadow on the active panel is still over the active tab.
    I know I can get an effect that's kinda-sorta what I'm going for with flat color (lighter for active, etc.) but would love to add some truer-looking depth to the active tabbed panel.
    Any suggestions?

    you can control the dropshadow's angle property dynamically.  and, yes the dropshadowfilter has an alpha and strength properties you can use.
    use the help files to see all the properties you can use.

  • HT1800 How can I add a Epson Stylus SX445w to my mac Book Pro this is the second one I've tried and failing miserably...it should be so simple...spoken to the help line at Epson and they say it's down to Apple !! Somebody please help me

    How can I add a Epson Stylus SX445w to my Mac Book Pro
    This is the second one I've tried and failing miserably...it should be so simple...I've installed poken to the help line at Epson and they say it's down to Apple !! Somebody please help me

    Yes I did everything that I was instructed to do!
    Cheers
    Joyce

  • How can i add rows to a JTable at run time ??????

    hi there
    how can i add a row to a JTable at run time? and display the table after the change? thank you.

    For adding or removing the rows from the JTable, you have to use the methods on the table model. I would show you a simple implementation of table model.
    public class MyTableModel extends AbstractTableModel {
    private ArrayList rowsList = null;
    private String [] columns = { "Column 1" , "Column 2", "Column 3"};
    public MyTableModel() {
    rowsList = new ArrayList();
    public int getRowCount() {
    return rowsList.size();
    public int getColumnCount() {
    return columns.length;
    public void addRow(MyRow myRow) {
    //MyRow is any of your object.
    rowsList.add(myRow);
    fireTableDataChanged();
    public void removeRow(int rowIndex) {
    rowsList.remove(rowIndex);
    fireTableRowsDeleted(rowIndex, rowIndex);
    public Object getValueAt(int row, in col) {
    MyRow currentRow = (MyRow)rowsList.get(row);
    switch (col) {
    case 0:
    //return the value of first cell
    break;
    case 1 :
    //return the value of second cell
    break;
    case 2 :
    //return the value of third cell
    break;
    }Then create the table using the TableModel using the constructor new JTable(TableModel) and then when you want to add/remove a row from the table, call myTableModel.addRow(MyRow) or myTableModel.removeRow(rowIndex)....I hope that this solves your problem.

  • Hi Sir! I have some questions regarding word report generation please.1.How can i add border to a word page?.2.How can i add grid lines to a table generated in word report?.3.How can i add border to a table of word report?.Thanks Imran Pakistan

    Hi !
    Sir I have some questions regarding word report generation using(C language in labwindows) Please.
    1.How can i add border to a word page?.
    2.How can i add border and grid lines to a table generated in word report(Not the " cvi table control" inserted from gui,i am asking about the table generated in word report)?
    3.How can i fill a cell of word report table withe the data type other than "character"?.
    And sir one question about use of timer in cvi labwindows please.
    Sir i'm trying to set minimum delay interval of timer control to 1millisecond(0.001s),as i set ,timer don't cares of the interval that is set by me it responds only to the default minimum time interval which is i think 10milliseconds(i'am using windows xp service pack3 version 2002).
    Regards
    Imran
    Pakistan
    Solved!
    Go to Solution.

    Hello sir!
    Sir i'm using daq6251.But Sir before implimenting it to my final application now i'm just trying to achieve 1millisecond time interval for timer in a vary simple programe i mean at this time no hardware (daq device) is  involved i,m just trying to achieve minimum time interval of 1millisecond.
    Sir i read form "help" of labwindows how this time interval can be set,i'm trying for,as described in help notes but i could'nt.I'm attaching a screen shot sir for you it may helpful for you to explain me.
    And sir also waiting for your kind reply regarding word report generation.
    Thanks.
    Imran.
    Attachments:
    screen_shot_rigistry.docx ‏65 KB

  • How can i add videos,movies and tv shows episodes to my ipod nano?I want to know whether i can directly add them through my pc or not without downloading them from i tunes store?

    how can i add videos,movies and tv shows episodes to my ipod nano?I want to know whether i can directly add them through my pc or not without downloading them from i tunes store?

    Yes, you can add your own videos to iTunes, then sync them to your nano, subject to supported max resolution limit and file type.  The specs for the 7th gen nano says (I don't know which nano model you have), Video Format Support
    "H.264 video: 720 by 576 pixels, 30 frames per second; Baseline, Main, and High-Profile level 3.0 with AAC-LC audio up to 256 Kbps; 48kHz; stereo audio in .m4v, .mp4, and .mov file formats
    MPEG-4 video: up to 2.5 Mbps, 720 by 576 pixels, 30 frames per second; Simple Profile with AAC-LC audio up to 256 Kbps; 48kHz; stereo audio in .m4v, .mp4, and .mov file formats"
    http://www.apple.com/ipod-nano/specs.html
    (earlier nanos have lower max resolution limits)
    So, "HD" video is too high resolution, so iTunes will not sync such videos to the iPod (although they play in iTunes).  If you are asking how to set up iTunes to sync videos in general (regardless of source), please post back.

  • Podcast Problem - how can i add artwork to apple blog rss link

    hi,
    i create a wiki blog page on our mac server, on the blog page i add video for podcasting and i enable podcast service on wiki settings. Then i take rss link from safari and i subscribe to itunes but when itunes check my link, there isnt artwork and i cant change the rss link code cause of the link generated automaticly from java. What can i do for this problem or how can i add artwork to apple blog servers rss link ?
    Thank you

    Bonjour,
    The rules are simple: one entry = one page
    if an article needs several pages, start this article on blog entry then continue with a page made with welcome page template or blank page template.
    you can change the link of the buttons "next" and "previous" to visit the pages you choose.
    (select the link > inspector > Link > hyperlink > check enable as a hyperlink > choose "one of my pages" ).
    Don't include these other pages in navigation menu.
    (inspector > Page > Page > uncheck "include page in navigation menu").

  • How can i add songs to a family members ipod without erasing existing songs

    How can i add songs to a family members ipod without erasing her existing song list.

    For future reference, since I came here for the same reason, I'd like to add to the solution.  The link was not complete in explaining how to, but then again I'll just trying to attempt to fill in the gap.
    After opening iTunes, on the upper left hand side is a small icon with an arrow pointing down. Click on the arrow and a menu pops out.  Click on "Show Menu Bar."  On the new bar(Older iTunes File, Edit, View, Controls, etc. bar at the top).  Click on View and then Show Side Bar.  There you can just click and drag new songs into your iDevice without any problems... hopefully...
    Seriously, this helped me, so if Apple finds a way to not allow me to do this simple task of adding purchased songs into my idevices from another computer, I'll have to resort to other means.
    The one idevice that's having trouble with is my iShuffle(2nd). 

  • How can you add a where clause using "OR" with applied ViewCriteria?

    [JDeveloper 10.1.3 SU4]
    [JHeadstart 10.1.3 build 78]
    I am using JHeadstart, but have a question probably more in the ADF area. On the JHeadstart forum I asked:
    "I am overriding JhsApplicationModule's advancedSearch in order to be able to search in childtables. I created transient attributes, display those in advanced search and in the overridden method I check if any of these are filled by the user and create a where clause like 'EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> AND <another column in childtable> LIKE '<value supplied by user>)'. I add this whereclause using ViewObject.setWhereClause.
    So far so good and it works. However, if the user selects 'Result matches any criteria', combining setWhereClause and the normal advancedSearch QueryByExample implementation using ViewCriteriaRow do not provide the desired result, since the ViewCriteria and the setWhereClause are AND-ed together, which is fine if the user selects the (default) "Results match all criteria" (everything is AND-ed) but not the "Result matches any criteria", since then every criterium is OR-ed together, except for the setwhereclause criteria and the set of ViewCriteriaRows, they are AND-ed.
    I looked if I could specify that a WhereClause will be OR-ed to existing applied ViewCriteria, but no luck. Do I have to rewrite also advancedSearch's ViewCriteria implementation and write an entire setWhereClause implementation to be able to "OR" every criterium? Or any other suggestions? Can I look at the entire Where clause and rewrite it (after applyCriteria and setWhereClause are called on the VO)?
    Toine"
    Sandra Muller (JHeadstart Team) told me today: "This sounds like a JDeveloper/ADF issue that is not related to JHeadstart. The question is: how can you add a where clause using "OR" if there are already one or more ViewCriteria applied?
    To simplify the test case, you could create a simple ADF BC test client class in a test Model project without JHeadstart (in the test class, use bc4jclient + Ctrl-Enter), in which you first apply a few ViewCriteriaRows to a View Object and also add a where clause.
    Can you please log a TAR at MetaLink ( http://metalink.oracle.com/ ), or ask this question at the JDeveloper forum at http://otn.oracle.com/discussionforums/jdev.html ? (This what I am doing now ;-))
    Thanks,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting"
    Anyone knowing the answer or am I asking for an enhancement?
    Toine

    Hi,
    Can you SET your whereclause as follows ?
    ('Y' = <isAnd>
    and EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> AND <another column in childtable> LIKE '<value supplied by user>))
    OR ('N' = <isAnd>
    AND EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> OR <another column in childtable> LIKE '<value supplied by user>))
    )

  • How can I add file attachment to my form and get the attachment by email?

    I'm using this code and it works fine, but I don't get the attachment file in the email. How can I add this to my code?
    HTML
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
    <script src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js" type="text/javascript"></script>
    <script type="text/javascript">// <![CDATA[
                  $(document).ready(function() {
                    $("#form1").validate({
                      rules: {
                        first: "required",// simple rule, converted to {required:true}
                        email: {// compound rule
                        required: true,
                        email: true
                      last: {
                        last: true
                      comment: {
                        required: true
                      messages: {
                        comment: "Please enter a comment."
    // ]]></script>
    <script type="text/javascript">// <![CDATA[
    function validate ()
              if (document.form1.first.value == "")
              alert("Please enter your First Name");
              document.form1.first.focus();
              document.form1.first.style.border="1px solid red";
              return false;
              else if (document.form1.last.value == "")
              alert("Please enter your Last Name");
              document.form1.last.focus();
              document.form1.last.style.border="1px solid red";
              return false;
              else if (document.form1.emailaddress.value == "")
              alert("Please enter your Email Address");
              document.form1.emailaddress.focus();
              document.form1.emailaddress.style.border="1px solid red";
              return false;
    function has_focus() {
        if(document.form1.first.value == "")
                                  document.form1.first.focus();
                                  document.form1.style.first.border="1px solid green";
    function set_focus(x)
              document.getElementById(x).style.border="1px solid #80CA75";
    function clear_focus(x)
              document.getElementById(x).style.border="1px solid #DBDFE6";
    // ]]></script>
    </head>
    <body>
    <p><span style="color: #666666; text-align: center; font-size: 13px;">Please complete this form if you have any technical issue.</span></p>
    <form id="form1" action="http://www.southsun.com/php/tech_issue.php" enctype="multipart/form-data" method="post">
    <table style="width: 850px; font-size: 15px; padding-left: 20px; text-align: center;" border="0">
    <tbody>
    <tr>
    <td style="text-align: left; padding-bottom: 20px;" colspan="2">
    <h2><span style="color: #666666;">Please complete this form if you have any technical issue.</span></h2>
    </td>
    </tr>
    <tr style="padding-top: 40px;">
    <td style="text-align: left;"><span style="color: #abaf6f;"><strong>First Name</strong>:*</span><input id="first1" name="first" type="text" />  <br /><br /> <span style="color: #abaf6f;"><strong>Last Name</strong>:*</span><input id="last1" name="last" type="text" /><br /><br /> <span style="color: #abaf6f; padding-right: 33px;"><strong>Email</strong>:</span><span style="color: #abaf6f;">*</span><input id="email1" name="email" type="text" /><br /><br /> <span style="color: #abaf6f;"><strong>Shipping Method:</strong><br /></span> <input name="shippingmethod" type="radio" value="prioritymail" /> Priority Mail                                                                 <input name="shippingmethod" type="radio" value="store" /> In Store Pick up <br /> <input name="shippingmethod" type="radio" value="ground" />  Ground                                                                       <input name="shippingmethod" type="radio" value="3day" /> 3 Day Select<br /><br /> <span style="color: #abaf6f;"><strong>Payment Method:</strong><br /></span> <input name="paymentmethod" type="radio" value="paypal" /> Paypal Method                                                       <input name="paymentmethod" type="radio" value="creditcard" /> Credit Card<br /> <strong><br /> <span style="color: #abaf6f;">If getting an error message, please explain the error:</span></strong><span style="color: #abaf6f;"> <br /></span> <textarea id="errormessage" cols="20" rows="2" name="errormessage"></textarea><br /><br /></td>
    <td style="border-left: 1px solid grey; padding-left: 40px; text-align: left;"><span style="color: #abaf6f;"><strong>If using Paypal, Were you redirected successfully?</strong><br /></span> <input name="paypalredirect" type="radio" value="yes" /> Yes                                                                 <input name="paypalredirect" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>If using Credit Card, Did you get an error?</strong><br /></span> <input name="carderror" type="radio" value="yes" /> Yes                                                                  <input name="carderror" type="radio" value="no" /> No<br /><br /> <span style="color: #abaf6f;"><strong>What happened after clicking place order? </strong><br /></span> <textarea id="placeorder1" cols="20" rows="2" name="placeorder"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Comments</strong>: <br /></span> <textarea id="comments1" cols="20" rows="2" name="strcomments"></textarea><br /><br /> <span style="color: #abaf6f;"><strong>Attach PrintScreen</strong>: <br /></span> <input name="strresume" type="file" />
    <div style="height: 50px;"> </div>
    </td>
    </tr>
    <tr>
    <td style="padding-top: 20px;" colspan="2">( * ) indicates required fields</td>
    </tr>
    <tr>
    <td style="text-align: center; padding-top: 20px;" colspan="2"><input class="button" name="submit" type="submit" value="Submit" />                        <input class="button" name="reset" type="reset" value="Reset" /></td>
    </tr>
    </tbody>
    </table>
    </form>
    </body></html>
    PHP
    <?php
    echo $savestring;
    //--------------------------paramaters--------------------------
    // Subject of email sent to you.
    $subject = 'prueba con uploads';
    // Your email address. This is where the form information will be sent.
    $emailadd = '[email protected]';
    // Where to redirect after form is processed.
    $url = 'http://www.pch-graphicdesign.com';
    // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
    $req = '0';
    $target_path = "http://www.pch-graphicdesign.com/php/uploads/";
    $target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
    $text = "Results from form:\n\n";
    $space = ' ';
    $line = '
    foreach ($_POST as $key => $value)
    if ($req == '1')
    if ($value == '')
    {echo "$key is empty";die;}
    $j = strlen($key);
    if ($j >= 20)
    {echo "Name of form element $key cannot be longer than 20 characters";die;}
    $j = 20 - $j;
    for ($i = 1; $i <= $j; $i++)
    {$space .= ' ';}
    $value = str_replace('\n', "$line", $value);
    $conc = "{$key}:$space{$value}$line";
    $text .= $conc;
    $space = ' ';
    mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    ?>

    Sending a file as an attachment to an email involves setting the correct MIME type and headers. There's a brief tutorial here: http://webcheatsheet.com/php/send_email_text_html_attachment.php.
    Also, you need to use the same name as in your form. In the script you have shown here, the name of the file field is strresume, but your processing script uses this: $_FILES['uploadedfile']['name']. It should be this: $_FILES['strresume']['name']

  • How can I add USB 3.0 to my HP Pavilion Elite HPE-190t CTO Desktop PC?

    How can I add USB 3.0 to my HP Pavilion Elite HPE-190t CTO Desktop PC?  It uses Windows 7 Pro 64-bit OS.
    I can't tell how many or if there are expansion slots inside the case.  Is there a reliable source for such an expansion card?

    Considering the different options that PC could have been ordered with, it might be there is not an empty slot to mount a PCI add-on card to add a USB 3.0 card.  It would be advisable to open the case to see if there is an empty slot.  If there is, then THIS is a choice to add USB 3.0
    {---------- Please click the "Thumbs Up" to say thanks for helping.
    Please click "Accept As Solution" if my help has solved your problem. ----------}
    This is a user supported forum. I am a volunteer and I do not work for HP.

  • HT1848 How can I add photos to the iPad while not deleting any currently on it? I have some photos from my brother's camera that I can't get again.  How could save them onto my iMac?

    I have uploaded photos from my brother's camera while on vacation to my iPad (1).  Now that I wish to add even more photos to the iPad,  iTunes say that it will replace all the photos once I sync again to add from an album on the iMac.
    WHOA.
    I'd like to upload the photos to the iMac! HOw can I do that?
    How can I add photos from albums on the iMac and not lose the ones I currently have stored onthe iPad.
    I cannot find this task addressed in any Help reference.
    I do not understand why I cannot make a simple file transfer back and forth.
    Many thanks!

    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

Maybe you are looking for

  • Setting up iCloud and then .... stuck in a loop!

    About 6 months ago I wanted to setup iCloud, for easier syncing between my iMac and iPad2. Several things went wrong. My iPad got stolen during setup. I had to change my AppleID. A few months later I bought a new iPad3. I wanted to continu the iCloud

  • Count difference b/w forecast interface table(success rec)  and base table

    Hi all We did forecast conversion. We got wrong count while comparing count of successful loaded records of interface table(based on process_flag=5) and records inserted in base table . I used below querys 1) to count the records successfully loaded

  • Wollte ein PDF mit reader 10 öffnen, seitdem sind alle Programme mit einem Adobe Symbol versehen ?

    Hallo, ich hoffe mir kann jemand hier helfen ? ich habe gestern ganz normal ein PDF öffnen wollen, dann hatt das schon länger gedauert folge war, dass garnichts mehr ging..... ab dem Zeitpinkt waren alle Programme ( Firefox, tonline software ,Explore

  • Stats up after creating iWeb site

    I'm in the process of creating a site on my host server (not .mac account). I have a lot of video on my site and pretty much keep track of the hits and kb activity on my host server. After I created my first basic set of pages I've noticed a huge jum

  • How to create InboundPlug by Code (Programatically)

    Hi, I have to create Inbound Plug Programatically at runtime. I tried to look for option but could not find one. The Outnound Plug creation is possible then why Inbound Plug Creation is not available in the same way. Please help. Thanks & Regards, Dh