Jump to content


Most Liked Content


#278171 New to the forums? Introduce yourself in here!

Posted by Judes on 24 April 2011 - 09:00 AM

Hi everyone!


I'm new to the forum. How is everyone doing?
My name is Judy and I've stumbled upon here by browsing a million websites and found this place to be quite interesting!

See you around :)


#271338 New to the forums? Introduce yourself in here!

Posted by Faken on 27 September 2009 - 09:43 PM

First time using the forums?  Don't be shy, introduce yourself and tell us a little about you and what brings you to our little corner of the web!

Dan


#276039 New to the forums? Introduce yourself in here!

Posted by marten on 22 October 2010 - 11:57 PM

Hello friends

i am marten the new member of this forum. i recently create account on the p2l. i found this is very useful forum.


#9211 Forum Rules & Guidelines - Please Read

Posted by Faken on 26 September 2004 - 08:46 PM

Ok, here are the rules of the road, take 2!

Welcome to Pixel2life! The administrative and senior staff works hard to provide you with the best learning and friendly community based atmosphere we can. There are a few guidelines and processes that should be followed that will make our lives - and yours - as easy as possible!

This is the General forum. Please post all general topic threads here and not in topic specific forums. Additionally, please do not post website ads/plugs or site support questions here as we have forums for those as well (click on links!).

Site Support: http://www.pixel2lif...php?showforum=6

About critiquing!

Before we start, I would like to point out that MANY posts on this forum are requesting feedback on their sites, artwork, tutorials etc...  Please offer contructive criticism or don't say anything at all.  We all have to start somewhere, so comments like "That looks dumb" or "You just followed the tut idiot" or "That sucks" are completely unacceptable and will earn a ban.  This rule is STRICTLY enforced and is not tolerated from members or staff.  So please offer constructive and positive criticism or just move on to the next thread :blink:

Ban Guidelines

