Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

]); if ($student && $request->hasFile('student_id')) { $..

Decoded Output download

<?  ]); 
 
            if ($student && $request->hasFile('student_id')) { 
 
                $user->addMedia($request->file('student_id'))->toMediaCollection('student_ids'); 
 
            } 
 
 
 
        } elseif ($user && $request->user_type === 'corporate') { 
 
            Corporate::create([ 
 
                'user_id' => $user->id, 
 
                'organization_name' => $request->organization, 
 
                'organization_contact' => $request->organization_contact, 
 
                'email' => $request->email, 
 
                'website' => $request->website, 
 
                'logo' => $request->logo, 
 
            ]); 
 
        } elseif ($user && $request->user_type === 'individual_professional') { 
 
            IndividualProfessional::create([ 
 
                'user_id' => $user->id, 
 
                'registration_number' => $request->registration_number, 
 
            ]); 
 
        } 
 
 
 
 
 
 
 
 
 
        // dd($request->errors()->all()); 
 
 
 
        event(new Registered($user)); 
 
 
 
        Auth::login($user); ?>

Did this file decode correctly?

Original Code

]);

            if ($student && $request->hasFile('student_id')) {

                $user->addMedia($request->file('student_id'))->toMediaCollection('student_ids');

            }



        } elseif ($user && $request->user_type === 'corporate') {

            Corporate::create([

                'user_id' => $user->id,

                'organization_name' => $request->organization,

                'organization_contact' => $request->organization_contact,

                'email' => $request->email,

                'website' => $request->website,

                'logo' => $request->logo,

            ]);

        } elseif ($user && $request->user_type === 'individual_professional') {

            IndividualProfessional::create([

                'user_id' => $user->id,

                'registration_number' => $request->registration_number,

            ]);

        }









        // dd($request->errors()->all());



        event(new Registered($user));



        Auth::login($user);

Function Calls

None

Variables

None

Stats

MD5 721b68b4db948e7ed95f03f98d609d1b
Eval Count 0
Decode Time 57 ms