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 Chriss Miller 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. danielhozac

    Closing sockets in forked process

    I am currently working a server which forks processes to handle incoming connections. However, since the sockets are accepted in the main server loop, I can't seem to close it in the child. I thought that I could handle it in a signal handler, but since the file which does the forking is built...
  2. danielhozac

    Hash tables

    Does anyone know of a free C library that provides hash table functionality? Or perhaps a good reference page so I could learn how to write it myself... By the way, I'm using Linux. //Daniel
  3. danielhozac

    Sharing a printer

    I got the following setup: 192.168.1.1 Router 192.168.1.2 RedHat 8 server with a HP DeskJet connected to the parallel port. 192.168.1.3 RedHat 8/Windows 2000 dualboot client 192.168.1.4 RedHat 8/Windows 2000 dualboot client 192.168.1.5 Windows 2000 client I got Samba setup and working on...
  4. danielhozac

    Problem resolving hostnames in GNOME 2on RedHat 8

    I just now installed RedHat 8 on my laptop. I booted it up and everything seemed to be fine. Until I tried to access the internet. I am unable to resolve hostnames, I have checked the /etc/resolv.conf and several other files and tried used the GNOME tool to set it up. But to no avail. I...
  5. danielhozac

    GDM problem

    I recently moved my computer a feet or two, and when I first started it again, it couldn't find my network card. I then rebooted and it could now find it. Everything was fine until it started GDM. I then got a bunch of errors saying that I had no Sessions folder or no sessions in it. I then ran...
  6. danielhozac

    GDM problem

    I recently moved my computer a feet or two, and when I first started it again, it couldn't find my network card. I then rebooted and it could now find it. Everything was fine until it started GDM. I then got a bunch of errors saying that I had no Sessions folder or no sessions in it. I then ran...
  7. danielhozac

    Problem with starting GNOME in RedHat 7.3

    This problem started occuring after a reboot using the ctrlaltdel program. When the computer started after that, GNOME no longer starts when I login with a GNOME-session. If I choose a failsafe-session, I can start the panel, desktop and other programs manually, but this isn't really a good...
  8. danielhozac

    CGI applications written in C not working

    What could possibly be the cause of this? I wrote a very easy application that just prints Content-type: text/html\n\nHello world. But when I try to access it, I get a Internal server error message. This is what my error log says [Thu Apr 11 00:31:01 2002] [error] (8)Exec format error: exec of...
  9. danielhozac

    ERROR 1036: Table '...' is read only

    What does this mean? I am logged in as root and can't insert anything to any of my tables. I chmod'ed all the files to 777, yet it's not working. I know this question has been answered before and never been answered, but I think that someone might now. TIA //Daniel
  10. danielhozac

    Problem with PHP 4.1.1 on Win32 and file uploads

    Is there a problem with file uploads in PHP 4.1.1 for Windows? I tried this script (copied from php.net) <?php if (is_uploaded_file($_FILES['userfile'])) { if (copy($_FILES['userfile']['tmp_name'], &quot;./uploads/&quot;)) echo &quot;Upload successful.&quot;; } ?> <form...
  11. danielhozac

    Problem with Image functions

    I'm using the PHP 4.0.6 binary distribution for windows and whenever I try to use a Image function. Isn't the image functions a part of that distribution? //Daniel
  12. danielhozac

    Perl including output of a PHP script?

    I need to know how I could include the output of a PHP script in my Perl scripts. Anyone know how to do this? //Daniel
  13. danielhozac

    Perl scripts doesn't work

    I don't know if this is an Apache problem or a Perl problem, but all of a sudden my perl scripts doesn't work. As soon as I try to execute a perl script via Apache, I get the following error: [Tue Dec 04 19:21:32 2001] [error] [client xxx.xxx.xxx.xxx] (2)No such file or directory: couldn't spawn...
  14. danielhozac

    Opposite of ¦ in regex?

    What is the opposite of | in parantheses in a regular expression? Is there even an opposite? //Daniel
  15. danielhozac

    Convert first character to uppercase?

    How do I convert the first character in a string to uppercase? //Daniel
  16. danielhozac

    How to remove HTML tags?

    What I'm trying to do is to get rid of the tag, the whole tag, but the code I'm using obviously doesn't quite work. It removes everything between the start and the end tag, which isn't what I want. This is what I have: s/\<(\w|(\w\s\w=\&quot;\w(\/|.html)\&quot;)))\>//gi; As you probably notice...
  17. danielhozac

    Regex problem

    When I try to use this regular expression $myline =~ s/\<\/?*\>//gi; apache gives me this error [Sat Dec 01 12:22:20 2001] [error] [client ***.***.***.***] Nested quantifiers before HERE mark in regex m/</?* << HERE >/ at /websites/script.pl line 44. What is the problem? //Daniel
  18. danielhozac

    Script executing slow

    What could be the cause for a perl script to execute slow? At first I thought it was the loops, but I tried to comment out the loops and it was still slow. What could it be? //Daniel
  19. danielhozac

    localhost not working

    i'm just trying my website on my computer, and i want to use localhost. that way i can keep it offline, i thought. but when i type in my ip in the address bar, i still get to my site, and it is accessable to others too. can i prevent that from happening? //Daniel
  20. danielhozac

    Mail for windows

    I'm using ActivePerl on a Windows 98 system, and since sendmail wont work, I'm wondering if there is any alternative for windows. //Daniel

Part and Inventory Search

Back
Top