1. Posting Outwar links or links like them will warrant a permanent ban.  MONEY AFFILIATES, spam links and other schemes are also completely unacceptable and will not be tolerated in posts or signatures.  This includes any type of point or subscription based reward programs like free ipods, domain names etc...  If you get something by having members click on it, it probably qualifies for a ban.  Contact an admin if you're not sure.  If you want to earn revenue online, please do so on your own website and not off our backs.  This type of violation will result in a warning and then a ban.
2. Ignoring staff warnings or testing patience / boundaries.
3. Racism
4. Posting information not pertinent to the thread with the sole purpose of derailing the discussion (trolling).
5. Flaming will not be tolerated here. If you want to have a "heated" discussion with other members, PM them
6. Troublemaking. Starting problems for the sake of stirring up waves will get you removed.
7. Porn, nudity, links to porn will not be tolerated. We are not a thumbnail gallery nor are we a link database. If you're that hard up, Google your way to happiness.  If you have a joke image of some kind or artwork that is not safe for viewing at work, please provide a link to the item and be sure to label it ***NWS***
8. Abuse to staff will not be tolerated under any circumstances. The staff are volunteers, but they didn't volunteer to take your abuse.
9. Abuse to other Pixel2life members will not be tolerated either.
10. Using our forum to promote websites of any kind (other than posting in the websites r' us forum) will earn you a deletion and ban (not necessarily in that order).  A link to your website is fine in your sig - we just don't want site plugs all over the place.
11. Posting for someone who is banned can warrant up to a site ban. Additionally, creating a new account to post if you have been banned is strictly prohibited.
12. Creating "Free" banned member threads.
13. Quoting someone, then editing their quote in an attempt to make them look bad or get them banned.

IF YOU WANT TO SELL SOMETHING!

If you would like to sell an object, website, domain or your freelance services, we have classified forums for this very purpose.  You can find these forums HERE and bear in mind it costs $5 per ad you wish to post.

Locking / Deleting Guidelines

1. Blatant stupidity.
2. Flaming and usless insults. This may result in a ban.
3. Duplicate threads - by that I mean creating a new thread on a topic already covered in an existing thread. Stay on topic in the original thread and you can avoid this sort of thing.
4. Discussing methods used to aid in the illegal proliferation of copyrighted material is not allowed. If you want to make a political statement by declaring your resolve in not purchasing MP3 music is one thing, but discussing methods on the distribution of such will get your thread locked or deleted. Making a habit of this will get you banned.
5. Disgruntled that your favorite drug is illegal? Email your congressman  This is not the site to make such statements.

Signature ("sig") Removal Guidelines

Your signature needs to follow the guidelines posted here in the General Forum. We have people that are on 56k. (Yes, it's true!) Some viewers (including almost all staff) visit this site at work as well.

Overview of Signature Guidelines

1: One (1) Sig Banner per member.
2: These guidelines must be followed. Edits will ensue if they are not. If we need to repeatedly edit your sig we'll be forced to take other action.
3: No nudity whatsoever, obvious, implied or otherwise. Bathing suits are fine, skimpy bikinis are not. Violating this is an instant ban.
4: Sig width no more than 500 pixels, height no more than 150 pixels. This is more than enough room for your creativity.
5: Sigs must be under 60kb. There is no reason for a jpg that is 500x150 to be over 60kb.
6: No embedded sounds in sigs, not even on mouseovers.
7: Symbols or insignia of fallen oppresive/murderous regimes or terror organizations will result in the sig's removal.
8: No dynamic or rotating sigs or affiliate url's.
9: No more than 4 lines of text (80 characters per line)

We have a sig banner restriction script in place as per April 9th, 2007 if you get error messages trying to add your sig banner in it's because you haven't followed our guidelines.

Other Important Information

1. Sigs that cause extremely slow page loads due to slow hosts will be immediately removed and a warning will be placed in your sig area advising you this. Putting it back and causing the pages to load slow again will be an immediate ban. Please respect the others that visit this site.
2. Usage of deragatory terms and profanity in sig images is highly discouraged, and frowned upon by staff.
3. ANYONE caught using an image rotator/dynamic script in their signature will be banned on the spot for 1 week. No warning - no nothing. This will not be tolerated. Continued abuse will result in the removal of everyone's ability to post images in their sigs and we'll keep it text based if necessary. I'm sure no one wants it to come to that, so let's clean it up guys. Static images only please.


Below is a sample of the maximum size allowed.

Posted Image

The list seems long, but if you read it all, you'll realize this is common sense.  Please use it, and we'll all get along with monkey love! <3

Faken


#236776 create dvd menu using windows movie maker

Posted by donkeymusic on 24 September 2007 - 04:35 PM

Hello, wondered if anyone could help me, i have put together a series of clips that i would like to show as a dvd, now i have used windows movie maker to edit the clips and would like to put them onto dvd but what i am not sure now is how to create chapters and a menu system.

can anyone help?

thanks


#273439 Simple Logo Contest - $25 for 1st place, $15 for 2nd place, $1...

Posted by Faken on 13 January 2010 - 07:48 PM

Good luck to everyone that enters!

Dan


#133321 Forum Rules & Guidelines - Please Read

Posted by Donna on 09 April 2006 - 10:21 PM

Our Forum Guidelines have been updated, please be sure to re-read them specifically the Sig Guidelines, as they have been slightly changed.

:friends:


#271897 35 PHP programming tips/tricks.

Posted by Yousha(Y.P.Y) on 10 October 2009 - 09:18 AM

Security:
1- Do not save included files such as FileName.inc!
Use FileName.class.php or FileName.include.php or...
Or use an HTAccess file to determine the access levels:
<FilesMatch "\.(htaccess|inc)$">
Order Allow,Deny
Allow from localhost
Allow from 127.0.0.1
Deny from all

# Or

AddType application/x-httpd-php .inc .php .php3 .php4 .php5 .php6 .phphtml
AddHandler application/x-httpd-php .inc .php .php3 .php4 .php5 .php6 .phphtml
</FilesMatch>

Speed:
2- DONT open/close PHP tags for excessive.

Security & optimization:
3- Start your PHP classes with __construct function or ClassName function.

class MyClass
{
public function __construct()
{
# Codes...
}
}
# Or
class MyClass
{
public function MyClass()
{
# Codes...
}
}

If you do not use class inheritance, Start classes and functions with the Final keyword.
final class MyClass
{
final public function MyClass()
{
# Codes...
}

final private function MyFunction()
{
# Codes...
}
}


Security:
4- Dont store passwords/Showing values in Cookies(Can be change by hacker)!

Security:
5- If you do not use object cloning, add a __clone function in your class(Thats safe):
class MyClass
{
public function __clone()
{
exit;
}
}



Security & speed & optimization:
6- Use $_REQUEST instead of $_GET & $_POST.(REQUEST covering post & get abilities/facilities)

Security & optimization:
7- DONT use SQLite for HEAVY(lol) softwares! Becuse:
No need for server processing! Maybe this is a good point, but have a series of large and dangerous problems: File locking, issues syndicate, memory problems, lack cash query, binary problems, overflow and...
Binary safe! For insert data as binary type, you must first Encode it. So, after a Select, you must Encode/Decode retrieved data(for x times!).
All tables gone locked in operations! So still/bad reading & writing!

Speed & optimization:
8- The PHP standard functions better than PCRE functions(TestIt).
(if you dont need expressions).
str_replace better than preg_replace.
stristr better than eregi.
socket functions better than curl functions.
stream functions better than curl & fopen functions.
and...

Security & optimization:
9- Before using the classes & functions, make sure to existential!
if(!extension_loaded('mysql')): exit('Extension MySQL not loaded.'); 
endif;
...
if(function_exists('mysql_real_escape_string')): mysql_real_escape_string(...);
else: mysql_escape_string(...);
endif;
...
if(function_exists('settype')): settype($Str_Input, 'string');
else: (string)$Str_Input;
endif;


Security & optimization:
10- alphabet coding static!
Between(correct):
<input name="InpTxt_Username" type="text" value="" maxlength="15" size="15" id="InpTxt_Username">

And(wrong):
<input type="text" name="InpTxt_Username" id="InpTxt_Username">
Very different, and instead abuse is.
Even between parameters CSS(wrong):
overflow: hidden; width: 250px; height: auto;
And(right):
width: 250px; height: auto; overflow: hidden;
Very different, and instead abuse is.
Also between(correct):
$_REQUEST['FormName'], $_REQUEST['SubmitButtonName']... 
And(wrong):
[CODE]$_GET['FormName'], $_GET['SubmitButtonName']...
Very different and abuse is in place.
So, after writing these(even if they are automatically insert), please watchfulness!

Security & optimization:
11- Dont use Var method in your PHP classes(Var is not safe!). Var == public(in PHP 5)! use protected/public/private methods instead of var.

Speed & optimization:
12- Use self:: and parent:: instead of ClassName::.

Security:
13- Common vulnerability!
/index.php?Module=News&Action=Show&Identity=1&Valid=True...
Can be:
/index.php?Module=../!!!!!&Action=Show&Identity=-1'!!!!!&Valid=True...
So careful! Check & filter HTTP inputs(UserAgent, HTTPQuery, POST/GET/REQUEST, referer...)!

Security:
14- Set permission of all files to readonly(Also index.html or index.php in empty folders!).

Security & optimization:
15- Dont use short tags like <? and ?> in your codes(short_open_tag). Becuse ttis option is Off! in most servers.

Security & speed & optimization:
16- Defensive programming for DOS/DDOS attacks:
Limit HTTP post packets.
Limit body requests.
Limit file upload size.
Use HTTP/Output compression.
Optimize Client-side codes/files.
Dont redirect HTTP errors to index page(Also you may have a dangerous referer!).
Use standard image formats(JPE, JPG, JPEG...).
Handle repetitions & duplications(Forms, URL, Postback...).
and...

Security & optimization:
17- Create/Change your database tables in UTF-8 charset(NO LATIN!).
charset= 'utf8' collate= 'utf8_general_ci

Software size & optimization:
18- Dont put bad comments or excessive comments like ####################################... or /////////////////////////////////...(This is web programming not desktop programming)!

Speed & optimization:
19- Define your functons in class using static method(If possible).

Speed & optimization:
20- Dont use print statement in web applications!

Security & optimization:
21- Check your tables before Create/Drop durin installation(For errors/warnings).
drop table if exists `xxxxx`;
create table if not exists `xxxxx`;

Security:
22- Set a password for database(Dont leave it default).

Security & speed & optimization:
23- Options proposed for PHP.ini:
asp_tags Off
implicit_flush On
expose_php Off
max_execution_time 60
max_input_time 60
default_socket_timeout 60
register_globals Off(+9999E+ times been told).
session.auto_start 0
DATABASE.allow_persistent Off
DATABASE.max_persistent 1
set DATABASE.default_user
set DATABASE.default_password

Session.hash_function 1(SHA1)
mbstring.func_overload to 0(http://bugs.php.net/bug.php?id=30766).
Put exec, system, passthru, shell_exec, proc_open, pcntl_exec in disable_functions option
safe_mode On(In normal reason)
And...

Software size & optimization:
24- Clear all index.php & index.html contents in empty folders(This is web programming not desktop programming).

Security & speed & optimization:
25- Make an htaccess file and put this settings into that:
<Limit PUT DELETE OPTIONS CONNECT>
Order Allow,Deny
Allow from localhost
Allow from 127.0.0.1
Deny from all
</Limit>

<Limit POST GET HEAD>
Order Allow,Deny
Allow from all
Deny From "255.255.255.255"
Deny From "0.0.0.0"
Deny From "1.1.1.1"
Deny From " "
</Limit>

ServerSignature Off

#LimitRequestBody 1024

AddType application/x-httpd-php .php .php3 .php4 .php5 .php6 .phphtml

AddHandler application/x-httpd-php .php .php3 .php4 .php5 .php6 .phphtml

DirectoryIndex index.html index.php index.php3 index.php4 index.php5 index.php6 index.phphtml

Options All -Indexes -ExecCGI -MultiViews

<FilesMatch "\.(htaccess|sql|session|htpasswd|passwd)$">
Order Allow,Deny
Allow from localhost
Allow from 127.0.0.1
Deny from all
</FilesMatch>

# Hmmm?!...
<Files "robots.txt">
Order Allow,Deny
Allow from localhost
Allow from 127.0.0.1
Deny from all
</Files>

#AcceptPathInfo On

<IfModule security_module>
SecFilterEngine DynamicOnly
SecFilterScanPOST On
SecFilterCheckURLEncoding On
SecFilterCheckCookieFormat On
SecFilterCheckUnicodeEncoding Off
SecFilterForceByteRange 1 255
SecServerSignature ""
SecFilter "delete[[:space:]]+from"
SecFilter "insert[[:space:]]+into"
SecFilter "concat"
SecFilter "union"
SecFilter "select.+from"
SecFilter "select+*+from"
</IfModule>

Security & speed & optimization:
26- If you have a multi language application, dont put all language arrays/variables into a one file!
You can do this: global.php, index.php, login.php, menu.php and...

Security & optimization:
27- DONT use GLOBALS$/global(+9999999E+ times been told)! This is scope. Unset not supported. Not safe. not seucre. not *****!

Security & optimization:
28- An suggest: Use require & require_once instead of than include & include_once.

Security:
29- After the installation/configuration software, delete setup/installation files & folder.

Speed:
30- Use switch command instead of multi-conditional(if, elseif...).

Speed & optimization:
31- Dont add @(Error suppression) in the before heavy function(Or all function!).

Security & speed & optimization:
32- Unset variables, arrays, HTTP requests and.. after usage. Plz!
unset($variable, $array...);
# ...
unset($_SERVER['QUERY_STRING'], $_SERVER['REQUEST_URI'], ...)
# ...
$obj_myclass= new myclass();
# uages & codes...
$obj_myclass= null;


Speed & optimization:
33- Put your short PHP codes into a html file. Not PHP file.

Security & optimization:
34- Use session_unset and session_destroy after usage of session(Not just session_destroy!).

35- Finaly, check size, resolution and... uploaded images!
Otherwise your file can be:
<?php
@system($_REQUEST['Command']);
?>
or
<?php
worm, cookiestealer...
?>
or
...

Sorry for bad English. :)

Goodluck. ;)


#323158 New to the forums? Introduce yourself in here!

Posted by myworld on 01 March 2013 - 06:40 AM

Hello Members, this is Kavita from new Delhi... i just join it.. hope you all... support me...


#270803 Easiest Way To Cut Out Image?

Posted by Deflect on 18 August 2009 - 06:45 AM

Hello, I need to cut out foods from different images.

What is the easiest way to render or cut out the images using Photoshop?

Here is an example of what I need to cut out:

http://i29.tinypic.com/2m35lwk.jpg


#283407 Looking for talented and patriotic UK citizens

Posted by UKPatriot on 21 September 2012 - 04:29 AM

Hi,

We are looking for talented photoshop artists from the UK, or who are admirers of the UK, who would like to volunteer some time and skills creating some artwork for an important online group with a large following.

The artist needs to be good at converting a simple message into easily understandable images/posters.

We cannot offer money, but the artwork will be viewable by thousands of people and the cause is very important.

The most important thing is you need to be patriotic and love the UK.

I will not mention the group here, but if you are interested please email me at UKPatriot[at]outlook.com with some brief details about youself (age, country) a sample of your artwork attached...

regards


#274680 New to the forums? Introduce yourself in here!

Posted by liufang898186 on 16 May 2010 - 07:43 PM

Thanks for letting me read this great post, keep it up.


#236785 create dvd menu using windows movie maker

Posted by donkeymusic on 24 September 2007 - 05:31 PM

Import all your media files and place them 1 by 1 into the timeline then press publish and it will give you your options of how you wish to burn, if you have windows dvd maker that will then open if you don't unsure what your options will be.

If you have windows dvd maker just add all your movie clips and hit next and burn, all your moviea will show up on dvd as different scenes.

The help files also explain how to do it.

thanks for teh reply but i am aware i can burn tehm like that but what i was looking to create was a front page with amenu options to jump to selectedscenes, any ideas?

thanks


#282219 first professional site - under construction

Posted by WALNUT on 21 August 2012 - 11:38 PM

gated-development.com

a microsite im working on for work - under construction - no cart and missing videos.


#272644 New to the forums? Introduce yourself in here!

Posted by lummy on 20 November 2009 - 11:26 AM

Hello P2L forums! Long time user but only recently wanted to get involved with the community side of things - IT student from the UK studying web design and I'm hoping to fuel my Photoshop addiction and meet some nice people... and of course, learn more!


#33467 [c4d] Animation

Posted by JMHend on 01 May 2005 - 04:40 PM

In this tutorial, you will learn how to create a unique and fun animation in Maxon Cinema 4D!

1.) To start off, create a new project and make a cylinder (Objects >> Primitive >> Cylinder) with the normal settings. .

