Giriş Yap Kayıt ol Online Üyeler Aktif Konular Arama Üyeler Forum Kuralları
Tahribat.Com | Php‘de Yardım Edecek Olan? (ödev)
Tahribat.Com Forumları
Asp - Php - Cgi - Perl
      Php‘de Yardım Edecek Olan? (ödev)
Bu Bölümde yeni konu açmak için tıklayın Konuyu cevaplamak için tık...
Konu 30 Mart 2011 (Çarsamba) 19:27 tarihinde açıldı. Kısayol | Alıntı yap | Özel Mesaj
shivo


Kayıt : 6 Haziran 2008
Townsville Şehri
Erkek Üye
 

Selam Arkadaşlar;

Php'den hoca 3 tane proje ödevi verdi de Php'den anlamıyorum ben de ygs,lys sayesinde okula gitmediğimiz için 2.dönem hiç birşey öğrenemedik ilk dönem de pek birşey anlatmadılar anca

Şimdiden Teşekkürler sorular şöyle;

 

 

 

PROJE 1. Windows’ ta yer alan (aşağıda ekran çıktısı görülen) hesap makinesini PHP ile oluşturunuz?

 

 esadasdasd

 

PROJE 2. Aşağıda ekran görüntüsünü oluşturacak html ve php dosyalarını oluşturunuz?
Not hesaplama işleminde;

  • Ders zorunlu ise 1.notun %40,2.notun %20,3.notun%40'ı alınacak ve toplanıp sonuç olarak verilecek.
  • Eğer ders seçmeli ise 1.notun %30,2.notun %30,3.notun%40'ı alınacak ve toplanıp sonuç olarak verilecektir.


 

  • Tekrar durumu hesaplamada kullanılmayacaktır. Fakat kaçıncı kez aldığı yapılan seçime göre ortalam ile birlikte ekrana yazdırılacaktır.


 

  • Aşağıdaki resimdeki duruma göre örnek ekran çıktısı (Hesapla butonuna basıldığında)şu şekilde olacaktır.

 

asdasdasd 

Öğrenci Dersi 3. Kez Alıyor ve Ortalaması= 52’ dir.

 

 

PROJE 3. PHP kodları ile anket uygulayıcısı oluşturunuz? Daha sonra örnek bir anket oluşturunuz? Örnek anket uygulaması içeriği tarafınızdan belirlenecektir. Anket sonuçları mail ile admin’e (yöneticiye) yollanacaktır ve Veri Tabanında anket sonuçları tutulacaktır?


 
30 Mart 2011 (Çarsamba) 20:43 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
Buremba


Kayıt : 16 Haziran 2006
6/6/6
Erkek Üye
 

