Search found 6 matches

by Zeggy
Mon Jan 14, 2008 1:32 pm
Forum: PHP - Code
Topic: Creating a package system
Replies: 4
Views: 223

Re: Creating a package system

Okay, I've looked at PEAR_PackageFileManager2, but it seems to be for managing PEAR packages. I was wondering how I could code something similar, but simple, myself. I was thinking about SMF as an example. Here's an old type of package file that they used to use: -- This information needs to be the ...
by Zeggy
Sun Jan 13, 2008 9:51 am
Forum: PHP - Code
Topic: Creating a package system
Replies: 4
Views: 223

Re: Creating a package system

Um, I have a version constant and a version check in my script, the problem is having the script download a package and automatically patch the files, like in SMF.

I'll take a look at PEAR_PackageFileManager2, but I'm confused about how PEAR works... :/
by Zeggy
Sat Jan 12, 2008 9:43 am
Forum: PHP - Code
Topic: Creating a package system
Replies: 4
Views: 223

Creating a package system

Hi, I want to learn how to create a package system like SMF's package system so that I can release modifications to my script easily. Does anybody know how the package system in SMF works, and how I could code something similar? It doesn't need to be very advanced, just a simple one will do. Or, doe...
by Zeggy
Wed Jan 09, 2008 5:15 am
Forum: PHP - Security
Topic: Security Idea
Replies: 4
Views: 1102

Okay, thanks Mordred, I understand now :)

I just wanna say, I'm not much of a security expert. This was just an idea. I didn't find much in my short search on google because I don't know what keywords to use. I'm not sure if this method has a name.

But I guess this method isn't really useful.
by Zeggy
Tue Jan 08, 2008 11:34 am
Forum: PHP - Security
Topic: The quest for safe eval() of user input
Replies: 29
Views: 18217

I like what you're doing here, it sounds like it could be useful :)

The runkit sandbox sounds useful as well though, maybe you could try using that in your safer eval() function?
by Zeggy
Tue Jan 08, 2008 11:24 am
Forum: PHP - Security
Topic: Security Idea
Replies: 4
Views: 1102

Security Idea

I got an idea for security, not that any more security techniques are needed, but it seemed interesting to me :) If anybody's interested: http://www.pbbgblog.com/2008/01/07/using-md5-and-sha-1-separately/ I would like to know any responses, or feedback. (Post here or leave a comment) Basically, woul...