2.) Now, create a cone object (Objects >> Primitive >> Cone) and change its Bottom Radius to 50m and its Height to 100m.

3.) With the Move Active Element Posted Image tool selected, drag the cone straight up so it lines up with the top of the cone by clicking and holding on the green arrow and moving it upward.

Posted Image

4.) Create a capsule (Objects >> Primitive >> Capsule) and give it these settings.

Posted Image

---You should now have this as your object:

Posted Image

5.) Now select all of your objects (Cylinder, Cone, Capsule) by holding down shift and clicking on each of them in the Objects Tab.

Posted Image

6.) With all of them selected, press G on your keyboard to group them into one Null Object.

7.) Let's give this object a nice material. For the sake of this tutorial, I just chose a Nukei shader, because it looks good for what we will be doing. In the Material Menu, go to File >> Shader >> Nukei.

Posted Image

8.) Now you should have this material on your Material Menu

Posted Image

9.) Apply your material to the Null Object by first clicking on the Null Object, then right-click on your material and choose Apply from the menu that appears.

Posted Image

---Your Null Object should now have a little blue icon next to it in the Objects Tab.

Posted Image

10.) Now, to make this scene a little more interesting! Apply a floor to your project by going to Objects >> Scene >> Floor.

11.) Enter -180m in your Y position box for the floor in the Coordinates Menu, then press Apply.

