Kayaknya ada yang aneh di script anda deh, masak jika post submit menampilkan 
form lagi..?, Pinginnya buat login form kah ?
  

Bram Andrian <[EMAIL PROTECTED]> wrote:
          Rekan-rekan bisa minta bantuan coding php nich..

saya mendapat error ketika akan melakukan submit $_SERVER['PHP_SELF']
apa yang harus saya lakukan untuk bisa melakukan submit form.

apakah hal ini disebabkan karena security direktory akses?
bagaimana membuka security setting direktory akses atau memgubah rule
security agar error ini tidak terjadi
atau mungkin ada cara lain yang lebih bagus

Terima kasih sebelumnya.

ini error lognya dan sample codenya
Forbidden

You don't have permission to access /latihan/< on this server.

url berubah menjadi :
http://localhost/latihan/%3C?=$_SERVER['PHP_SELF']?%3E<http://localhost/latihan/%3C?=$_SERVER%5B%27PHP_SELF%27%5D?%3E>

<?php

if (!isset($_POST['submit'])) {
// form not submitted
?>

<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
Login Name : <input type="text" name="login" size="10"> <br/>
Password : <input type="text" name="password" size="10"> <br/>
<input type="submit" name="submit">
</form>
<button type="button" name="reset" label="reset">

<?php
}
else {
// todo akses db for login
echo "do something else";
}
?>

info sistem :
OS Windows
server menggunakan wamp5
Apache/2.2.4 (Win32)
PHPmyadmin 2.10.1 SQLitemanager 1.2.0

-- 
.: Bram Andrian :.

[Non-text portions of this message have been removed]



                         


                  Regards,
    || ~Irfani Firdausy~ |||   http://irfani.ptmunibraw.org - We don't need a 
reason to help people - (by NeverMind)





       
---------------------------------
Don't let your dream ride pass you by.    Make it a reality with Yahoo! Autos. 

[Non-text portions of this message have been removed]



================> HAPUS IKLAN DIATAS DAN FOOTER INI JIKA ME-REPLY 
<================
Posting   : [email protected]
Archive   : http://www.mail-archive.com/[email protected]/
                www.mitek.unibraw.ac.id || himamitek.brawijaya.ac.id
************************************************************************************
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mitek/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/mitek/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Kirim email ke