Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 13-03-2004, 12:26 PM
Senior Webmaster
 
Join Date: Jun 2003
Location: malaysia
Posts: 315
Rep Power: 73
Syazwan is on a distinguished road
Question help mail form nie!

aku dapat probs nie masa tgh test mail system/form aku...

Code:
Notice: Undefined variable: to in c:\program files\easyphp1-7\www\form3\mail.php on line 37

Notice: Undefined variable: from in c:\program files\easyphp1-7\www\form3\mail.php on line 38

Notice: Undefined variable: email in c:\program files\easyphp1-7\www\form3\mail.php on line 39

Notice: Undefined variable: subject in c:\program files\easyphp1-7\www\form3\mail.php on line 40

Notice: Undefined variable: message in c:\program files\easyphp1-7\www\form3\mail.php on line 41

Notice: Undefined variable: fieldfive in c:\program files\easyphp1-7\www\form3\mail.php on line 42

Notice: Undefined variable: fieldsix in c:\program files\easyphp1-7\www\form3\mail.php on line 43

Notice: Undefined variable: fieldseven in c:\program files\easyphp1-7\www\form3\mail.php on line 44

Notice: Undefined variable: fieldeight in c:\program files\easyphp1-7\www\form3\mail.php on line 45

Notice: Undefined variable: fieldnine in c:\program files\easyphp1-7\www\form3\mail.php on line 46

Notice: Undefined variable: fieldten in c:\program files\easyphp1-7\www\form3\mail.php on line 47


and here is the line#37-47


PHP Code:
$to $to;
$from $from;
$email $email;
$subject $subject;
$message $message;
$fieldfive $fieldfive;
$fieldsix $fieldsix;
$fieldseven $fieldseven;
$fieldeight $fieldeight;
$fieldnine $fieldnine;
$fieldten $fieldten
man hek probs die?? or aku should tukar yg lepas sama dgn, maksud aku cam from $to=$to
kpd
$to=syazwan@my-soccermaniacs.com ..?


sori aku tak brape pandai dlm php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 13-03-2004, 03:54 PM
Senior Webmaster
 
Join Date: Oct 2001
Location: Melbourne, AU
Posts: 456
Rep Power: 97
sufyan is on a distinguished road
You can't have $to = $to;

It can either be:

$to = "root@localhost";

(hard coded)

Or

$to = $_POST['email_field'];

(using POST data from a form)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 13-03-2004, 08:03 PM
Senior Webmaster
 
Join Date: Jun 2003
Location: malaysia
Posts: 315
Rep Power: 73
Syazwan is on a distinguished road
  #4 (permalink)  
Old 15-03-2004, 10:13 AM
white_neck's Avatar
Senior Webmaster
 
Join Date: Jan 2003
Location: dreamland
Posts: 240
Rep Power: 76
white_neck is on a distinguished road
Send a message via Yahoo to white_neck
btul sufyan ckap tuh..

lg pun buat per ko nak impukkan
$to=$to;
padahal pbolehubah tu kan dah ader...
so guna kan jer senang....
__________________
^_^ <== stay happy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 15-03-2004, 12:17 PM
Senior Webmaster
 
Join Date: Jun 2003
Location: malaysia
Posts: 315
Rep Power: 73
Syazwan is on a distinguished road
yerler2... aku nie kan bengap
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 21-03-2004, 10:40 PM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
hehhehe check dulu kan dah kene sound...
yak yak
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 23-03-2004, 09:29 AM
white_neck's Avatar
Senior Webmaster
 
Join Date: Jan 2003
Location: dreamland
Posts: 240
Rep Power: 76
white_neck is on a distinguished road
Send a message via Yahoo to white_neck
Quote:
Originally posted by Syazwan
yerler2... aku nie kan bengap
weh jgn ler ckp camtu..
sini mmg tempat bertanya so... tanya laaa..
korang bukan bengap laa..
korang just tak tau..
ok

"The best way to learn is to ask" - Eswandy, Chief Manager Of Pump Attendance

hihihhiik
__________________
^_^ <== stay happy

Last edited by white_neck; 24-03-2004 at 09:05 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 23-03-2004, 05:45 PM
mysticmind's Avatar
Super Moderator
 
Join Date: Jun 2001
Location: Mystic Kingdoms
Posts: 2,687
Rep Power: 145
mysticmind will become famous soon enough mysticmind will become famous soon enough
Send a message via Yahoo to mysticmind
tuh jadik DOUBLE VAR!

mana dia nak baca input kalau dua2 nya VAR
__________________
Personal's Blog! - Malaysian Artist!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 15-04-2004, 12:26 AM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
huhuhuh abis la Nates dah bersuara...
weh tukar la ko nye gambo tu! x best pon
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP Mail rengge Webmaster Tools 1 06-04-2007 09:58 PM
E-Mail Backup, Email Defense, E-Mail Marketing! Get one for your website! starsearcher Web Hosting Offers 0 16-01-2006 12:03 PM
Need a new e-mail? ckita Mamak Stall 13 31-12-2004 04:02 PM
Mail to SMS white_neck Website Programming 14 07-08-2004 07:55 PM
mail() help! chungss Website Programming 5 20-01-2003 12:37 PM


All times are GMT +8. The time now is 03:13 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61