Domain Availability Check Sederhana dengan PHP

Posted on Agustus 27, 2008. Filed under: Tutorial Programming | Tags: , , , |

Kalo kita lihat website yang menjual webhosting atau domain pasti tersedia menu yang berfungsi untuk mengecek ketersedian domain di Internet.
Dan untuk pengecekan domain tersebut banyak sekali cara yang digunakan, yaitu salah satu menggunakan fasilitas yang disediakan oleh website-website yang menyediakan fasilitas whois misal (register.net.id,whois.net,dll).
Dalam tutorial ini,kita akan membuat fasilitas check ketersediaan domain dengan memanfaatkan function [...]

Read Full Post | Make a Comment ( 6 so far )

Regular Expression Basic Syntax Reference

Posted on Agustus 7, 2008. Filed under: Tutorial Programming | Tags: , , , , , |

Characters

Character
Description
Example

Any character except [\^$.|?*+()
All characters except the listed special characters match a single instance of themselves. { and } are literal characters, unless they’re part of a valid regular expression token (e.g. the {n} quantifier).
a matches a

\ (backslash) followed by any of [\^$.|?*+(){}
A backslash escapes special characters to suppress their special meaning.
\+ matches +

\Q...\E
Matches [...]

Read Full Post | Make a Comment ( None so far )

Seeing the number of problems and mistakes PHP coders encounter repeatedly I set out to make this list of the 10 most common problems and mistakes done by PHP coders.

Posted on Agustus 7, 2008. Filed under: Tutorial Programming | Tags: , , , |

Seeing the number of problems and mistakes PHP coders encounter repeatedly I set out to make this list of the 10 most common problems and mistakes done by PHP coders.
1. Not escaping entities
It’s basic knowledge; ALL untrusted input (especially user input from forms) has to be sanitized before it is being output.
echo $_GET['username'];
Can for instance [...]

Read Full Post | Make a Comment ( None so far )

Tips modrewrite

Posted on Agustus 6, 2008. Filed under: Tutorial Programming | Tags: , , , |

para dewa2 php pasti udah banyak yang tahu, jadi ini topik khusus untuk para newbie yang pengen buat url kyk di wordpress ( http://blabla.com/archive/2002-19-05/title/bla )
pertama tama, mod_rewrite adalah sebuah module di apache, dan biasanya di package2 php yg ada sekarang (xampp, phptriad, dll) module ini belum di load secara default, jadi kita harus mengenable module [...]

Read Full Post | Make a Comment ( None so far )

Send variables between Javascript, Form and PHP on the same page

Posted on Juli 7, 2008. Filed under: Tutorial Programming | Tags: , , |

PHP variable to Javascript variable:

<?php $myvar=10; ?>

<script type=”text/javascript”>
jsvar = <?php echo $myvar; ?>
document.write(jsvar); // Test to see if its prints 10:
</script>

Form variable to Javascript variable:

<form name=”myform4″> <input type=”hidden” name=”formvar” value=”100″> </form>

<script type=”text/javascript”>
jsvar = document.myform4.formvar.value;
document.write(jsvar) // test
</script>

PHP variable to Form variable:

<form name=”myform4″>
<input type=”hidden” name=”formvar” [...]

Read Full Post | Make a Comment ( None so far )

    About

    Sinau, Ilmu Pengetahuan, Artikel & Tips, Sekolahan

    RSS

    Subscribe Via RSS

    • Subscribe with Bloglines
    • Add your feed to Newsburst from CNET News.com
    • Subscribe in Google Reader
    • Add to My Yahoo!
    • Subscribe in NewsGator Online
    • Komentar-komentar terakhir pada seluruh tulisan dalam RSS
    • Subscribe in Rojo

    Meta

Liked it here?
Why not try sites on the blogroll...