Senin, 02 September 2013

PHP Indonesia - Facebook: Gan sya mau tanya,, gmn yah cra bkin akun profil m...

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/ 
Marketing Mobile Apps

This online course focuses on marketing efforts that will increase your app's exposure and establish a mobile app marketing plan. Enroll today for $99.
From our sponsors
Gan sya mau tanya,, gmn yah cra bkin akun profil m...
Sep 3rd 2013, 04:38, by Adhly Victory

Adhly Victory 4:38am Sep 3
Gan sya mau tanya,, gmn yah cra bkin akun profil menggukan PHP..
ketika sudah login kebaca biodata dll. :)

#mhonBantuannya :)

Aris Gates 4:40am Sep 3
itu pakai session gann logika saat user login daftarkan ke session saat masuk ke bagian biodata cari data berdasarkan id saat user login tadi

Rizki Bagus Hari Basuki 4:45am Sep 3
Tambahin tabel nya dulu gan, di user name sm password tmbh biodata. Nanti cara ambil biodatanya sama kayak ambil nama user nya

Adhly Victory 4:45am Sep 3
<?php
session_start();
include"config/config.php";
?>
<?
$user=$_POST[username];
$password=MD5($_POST[password]);
$sql=mysql_query("SELECT * FROM user WHERE nama_user='$user' AND password='$password' AND status='aktif'");
$_SESSION['password'] = $password;
$_SESSION['user'] = $user;
$hasil=mysql_fetch_array($sql);
$hitung=mysql_num_rows($sql);
if($hitung > 0){
if($hasil[level]=='admin'){
header('location:admin/');
}else{
header('location:user/');
}
}else{
echo"
<script>
alert('User tidak terdaftar !!!!!');
location.href='index.php';
</script>
";
}
?>

Adhly Victory 4:46am Sep 3
gmn gan? :)

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar