PHP Login System with Admin Features

Would you like to react to this message? Create an account in a few clicks or log in to continue.
PHP Login System with Admin Features

This forum was created to talk about the PHP Login System with admin features created by jpmaster77 on evolt's website


2 posters

    Function in process.php

    mbrad
    mbrad


    Number of posts : 42
    Registration date : 2009-02-19

    Function in process.php Empty Function in process.php

    Post  mbrad Wed Mar 31, 2010 2:52 pm

    Thanks for taking the time to read my question.

    Is it possible to put functions in the process.php page?

    At the moment I have them at the bottom, but when I submit my form, it gets stuck on the process.php page, so I must be doing something wrong. Or do I need to put them on another page and include it?
    Code:

    <?php
    class Process
    {
    regular stuff here...

    $process = new Process;
    }

    My functions are here
    ?>

    Thanks,

    Brad
    Linchpin311
    Linchpin311


    Number of posts : 220
    Age : 38
    Localisation : Long Island
    Registration date : 2007-05-14

    Function in process.php Empty Re: Function in process.php

    Post  Linchpin311 Wed Mar 31, 2010 5:04 pm

    it shouldnt be a problem adding a function to process.php if its done correctly, but the originally main purpose of process.php is to figure out which form was submitted and redirect to the appropriate page. so it might be best to have your function called on the page process.php redirects to.

    of course this script is fully open source so there arent any rules telling you what you can or cannot do with your script. whatever works best for you and your script.
    mbrad
    mbrad


    Number of posts : 42
    Registration date : 2009-02-19

    Function in process.php Empty Re: Function in process.php

    Post  mbrad Sat Apr 24, 2010 1:26 am

    I figured out what I was doing wrong. You can put functions in there, I was just putting them in there incorrectly.

    Thanks again for your reply. I really appreciate it.

    Brad

    Sponsored content


    Function in process.php Empty Re: Function in process.php

    Post  Sponsored content


      Current date/time is Fri May 17, 2024 6:16 am