PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Refresh your vocabulary.
Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.  | From our sponsors | | |
gan minta pencerahannya error di header katanya.. ... Aug 19th 2013, 17:54, by Jevry Aj Putra | gan minta pencerahannya error di header katanya..
<?php session_start(); include "config1.php" ; $username = $_POST['username']; $password = $_POST['password'];
$perintahnya = "select username, password from login where username = '$username' and password = '$password'"; $jalan = mysql_query($perintahnya); $cek = mysql_num_rows($jalan); if ($cek >= 1 ) { $_SESSION['username'] = $username; header("location: design_daftar_kontrak1.php"); } else echo " anda belum terdaftar"; ?> |
| | Agan bisa memastikan bahwa tidak ada SATU karakterpun yang terkirim ke browser sebelum perintah header(), meskipun itu hanya spasi? |
| | Emang bisa ya perintahnya pake header? | | |
|
Tidak ada komentar:
Posting Komentar