open.mp forum
[Web] DC-RP UCP - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13)
--- Thread: [Web] DC-RP UCP (/showthread.php?tid=449)



DC-RP UCP - Seanny - 2019-04-23

- Deleted -


RE: DC-RP UCP - Takumi86 - 2019-05-10

?Image?


RE: DC-RP UCP - 6cadilab9 - 2019-05-11

I think this is very bad, you should look into oop and mvc, I hate seing php and html mixed


RE: DC-RP UCP - JustMichael - 2019-05-11

(2019-05-11, 11:46 AM)6cadilab9 Wrote: I think this is very bad, you should look into oop and mvc, I hate seing php and html mixed



You say that, but that is literally the whole point of php `<php` and `?>` tags



The whole concept is built around the idea that php can be used inside and outside html.



I've used php for over 8 years and only in the last 2 years moved away from it (so I know what you mean)



Rust ftw


RE: DC-RP UCP - 6cadilab9 - 2019-05-13

I am very aware that php was built for that, but do you really think that code like this is good practice in this era? xD

Been doing some stuff with django and flask, pretty much the same practice



Go ftw


RE: DC-RP UCP - whadez - 2019-05-13

staff.php says it all lol


RE: DC-RP UCP - Seanny - 2019-05-13

You also have to remember that I am not a web developer of any sort (fullstack, backend, frontend, whatever). This was something I made to fulfil the needs of my server when it was running.



If you want to fix all the backend code, you're more than welcome to make a pull request.