Show DevBest RaptorCoder ~ Development

Status
Not open for further replies.

Adil

DevBest CEO
May 28, 2011
1,276
714
I've been working on this project for some time, nothing has been set in stone.
I've coded my basic mathematical function, and have obtained a template. (Credits to Ryan/Retroa && Rasta)
RC.NET (as it is now known) can be downloaded here:

You'll need:
  • NET 4.0
  • VC# 2010
  • Windows
RC.PHP is still under construction. Planned features are:

  • Simple user system
  • Encoded key storage
I've managed to create a small database, which isn't finished as of yet/
Pictures:
Selection_027.png

Selection_025.png

Selection_026.png

I have a problem with validation of forms.
PM me if you wish to help.
~Adil

JokerAPIGoogleChrome_033.png

Starting work on user system.
 

Adil

DevBest CEO
May 28, 2011
1,276
714
I love this, it has my CSS ^^
:D
Anyway, done some work on a register form.
JokerAPIGoogleChrome_041.png

Not finished yet ;D. I need some ideas

Custom function (courtesy of Dom)
PHP:
<?php
function adilsRandomString() {
    $alphanumerics = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $result = 'lol';
    for ($x = 0; $x < 32; $x++) {
        $result .= $alphanumerics [mt_rand(0, strlen($alphanumerics))];
    }
    return $result;

}
echo adilsRandomString();
?>
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
I
Custom function (courtesy of Dom)
PHP:
<?php
function adilsRandomString() {
    $alphanumerics = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $result = 'lol';
    for ($x = 0; $x < 32; $x++) {
        $result .= $alphanumerics [mt_rand(0, strlen($alphanumerics))];
    }
    return $result;

}
echo adilsRandomString();
?>

That'd be good for something like an SSO ticket, nice job.
 

Adil

DevBest CEO
May 28, 2011
1,276
714
Thanks Manuel :D.
I'm currently taking a break, cause I'm lazy.
Anyway, I've been thinking of doing this:
PHP:
/*
breaking my template up into:
$header
$body
$footer
*/

Lack of updates == no interest.
Still will be coding, reworking the template, for a better design.

PHP:
<?php
$session_allowed = False;
if ($session_allowed == False){
    echo "You cannot view this page";
    header ('Location: http://localhost/joker');
}
?>
A small snippet, disallowing users to access certain pages. Will be secured.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
PHP:
<?php
$session_allowed = False;
if ($session_allowed == False){
    echo "You cannot view this page";
    header ('Location: http://localhost/joker');
}
?>
A small snippet, disallowing users to access certain pages. Will be secured.

If I used a PS3, I could view that page.
 

Tr0ll.

Member
Nov 20, 2010
99
5
PHP:
<?php
$session_allowed = false;
if (!$session_allowed){
    echo "You cannot view this page";
    header ('Location: http://localhost/joker');
}
?>
A small snippet, disallowing users to access certain pages. Will be secured.
Good PHP Practice: Clean yo code
 
Status
Not open for further replies.

Users who are viewing this thread

Top