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 gmmastros 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: *

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

    Hi All, I have a script located

    That would mean using the same .htaccess and .htpasswd file for every user which I want to avoid. The /stats directory is in every users account, the /stats/statistics directory is shared between all of the virtualhosts. Will. will@hellacool.co.uk http://home.hellacool.co.uk/
  17. 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;>...
  18. fortytwo

    Perl and the internet.

    Yes to all of your questions. Have a look at the LWP and LWP::Simple perl modules (http://search.cpan.org) and maybe the Perl and LWP book: http://www.oreilly.com/catalog/perllwp/ It is possibe to respond to perl programs on the command line, but I have never written one of these myself so I...
  19. fortytwo

    MySQL error message

    Well, it means that there is nothing wrong with MySQL. If you are not confident on the command line the try installing phpMyAdmin, it is a great tool to use with myswl. Will. will@hellacool.co.uk http://home.hellacool.co.uk/
  20. fortytwo

    MySQL error message

    try the command: mysql -u root on the copmmand line. will@hellacool.co.uk http://home.hellacool.co.uk/

Part and Inventory Search

Back
Top