Help with php
Moderators: raboof, MattKingUSA, khz
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Help with php
If anyone can help me with some php please message me. I've rebuilt a website from scratch but have been unable to sort out some functions in php. Thanks guys!
-Matt
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Re: Help with php
If you want to check out the website it is at https://sourceforge.net/projects/minimal-music-site/
My code is a mess but the site works for what I need.
My code is a mess but the site works for what I need.
-Matt
-
- Established Member
- Posts: 681
- Joined: Sat Nov 01, 2014 8:15 pm
- Location: The Internet
- Been thanked: 1 time
Re: Help with php
I suggest using another code hosting site as SourceForge got F from FSF: https://www.gnu.org/software/repo-crite ... ation.html
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Re: Help with php
I put a download link to jquery in the readme.txt it goes in the admin folder. Its used to list files on the server that have been uploaded in order for the user to remove them from the site.
-Matt
Re: Help with php
Javascript, right? Java is another beast that's anything but simpleMattKingUSA wrote:Well, i kind of utilized java for my site design too. :/
I notice you're not using a database, just reading info from files. Good.
The one thing I'd do differently is to do all editing/uploading via SSH/FTP. Web based admin is complicated and not very secure. Any script that takes input from the open internet and has permission to do file/database writes is just asking for pwnage. It's getting to be a huge problem for Wordpress and Drupal sites.
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Re: Help with php
Well I use ftp however the site is for some guys who dpnt know anything other than browser uploads. But I agree on security.
-Matt
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Re: Help with php
One word, my friend: BACKUPS
There are so many holes, in everything down to low-level image format libs, it's impossible to really make anything secure. At least you don't have to worry about SQL injection. And you're not the low hanging fruit. If you're not running Wordpress and you're not famous, you don't have to worry so much... yet.
There are so many holes, in everything down to low-level image format libs, it's impossible to really make anything secure. At least you don't have to worry about SQL injection. And you're not the low hanging fruit. If you're not running Wordpress and you're not famous, you don't have to worry so much... yet.
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Re: Help with php
Aww thats sad. I'm submitting an update today that changes the site name from the admin page.
As I learn more it will become more secure with updates.
I should rename it noob minimal music site.
As I learn more it will become more secure with updates.
I should rename it noob minimal music site.
-Matt
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Re: Help with php
I added an updated version with a new function to change the website title. It is under admin>look>change site name.
https://sourceforge.net/projects/minima ... ite/files/
https://sourceforge.net/projects/minima ... ite/files/
-Matt
- MattKingUSA
- Moderation Services Senior Administrator
- Posts: 795
- Joined: Fri Mar 21, 2008 4:01 pm
- Location: United States
- Has thanked: 52 times
- Been thanked: 38 times
- Contact:
Re: Help with php
I have a fix for the java. Im going to update and move the project to an fsf approved host.MattKingUSA wrote:Well, i kind of utilized java for my site design too. :/
-Matt