-
Posts
827 -
Joined
-
Last visited
-
Days Won
9
Everything posted by fastsol
-
Ok geeez I get it Honestly I have built plenty of websites that have contact forms and have never received any string of text from the name field other than normal letters. By using a captcha I find that when you do get a fake email you can tell it was someone that was just copy pasting in things and you can verify quickly to discard it. Just my 2 cents.
-
Why are you trying to limit the users ability to type their name. Names can have lots of different symbols and spaces. There is no need to filter a name other than maybe length so that it fits in your db. Just sanitize the data before putting it in a query. For the phone number, here is a better preg_match preg_match('/^[2-9]{1}[0-9]{2}-[0-9]{3}-[0-9]{4}$/', $str)
-
You would need to either use php to process it or you can use ajax to send it without refreshing. Here is a tutorial on the ajax method that works really slick. http://www.youtube.com/watch?v=GrycH6F-ksY
-
It's called pagination. http://www.youtube.com/watch?v=v0QWEmduptY
-
Unless you have a huge amount of traffic, plus large image files you'll never come close to the 30GB limit. The stats you gave on your files are tiny and will take a ton to fill even 1GB. Sites that get tens of thousands of page views a month would benefit from multiple sever locations, otherwise it's a waste of time and money to even mes with it.
-
Thanks for all the input and examples. I have implemented a db que system to gather the list of people to email. Then another script that sends the emails in chunks of 20 per day, which is all I really need after narrowing down how and what I am actually trying to achieve. Thanks again, JD
-
After thinking about it some more, I think I will que the emails in the db and then run the send script a few times during the day in smaller amounts of emails to send. What's it matter how often it runs anyway since the cron is doing it for me.
-
I have a fully dedicated server that I run the site from running WHM and cPanel. So I could probably modify whatever to make this work, but I haven't ever tried to run a script with that much processing before.
-
I want to run a cron job that will be sending out up to 100 or so emails at one time based on info gathered from the database. I am wondering if I will need to ini_set a higher script execution time limit to make sure all the emails are sent.
-
Since you didn't provide more of the code I am taking a guess at this but are you sure you closed the <select> tag after the <option>s.
-
You have an extra ` here `pass` = :pass` WHERE in the update query string.
-
I wasn't sure what section to put this in. I have recently setup a cloud server and have tweaked many of the email sending aspects so that delivery of said emails gets to the inbox of the recipient. According to eveything I have read I have everything setup right. I have a fresh whitelisted IP, spf, dkim, reverse dns, dmarc for alignment and sender id. Now even with all those things showing correctly in the email headers many emails still go to spam boxes, expecially on like hotmail, aol, outlook and live accounts. I am in need of someone that knows a crap load about this stuff that could hopefully tell me what I am doing wrong or what else I am missing. I can provide examples of the email headers. I have heard that new email addresses that are introduced to the web take time to become trusted and maybe that's the problem. I don't know if I want to pay lots of $$ each month to "wait and see" if things start to filter through to inboxes. Please help in any way, I will take any advice and research it.
- 1 reply
-
- email authentication
- dkim
-
(and 2 more)
Tagged with:
-
I'm not exactly sure if this is the right forum area for this. I am looking for anyone that has successfully setup and messed with the newer v3 versions of the google calendar api or really any of the new v3 api's. I have been fighting for days now to get it to work and all I ever get is a 403 error message of Access Not Configured. I have looked at every forum post on the subject, any tutorials I can find and any documentation from google (poorly written at best). If you have any experience with this please let me know. I would be greatly appreciative.
-
If the link is not clickable and the cursor doesn't change when you hove the link then you might have another div that is overlapping the link and putting it to the back in the stacking order. Just a thought.
-
Couple things wrong in the query string. This part - '".$firstname/$lastname."', '".$day/$month/$year."', is trying to divide the vars, not put them in the way you are wanting. Second you have a stray " after the ) for the VALUES portion.
-
How to validate contact form using java script?
fastsol replied to MathiVel's topic in Javascript Help
I distribute a contact form with jquery, ajax and php validation methods along with HTML5 attributes for certain browser validation. You can take some clues from it if you want, or use it if you also want. http://amecms.com/article/Easy-to-use-contact-form-with-validation -
How do you send a bad email, and how do you get the info back.
fastsol replied to njdubois's topic in Applications
Your should be using a php mail library to ensure all the proper headers and other important things are being sent. I ran into a similar issue with my website and once I started unsing the phpmailer library I was getting almost 100% success rate on delivery. -
Are you trying to do this without a page refresh? If so you will need to use ajax. Check out this tutorial I have, it has a bit more than what you are asking about but it uses the methods you will need to do it. http://amecms.com/article/Building-Chained-Select-Boxes-with-Jquery-and-PHP
-
Sure, why not. Just set the action of the form to the php page.
-
You could add a height dimension to a wrapper div once a button is clicked using jquery.
-
If you can do PHP you can do jquery, it has similar syntax. The only thing you need to be able to use jquery is a link in your <head> to the jquery library file like I have in the tutorial. You can certainly do this without jquery, but why, jquery makes life so much easier and it's still just javascript like it would be without using jquery. You can't make php run your myFunction(). The only way to do this without a page refresh is with ajax which jquery has easy functions for. I don't think you will find anyone to build this for you, so your going to have to try some things and post back with any issues you are having. The tutorial is very simple and commented well, just strip it down to what you need and go from there. At that point google some things on how to do the rest, it's really not hard. I was scared of javascript/jquery for a long time until I actually tried it and found it to be so easy it was crazy. My 2 cents worth, good luck.
-
Not reliably, most modern browsers have other means besides right-click to view the source also, so you can override that aspect at all. There are ways to modify the right-click menu or disable right-click on the webpage but it's not a universal thing you can consistently control. If the use simply disabled javascript your attempts to disable would be disabled itself.
-
Here is a tutorial I have that will give you the basic idea of how to use the ajax thing and populate the select box. You will need to do some modification of the tutorial to work with the input textbox rather than only select boxes. The one issue that you will have to decide on is when to actually populate the select box, meaning do you do it with every keypress in the textbox or only after so many characters or on focus out, etc. A select box is a simple thing cause you know for sure when they have selected something cause the value changes when onclick on a item, but a textbox is always changing as you type and you don't really know when they are done typing. http://amecms.com/article/Building-Chained-Select-Boxes-with-Jquery-and-PHP
-
Uploadify.com
-
sticky dropdown menu for dates; from today to minus 14 days
fastsol replied to edfou's topic in PHP Coding Help
This tutorial will explain how to do this http://amecms.com/article/Retaining-Drop-down-Selection-After-Form-Submit