Lightwave Community at SimplyLightwave

Lightwave Community at SimplyLightwave (http://simplylightwave.com/forum//index.php)
-   Site Questions & Suggestions (http://simplylightwave.com/forum//forumdisplay.php?f=8)
-   -   Suggestion for Philip (http://simplylightwave.com/forum//showthread.php?t=1498)

gase3924 30-11-2003 03:41 AM

Suggestion for Philip
 
Hey Philip you have made one of the best tutorials on the net.Thanks for helping us.So i have a suggestion for the next tutorial.Why dont you make a tutorial where you will show us how to make a texture in PhotoShop.And that texture to use them for UV maps for the face ,eyes and everything.
Thanks for reading this
Regards

rich_is_bored 30-11-2003 05:57 AM

He has alot of tutorials in the works already. I'm sure he or our new tutorial guru will soon enough.

Leovenous 02-12-2003 01:26 AM

...if one of the Photoshop guys don't do it first. ;)

cuse 02-12-2003 12:09 PM

At the end of the Head Modeling Tut Philip says he will be continuing the Head to details and textures etc doesnt he?

Hopefully thats sooon ;)


Great stuff though, wish there was more...


cuse

02-12-2003 01:20 PM

LOL glad your enjoying it cuse....

Yep he is working on a few things right now, he has the fish / head / maclaren and now is also working on the DVD`s that we will hopefully be releasing around xmas time :)

But with peter just starting with us - this will release the pressure on Phil a bit :)

cuse 02-12-2003 01:25 PM

yea its all good, im eating it all up when i can. It would be cool if there was something more on building an organic scene? - More trees, flowers etc? maybe thats something we can suggest for a tut? There's the big Alienware challenge going on til Jan so it would be nice to see a picket fenced house in the regular world without chaos and aliens ;)

Thanks for everything tho guys...



cuse

K Dawg 03-12-2003 12:12 PM

Didn´t wanna make a new Topic so I´ll ask here.

This is not for Philip (nächstes mal ok? :D) it´s for my name veteran Kev the Admin.

I´ve noticed you have the Download section locked untill someone has registered in the forum. I hope you know what I meen.
Can you tell me how that works? I´ll need that for my new page too.

03-12-2003 02:21 PM

dave is the code king :)

He done all the cool features on the site, Give him a pm Im sure he can offer some advice

David 03-12-2003 03:46 PM

Quote:

Originally posted by K Dawg

I´ve noticed you have the Download section locked untill someone has registered in the forum. I hope you know what I meen.
Can you tell me how that works? I´ll need that for my new page too.

In perl or PHP its very simple I'll use perl for this example.

Code:

#!/usr/bin/perl -w
use strict;
use DBI;
use CGI;

my $q = new CGI;

my $dbh;
eval {
$dbh = DBI->connect("DBI:mysql:database='db name';host='localhost';port='3306'",'serverUser','serverPass')
    or die "Cant connect to Db $DBI::errstr\n";
};

if ($@) { graceful_error($DBI::errstr); };

my %c = Apache::Cookie->fetch;
my $logedin_status = exists $c{bbuserid} ? $c{bbuserid}->value() : undef;
my $password = exists $c{bbpassword} ? $c{bbpassword}->value() : undef;

my $sth = $dbh->prepare("SELECT `username`, `password`, `usergroupid` FROM `user` WHERE `userid`=? AND `password`=?");

eval {
    $sth->execute($logedin_status, $password )
        or die;
};
if ($@) { graceful_error($DBI::errstr); };

my $hr_user = $sth->fetchrow_hashref('NAME_lc');

if (!$hr_user->{'username'}) {
    print $q->header;
    print "Sorry you do not have permission to access this download";
    exit(1);
} elsif ($hr_user->{'usergroupid'} == 3) {
    print $q->header;
    print "We have found a record of your account but we have received no confirmation e-mail form you";
    exit(1);
} else {
    print $q->header;
    print "Download link"
}


sub graceful_error {

    my $err = shift;

    print $q->header;
    print "ERROR: $err";
    exit(1);
}

If you need an explanation of what's doing what just ask.

David :)

K Dawg 04-12-2003 11:20 AM

Ouch, what language ist that? lol

Ok its perl, no wonder i can´t read it. anyway. Thx for the replie.

Ok do need some help. If I decide to use PHP, how does the code look and where do I put it in?
And for the Perl. where do I put that in? Does the PHP Code work alone without the perl code?

I´d rather take the PHP code cause atleast I can read some of it. lol


All times are GMT. The time now is 11:11 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
SimplyLightWave.com 2011