Hi.
I'm trying to find an compiler that can compile javacode direct to machine code.
I know that programs like javaExegen exists but it requries that the enduser has JVM to.
Does anyone know if there is a way to compile direct to machinelanguage(I'm a Linux user but a Win compiler will do in...
Hi
I'm using access_db in /etc/mail/ to block spammail
The problem is the list just grows and grows beacuse I must block adresses like
mx.1.teen-1mail.com 550 No f**** spam allowed
mx.1.teen-2mail.com 550 No f**** spam allowed
mx.1.teen-3mail.com 550 No f**** spam allowed...
Hi, I'm trying to write an Online Firewall creator but I have one problem.
This will fix Masq and Forwarding
echo '1'> /proc/sys/net/ipv4/ip_forward
/sbin/iptables --table nat --append POSTROUTING -o eth1 -j MASQUERADE
/sbin/iptables --append FORWARD --in-interface eth0 -j ACCEPT
But problem...
Hi
I'm running my own mailserver with sendmail.
I'm looking for a free email virus scanner that can work together with sendmail.
A scanner that will erase all mailviruses before the user dowloads it.
//Thanks
Hi
I'm a perl programer but I want to try out some C now.
Look at this simple exampel in perl
It will replace all h with H
$tmp = "hello out there";
$tmp = ~s/h/H/g;
output: Hello out tHere
How can I do this in C. I just searched the forum but I can't find anything about this.
Is...
Hi.
I'm new to C and I have a little problem.
I want to take an argv from the command line , (running Linux) and then take the argv and use it in an file movment.
The code looks like this
main (int argc, char *argv[])
file = (mv argv[1] -> newfile.txt)
The last line is the problem.
I don't...
Hi, I'm writing an simple chat in PHP.
But I have a little problem, I don't know how to add some text to the topp of a text file.
To the end of the file is easy but how can I add some text to the top ??
Thanks
Hi
I'm trying to install apache with PHP and SSL
It works fine with apache and PHP or apache with SSL
But I don't know how to install all, apache,PHP and SSL
I have been searching for some docs but I cant't find anything.
Maybee someone can help me.
Thanks
This is how I install apache with...
Hi, I'm new to C and I have a little problem with scanf funktion.
It seems that I only can get everything before a spece(if if exist) and the text after it.
eg
char text[30];
printf ("Enter some text");
scanf("%s", &text);
printf("\nYou wrote %s\n", text);
If I...
Hi.
I'm running PHP 4.2.0 at home and I have safe_mode on.
This works fine but I really need to set the operator backticks (``) on again , I need it in some of my scripts
Does anyone knows if I can turn backticks on again ??
Thanks
*//Fredrik
Hi.
I need help with this little problem, I'm running it on a Linux box.
Lets say a have a textfile that looks like
1
2
3
4
5
6
7
8
what I want to do is search for line 5 and then a something between line 5 and 6
Like sed 's/5/\nSometext/g file.txt
and then the output will look like
1
2
3...
Hi.
I'm using a php upload script and it works fine(99%) anyway.
The problem is that I can upload files with spaces like
aa bb.jpg or something.
This is the code I'm using, maybee anyone knows what the problem is ?
snip ---
if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {...
Hi.
I have a little problem, I can't store the systemcommand to an variable.
Let say this perl script
#!/usr/bin/perl
$tmp = system ("ls");
print "The dir stuff is $tmp";
This script will first show the output from the $tmp = system ("ls"); line and then...
Hi.
Maybe someone can help me with this problem.
Let say I want to run the command cat test.txt grep -v
and then I want to get the rest of the command from some textfile.
I tried
cat test.txt grep -v < textfile.txt
and there are many lines in the textfile
that looks like this
192.168.0.1...
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.