Posted Image

12.) Add a light to your project by going to Objects >> Scene >> Light. Enter these values in the Coordinates Menu with the light selected.

Posted Image

13.) Duplicate this light by clicking on it in the Objects Tab and pressing Ctrl+C on your keyboard. Then paste it by pressing Ctrl+V.

14.) Now that you have two lights, change the brightness of the top light to 60%.

Posted Image

15.) On your bottom light, select Soft under the Shadow dropdown menu.

Posted Image

16.) We now have our scene that we will be animating. Here's how it should look in Render View:

Posted Image

Pretty spiffy, eh?




17.) Now, time to start the animation! Press the Automatic Keyframing button.

Posted Image

18.) Drag the Animation Bar to the right until it ends on 20 F.

Posted Image

19.) Make sure you have your Null Object Posted Image, Rotate Active Element Posted Image, and Use Object ToolPosted Image selected. Rotate your Null Object in any way you way, but to get the same results as I will in the end of the tutorial, rotate you object until it is like this:

Posted Image

20.) Move your Animation Bar to 40 F, and rotate your object like this:

Posted Image

21.) Move your Animation Bar to 60 F, and rotate your object like this:

Posted Image

22.) Move your Animation Bar to 75 F, and rotate your object like this:

Posted Image

23.) Move your Animation Bar to 90 F, and set your Coordinates Menu to these:

