Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fortytwo
  • Content: Threads
  • Order by date
  1. fortytwo

    XP fails to boot

    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...
  2. fortytwo

    Generating a dynamic URL from form fields

    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>...
  3. fortytwo

    Domain authentication problem with samba Version 3.0.0-15

    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...
  4. fortytwo

    argv and sscanf problem

    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, &quot;%s&quot;, argv[1])...
  5. fortytwo

    Hi All, I have a script located

    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 &quot;/srv/www/cgi-local&quot;>...
  6. fortytwo

    accepting arguments on as a CGI

    Hi, I have the following really simple code: #include <iostream.h> int main(int argc, char * argv[]) { int count; cout << &quot;Content-type: text/plain&quot; << endl << endl; for (count = 0; count <= (argc - 1); count++) { cout << argv[count] << endl...
  7. fortytwo

    c++ / MySQL programming resources

    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++...
  8. fortytwo

    LWP::UserAgent SSL problem

    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()...
  9. fortytwo

    execute perl scripts outside cgi-bin

    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...
  10. fortytwo

    OpenSSH hole

    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
  11. fortytwo

    Pattern matching

    Hi, I have the following text: <input name=email value=&quot;name@hostname.com&quot; 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=\&quot;(.+\@.+\..+)\&quot; size=50...
  12. fortytwo

    Cookies and LWP::UserAgent

    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 =...
  13. fortytwo

    Review: Object Oriented Perl - Damien Conway

    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...
  14. fortytwo

    Collecting mail from an MS exchange server

    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...
  15. fortytwo

    Collecting mail from an MS exchange server

    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...
  16. fortytwo

    Retrieving mail from MS exchange

    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...
  17. fortytwo

    passing file handles to subroutines

    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...
  18. fortytwo

    Storing pictures in MySQL

    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...
  19. fortytwo

    cookies don't work in IE

    Hi all, I have some code here: $time = time(); $exp = $time + 60; $cookie = setcookie(&quot;usercookie&quot;, &quot;hello&quot;, $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...
  20. fortytwo

    passing cookies from one domain to the other

    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 (&quot;verio&quot;, value, $exp, &quot;/sub/directory/&quot...

Part and Inventory Search

Back
Top