stripslashes($html)
Type: Posts; User: fastsol1; Keyword(s):
stripslashes($html)
stripslashes()
Even if you bcc the list it will still send 250 emails. The server doesn't care how you are sending them, it still considers each address and email sent to. You server shouldn't spam you if you...
Unless these people all know each other it's a bad idea to bcc a list of people like that. Why can't you just concatenate a string of email addresses with a , between them?
$results =...
Sounds like a good idea, what exactly is the problem you're having? We aren't going to code it for you. Post back with what you're having trouble with.
So I know this isn't really PHP related but since there isn't a server forum on here I guess this will have to do.
So I also don't want to really repost eveything I posted on another forum here ...
You didn't really provide enough info to truly help you, but I am assuming you're using the mail(). So in that case you use , not ;
Check out the php manual for it here -...
The error occurs when you have output to the browser before using the header(). Meaning ANYTHING, including doctype, <html>, etc, that is produced and output to the browser in the source code before...
There are ways around it but the best way is to send the form data to a processing page that does not have any output on it. BUT it's impossible to give any guidance without seeing how your code...
Well first off you're mixing mysql and mysqli in the script you posted. The undefined index will result from the $_POST not having those array items when the script is run.
This should be a simple change.
$sql = "SELECT SUM(`quantity`) as `total` FROM `rb_pallet_record`"; // You really should capitalize the key words in a sql string to make it more readable. Plus...
Should be able to use just a simple ORDER BY in the query. Unless the "Input sizes" is a string of data in a single row in the db. As long as each size is in it's own row in the db then use order...
This is not a php issue, you're asking about javascript. You need to ask in the proper forum.
I have this tutorial on the subject.
http://amecms.com/article/PHP-Force-File-Download-With-File-Whitelist
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...
Well since that topic was made 5 years ago it's a little outdated on php function. I would get rid of this line.
$_POST['comment'] = addslashes($_POST['comment']);
and change the query string to...
did you even read my last post?
This line is a issue.
$sendto = $_POST['email']."\n";
You are using $_GET on all other vars but this one, plus you are adding on the \n which will not be valid for a email address.
Well it's pretty easy, get rid of the mail.php in the form action and it will submit to the page the form is on. Then move all the mail.php code on to the form page. You may want to move some...
I also just figured out how to setup virtual host on my localhost, so that's really cool!
Thanks for all the input. I have taken the time and converted my cms to use / on most links and image paths. It wasn't that terrible to do really. I made a few define() to help, although a couple...
I have thought of your concept to Bev. Am I correct when saying that the / does not work as expected for php with include() and require(), I seem to get a fatal error when using it on a live site. ...
Windows 7 and wamp
I have been looking at that for the last few hours and have tried many times to make it work but with no luck.
So after playing a little, the / method is great for live sites but makes it not work on local host. I have apache setup to read in my D: and then I have each site in a different folder. Browsing...