After fiddling around with 'grub' for linux I appear to have destroyed my XP bootsector, I now get the message:
------------------------
Error 13: Invalid or unsupported executable format
Press any key to continue...
------------------------
even after running 'fixboot' from rescue mode on...
Hi All,
I have a form with two drop down menus, the values of which I want to add into a URL that is loaded in a pop-up window.
Here is the form I am using:
<form>
<select name="quantity">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>...
Hi all,
I am having a problem authenticating against a samba server that hopefully is using winbind to get the usernames and passwords from an NT PDC. I am using samba Version 3.0.0-15 from fedora linux. Here is the output of my testparm:
[root@file2 samba]# testparm
Load smb config files...
Hi,
I have a bit of a problem passing command line stuff to my program in Linux. Here is the program:
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]) {
char string[100];
//here
sscanf(string, "%s", argv[1])...
Hi All,
I have a script located in:
/srv/www/cgi-local
that I want available to all users, it is basically awstats and it shows different statistics depending on the URL that it is accessed with. To achieve this I have this Directory directive:
<Directory "/srv/www/cgi-local">...
Hi,
I have recently started programming c++ (coming from a perl background) and I am having problems interfacing with MySQL databases. I have used the examples in the O'Reilly mySQL/mSQL book, but these don;t compile. Does anyone know of any good tutorials/resources for someone starting c++...
Hello,
I have a problem with LWP::UserAgent. I am running some performance tests on a site that uses SSL. I have Crypt::SSLeay installed and this is pretty much the code fragment I am using to make the requests:
$url = 'https://somedomain.com/some.cgi';
$ua = LWP::UserAgent->new()...
I have a couple of sites that I want to run mainly perl scripts, but also a very few plain .html files. I currently have a ScriptAlias set up so .pl scripts will execute within the cgi-bin directory, but as so many of the pages of the sites are perl I would like perl scripts to be executed...
Hi All,
I guess this affects the FreeBSD port of openssh:
http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=102495293705094&w=2
Can anyone confirm this? Does anyone know where there is an update and is so, where I should be looking for one?
Thanks
Will.
fortytwo
will@hellacool.co.uk
Hi,
I have the following text:
<input name=email value="name@hostname.com" size=50 maxlength=50>
and I want to get the email address out of it into a variable. I am using the following regex:
$text =~ m/.+<input name=email value=\"(.+\@.+\..+)\" size=50...
Hi All,
I hope someone can help. I have a script that gets some pages and it needs to remember the cookies. I have dones this using the cookie jar functionality of the LWP::UserAgent module:
http://search.cpan.org/doc/GAAS/libwww-perl-5.64/lib/LWP/UserAgent.pm
my $ua =...
Hi All,
I am reading the book 'Object Oriented Perl' by Damien Conway at the moment. It is a really good book and I would recommend it to more advanced perl programmers looking to increase their understanding of OO perl (modules and stuff). It is a really good read and is actually quite...
Hi all,
I asked this question in the Linux forum but no-one seems to have an answer so I thought maybe someone here would be able to help.
--------------------------------
At work I have to use an MS box for my desktop for a couple of reasons, the main one being that all mail is handled by an...
Hi all,
I asked this question in the Linux forum but no-one seems to have an answer so I thought maybe someone here would be able to help.
--------------------------------
At work I have to use an MS box for my desktop for a couple of reasons, the main one being that all mail is handled by an...
Hi all,
At work I have to use an MS box for my desktop for a couple of reasons, the main one being that all mail is handled by an exchange server that pushes the mail each users PC in real time. It isn't IMAP or POP as far as I can tell but it acts *like* IMAP in the way it works. Does anyone...
Hi,
I have a program that has six open file handles that I need to make the same regex pattern match on. So to avoid writing the pattern match six times I have a function that does the pattern match, but how do you pass a file handle to a subroutine? Something that would look like this:
sub...
I might need to store about 1500 catalougue records, each with it's own image of about 20 to 30Kb. Would it be possible to store these images in the database or would just storing a URL to them be a better idea. If storing them in the database is the right thing to to, how do you get them into...
Hi all,
I have some code here:
$time = time();
$exp = $time + 60;
$cookie = setcookie("usercookie", "hello", $exp);
that is meant to set a cookie, and it does in netscape 4.8 but it IE doesn't seem to take it (it is not there when I check in the script). Anyone got any...
Hi All,
I am really stuck on this one. I need to set a cookie on one domain that is then readable by a PHP script on another domain.
If I set the cookie from www.verio.co.uk/sub/directory/ like this:
$cookie = setcookie ("verio", value, $exp, "/sub/directory/"...
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.