PHP Form structure

I tried to. It still flashes rapidly. I’m refreshing over and over just to catch what it says…

It says:

notice:undefined variable in C:wamp/…/line149

Also, on the page is a block - screenshot attached.


Uploaded file if anyone wants to open it locally…

Again, thanks for any help.


contact.txt (16.7 KB)

So good news everyone. I’ve finally got it working.

If you can believe it, it was this pc of code just above the mail code causing the problems.

[php]if ($server[“REQUEST_METHOD”] == “post” & !isset($error)){[/php]

The undefined variable was $server - it should have been $_server…

nice, changed when i copied and pasted from one of your posts :slight_smile:
glad you got it working.

Thanks [member=32030]lothop[/member]. I was going insane…literally.

FYI, sentinelsolar.com has several security vulnerabilities.

In terms of the contact forms? I’m rebuilding the site right now with only 2 formforms, of which I have been posting on here about. I have them working properly. Im going live on Monday. Sentinelsolar.Com was spammed hard.

What other vulnerabilities do you see.

Since I own a cyber security company I can only go as far as telling you there are holes in the perimeter. I would be happy to demonstrate one of the exploits at no charge as long as you can show you would be authorized to see it. Anything more than that, I would have to be hired as a consultant. You can PM me whatever I would need to satisfy I can show you.

Sponsor our Newsletter | Privacy Policy | Terms of Service