Help. I've got two versions of my code. The first one works as long as the remote server is reachable and fails (obviously) when the remote server is unreachable.
My second version is my attempt to capture the error and populate some error text.
$mechanize->get($url);
my $page =...
I'm not sure if this is possible, or if there's a better way. What I've got is 5 Linux/Apache servers. 4 of them have a small php file that basically just echo's the results of a small command.
I can pull up the server_status.php file from any of the 4 servers from any machine on my network...
I know there's a lot of information out there, but I'm just not making sense of this.
I've got a server using php 5.1.6, and register_globals is off by default. Cool.
If I'm understanding everything correctly, I should be retrieving my variables using $_POST.
$user_name =...
I've got a few applications that run daily, that I use to track equipment utilization (port counts, used vs. available), stuff like that.
The number of nodes (equipment) is steadily growing, as the network gets larger.
I'm starting to have to allocate more memory for these programs (-Xms...m...
I've been putting off a project for a while now, that I really should get started (the new year seems like a good time to start.)
I'm just looking for any suggestions or guidance here, no specific code.
My goal is to build a basic framework for a Telnet, and maybe SSH capable application. I...
Basically what I'm trying to do is to show or hide worksheets in excel based on data being selected in a combobox that is directly on the 'main' worksheet that will never be hidden.
I've done this in code, but I'm looking for a solution that would allow me to do this without distributing any...
I'm trying to create line graphs from some data being generated by another organization.
Say for instance I have the following data:
Processor Type1
20-August 21-August (continues for 30 days)
city1-proc1 20% 25% etc...
city1-proc2 34% 20%...
I'm trying to set up a server for internal testing, and I am missing something.
I keep getting an internal server error 500 everytime I try to test a simple C++ cgi script.
Can anyone point me in the right direction for a set up tutorial or example for this type of thing? Is there anything...
I'm stuck and can't quite figure out what I'm doing wrong.
I'm trying to change the extensions of every file in a selected directory.
Here's what I've got:
import java.awt.*;
import java.awt.event.*; // ActionListener
import javax.swing.*;
import java.io.File;
import...
This is probably a real basic question, but I'm not even sure what to search for to find an answer.
For instance:
SimpleClass MyClass = new SimpleClass();
Once I was done with MyClass, and I wanted to free up the memory space, how would I go about that?
I'm connecting to an Access database from excel using Microsoft ActiveX Data Objects 2.6
All is good, able to retrieve and add information to my tables just fine.
My problem is this, I have a table (tblA) and it has four fields that are numberical indexes.
Field1 can contain a number...
I'm having trouble trying to perform a 'sum' query. My code is in Excel, and I'm trying to sum the totals of all records that have a certain region code, from an Access database.
I'm using MS ADO 2.8 as a reference, and here is my code so far..
[code]
Sub Global_Report(ByVal sOutFileName As...
I know the ins and outs of doing this has been discussed on the board before. I've tracked down two possible ways of saving the contents of an image box as a .jpg, one to use bitblt, and one to use the intel library.
Is there any advantages of one over the other? I'm looking to keep things as...
Could someone help me with this code?
[code]
SavePicture picTemp.Image, App.Path & "\tmpout.bmp"
DoEvents
Open App.Path & "\tmpout.bmp" For Binary Access Read As #7
Do While Not EOF(7)
Get #7, , sFileDataTemp
sFileDataOut =...
What I'm working on is capturing an audio recording (from a microphone) and passing it to another computer through the internet (yeah, voice chat.) Currently what I'm doing is capturing 1 second wav files and sending them.
There has got to be a better way. Is is possible to 'hook' or capture...
In the line below, no matter what I set the height and width to, the capture window is always the same size. Am I missing something obvious?
mCapHwnd = capCreateCaptureWindow ("Capture Window", 0, 0, 0, 320, 240, Me.hwnd, 0)
I've searched every way I can think of, and I'm down to 2 questions...
I'm implementing a client/server application that needs to send small packets of data back and forth. I'm using TCP, and everything is working okay, except for the issue of sending data.
From what I can tell, when you...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.