|
Wow artgeex, thanks thanks..
Saya belum baca, dan saya harap boleh ikut..
Kalau ada sahabat-sahabat yang lain, atau cara lain, bleh kita kongskan bersama.. |
|
|
|
|
|
|
|
artgeex, saya dah buat ikut arahan tu, tapi tak brfungsi. How? U ada pengalaman tak? |
|
|
|
|
|
|
|
Reply #311 musangman's post
Kat net ada banyak codes free yg ko boleh amik guna. Yang bawah ni contoh:
Copy semua codes bawah ni ke dalam tag body contact page ko tu:
- <form method="post" action="sendmymail.php">
- <?php
- $ipi = getenv("REMOTE_ADDR");
- $httprefi = getenv ("HTTP_REFERER");
- $httpagenti = getenv ("HTTP_USER_AGENT");
- ?>
- <input type="hidden" name="ip" value="<?php echo $ipi ?>" />
- <input type="hidden" name="httpref" value="<?php echo $httprefi ?>" />
- <input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />
- <table width="800" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td width="300" align="right" valign="top">Your Name:</td>
- <td width="500" align="left" valign="top"><input type="text" name="visitor" size="35" /></td>
- </tr>
- <tr>
- <td width="300" align="right" valign="top">Your Email:</td>
- <td width="500" align="left" valign="top"><input type="text" name="visitormail" size="35" /></td>
- </tr>
- <tr>
- <td width="300" align="right" valign="top"> </td>
- <td width="500" align="left" valign="top"> </td>
- </tr>
- <tr>
- <td width="300" align="right" valign="top">Subject:</td>
- <td width="500" align="left" valign="top"><select name="attn" size="1">
- <option value=" Service Enquiry ">Service Enquiry </option>
- <option value=" General Comment ">General Comment </option>
- <option value=" Webmaster ">Webmaster </option>
- </select></td>
- </tr>
- <tr>
- <td width="300" align="right" valign="top">Mail Message:</td>
- <td width="500" align="left" valign="top"><textarea name="notes" rows="4" cols="40"></textarea></td>
- </tr>
- <tr>
- <td width="300" align="right" valign="top"> </td>
- <td width="500" align="left" valign="top"><input type="submit" value="Submit" /></td>
- </tr>
- </table>
- </form>
Copy the Code
Savekan file tu as contact.php.
Pastu paste semua code bawah ni dalam tag body new file, letak email ko (kat part "TEPEK_EMAIL_KO_DI_SINI" ) and savekan file tu as sendmymail.php
- <?php
- $ip = $_POST['ip'];
- $httpref = $_POST['httpref'];
- $httpagent = $_POST['httpagent'];
- $visitor = $_POST['visitor'];
- $visitormail = $_POST['visitormail'];
- $notes = $_POST['notes'];
- $attn = $_POST['attn'];
- if (eregi('http:', $notes)) {
- die ("Do NOT try that! ! ");
- }
- if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,".")))
- {
- echo "<h2>Use Back - Enter valid e-mail</h2>\n";
- $badinput = "<h2>Feedback was NOT submitted</h2>\n";
- echo $badinput;
- die ("Go back! ! ");
- }
- if(empty($visitor) || empty($visitormail) || empty($notes )) {
- echo "<h2>Use Back - fill in all fields</h2>\n";
- die ("Use back! ! ");
- }
- $todayis = date("l, F j, Y, g:i a") ;
- $attn = $attn ;
- $subject = $attn;
- $notes = stripcslashes($notes);
- $message = " $todayis [EST] \n
- Attention: $attn \n
- Message: $notes \n
- From: $visitor ($visitormail)\n
- Additional Info : IP = $ip \n
- Browser Info: $httpagent \n
- Referral : $httpref \n
- ";
- $from = "From: $visitormail\r\n";
- mail("TEPEK_EMAIL_KO_DI_SINI", $subject, $message, $from);
- ?>
- <p align="center">
- Date: <?php echo $todayis ?>
- <br />
- Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> )
- <br />
- Subject: <?php echo $attn ?>
- <br />
- Message:<br />
- <?php $notesout = str_replace("\r", "<br/>", $notes);
- echo $notesout; ?>
- <br />
- <?php echo $ip ?>
- </p>
Copy the Code
Nanti bila orang dah click submit, dia akan send email ke ko and akan bukak page 'thank you'. |
|
|
|
|
|
|
|
kepala aku udah biul
tak paham ah...
cemana nak wat website ni? |
|
|
|
|
|
|
|
buleh ke tanya kat sini ?...kite nak tau berapa lama masa yg diambil utk buat website...?
mcm kite ni kat ofis nak buat website utk ofis ni...web designer kata sebulan pun tak cukup...kite bukan nak complete...cuma nak ada yg basic2 utk website jer dulu...lepas dah kompom baru upgrade...
tq inadvance pada yg sudi menjawab pertanyaan kite....:handshake: |
|
|
|
|
|
|
|
Reply #314 soda's post
Depends ngan website... kalau takat basic html jer, ada image sket2 and text content semua dah ada, campur satu contact page yg simple, 2-3 hari pun dah boleh siap. Tapi kalau nak ada content management, database etc, then time nak siapkan boleh naik ke 3-4 bulan (on average... setahun pun boleh kalau nak buat intranet besar yg akan ada HR, Project management, Accounting etc). Also kena tengok programming apa yg akan digunakan - html, php, asp, python etc. Lagi payah, lagi lama. |
|
|
|
|
|
|
|
Originally posted by 0001 at 19-6-2008 09:19 AM
Depends ngan website... kalau takat basic html jer, ada image sket2 and text content semua dah ada, campur satu contact page yg simple, 2-3 hari pun dah boleh siap. Tapi kalau nak ada content man ...
thanks 0001...skrg ni basic jer nak introduce company dgn mungkin nak letak promotion of the month jer...kalo mcm tu lama tak...? |
|
|
|
|
|
|
|
Reply #317 soda's post
Cam aku kata tadi... kalau takat nak buat itu ngan basic html, then 2-3 hari jer leh siap (kalau designer tu dah dapat semua info, images dari ko). Tapi kalau site tu di buat guna php and mysql, then lama sket... maybe around 2 minggu.
Mungkin jugak designer tu dah plan site tu ikut apa ko nak and end-result nyer site besar... so dia akan buat site tu based on that and bukan nak buat yg permulaan ni jer, kemudian kena buat semula next time.
Baik ko tanya designer tu apa yg dia nak buat and probably mintak timeframe dia. |
|
|
|
|
|
|
|
Originally posted by 0001 at 19-6-2008 09:49 AM
Cam aku kata tadi... kalau takat nak buat itu ngan basic html, then 2-3 hari jer leh siap (kalau designer tu dah dapat semua info, images dari ko). Tapi kalau site tu di buat guna php and mysql, ...
skrg ni yg basic ni jer dia dah kata takdan nak siap dlm sebulan...spai ni dah 2 minggu nothing pun dr dia...dia kata bnyk cording nak hafal dan nak study.... |
|
|
|
|
|
|
|
Reply #319 soda's post
Mungkin dia tu designer yg baru nak mula buat web kot?
Sebagai contoh, page bawah ni in html, pakai iframes (portfolio and contact sections) and contact section tu in php. Nak buat ni termasuk buat images from scratch - 2 hari.
Aku suggest ko sabar2 jerlah ngan designer ko tu... janji site yg dia akan buat tu memuaskan. In the meantime, ko mintak dia bagi progress report... 2-3 hari sekali. |
|
|
|
|
|
|
|
Originally posted by 0001 at 19-6-2008 10:49 AM
Mungkin dia tu designer yg baru nak mula buat web kot?
Sebagai contoh, page bawah ni in html, pakai iframes (portfolio and contact sections) and contact section tu in php. Nak buat ni termasuk ...
nak dpt yg mcm 0001 paste tu kat mana ekkk...?
kite nak try suh dia tgk kat situ dan create sample satu
sekurang2nya ada menda nak tunjuk kat director
ni dah 2 minggu apa pun tak ada....huhuhu |
|
|
|
|
|
|
|
Reply #321 soda's post
Site atas tu tak idup lagi... maybe next week kot. Kena siapkan site 'adik' dia and baru launch sekali. For now maybe ko leh bagi dia tengok screenshot tu jer. |
|
|
|
|
|
|
|
Originally posted by 0001 at 19-6-2008 11:04 AM
Site atas tu tak idup lagi... maybe next week kot. Kena siapkan site 'adik' dia and baru launch sekali. For now maybe ko leh bagi dia tengok screenshot tu jer.
huhuhu...kite tunggu next week ekkk....?
dah kasi dia tgk ....thanks 0001....:flower: |
|
|
|
|
|
|
|
nak tanye sikit....
guna cms like joomla lebih mudah tak dari html |
|
|
|
|
|
|
|
Reply #324 edenorgkg's post
Yeah lagi mudah... tapi kena tau nak setup Joomla tu and cara2 nak add extensions etc. Banyak tutorial kat internet. Nak customise tu kena gak tau codes... php. |
|
|
|
|
|
|
|
alo.....nak tanya la....bila dah siap create website tu kan cam ne nak publish.....ha... |
|
|
|
|
|
|
|
Reply #326 orkit's post
Kena ada hosting. Then upload files tu ke hosting tu. Pastikan first page tu index.htm (atau sewaktu ngan nya depending ngan hosting). Tu jer. Now type address site ko... and akan kuar index.htm tu.
Try hosting ni (free):
http://www.000webhost.com/ |
|
|
|
|
|
|
|
Reply #327 0001's post
0001 aku dah download web aku kat FTM manager pastu nak watpe.....kat situ tak jelas la penerangan dia |
|
|
|
|
|
|
| |
|