hocam 3 tane yazmışın maşallah da oturup bir bir buçuk saat uğraşmadan bitecek şeyler değil bunlar. sen başlasan bir yere gelsen ve takılsan yardım ederiz tabi ama bu şekilde yardım edecek kişi zor bulursun bence. :(

bak sitesi bile var: http://canyoudomyhomework.com


demiş bilge. 
30 Mart 2011 (Çarsamba) 20:47 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
Cosmic
(Harlem)


Kayıt : 14 Haziran 2006
Erkek Üye
 

başla sen yapmaya takıldığın yerde sor yardımcı olan çıkar ama direk kimseden yapmasını bekleme


Bu profil 05-10-2011 tarihinden itibaren 609 tekil hit ve 1437 normal hit almistir. 
30 Mart 2011 (Çarsamba) 22:12 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
warlife


Kayıt : 9 Mart 2007
Erkek Üye
 

<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



Hesap Kitap

<style>

input {

    width: 100%;

    font-size: medium;



}

body {

    font-family: Verdana, Arial, Helvetica, sans-serif;

    font-size: x-small;

    margin: 0px;

    padding: 0px;

}

h1 {

    font-size: medium;

    font-weight: bold;

}

td {

    text-align: center;

    vertical-align: middle;

}

table {

    margin: 4px;

    border: thick solid #0099FF;

}

</style>



<script language="JavaScript">

var Result=0, Operator=0, Second=0, Ready=0, Done=1, Complete=0, Integer, CurrentValue;

function reset(value)

{

    document.calculator.LED.value = value;

    Result = 0, Operator = 0, Second = 0, Ready = 0; Done = 1; Complete = 0;

}

function SetValue(NewValue)

{

    Integer = 1;

    if(Second || Done)

    {

        Second = 0;

        Done = 0;

        CurrentValue = NewValue;

    }

    for(var i=0; i<CurrentValue.length; i++)

        if (CurrentValue[i]=='.')

            Integer=0;

}

function Click(Caption)

{

    CurrentValue = document.calculator.LED.value;

    if(Caption=='.')

    {

        SetValue('0');

        if(Integer)

        {

            CurrentValue += Caption;

            document.calculator.LED.value = CurrentValue;

            Complete = 0;

        }

    }

    if (Caption.length == 1 && Caption>='0' && Caption<='9')

    {

        SetValue('');

        if(CurrentValue=='0')

            CurrentValue='';

        CurrentValue += Caption;

        document.calculator.LED.value = CurrentValue;

        Complete = 1;

    }

    if (Caption=='pi')

    {

        CurrentValue = Math.PI;

        document.calculator.LED.value = CurrentValue;

        Complete = 1;

    }

    if (Caption=='e')

    {

        CurrentValue = Math.E;

        document.calculator.LED.value = CurrentValue;

        Complete = 1;

    }

    if(Caption=='-' || Caption=='+' || Caption=='/' || Caption=='*' || Caption=='^')

    {

        if(Second)

            Operator = Caption

        else

        {

            if(!Ready)

            {

                Operator = Caption;

                Result = CurrentValue;

                Ready=1;

            } else

            {

                if (Operator=='^')

                    Result = Math.pow(Result, CurrentValue);

                else

                    Result = eval(Result + Operator + CurrentValue);

                Operator = Caption; document.calculator.LED.value = Result;

            } Complete=0; Second = 1;

        }

    }

    if(Caption=='1/x' )

    {

        Result = eval('1/' + CurrentValue) ; reset(Result);

    }

    if(Caption=='sqrt')

    {

        Result = Math.sqrt(CurrentValue);

        reset(Result);

    }

    if(Caption=='exp' )

    {

        Result = Math.exp(CurrentValue);

        reset(Result);

    }

    if(Caption=='log' )

    {

        Result = Math.log(CurrentValue) / Math.LN10;

        reset(Result);

    }

    if(Caption=='ln' )

    {

        Result = Math.log(CurrentValue);

        reset(Result);

    }

    if(Caption=='sin' )

    {

        Result = CurrentValue;

        if (document.calculator.angle[0].checked)

            Result = Result * Math.PI / 180;

        if (document.calculator.angle[2].checked)

            Result = Result * Math.PI / 200;

        Result = Math.sin(Result);

        reset(Result);

    }

    if(Caption=='cos' )

    {

        Result = CurrentValue;

        if (document.calculator.angle[0].checked)

            Result = Result * Math.PI / 180;

        if (document.calculator.angle[2].checked)

            Result = Result * Math.PI / 200;

        Result = Math.cos(Result);

        reset(Result);

    }

    if(Caption=='tan' )

    {

        Result = CurrentValue;

        if (document.calculator.angle[0].checked)

            Result = Result * Math.PI / 180;

        if (document.calculator.angle[2].checked)

            Result = Result * Math.PI / 200;

        Result = Math.tan(Result);

        reset(Result);

    }

    if(Caption=='asin' )

    {

        Result = Math.asin(CurrentValue);

        if (document.calculator.angle[0].checked)

            Result = Result * 180 / Math.PI;

        if (document.calculator.angle[2].checked)

            Result = Result * 200 / Math.PI;

        reset(Result);

    }

    if(Caption=='acos' )

    {

        Result = Math.acos(CurrentValue);

        if (document.calculator.angle[0].checked)

            Result = Result * 180 / Math.PI;

        if (document.calculator.angle[2].checked)

            Result = Result * 200 / Math.PI;

        reset(Result);

    }

    if(Caption=='atan' )

    {

        Result = Math.atan(CurrentValue);

        if (document.calculator.angle[0].checked)

            Result = Result * 180 / Math.PI;

        if (document.calculator.angle[2].checked)

            Result = Result * 200 / Math.PI;

        reset(Result);

    }

    if(Caption=='sinh' )

    {

        Result = Math.exp(CurrentValue);

        Result = (Result - 1 / Result) / 2;

        reset(Result);

    }

    if(Caption=='cosh' )

    {

        Result = Math.exp(CurrentValue);

        Result = (Result + 1 / Result) / 2;

        reset(Result);

    }

    if(Caption=='tanh' )

    {

        Result = Math.exp(CurrentValue);

        Result = (Result - 1 / Result) / (Result + 1 / Result);

        reset(Result);

    }

    if(Caption=='asinh' )

    {

    //sign(x) * log(|x| + sqrt(x*x+1))

    //    alert(CurrentValue + Math.sqrt(CurrentValue * CurrentValue + 1));

    //    Result = Math.log(CurrentValue + Math.sqrt(CurrentValue * CurrentValue + 1));

        Result = CurrentValue / Math.abs(CurrentValue) * Math.log(Math.abs(CurrentValue) + Math.sqrt(CurrentValue * CurrentValue + 1));

        reset(Result);

    }

    if(Caption=='acosh' )

    {

    //2 log  (sqrt((x+1)/2) + sqrt((x-1)/2))

        Result = 2 * Math.log(Math.sqrt((CurrentValue + 1) / 2) + Math.sqrt((CurrentValue - 1) / 2));

        reset(Result);

    }

    if(Caption=='atanh' )

    {

    //0.5*log((x-1)/(x+1))

        Result = Math.log((CurrentValue - 1) / (CurrentValue + 1)) / 2;

        reset(Result);

    }

    if(Caption=='+/-')

        document.calculator.LED.value = eval(-CurrentValue);

    if(Caption=='=' && Complete && Operator!='0')

    {

        if (Operator=='^')

        {

            Result = Math.pow(Result, CurrentValue);

            reset(Result);

        } else

            reset(eval(Result + Operator + CurrentValue));

    }

    if (Caption=='C')

        reset(0);

    if(document.calculator.LED.value[0] == '.')

        document.calculator.LED.value = '0' + document.calculator.LED.value;

}

</script>




<form name="calculator">

  <h1 align="center"> </h1>

  <h1 align="center">Bilimsel Hesap Makinası</h1>

  <table width="360" height="240" border="0" align="center" cellpadding="2" cellspacing="0">

    <tr>

      <td colspan="4"> <input name="LED" type="text" value="0" /> </td>

      <td><input type="button" name="C" value="C" onclick="Click(&#39;C&#39;)" /></td>

      <td width="60"><input name="=" type="button" id="=2" value="=" onclick="Click(&#39;=&#39;)" />

      </td>

    </tr>

    <tr>

      <td colspan="2"> <input name="angle" type="radio" checked />

        Degrees</td>

      <td colspan="2"> <input name="angle" type="radio" />

        Radians</td>

      <td colspan="2"> <input name="angle" type="radio" />

        Gradients</td>

    </tr>

    <tr>

      <td width="60"> <input name="sin" type="button" id="sin" value="sin" onclick="Click(&#39;sin&#39;)" /></td>

      <td width="60"> <input name="cos" type="button" id="cos" value="cos" onclick="Click(&#39;cos&#39;)" /></td>

      <td width="60"> <input name="tab" type="button" id="tab" value="tan" onclick="Click(&#39;tan&#39;)" /></td>

      <td width="60"> <input name="sinh" type="button" id="sinh" value="sinh" onclick="Click(&#39;sinh&#39;)" /></td>

      <td width="60"> <input name="cosh" type="button" id="cosh" value="cosh" onclick="Click(&#39;cosh&#39;)" /></td>

      <td width="60"> <input name="tanh" type="button" id="tanh" value="tanh" onclick="Click(&#39;tanh&#39;)" /></td>

    </tr>

    <tr>

      <td width="60"> <input name="asin" type="button" id="asin" value="asin" onclick="Click(&#39;asin&#39;)" /></td>

      <td width="60"> <input name="acos" type="button" id="acos" value="acos" onclick="Click(&#39;acos&#39;)" /></td>

      <td width="60"> <input name="atan" type="button" id="atan" value="atan" onclick="Click(&#39;atan&#39;)" /></td>

      <td width="60"> <input name="asinh" type="button" id="asinh" value="asinh" onclick="Click(&#39;asinh&#39;)" />

      </td>

      <td width="60"> <input name="acosh" type="button" id="acosh" value="acosh" onclick="Click(&#39;acosh&#39;)" />

      </td>

      <td width="60"> <input name="atanh" type="button" id="atanh" value="atanh" onclick="Click(&#39;atanh&#39;)" /></td>

    </tr>

    <tr>

      <td width="60"><input name="exp" type="button" id="exp" value="exp" onclick="Click(&#39;exp&#39;)" />

      </td>

      <td width="60"><input name="7" type="button" id="7" value="7" onclick="Click(&#39;7&#39;)" />

      </td>

      <td width="60"><input name="8" type="button" id="8" value="8" onclick="Click(&#39;8&#39;)" />

      </td>

      <td width="60"><input name="9" type="button" id="9" value="9" onclick="Click(&#39;9&#39;)" />

      </td>

      <td width="60"><input name="+" type="button" id="+" value="+" onclick="Click(&#39;+&#39;)" />

      </td>

      <td width="60"><input name="^" type="button" id="^" value="^" onclick="Click(&#39;^&#39;)" />

      </td>

    </tr>

    <tr>

      <td width="60"><input name="log" type="button" id="log" value="log" onclick="Click(&#39;log&#39;)" />

      </td>

      <td width="60"><input name="4" type="button" id="4" value="4" onclick="Click(&#39;4&#39;)" />

      </td>

      <td width="60"><input name="5" type="button" id="5" value="5" onclick="Click(&#39;5&#39;)" />

      </td>

      <td width="60"><input name="6" type="button" id="6" value="6" onclick="Click(&#39;6&#39;)" /></td>

      <td width="60"><input name="-" type="button" id="-" value="-" onclick="Click(&#39;-&#39;)" />

      </td>

      <td width="60"><input name="1/x" type="button" id="1/x2" value="1/x" onclick="Click(&#39;1/x&#39;)" />

      </td>

    </tr>

    <tr>

      <td width="60"><input name="ln" type="button" id="abs22" value="ln" onclick="Click(&#39;ln&#39;)" />

      </td>

      <td width="60"><input name="1" type="button" id="1" value="1" onclick="Click(&#39;1&#39;)" />

      </td>

      <td width="60"><input name="2" type="button" id="2" value="2" onclick="Click(&#39;2&#39;)" />

      </td>

      <td width="60"><input name="3" type="button" id="3" value="3" onclick="Click(&#39;3&#39;)" />

      </td>

      <td width="60"><input name="*" type="button" id="*" value="*" onclick="Click(&#39;*&#39;)" />

      </td>

      <td width="60"><input name="pi" type="button" id="pi3" value="pi" onclick="Click(&#39;pi&#39;)" />

      </td>

    </tr>

    <tr>

      <td width="60"><input name="sqrt" type="button" id="sqrt" value="sqrt" onclick="Click(&#39;sqrt&#39;)" />

      </td>

      <td width="60"><input name="0" type="button" id="0" value="0" onclick="Click(&#39;0&#39;)" />

      </td>

      <td width="60"><input name="." type="button" id="." value="." onclick="Click(&#39;.&#39;)" />

      </td>

      <td width="60"><input name="+/-" type="button" id="+/-2" value="+/-" onclick="Click(&#39;+/-&#39;)" />

      </td>

      <td width="60"><input name="/" type="button" id="/" value="/" onclick="Click(&#39;/&#39;)" />

      </td>

      <td width="60"><input name="e" type="button" id="pi4" value="e" onclick="Click(&#39;e&#39;)" />

      </td>

    </tr>

  </table>

</form>



<p><center>



</center><p>




</p></p>
</!doctype>

 

 

 

bn bi ara bunu bulduydum blogda kullanmak iicn ama bu jsp


diyalektik için kesin, mutlak hiç bir şey yoktur..Her şeyin bir geçmişi vardir ve bir geleceği olacaktır. Her şey bir kez bulunduğu yerde her zaman icin kesin olarak bulunmaz, ve o bugünki o,kesin ve son değildir 
30 Mart 2011 (Çarsamba) 22:15 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
NmC


Kayıt : 23 Kasim 2008
(Cahil AKPli)
Erkek Üye
 

warlife bunu yazdı:
-----------------------------


-----------------------------

Hocam jsp değil bu, bildiğin javascript :) js ile jsp apayrı şeyler..


