+ Reply to Thread
Results 1 to 2 of 2

Thread: Phone field format hack :D

  1. #1

    Phone field format hack :D

    I'm wondering how could this happen when a user added his phone in the phone field (see attached pics)?
    The first picture is my phone field options, and the second one is the phone field from a user's listing.
    I haven't noticed other users with a wrong phone format like this in their phone field. They all have correct phone format like (123) 456-789.
    I don't know how this user managed to do that
    Attached Images Attached Images

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014

    It can be hacked by changing html attribute maxlength:


    so I've changed on your side the code in includes > classes > rlListings.class.php > public function create > case 'phone':

    PHP Code:
    Only registered members can view the code
    PHP Code:
    Only registered members can view the code
    the same for public function edit

+ Reply to Thread