Posts Tagged ‘Processor?’

PHP Tutorials: Find and Replace

Similar to the find and replace function found in word processors, recreate your own.

18. E – Commerce Website Tutorial – Payment Processors, SSL, Encrypted Code

www.developphp.com In this 18th video we discuss Payment Processors, SSL encrypted pages, and encrypted button code. As well as some PayPal setting options within your account. The E – Commerce Web Site we will be assembling is one in which all of the inventory is in a MySQL database and we offer a custom PHP cart for a unique shopping experience.

Problem With Php Form Processor?

I have uploaded both of my html form file and php form processor on my server.
you can find my form on http://toolsandtutorials.com/form/Untitled-1.html.html
when I press submit button, instead of sending email and going to thank you page, it shows the php file. How can I fix it?
my documents are as follows:
1- html

 

 

 

 

<form id="form1" name="form1" method="post" action="http://www.toolsandtutorials.com…

Budget:

Less than $1,000

$1,000- $2,500

$2,500- $5,000

$5,000- $10,000

$10,000 +

Choose…
1
2
3
4
5
6
7
8
9
10
10+

 

2-php
<?php
/* Subject and Email Variables */
$emailSubject = ' Crazy PHP Scripting! ' ;
$webMaster = ' pourya_webdesign@yahoo.com ' ;
/* Gathering Data Variables */
$emailField = $_POST ['email'] ;
$nameField = $_POST ['name'] ;
$phoneField = $_POST ['phone'] ;
$budgetField = $_POST ['budget'] ;
$travelersField = $_POST ['travelers'] ;
$commentsField = $_POST ['comments'] ;
$newsletterField = $_POST ['newsletter'] ;
$body = <<<EOD


Email: $email
Name: $name
Phone Number: $phone
Budget: $budget
Number of Travelers: $travelers
Comments: $comments
Newsletter: $newsletter
EOD;
$headers = “Form: $email\r\n”;
$headers .= “content-type: text/html\r\n”;
$success = mail ($webMaster, $emailsubject, $budy,
$headers) ;
/* results rendered as HTML */
$theResults = <<<EOD

<titl