That just confirms that you need a multi-pronged test strategy involving users, UI testers, DBAs etc.

If your architecture is layered well then backend bugs should have been found during unit testing and subsystem testing. Maybe you are leaving too much testing until too late in the process?

I am using phpmailer for sending emails, but I want to make a custom header for my company, by adding a textarea field that contain any custom header for example using a header like this one:

Subject: __Subject
From: __From
Reply-to: <__Reply-To>
To: __To
Date: __smtpDate

or any other header types.. How can I do this in details please, thanks in advance.

Hello guys, I have a problem with my pc, using MSI PM8M3-V. It boots up but there is no display. The monitor says "Check signal Cable" tried it on my laptop cable and monitor are fine. I then did these:
1) CHecked video card - I replaced with an old one which definately works and still no activity. I then thought it could be the AGP slot but when I put the original card back i removed the power connections for it and it started beeping, so I presume the slot is ok? Not sure though.

2) Made sure all cables were in correctly - yes

3) Removed CMOS battery and replaced - no difference

4) Memory - removed one stick - no difference, removed other stick - no difference.

4) CHecked CPU - seemed to be seated in correctly but removed and replaced anyway, again no difference.

Please help. It was just working before, i turned it off now when powering, nothing works.

Sorry, recently i have came across working with testers, previously i have tested website my self.
When testers do web User Interface Testing, they find silly ui bugs that users can't find and force devlopers (me) to solve those bugs.
They can't find important bugs which is related to backend programming etc.

Hi, I needed some help with fixing my code. So basically what I am trying to implement is the following:

I have 2 radio button (hours and minutes) and under each is a JTextField for each radio button. On the right side there is 2 buttons (+ and -) that should increment and decrement whichever button is selected (hours or minutes).

My code works but is missing this:

There is a '+' button that increases the hours or minutes by 1 every time it is pressed, depending on which radio button has been chosen. When it reaches the maximum count, it resets to zero on the next click and keeps counting. '+' and '-' buttons that go forwards and backwards respectively.

