Hi all,
I have a small Perl script which uses Mail::POP3Client to periodically check an email account. It works great except for forwarding. Basically I want it to forward certain messages to a different address if found. Right now, it does this OK except for the fact that it loses the original...
Hi all,
I'm using InternetReadFile() to successfully send form data via the 'GET' method to a url, eg:
http://example.com/myscript.php?a=something&b=somethingelse
And it works great... that is, except when the url length exceeds 2048 characters!
Ideally, I need to be able to send such...
Hi all,
I'm totally new to Java (coming from C/C++) - so please excuse this if it's a stupid question. :-S
Basically, I want to create a java applet that displays a list control much like the common Windows list control with columns, etc.
I'd like to do this directly in the applet itself...
Hi all,
What is the best way to have a PHP script access another URL on a remote server. For example, let's say I have a PHP script on my server but I want to get the text returned by "http://someotherserver.com/somescript.php"
Thanks,
Nick
Hi all,
Having some troubles with MySQL and efficiency using Apache. Here's the set up:
We have about 12 MySQL DB's running on a Linux server. We have approx 100 users accessing the DB via PHP scripts. However, the server load is way up to like 20-30 and everything is running at a crawl.
We...
Hi, does anyone know any easy way for me to check a users country (via IP address) in a script? For example, if I detect the user's IP address is 123.123.123.123 I then need to determine if that user is in China or Australia.
Thanks!
Hi, does anyone know any easy way for me to check a users country (via IP address) in a CGI script? For example, if I detect the user's IP address is 123.123.123.123 I then need to determine if that user is in China or Australia.
Thanks!
Hi, I have an interesting problem. I want to be able to add [at will] child windows to another window from another running executable.
So, let's say there is a program ("program A") running on the PC which displays a main window ("window A"). My program ("program B") wants to create a child...
Hi All,
I have a problem using the LIMIT statement in MySQL. Basically I want to limit results to a number such as 200. However, this works fine except it returns the *first* 200 records it finds. What I want is the *last* 200 records because I need to examine the latest records.
here's an...
Hi, I'm writing a DLL in C/C++ that needs to export a couple of functions to be used by a Visual Basic program. However, we're having some trouble getting the Visual Basic to read the exported C functions.
They are very simple functions, eg:
extern "C" __declspec(dllexport)
void...
Hi, I'm writing a DLL in C/C++ that needs to export a couple of functions to be used by a Visual Basic program. However, I'm having some trouble getting the Visual Basic to read the exported C functions.
They are very simple functions, eg:
extern "C" __declspec(dllexport)
void...
Hi, I have a problem with a combo box I'm creating on-the-fly programmatically.
I can create the combo box and add items to it and select, etc. etc. - the problem I have is that when I click on the arrow to display the choices, the list doesn't appear and I can only choose items one-by-one...
I'm trying to set up dovecot to serve POP3 mail on my Fedora Core 3 box. Everything looks fine except when I try to use my mail client on an external box I get the following error (where '<myserver>' is my server name):
The POP server “<myserver>” rejected the password for user...
Hi, I'm trying to use LoadLibrary() in VC++ 6.0 to load a DLL in RAM. In other words, the DLL is not on disk but it's actually loaded into memory as a buffer of bytes. Does anyone know how I can trick LoadLibrary() into using the buffer as a disk file without me having to write the bytes to disk...
Hi all, here's my problem:
I have a Toshiba laptop on which the monitor completely died on me today. I then plugged in an external monitor believing that I would get a mirror of the laptop screen. This works fine until Windows has finished booting up - then the external monitor just turns off...
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.