Results 1 to 4 of 4

Thread: Form field: Covert char ' dan " sebelum transfer masuk lam SQL server

  1. #1
    Join Date
    Sep 2001
    Posts
    3
    Rep Power
    0

    Form field: Covert char ' dan " sebelum transfer masuk lam SQL server

    err...salamz..
    -Buat bro/sis yang tahu:
    Q: Aku ada satu form yang content bagi setiap fieldsnya akan disimpan lam SQL server (guna ASP). Cthnya, form feedback dari user. Tapi bila user isi form tu dengan char ' atau " page akan generate error(database error). Aku ada terfikir cara nok settlenya ialah dengan convert char tu kpd. variable/char lain sebelum simpan..tapi script aku x jadi..So..kekalau ada yang sudi share solution???

  2. #2
    Join Date
    Jul 2001
    Location
    a state of mind
    Posts
    98
    Rep Power
    220
    tsar from #lepak undernet? that u man? anyway i'm moving this post to the ..ermm.. SQL? ASP forum?
    geekrawk

    {wt} - angry middle finger
    http://geekrawk.wordpress.com

  3. #3
    Join Date
    Jul 2001
    Location
    KL, Malaysia
    Posts
    277
    Rep Power
    224
    geekrawk,

    This question has been answered in the ASP forum a few days ago :-P

  4. #4
    Join Date
    Nov 2001
    Location
    MLK
    Posts
    119
    Rep Power
    217
    i think php support this through magic_quotes_gpc = On where Get Post Cookie will get quote automaticly if there is ' and " for e.g

    i'm -> i\'m and if you query it through database just stripslashes() but well, u ask about ASP.. heh.. good luck with it then

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Free - "One Step To eBay Riches"+"Money From Home" + Rights
    By tukshad in forum Other Webmaster-related Services and Promotion
    Replies: 0
    Last Post: 25-11-2005, 10:21 PM
  2. What job are there in IT field?
    By heeheelim in forum Job Vacancies
    Replies: 1
    Last Post: 20-09-2005, 02:51 AM
  3. "apple" or "mac" domain name
    By lcf in forum Domain Names
    Replies: 5
    Last Post: 06-09-2005, 10:18 PM
  4. Replies: 10
    Last Post: 12-06-2003, 09:16 AM
  5. Replies: 2
    Last Post: 20-05-2002, 04:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39