CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

Author: bender

tumpang tanye psl html n php

[Copy link]
Post time 27-12-2008 12:11 PM | Show all posts
thankss...
Reply

Use magic Report


ADVERTISEMENT


Post time 27-12-2008 12:19 PM | Show all posts
kalo nak buat bridge cane.??..nak amik maklumat dr 2 table melalui id yg sama
...
Reply

Use magic Report

Post time 27-12-2008 12:50 PM | Show all posts
nak tny..dlm DB phpmysql leh simpan gmbr ke?..aku dah wat utk papar gmbr..boleh..tp gmbr tu aku letak dlm folder yg aku wat sistem nie..pastu rename ngan nokp je...
Reply

Use magic Report

Post time 29-12-2008 12:57 AM | Show all posts
lg 1 cane coding utk setup printer..bile masuk je page tu..trus print...
Reply

Use magic Report

Post time 30-12-2008 10:13 AM | Show all posts
banyaknya soalan....jap aku jawap satu2

kalo nak buat bridge cane.??.
- $sql = "SELECT * FROM table1, table2 WHERE table1.id = table2.id AND table1.id = ". $_GET['id'];

nak tny..dlm DB phpmysql leh simpan gmbr ke?.
- jawapannya boleh... tapi jgn di amalkan.. berat db ko nanti...just simpan nama file je
cth

  1. <img src="<?= $row['image_name'] ?>" />
Copy the Code



bile masuk je page tu..trus print

kat
  1. <body onload="print()">
Copy the Code
Reply

Use magic Report

Post time 31-12-2008 12:15 AM | Show all posts
// code lagi selamat, amalkan escape
$sql = sprintf("SELECT * FROM user WHERE id = %s", mysql_real_escape_string($_GET['id']) )
Reply

Use magic Report

Follow Us
Post time 31-12-2008 09:17 PM | Show all posts
tq
Reply

Use magic Report

Post time 31-12-2008 09:30 PM | Show all posts
Originally posted by bmw_e34 at 31-12-2008 12:15 AM
// code lagi selamat, amalkan escape
$sql = sprintf("SELECT * FROM user WHERE id = %s", mysql_real_escape_string($_GET['id']) )


ni utk apee?
Reply

Use magic Report


ADVERTISEMENT


Post time 31-12-2008 10:36 PM | Show all posts
untuk elakkan sql injection

kalau  nak lagi lagi selamat

// kita tau $id dalam bentuk integer sahaja
If( is_int($_GET['id']) ):
  $sql = sprintf("SELECT * FROM user WHERE id = %s", mysql_real_escape_string($_GET['id']) );
Else:
  print 'tidak sah';
  die();
EndIf;
Reply

Use magic Report

Post time 1-1-2009 02:24 PM | Show all posts
cane nak setelkan mslh SMTP tu??...nak wat forgotten password tp function SMTP xberfungsi..cane nak bolehkan ia berfungsi..?

Warning:  mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in C:\xampp\htdocs\xampp\test\send_password_ac.php on line 52
Cannot send password to your e-mail address
Reply

Use magic Report

Post time 1-1-2009 10:40 PM | Show all posts
board..kalo klik button pastu print lak cane?
Reply

Use magic Report

Post time 2-1-2009 12:38 AM | Show all posts
lor tak sudah lagi SMTP ko ke???
ko guna XP ke WinServer?

kalau print ko buat la popup... kat < body onload="print();" > tu je
Reply

Use magic Report

Post time 2-1-2009 11:46 AM | Show all posts
Originally posted by BorderManager at 2-1-2009 12:38 AM
lor tak sudah lagi SMTP ko ke???
ko guna XP ke WinServer?

kalau print ko buat la popup... kat < body  > tu je


xjd lagik SMTP....gune XP.............yg pprint utk body onload tu bleh...tp kalo kite klik button pastu kuar print cane?
Reply

Use magic Report

Post time 7-1-2009 07:47 PM | Show all posts
Boardmanager..cane..dpt takk??
Reply

Use magic Report

Post time 8-1-2009 03:44 AM | Show all posts
sorry... aku tak de workstation nak test la.........sebab pc kat rumah, office & laptop semua pakai linux
Reply

Use magic Report

Post time 8-1-2009 08:16 PM | Show all posts
boardM...cane ek nak wat link mcm niee?...taukt ak katne nak cr code dier...

Reply

Use magic Report


ADVERTISEMENT


Post time 9-1-2009 08:04 AM | Show all posts
tu guna ccc + javascript (kat onmouseover)

nak tau code ko tengok la source code... sure ada punya
Reply

Use magic Report

Post time 9-1-2009 11:01 AM | Show all posts
oo..sat aku nak p tgk source code dier..
Reply

Use magic Report

Post time 9-1-2009 05:10 PM | Show all posts
hmmm..dah tgk source code dier...pening sket sbb ader yg di hide..so xberape paham sgt code dier...kat mane ye nak blaja yg menu2 tu.....
Reply

Use magic Report

Post time 10-1-2009 01:58 AM | Show all posts
ape maksud

Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in C:\xampp\htdocs\xampp\test\forgot.php on line 33


ape yg invalid tu yee?...

ni code aku


mail($email, "Your Password", "User Name: ". $fPass1["name"] ."\nPassword: ". $fPass2["password"],"FROM: [email protected]");
echo "Your Password has been sent to ". $email .".";  
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT


Forum Hot Topic

 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

25-1-2025 01:40 PM GMT+8 , Processed in 0.066168 second(s), 27 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list