Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-05-2010, 11:27 AM
leon2ky is offline leon2ky
Registered User

Join Date: Aug 2010
Posts: 2

phMailer Removing "=" signs.

Hey I've modified the script to include a http:// url but it removes the "=" signs. I can't seem to figure out how to keep it from removing them.

Here's the code I've added:

PHP Code:
if (!empty($year) && !empty($bar)) {
    
$foolink "$year Bar #$bar: http://foobar.com/foo.php?y=$year&b=$bar <br />\n";

PHP Code:
if (!empty($foolink)) {
    
$message .= $foolink;
}
$message.=clean_msg(nl2br(strip_tags($yourmessage))); 
What it'll put in the e-mail is:
http://foobar.com/foo.php?y 2010&b1

I've also been having issues with spam messages being sent from the form.

Any help for that as well?
Reply With Quote
  #2  
Old 08-05-2010, 11:50 AM
leon2ky is offline leon2ky
Registered User

Join Date: Aug 2010
Posts: 2

Actually I managed to fix it myself by adding this line:
PHP Code:
$message str_replace("=""=3D"$message); 
Still, any suggestions for the spam?
Reply With Quote
  #3  
Old 08-05-2010, 02:29 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

Thanks for the tip on the = sign. As for spam, your best bet is to use reCaptcha.. Even though it won't solve it completely. For a good tutorial on how to integrate it into a script see this:

http://code.google.com/apis/recaptcha/docs/php.html
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"LIVE FREE or DIE HARD" coming soon 6/27/07 Hellfighter General Chat 3 06-13-2007 11:54 AM
[totally-Free] "Microsoft Office Accounting Express 2007" U.S.A only Hellfighter Hardware and Software 2 05-02-2007 07:29 PM
removing "slice" thing .ex. Sigs and Graphics 15 04-17-2005 11:12 AM
DF: LW server coming back online "Graveyard" Hellfighter News 13 08-28-2003 09:57 PM
"pogostick" "jump-gunning" GravyFace_BMF General Chat 11 11-16-2002 05:13 PM


All times are GMT -5. The time now is 03:16 AM.




Powered by vBulletin®