Search found 9 matches

by anoveskey
Sun May 22, 2011 1:33 am
Forum: PHP - Code
Topic: code feedback
Replies: 2
Views: 239

code feedback

Hi all! Not really much in the way of a question at this point, more of an inquiry. On my site, on June 1st, I will have the index.php page loaded as this chunk of code. My intention is to give viewers an opportunity to download a file for 24 hrs. Once the 24 hrs is up the script should unlink the f...
by anoveskey
Sun May 15, 2011 6:23 pm
Forum: PHP - Code
Topic: Unexplainable string parsing error?!!
Replies: 5
Views: 446

Re: Unexplainable string parsing error?!!

Thanks guys!

I knew it was something really stupid that lack of sleep was causing me to overlook. :oops:
by anoveskey
Sun May 15, 2011 1:24 am
Forum: PHP - Code
Topic: Unexplainable string parsing error?!!
Replies: 5
Views: 446

Unexplainable string parsing error?!!

Hey all, I am working on a form to print up an order for a CD on my site. But I am getting an error message that I cannot for the life of me explain! Here is the code: <?php $firstName = $_POST['firstName']; $lastName = $_POST['lastName']; $street = $_POST['street']; $city = $_POST['city']; $state =...
by anoveskey
Fri Oct 01, 2010 9:25 pm
Forum: PHP - Code
Topic: trouble selecting email from a drop down menu
Replies: 12
Views: 611

Re: trouble selecting email from a drop down menu

Hey guys! I'm not sure if this solved my problem or not because I had a friend use the form and put in his email address last night and I received it. Anyway, here is what I did and finally concluded that the form/script is working: 1. Send emails from it several times throughout the night from my y...
by anoveskey
Thu Sep 30, 2010 2:57 am
Forum: PHP - Code
Topic: trouble selecting email from a drop down menu
Replies: 12
Views: 611

Re: trouble selecting email from a drop down menu

Hi Anoveskey Is the problem still that the email isn't being received? Have you checked your spam folder? I assume you're not getting the 'Nice try, Buddy.' response and that the line calling the mail function is actually running. So you're seing the output 'Thank you! I hope to hear from you again...
by anoveskey
Wed Sep 29, 2010 10:29 pm
Forum: PHP - Code
Topic: trouble selecting email from a drop down menu
Replies: 12
Views: 611

Re: trouble selecting email from a drop down menu

Hey guys. I turned on error reporting (found out that the $name variable was not defined) and made a few changes to the code. I should have seen that $my_emails + $accepted_emails thing the first time. Anyway I am using GoDaddy as my webhost. I didn't see anything on their website regarding the prob...
by anoveskey
Wed Sep 29, 2010 2:25 am
Forum: PHP - Code
Topic: trouble selecting email from a drop down menu
Replies: 12
Views: 611

Re: trouble selecting email from a drop down menu

hey guys! I reworked the code a little and it still doesn't seem to be working. I'm not getting any errors, the emails just aren't going to the designated locations. I used a little bit of both of your code examples and here is what I came up with. here is the php code: <?php $my_emails = array('fan...
by anoveskey
Tue Sep 28, 2010 12:06 am
Forum: PHP - Code
Topic: trouble selecting email from a drop down menu
Replies: 12
Views: 611

Re: trouble selecting email from a drop down menu

Thanks guys! I figured the possibility existed for spammers to abuse the form in some way, but I couldn't see how. I will rewrite the code to be more security minded and post again if it works... or if it doesn't. :wink:
by anoveskey
Sun Sep 26, 2010 7:51 pm
Forum: PHP - Code
Topic: trouble selecting email from a drop down menu
Replies: 12
Views: 611

trouble selecting email from a drop down menu

Hello all. I am new here. On my website I am attempting to create a form to send email. In the form I have a drop down menu with 4 different email addresses. When a user clicks 'Submit' a php form should retrieve the info from the form and fire it off to the email address chosen from the drop down m...