Hi i've got this bit of code that looks for the ' and adds \ infront of it where needs be when inserting into the database. I've used this bit of code loads in the past, however on this server i'm hosting this site with i get this error
ERROR 1064: You have an error in your SQL syntax. Check...
Ok here goes :)
Ive got a server which used to run redhat 7.2 but it got mashed by a worm and now I cant login to it. It still boots but its riddled with problems after our little vistor so im going to rebuild it. Im going to use this rebuild as an opportunity to upgrade so Ive installed RH7.3...
Hey guys,
I hope this is any easy one...
How do I configue sendmail to receive email to username@domain1.com and when it receives it redirect it to username@domain2.com and then resend it?
At the moment Im redirecting in the virtusertable and I thought I could just try:
@domain1.com...
Hey guys, sometimes one of our users will ring us and say his or her mailbox is locked, sure enough when we run a "PS -AUX" we can see that there is a process open with a PID which their username is holding. Most of the time when I "KILL PID" it stops the process and the...
How do I know if my SCSI drive is OK sat on my ISA SCSI card? Is there something I need to be seeing when the system boots? My SCSI card has jumpers to set the IO/IRQ and I dont know if Im getting resource conflicts or anything. The system is booting fine.
Thanks guys :)
Is there an easy explanation as to why our Sendmail takes about 15 attempts to stop it? We're on RedHat 6.2 and only have about 70 virtual hosts on that machines. When we want to restart it we have to issue ./sendmail stop about 10 - 20 times before it stops.
Any ideas anyone?
Hi all.
Im writing an ISP automation package that controls all aspect of being an ISP. Ive just hit a small problem that someone might be able to help me with :)
Im looking for some examples of perl scripts that use the "passwd" function to change a users password. I want to run a...
Hi all,
I constantly get users ringing us asking us to delete the contents of their POP3 mailbox. The only way I know how to do this at this time is to go into /var/spool/mail and open the file that coresponds to their POP3 account and delete all the lines except the top section. This works...
Hi all,
I read a few threads on this subject a few weeks ago. Can anyone answer this one for me?
Im would like to use this tar commmand:
tar -cplzf backup.tar.gz . --exclude backup.tar.gz
to backup my box but am I correct in understanding that it will only backup the "/" partition...
Hi all,
At the moment in my hosts.allow file (REDHAT 6.2) Im using straight forward direct addressing i.e.
in.ftpd 192.168.3. 192.168.2.5 etc...
by typing in the whole ip address some octets to represent wildcards.
Im not too familiar with the formal IP notation where an IP range can be...
Hi all,
At the moment in my hosts.allow file (REDHAT 6.2) Im using straight forward direct addressing i.e.
in.ftpd 192.168.3. 192.168.2.5 etc...
by typing in the whole ip address some octets to represent wildcards.
Im not too familiar with the formal IP notation where an IP range can be...
Hi all
Ive got so much email coming in and out of my server now my /var volume is running out of drive space which is halting a handfull of services.
Is it possible to put in a second disk and extend the /var partition so I can give it more space. Or would it be more sensible to make...
Sorry for the second post but I wanted to ask my question a little clearer.
I have a mysql table of mp3s and i would like to count the downloads of each mp3. I dont want to increment the counter until the link to the file is actually clicked like the onClick event handler in JavaScript.
Any...
Hi all,
I want to be able to count downloads of files. Ideally Id love to be able to type <a href=# onClick="counter()" where counter is a php function, but obviously i cant.
Can anyone think of a workaround for this alogrithm ( I know the code is wrong its the problem im trying...
Hi there, heres a good one for you all :)
Ive got an Internet server on a leased line with a static public class c IP address. This is my PDC and on here I run Proxy v2 (with packet filtering enabled) for my internal LAN.
Ive installed Terminal Server on a new PC on the same class c subnet...
Has anyone managed to get the Colorado T3000 floppy Travan drive working with Taper?
When I run taper it cant find the drive :( Im not sure if its me configuring and mounting the device incorrectly, or the drive isnt supported
Any ideas?
Thanks in advance.
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.