...$ext = substr(strrchr($image['name'], "."), 1);
// generate a random new file name to avoid name conflict
$imagePath = md5(rand() * time()) . ".$ext";
$size = getimagesize($image['tmp_name']);
if ($size[0] > 75) {
$imagePath = createThumbnail($image['tmp_name']...
Nothing at all in the sendmail logs :( so no help there. I have submitted a support request to our hosters to see if they can see what is wrong with that email address and to check on all the other addresses on our domain as well.
Thank you so much for all your assistance on this. I will...
Ok now this is a bit strange :). I can send emails to the liz@test.com.au address quite happily and they are received. If I do it with the forms I dont get them.
I have changed the email addresses on the registration stuff and all is working fine. Just the liz@test.com.au one not working...
ok well I got the mail submitted to sendmail proc message but thus far havent had the email.
I am just testing some other stuff to see whether any emails at all are coming into that address.
In between eating dinner as well :)
...registration page is as follows (dont ask me why as I didnt write it).
<?php
if ( $_POST['newregister'] ) {
$today = date("d.m.y");
// *************************
// Random Password Generator
// *************************
$totalChar = 7; // number of chars in the password...
Ok done that! Now what?
Actually thinking about it we know the email system is a happy bunny because my registration page is working fine and sending out emails as it should.
Thanks very much for that jpadie. Unfortunately, just the same as before works on my test system (ie my laptop running iis!) but as soon as I upload it to the hosters the emails dont come through. It all appears to work ok and redirects ok to the thank you page but the email never gets sent...
Emails from other forms are working fine. This happened after I loaded the form up to my host site. Its only the contact form which has been having the problem.
arrrrgh spoke to soon! lol not getting the error anymore but the contact form is not sending emails either.
any more suggestions? Or do I say stuff it and start the grand rewrite!
definitely considering changing hosts - we have been having problems with them for a while now - unfortunately this isnt my decision to make but will certainly talk to the boss about it.
So if I put the ob start on the 1st line of the index.php do I need to put a ob end at the end of the php in...
lol I asked whether I could upload my own php ini file as they have register globals switched on and other nice little security holes but was told in no uncertain terms that they would not allow this and it would in itself constitute a security risk!!
You are right in that I am including the...
Thanks for the reply - trouble is yes there is likely configuration differences between the two machines as we host our website with our ISP (we dont have our own webserver). So cant change the configuration at that end unfortunately. lol not that I would necessarily want output buffering on...
Please can somebody help me with this problem. I have had to upload my website again after some problems on the host server. Having done all that I now find that my contact form does not work anymore. I get the following error.
Warning: Cannot modify header information - headers already sent...
Brilliant OK, thats sounds as though its going to be a bit more secure.
Presumably I should validate all my variables throughout the site as well - due to the fact that the hosters have global variables switched on.
I have just been going through the rest of the site and notice that there...
Hi there.
Hope someone can help a complete php newbie.
currently our website has the following code. Very simple and I believe pretty insecure. (our hosters have register globals on).
<?php
$view = $_GET['view'];
?>
then
<?php include ("$view.php"); ?>
then in the links section of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.