INGIN UPDATE BERITA KOMPUTER & BERITA TEKNOLOGI?
Komunitas Forum Diskusi Teknologi Komputer Komunitas IT Indonesia "Sebelum bertanya Cari dulu di sini:"


Diskusiweb RSS

Not logged in [Login - Register]
Go To Bottom

Printable Version  
Lowongan Programmer Java Situs Anti Gaptek
Ingin jadi programmer java? Masih fresh graduate? Ga masalah, yang penting mau belajar Ingin ga gaptek? Kunjungi www.beritateknologi.com saja tiap hari, pasti ilang gapteknya

Tampilkan posting terkait dengan 10 kesalahan yang sering dilakukan dalam coding PHP
 Pages:  1  2
Author: Subject: 10 kesalahan yang sering dilakukan dalam coding PHP
Mie Sedap
Remaja Dwebber
***


Avatar


Posts: 186
Registered: 5/4/07
Member Is Offline

Mood: Mie Family

[*] posted on 28/8/09 at 07:29 AM


kerapihan itu tergantung penulisnya/pemrogram.




butuh bantuan untuk :
1. Selesaikan Masalah Pemrograman?
2. Develop Aplikasi?
3. Rancang Bangun Aplikasi?

Ya.. kalau anda u2u ke saya maka anda telah melakukan sesuatu hal yang tepat.
Mie Family mempunyai anggota yang banyak, dan bergerak dengan Cepat, Tepat dan Senyap.

get_miefamily Not Free
View user's profile Visit user's homepage View All Posts By User
n19ht5h4d0w
Remaja Dwebber
***




Posts: 110
Registered: 21/5/09
Member Is Offline


[*] posted on 28/8/09 at 07:51 AM


"Menurut saya mereka lebih mudah dipake, lebih simpel"

merujuk ke posting sebelumnya, validasi ...
saya yakin jarang ada yg tau keluarga fungsi ini :

http://www.php.net/manual/en/book.filter.php
lebih spesifik ke kumpulan fungsinya : http://www.php.net/manual/en/ref.filter.php
lebih spesifik ke fungsi yg biasa dipake :
http://www.php.net/manual/en/function.filter-input.php
http://www.php.net/manual/en/function.filter-var.php
kalo mau filter borongan :
http://www.php.net/manual/en/function.filter-input-array.php
http://www.php.net/manual/en/function.filter-var-array.php




.
View user's profile View All Posts By User
ang89
Pemula
*




Posts: 9
Registered: 21/8/09
Member Is Offline


[*] posted on 28/8/09 at 08:55 AM


Mas nightshadow,

Saya baru tau PHP punya fungsi validasi dan sanitasi built-in. Thanks referensinya :)
View user's profile View All Posts By User
newuser
Moderator
******




Posts: 3149
Registered: 13/5/05
Location: Jkt - Yogya
Member Is Offline

Mood: Point Blank

[*] posted on 29/8/09 at 07:09 PM


sanitasi baru built-in di php versi 5.2 ke atas. Di bawah itu silahkan beregex ria :P



"Good programmers use their brains, but good guidelines save us having to think out every case."
(Francis Glassborow).
View user's profile View All Posts By User This user has MSN Messenger
n19hthunt3r
Remaja Dwebber
***




Posts: 103
Registered: 22/5/09
Member Is Offline


[*] posted on 2/9/09 at 10:41 AM


gini nih contoh programmer yg gak clean coding :
http://www.bappenas.go.id/node/26/1578/aplikasi-pp-39/

bikin malu saja :thumbsdown ::thumbsdown ::thumbsdown :




.
View user's profile View All Posts By User
arvеrnester
Remaja Dwebber
***


Avatar


Posts: 107
Registered: 18/6/09
Location: YoGyaKarTa
Member Is Offline

Mood: http://the-arvernester.co.cc

[*] posted on 2/9/09 at 10:45 AM


Quote: Originally posted by n19hthunt3r  
gini nih contoh programmer yg gak clean coding :
http://www.bappenas.go.id/node/26/1578/aplikasi-pp-39/

bikin malu saja :thumbsdown ::thumbsdown ::thumbsdown :


anu.. tapi itu project web nya dah cair kok. :biggrin::biggrin:
View user's profile View All Posts By User
newuser
Moderator
******




Posts: 3149
Registered: 13/5/05
Location: Jkt - Yogya
Member Is Offline

Mood: Point Blank

