# Check my php scripts please?

**URL:** <https://forum.kirupa.com/t/check-my-php-scripts-please/15119>\
**Category:** programming\
**Created:** [March 11, 2003, 12:40am UTC](https://forum.kirupa.com/t/check-my-php-scripts-please/15119 "2003-03-11T00:40:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![craschnburn](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@craschnburn](https://forum.kirupa.com/u/craschnburn)\
**Post date:** [March 11, 2003, 12:40am UTC](https://forum.kirupa.com/t/check-my-php-scripts-please/15119/1 "2003-03-11T00:40:14Z")

</div>

Hello everyone.

Quickie help please…

Here are my php scripts:

\<?  
mail("tom@customvideodisplay.com", $customername, $customerphone, $customercomment, “From: PHPMailer  
Reply-To: $customeremail  
X-Mailer: PHP/” . phpversion());  
?\>

all variables should be correct. I’m not getting any emails sent to me. I emailed the company to see if they support the mail() function, but what should I do then if they do not support that function.

I appreciate you guys’ help.

Peace

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 11, 2003, 12:44am UTC](https://forum.kirupa.com/t/check-my-php-scripts-please/15119/2 "2003-03-11T00:44:54Z")

</div>

are your variables defined within that page? or are they part of a form that the user fills out?

if #2 are you using **GET** or **POST** as your method of the form?

if you are using POST:

```php
$variable = $_POST['variable'];

```

for GET:

```php
$variable = $_GET['variable'];

```

Do that for each variable that you need defined…

if the company does not support that function then… uhmmmmm… I’m not sure. You might have to try something else… use space on someoen else’s server…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 11, 2003, 1:05am UTC](https://forum.kirupa.com/t/check-my-php-scripts-please/15119/3 "2003-03-11T01:05:52Z")

</div>

Hey Jubba-

They are part of a form that users fill out.  
I’m sending you an attachment of my files. If you could check them out and let me know what I’m doing wrong.

Thank you for your help Jubba.

Peace,  
Craschnburn

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 11, 2003, 1:36am UTC](https://forum.kirupa.com/t/check-my-php-scripts-please/15119/4 "2003-03-11T01:36:58Z")

</div>

if you can post the code on the forum, I can’t open any attachments on this computer and I’m going to be here for 7 more days.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 11, 2003, 1:40am UTC](https://forum.kirupa.com/t/check-my-php-scripts-please/15119/5 "2003-03-11T01:40:46Z")

</div>

Actually Jubba-

i think i’m on to something here. I wanna be able to see if i can get this on my own for once. but i’ll hit you up if i run into some problems?

thanks yo.

peace