There are 10 types of people in the world. Those who knows binary and those who dont... 
30 Mart 2011 (Çarsamba) 22:17 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
warlife


Kayıt : 9 Mart 2007
Erkek Üye
 

tmm o zmn js olsun :) anlamyom işte )


diyalektik için kesin, mutlak hiç bir şey yoktur..Her şeyin bir geçmişi vardir ve bir geleceği olacaktır. Her şey bir kez bulunduğu yerde her zaman icin kesin olarak bulunmaz, ve o bugünki o,kesin ve son değildir 
3 Nisan 2011 (Pazar) 20:25 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
shivo


Kayıt : 6 Haziran 2008
Townsville Şehri
Erkek Üye
 

3 sorunun cevabını da arkadaştan aldım ancak 3. soru da hata var ilk 2 sorunun cevabının da arkadaşla aynı olmasını istemiyorum çok şey istiyorrum farkındayım ama anlamıyorum şu phpden hocalar yardım edin.buraya şimdi kodları yapıştırmakla uğraşılmaz yardım edecek olan biri varsa msnden konuşalım.


 
9 Mayis 2011 (Pazartesi) 16:43 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
shivo


Kayıt : 6 Haziran 2008
Townsville Şehri
Erkek Üye
 

güncel


 
9 Mayis 2011 (Pazartesi) 17:57 tarihinde yazıldı. Kısayol | Alıntı yap | Özel Mesaj
ChelicK
(Çömez)


Kayıt : 18 Ekim 2010
Erkek Üye
 

Buremba bunu yazdı:
-----------------------------

hocam 3 tane yazmışın maşallah da oturup bir bir buçuk saat uğraşmadan bitecek şeyler değil bunlar. sen başlasan bir yere gelsen ve takılsan yardım ederiz tabi ama bu şekilde yardım edecek kişi zor bulursun bence. :(

bak sitesi bile var: http://canyoudomyhomework.com


-----------------------------

 

muhteşemmiş :)


"Ben seni daha ziyade kardeşim gibi seviyorum..." 

[1]


Bu Bölümde yeni konu açmak için dıklayın Konuyu cevaplamak için tık...
Allah'a Havale Et Google Bookmark'a Ekle Yahoo'ya Ekle Stumbleupon'a Ekle Facebook'a Ekle Twitter'a Ekle   Google'da Ara : Php‘de Yardım Edecek Olan? (ödev) Favorilerime Ekle Yukarı Çık
Konuda 9 Mesaj Var.
Konu 703 Sefer Gösterilmiş.
2001-2012 © Tahribat Group - Her Hakkı Saklıdır. - ● Gizlilik İlkeleri ● Kullanım Koşulları ● İletişim