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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by fortytwo

  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

    Doh, I copied and pasted the wrong error. This is the error I get: [root@poop root]# mount -tsmbfs -ousername=administrator,password=hellfire,uid=will,gid=will,workgroup=LINGUAPHONE //file2/DEIntranet /home/will/smb/de 16035: tree connect failed: ERRDOS - ERRnoaccess (Access denied.) SMB...
  4. fortytwo

    Domain authentication problem with samba Version 3.0.0-15

    I was under the impression that this was a share definition: [DEIntranet] comment = DirectEnglish Intranet path = /shares/directenglish valid users = @DirectEnglish read only = No Correct me if I am wrong. Will. will@hellacool.co.uk http://home.hellacool.co.uk/
  5. 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...
  6. fortytwo

    question about cgi

    Well, you could try using something like Mail::Mailer to send the details: http://search.cpan.org/~markov/MailTools-1.60/Mail/Mailer.pm although somethimes there is no need to re-invent the wheel, the nms-cgi formmail is very good: http://nms-cgi.sourceforge.net/ Will. will@hellacool.co.uk...
  7. fortytwo

    argv and sscanf problem

    Thanks everyone, I had the arguments to sscanf wrong, this is correct: sscanf(argv[1],&quot;%s&quot;,string); I was pulling my hair out ;) Not homework though, writing a simple program to help decrypt ceasar ciphers just for fun. Will. will@hellacool.co.uk http://home.hellacool.co.uk/
  8. 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])...
  9. fortytwo

    Simple file test question

    Try this: #!/usr/bin/perl -w use strict; my $compare_size = $ARGV[0]; my $file_size; my $file = &quot;./test.pl&quot...
  10. fortytwo

    l&gt; showing up on pages after mod_perl running for a while.

    Could be. Try running apache with the X flag (I think) when debugging mod_perl problems: # httpd -X it should only start up 1 process and will make debugging easier. Will. will@hellacool.co.uk http://home.hellacool.co.uk/
  11. fortytwo

    How do I push a lines value into the first position of an array?

    Mornin' all, If the file is a CSV file then you will need to watch out for newlines embedded in the data. If the input record seperator is a newline and you aren't checking for newlines embedded in the data then you are going to get corrupted data. So there. Hello Barbie, I don't know you...
  12. fortytwo

    Hi All, I have a script located

    It works if I put the scriptalias back in for /stats/statistics/, but then the authentication doesn't work. will@hellacool.co.uk http://home.hellacool.co.uk/
  13. fortytwo

    Hi All, I have a script located

    Yep, that is what I tried first (see the first post). It worked fine except the authentication didn't seem to work at all. Will. will@hellacool.co.uk http://home.hellacool.co.uk/
  14. fortytwo

    Hi All, I have a script located

    OK, I don't think you completely understand the problem. Apache finds the script fine if I don't reference it in the URL. If I go to: http://somefakedomain.com/stats/statistics/ or: http://someotherdomain.com/stats/statistics/ it executes the script, but if I go to...
  15. fortytwo

    Hi All, I have a script located

    Yep, paths to the .htaccess/.htpasswd files are fine. I have tried to get the system working with the previous config (see my first post in the thread for details). I am trying a different approach. I have given every virtualhost a statistics directory inside their /stats directory...

Part and Inventory Search

Back
Top