-
Posts
824 -
Joined
-
Last visited
Everything posted by carbonize
-
A basic and quick generic form mailer. It just goes through all the submitted inputs and sends them in the form of inputname = inputvalue. You'd just usephp include to put the form where you want it and edit the obvious form in the script to however you want the form. ><?php $messagesubject = 'Submitted Form'; //Subject for emails $messageto = 'you@******'; // Where to send the emails to $messagefrom = 'rom@******'; // address you want the emailsto be from $successmess = '<b>Thank you for your input</b>'; //Message to say thanks. $errormess = '<b>There was a problem submitting your form</b>'; // Message for when there is an error in sending if (isset($_POST)) { $messagebody = ''; while (list($name, $value) = each($_POST)) { $messagebody .= $name.' = '.$value."\n"; } if(@mail($messageto, $messagesubject, $messagebody, 'From: '.$messagefrom)) { echo ($successmess); } else { echo ($errormess); } } else { echo (' <form action="'.$_SERVER['PHP_SELF'].'" method="post"> <input type="text" name="input1"> <input type="submit"> </form> '); } ?> I could do one for you that checks the inputs but I would need to know the inputs you need and what is expected for each input.
-
I just like to make things for practise. It's always a good form of practise to make stuff based upon others specifications as then you have rules and guidelines to stick to.
-
What do you want the scrpt to do. Is it a feedback form that just takes the results of a form and emails them to you?
-
If all you are after is a script that takes an email address and message froma form then send it to your it would be easier, and more secure, to just write your own. If all yo uwant is something that simple email me with the requirments and I'll throw something together.
-
I stopped paying attention to referers that much due to the fact that spammers are sending fake referers in requests to sites in the hope that the site is showing a list of referers somewhere.
-
scrolling="yes" works fine for me.
-
As was stated IPB is now a pay for script. The version this forum uses is a commercial version. phpBB Olympus, the next major release, has some major updates. It's all a matter of personal choice. I'd say pick one and stick with it.
-
I have used IPB, phpBB and Phorum. IPB is mainly aimed at sites where the forum is extremely busy and usualy the main focus of the site. phpBB currently has less admin features (although the next milestone changes that) but is still as powerful. I chose phpBB over IPB for my main forum as IPB has so many options I felt it could confuse some people. I use Phorum on the site I made for my guestbook script as it is smaller and faster. All forums have mods available for them and all aer easy to install. They all also have good tech support, usually in the form of their own forums, although I'd expect the pay for forums to give you one on one support. As for cost phpBB and Phorum are both free. IPB 1.3.1 was the last free version they released. As for other pay for forums you have vBulletin and ikonboard, but as with IPB I find these are bloated with features.
-
Yes and No. You can set it to sit on the bottom and to stay there but unfortunately Internet Explorer's pathetic CSS 2 support means it will not work on IE (if I remember correctly). You could do it with Javascript.
-
There are nix based viruses. The reason there are so few is because virus writers want attention and publicity and they wont get that by only infecting the very very small percentage of PC's that run a non windows OS.
-
Curious as to why you chose PHPlist. I recently added a mailing list to my guestbooks site and looked at many (didn't come across PHPlist though) so I am curious as to if you tried other scripts befoer settling on PHPlist? I ended up settling for Dada as I used it for a client a while back when it was still Mojo mail.
-
Just off the top of my head you could just do a replace on the string. (Sorry if this got mentioned before but I only scanned the thread). >function generate_map($str) { $str = str_replace('x', '<td class="g1"> </td>', $str); $str = str_replace('T', '<td class="g2"> </td>', $str); $str = str_replace('L', '<td class="w1"> </td>', $str); $str = str_replace("\n", "</tr>\n<tr>\n", $str); return $str; } Or use preg_replace. Could even make an array of each letter and what it represents then use a foreach loop. >$tiles = array('x' => '<td class="g1"> </td>', 'T' => '<td class="g2"> </td>', '\n' => '</tr>\n<tr>\n'); foreach ($tiles as $key => $value) { str_replace($key, $value, $mapstring); }
-
Since you have the menu in a div why not just set the div's width as 100% (to be safe though as browsers tend to set divs to this anyway) and use text-align: center;
-
I currently use Avast. I used to use Norton but it has become to bloated in recent years. I tried AVG but it failed some tests I ran on it. I used NOD32 for a while and it was probably the best I have used but when I got a new PC I thought I'd try Avast and it's still there.
-
I use PSPad as it can run from my USB stick. built in FTP client, syntax highlightinh, auto completion, support fror Unix, Mac and windows line breaks, HTML tidy and a lot more.
-
I have seen some email harvesters that look for @ and &64; so converting your email address into ascii is only going to prevent some spam. The other thing is to not use info@, sales@ 1@ as spammers tend to send to these addresses regardless of whether or not they are listed anywhere.
-
Couldn't see any problems when I looked but then I'm in work using IE 5.5 and it's rendering is bizarre sometimes.
-
I hate to sound nasty but it sounds like they have tried to run before learning to walk. You should learn more about the basics of PHP (includes, variables, GPC etc) before starting on MySQL. A good solid base is a must for anything.
-
I use good old Outlook Express. I like Thunderbird but as this is a shared computer and my girlfriend prefers OE I'll use it. I have used pretty much every client out there. I like the bats templates for replies etc. I loved Thunderbird but it offers me nothing (apart from better security) that OE does not as my spam filtering is done by a third party app (Spamihilator). I notice you have forgotten to put Opera and Mozilla in your list nor an option for Other
-
return path is really only needed if you want replies to go to an address other than the from address.
-
Given that the awstats in cPanel requires you to login to view it it should not be exploitable. If you installed awstats yourself use .htpasswd to protect it.
-
Or put simply and using less code >mail(wheretosendemail, emailssubject, emailsmessage, headers) In the headers put From: "YOUR NAME" <youremailaddress> You don't have to put your name in quotes I just do it out of habit. eg >mail('nobody@here.com', 'Just Hello', 'Just an email to say hello', 'From: "carbonize" <webmaster@carbonize.co.uk>');
-
I just use Spywareblaster and a good hosts file. I also scan about once a month with Ad Aware but it never finds anything as thanks to the first two items spyware never makes it onto my system.
-
If you use POP to access your email i can recommend Spamhilator. I have been using it for about a year now with what I'd say was a 99% success rate. It has a lot of nice plugins as well to increase it's efficiency.
-
Yes I get about two a day, sometimes mulitple copies of the same email. Funny that they never answer the emails I send them asking why they still live in said country when it must be a dangerous place to live given how many people die there. I also ask them why are so many people there poor when there are all these millions floating around unclaimed as the owners are dead. There is a website dedicated to getting revenge on these people and in some cases money from them. You reply to them claiming to be willing to help then explain how your religion forbids you from taking money from people not of your religion. Then you ask them to convert and take pictures of them with a fish on their head to prove it. Personally I just report them to both the ISP they sent it from and the free email provider they always use to receive the emails sent back.