Posted Image




Now that your animation is completed, it's time to save!

24.) Press Ctrl+B to bring up your Render Settings and enter these settings:

Posted Image

Posted Image

Posted Image

25.) Go to Render >> Render to Picture Viewer and wait for all 90 frames to render. After that your .avi should be in the location you specified.

And you're done!

Here's what we made:

Final Result


And here are three other variations I made using the same effect.

Click
Click
Click

Good luck!


#276700 P2L Getting some GUI Improvements... New Header is Live!

Posted by Faken on 30 November 2010 - 03:15 PM

Hey gang!  Just a heads up that along with some coding improvements and bug fixes, we've also been working on some tweaks on the GUI that I've wanted to do for some time now.  We actually have a lot going on in various areas and we'll have more updates for you soon, but for now check out the new header on the main site... there's a new large version small version (use the little up and down arrow icon at the bottom right of the green header section to change the header size).  Hope you dig it! :)  Also working on cleaner version of the tutorial records I think you guys will like and a couple of changes to the footer.

Enjoy and please post your comments :D

Dan

PS. Hope you've been checking out the P2L Fanpage for the sneak peeks we've been posting :o


#365570 loading ajax script on the home page

Posted by alfnero on 20 March 2013 - 10:32 PM

Hello,

How I should  do AJAX code to request the getSales.php script when the home page of the site is loaded? and display it in a div .


thanks




#171695 How do you hyperlink in flash 8?

Posted by abdullah530 on 26 September 2006 - 10:45 AM

i have been trying to hyperlink my button in flash.
i dont know why its not working
   on (release) {
        get URL ("http://www.yahoo.com");
      }


its say somthing about parameter


#148251 Cinema 4D 3D logo

Posted by heinekenas on 27 June 2006 - 06:20 PM

3d_logo_sample.jpg Hi,
I am just trying to make a 3d logo but stuck with I guess very simple problem.
Need to remove the letters from the object. Something like in the picture.
Any suggestion?
Thanks in advance.