Reseller Domain Murah dan termurah di Indonesia? ya di ResellerCamp.
         
 

Forum PHP Indonesia

 
Advanced Search
   
 
Home Register FAQ Memberlist Usergroups  
 
 

Forum PHP Indonesia Forum Index Instalasi PHP please help me!!
Display posts from previous:   
      All times are GMT + 7 Hours  

please help me!!

Post new topic  Reply to topic

Sun Apr 18, 2010 14:20
Author Message
ipul
PHPnewbie
PHPnewbie


Joined: 18 Apr 2010
Posts: 7

Post subject: please help me!! Reply with quote

Buat para master php gimana bikin ruang mahasiswa supaya halaman yang di akses terbatas untuk masing2 mahasiswa yang sudah login. misalnya siswa A masuk ke ruang mahasiswa dan dia cuma bisa ngeliat data punya dia sendiri tidak bisa liat data punya teman2 nya begitu juga siswa yang lainnya. please Aku dah cari di google tapi lum kdapet-dapet juga yang da cuma script buat login ma logout doank. please yah? thank's before Cry
 
View user's profile Send private message
      Back To Top  

Mon Apr 19, 2010 11:50
Author Message
mul14
PHP Programmer
PHP Programmer


Joined: 01 Jun 2009
Posts: 135
Location: Yogyakarta

Post subject: Reply with quote

Pelajari tentang session.
_________________
Join - http://framework.web.id
 
View user's profile Send private message Visit poster's website Yahoo Messenger
      Back To Top  

Mon Apr 26, 2010 08:02
Author Message
yanyan
PHPnewbie
PHPnewbie


Joined: 26 Apr 2010
Posts: 12

Post subject: Reply with quote

Gucci Handbags,
cheap mbt shoes,
mbt walking shoes,
 
View user's profile Send private message Visit poster's website
      Back To Top  

Fri May 07, 2010 16:31
Author Message
andrydata
PHPnewbie
PHPnewbie


Joined: 07 May 2010
Posts: 12
Location: jakarta

Post subject: gunakan session id member Reply with quote

Quote:

$usrid=$_POST['userid'];
$_SESSION['id']=session_id();
$_SESSION['userid']=$userid;


bisa pake itu coba deh
_________________
http://marketplace.bizweb.co.id
 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
      Back To Top  

Fri Jul 16, 2010 23:48
Author Message
musicanda
PHP Master
PHP Master


Joined: 02 Jun 2010
Posts: 263
Location: Rumahnya Angeline

Post subject: Re: please help me!! Reply with quote

ipul wrote:
Buat para master php gimana bikin ruang mahasiswa supaya halaman yang di akses terbatas untuk masing2 mahasiswa yang sudah login. misalnya siswa A masuk ke ruang mahasiswa dan dia cuma bisa ngeliat data punya dia sendiri tidak bisa liat data punya teman2 nya begitu juga siswa yang lainnya. please Aku dah cari di google tapi lum kdapet-dapet juga yang da cuma script buat login ma logout doank. please yah? thank's before Cry



pake COOKIE aja mas,

setcookie("id",$idsiswa['id_siswa']);

terus, cek di halaman ruang mahasiswa,

if (!isset($_COOKIE['id'])) {
//pasang skrip kembali ke halaman login
}
else {
//tampilan skrip untuk halaman ruang mahasiswa
}
 
View user's profile Send private message Send e-mail Visit poster's website
      Back To Top  
Post new topic  Reply to topic

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


      Back To Top  

Page 1 of 1
Jump to:  
Powered by phpBB © 2001, 2002 phpBB Group
Toko Kaos Couple | Avalanche style by What Is Real © 2004 | Toko Baju Butik Online | Cara Pedia | Busana Baju Muslim