[*] posted on 2/9/09 at 10:51 AM


Quote: Originally posted by n19hthunt3r  
gini nih contoh programmer yg gak clean coding :
http://www.bappenas.go.id/node/26/1578/aplikasi-pp-39/

bikin malu saja :thumbsdown ::thumbsdown ::thumbsdown :


wew kok itu notice nya dinyalain kang?
abot tenan webnya




"Good programmers use their brains, but good guidelines save us having to think out every case."
(Francis Glassborow).
View user's profile View All Posts By User This user has MSN Messenger
starboard
Moderator
******


Avatar


Posts: 2044
Registered: 26/2/05
Location: starboard.web.id
Member Is Offline

Mood: :dooM

[*] posted on 2/9/09 at 10:52 AM


gampang lah, itu nanti buat budget project tahun 2010 :laugh :



Menggunakan Windows® 7

View user's profile Visit user's homepage View All Posts By User
newuser
Moderator
******




Posts: 3149
Registered: 13/5/05
Location: Jkt - Yogya
Member Is Offline

Mood: Point Blank

[*] posted on 2/9/09 at 10:56 AM


Quote: Originally posted by starboard  
gampang lah, itu nanti buat budget project tahun 2010 :laugh :


aiihh...saya pernah denger kata2 ini di awal puasa dari org jkt :grin :




"Good programmers use their brains, but good guidelines save us having to think out every case."
(Francis Glassborow).
View user's profile View All Posts By User This user has MSN Messenger
newuser
Moderator
******




Posts: 3149
Registered: 13/5/05
Location: Jkt - Yogya
Member Is Offline

Mood: Point Blank

[*] posted on 2/9/09 at 10:57 AM


hahaha kok saya bisa nebak siapa yg buat yah :D



"Good programmers use their brains, but good guidelines save us having to think out every case."
(Francis Glassborow).
View user's profile View All Posts By User This user has MSN Messenger
starboard
Moderator
******


Avatar


Posts: 2044
Registered: 26/2/05
Location: starboard.web.id
Member Is Offline

Mood: :dooM

[*] posted on 2/9/09 at 11:11 AM


wuiih bro newuser memang hebat.



Menggunakan Windows® 7

View user's profile Visit user's homepage View All Posts By User
black_ip82
Remaja Dwebber
***


Avatar


Posts: 257
Registered: 27/9/05
Member Is Offline


[*] posted on 2/9/09 at 11:11 AM


nambahin:

http://www.w3schools.com/PHP/php_ref_filter.asp




"Don’t waste your time or time will waste you"
(Matthew James Bellamy)
View user's profile View All Posts By User
newuser
Moderator
******




Posts: 3149
Registered: 13/5/05
Location: Jkt - Yogya
Member Is Offline

Mood: Point Blank

[*] posted on 2/9/09 at 11:15 AM


Quote: Originally posted by starboard  
wuiih bro newuser memang hebat.


pantesan ente maen jquery terus :p




"Good programmers use their brains, but good guidelines save us having to think out every case."
(Francis Glassborow).
View user's profile View All Posts By User This user has MSN Messenger
K Raza Arkana
Remaja Dwebber
***


Avatar


Posts: 122
Registered: 17/6/09
Member Is Offline


[*] posted on 7/10/09 at 10:01 AM


Quote: Originally posted by Lip tri  
Leh nanyak 1 lg om? Aku Lg nyoba bikin vertivikation code mke code gambar ko ga jalan2 ya knp tu om kayak ga ngaruh code gambarnya reg nya mau salah pa bener regnya sukses trus om


silahkan buat thread tentang pertanyaan.




\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
View user's profile View All Posts By User
K Raza Arkana
Remaja Dwebber
***


Avatar


Posts: 122
Registered: 17/6/09
Member Is Offline


[*] posted on 7/10/09 at 10:17 AM


Quote: Originally posted by Lip tri  
Leh nanyak 1 lg om? Aku Lg nyoba bikin vertivikation code mke code gambar ko ga jalan2 ya knp tu om kayak ga ngaruh code gambarnya reg nya mau salah pa bener regnya sukses trus om


Silahkan anda membuat thread sendiri, klik tombol new topic di forum yang sesuai.

Misal anda menggunakan PHP, maka silahkan masuk forum PHP Pemula dan klik new topic,

dengan judul semisal "Image Verifikasi code"