Here is my code for this particular part (jButton1 = hours radio button and jButton2 = minutes radio button; jTextField1 = display hours everytime increment or decrement is pressed and same goes for jTextField2)

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         

        jTextField1.setText("" + clicked);

    else {
            jTextField2.setText("" + clicked);

} `

I have been trying to figure this out but can't find a solution.

Your code is a little confusing. Each of your javascript functions expects a parameter yet none of the onclick="" supply one. Ignoring the fact you never supply divNum, your jQuery selector won't work
$("Slide Toggle"+divNum)
Because "Slide Toggle" and all the rest of the terms you use aren't jQuery selectors (no # or . in front to specify ID or class) and the there is no element with that name on your page to be manipulated anyway.

I think you need to have one image on the page with a set ID and then each radio button's onclick calls the function that affects that image with the effect.
<img src='someUrl' id='someID' />


If this is actually n assignment I would suggest going over the jQuery section from your course material again. I don't think you have got a good grasp just yet.

I am trying to make a page that displays an image, and then utilizes a group of radio buttons and an apply button to perform effects on the image in the <div>tag . It is using the show(), hide(), Toggle(), Fade In(), Fade Out(), Fade To(), Slide Down(), Slide Up(), and Slide Toggle() methods.
Here is the "shell" that I have...just not sure where to go or what to do next.

<!doctype html>
  <meta charset = "utf-8">
  <title>Assignment 11</title>
    <script type ="text/javascript" src = "jquery-1.4.4.min.js"></script>
    <script type = "text/javascript">
      function showDiv(divNum)
      function hideDiv(divNum)
      function toggleDiv(divNum)
      function fadeInDiv(divNum)
          $("Fade In"+divNum).fadeIn();
      function fadeOutDiv(divNum)
          $("Fade Out"+divNum).fadeOut();
      function fadeToDiv(divNum)
          $("Fade To"+divNum).fadeTo();
      function slideDownDiv(divNum)
          $("Slide Down"+divNum).slideDown();
      function slideUpDiv(divNum)
          $("Slide Up"+divNum).slideUp();
      function slideToggleDiv(divNum)
          $("Slide Toggle"+divNum).slideToggle();
      function apply()



    <div id="#">
      <img src="linux.jpg" />

    <input type = "radio" name = "choice" value = "showDiv()">Show<br/>
    <input type = "radio" name = "choice" value = "hideDiv()">Hide<br/>
    <input type = "radio" name = "choice" value = "toggleDiv()">Toggle<br/>
    <input type = "radio" name = "choice" value = "fadeInDiv()">Fade In<br/>
    <input type = "radio" name = "choice" value = "fadeOutDiv()">Fade Out<br/>
    <input type = "radio" name = "choice" value = "fadeToDiv()">Fade To<br/>
    <input type = "radio" name = "choice" value = "slideDownDiv()">Slide Down<br/>
    <input type = "radio" name = "choice" value = "slideUpDiv()">Slide Up<br/>
    <input type = "radio" name = "choice" value = "slideToggleDiv()">Slide Toggle<br/>
    <button onclick = "apply()">Apply</button><br/>


Any direction on what to do next would be super helpful.

Line 28 looks suspect to me. writes:
"Opens a file, appends the specified string to the file, and then closes the file. If the file does not exist, this method creates a file, writes the specified string to the file, then closes the file."

That's not what your comment on line 27 says you want to do in line 28.

That word, it doesn't appear to mean what you think it means.


I can't seem to append multiple files into one text file. Unfortunately it's creating the first file but is not creating or appending the additional files into the first file. My code looks like this:

                getRestranName = System.IO.Directory.GetFiles(folderName)
                Dim counter As Integer = My.Computer.FileSystem.GetFiles(folderName).Count

                fileCount = Convert.ToInt32(counter)
                fileCount = fileCount - 1
                hotelFolder = CStr(getFolderNameGD("O:\Revenue Management\Centralized Revenue Management Service\CRMS Hotels", propertyNo2 & "*"))

                ' Begin by setting the loop to read each file in folder
                For i = 0 To fileCount
                    fileName = ""
                    Dim objReader1 As New System.IO.StreamReader(getRestranName(i))
                    fileName = getRestranName(i)
                    If System.IO.File.Exists(fileName) Then
                        Do While objReader1.Peek() <> -1
                            txtLine = objReader1.ReadLine()
                            programName = Trim(Microsoft.VisualBasic.Left(txtLine, 14))

                            If lineNo = 3 And programName = "(res.restran)" Then
                                restranSave = "C:\Restran Conversion\Restran\" & propertyNo & "restran.txt"
                                If i = 0 Then      'This reads the first file in the folder.
                                    lblProgName.Text = "Copying " & fileName & "......"
                                    System.IO.File.Copy(fileName, restranSave, True)
                                    lblProgName.Text = "Saved temp file " & restranSave & "......"
                                Else    'This should read any the second through the last file and append to the first (called "restranSave")
                                    System.IO.File.AppendAllText(restranSave, fileName)
                                End If
                            End If

                            lineNo = lineNo + 1
                            If lineNo = 4 Or lineNo > 4 Then
                                lineNo = 1
                                Exit Do
                            End If

                     Loop    'Loop to read the next line of the "i" file

                    End If

                Next i            'Takes you to the next file in the same folder 

            End If

Does it appear I'm missing something? The first file gets read and copied to "restranSave". But the second, third (and so on) are not getting appended to "restranSave". Help!

As always, thanks for your assistance.


i need your help please i need to create a loop for thread that does the following
1.thread for each number in the list box
2.Each thread calculates the Fibonacci number of the item that it is assigned to
When the thread finds the Fibonacci number, it automatically adds it to the listbox on the right along with the time elapsed to calculate it.
i have done the part of adding the numbers to the left list box but am stock with this part.
Help Please

No I mean hand code everything, but you do need indeed some basic understanding of HTML & CSS in order to do so. The link I've posted is a good place to start with. PSD to HTML is pretty much dead!

I never know that design using photoshop can be recreate with css.. It's seems hard but I'll try it.. Thanks..

Do you mean option "Copy CSS" from Photoshop? Actually I'm not have deep knowledge in web development can you explain it?

No I mean hand code everything, but you do need indeed some basic understanding of HTML & CSS in order to do so. The link I've posted is a good place to start with. PSD to HTML is pretty much dead!

Don't save it in Photoshop as HTML. You'll get rubbish as you can see. Just recreate the the design with CSS and proper mark up. A lot of things you can do nowadays pure with CSS unless you need to support IE8 and below

Do you mean option "Copy CSS" from Photoshop? Actually I'm not have deep knowledge in web development can you explain it?

Yes, using background-image for example, but I cannot suggest you the perfect solution as I haven't seen your design, nor I know how do you want the page to work with different window sizes and display resolutions.

But the size image is very big so I need to slice it, I'm just focus in 1280x720 resolution right now.. I can't put the design since it's not my own design..