kalau anda bikin topik di sini "10 kesalahan yang sering dilakukan dalam coding PHP "
http://www.diskusiweb.com/viewthread.php?tid=28313

salah, yang akan menjawab nggak tahu kalau di sini ada pertanyaan.

*u2u di kirim juga




\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
View user's profile View All Posts By User
qahar
Balita dwebber
**




Posts: 41
Registered: 4/3/09
Member Is Offline


[*] posted on 17/12/09 at 12:57 PM
sql..


mau tanya tetang sql injection donk..

kesalahan penulisan php seperti apa yang menyebabkan bisa dilakukan sql injection..

coz cari2, rata-rata bahasnya udah pencegahan. tapi ga jelasin kesalahan kode yang memungkinkan sql injection di mananya. kalau tau kan bisa diminimalisir atau dihindari :aham:




View user's profile View All Posts By User
Sembrani
Remaja Dwebber
***


Avatar


Posts: 149
Registered: 31/7/09
Member Is Offline


[*] posted on 17/12/09 at 01:58 PM


Ya itu tadi input tidak di filter dulu.




Surabaya Pasar Turi - Cepu - Semarang Tawang - Pekalongan - Cirebon - Jakarta Gambir - Jakarta Kota
View user's profile View All Posts By User
mxtniznyn
Balita dwebber
**




Posts: 34
Registered: 22/4/08
Member Is Offline


[*] posted on 26/2/10 at 08:16 AM


Untuk penggunaan framework, saya lebih setuju untuk menggunakannya. Karena dapat mempercepat proses pengembangan, maklum masih newbie, jadi belum punya suatu framework sendiri.



My blog: iznyn Blog
View user's profile Visit user's homepage View All Posts By User
reynold_gobel
Pemula
*




Posts: 9
Registered: 17/4/10
Member Is Offline


[*] posted on 17/4/10 at 12:48 PM


KALO PESAN ERROR SEPERTI DI BAWAH INI... KENAPA YA???? MOHON BANTUANNYA....

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in c:\apache\htdocs\phplot\phplot.php on line 46

Fatal error: Cannot instantiate non-existent class: phplot in c:\apache\htdocs\phplot\test.php on line 25
View user's profile View All Posts By User
AxellRW
Pemula
*




Posts: 1
Registered: 16/5/10
Member Is Offline


[*] posted on 16/5/10 at 02:14 PM


Quote: Originally posted by n19ht5h4d0w  
"Menurut saya mereka lebih mudah dipake, lebih simpel"

merujuk ke posting sebelumnya, validasi ...
saya yakin jarang ada yg tau keluarga fungsi ini :

http://www.php.net/manual/en/book.filter.php
lebih spesifik ke kumpulan fungsinya : http://www.php.net/manual/en/ref.filter.php
lebih spesifik ke fungsi yg biasa dipake :
http://www.php.net/manual/en/function.filter-input.php
http://www.php.net/manual/en/function.filter-var.php
kalo mau filter borongan :
http://www.php.net/manual/en/function.filter-input-array.php
[url]http://www.php.net/manual/en/function.filter-var-array.php
[/url]

Quote: Originally posted by aditia  
Boleh nambahin, kayanya udah pada tau sih,
buat ngindarin sql injection
kita cek dulu magic quotesnya pake get_magic_quotes_gpc() sebelum dieksekusi mysql contohnya:
<?php
if($_POST['submit'])
{
$data = $_POST['data'];
if(get_magic_quotes_gpc())
{
$data = addslashes($data);
}
$data = mysql_real_escape_string($data);

// baru setelah itu data dimasukin ke database
}
?>


Thanks atas informasinya..
Salam dari newbie untuk para master..




NEWBIE BARU MASUK..
View user's profile View All Posts By User
 Pages:  1  2
Lihat Posting Terbaru

Pencarian Populer:
- hosting gratis
- pdf report generator
- cctv online
- website traffic analysis
- server monitoring
- hosting indonesia
- meningkatkan traffic
- sms gateway
- pay per click
- gps online
- decrypt encrypt tool
- encrypt php
- decrypt md5
- cara buat website gratis
- download gratis aplikasi penjualan & gudang
- download buku panduan SAP
- download free game
- contoh program java
- game ponsel nokia
- cari duit dg google adsense
- download driver printer Canon
- software vb gratisan
- free software akuntansi
- lowongan programmer
- windows 7

  Go To Top

XMB Forum Software © 2001-2009 The XMB Group