any way for quiclky creating a forum/web page?

Discussion about everything. New games, 3d math, development tips...
Post Reply
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

any way for quiclky creating a forum/web page?

Post by REDDemon »

Is there any way for creating something similiar to the irrlicht web page and forum using sourceforge?
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »

i think they are just using phpbb

shouldnt be too hard to integrate into your website http://www.phpbb.com/
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
Insomniacp
Posts: 288
Joined: Wed Apr 16, 2008 1:45 am
Contact:

Post by Insomniacp »

yeah, phpbb is very simple to set up and use. I have my own set up at http://www.rofhonline.com/forums/ Basically you just need to set up a mysql database for it and give it the information for that and some additional info and it will do the rest for you :). The longest part is usually downloading it and uploading it to the web server.
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Freelance web developer at your service :twisted:

http://kazymjir-design.com/
REDDemon
Developer
Posts: 1044
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Post by REDDemon »

yup php seems very ease in use. thanks.
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

REDDemon wrote:yup php seems very ease in use. thanks.
you mean phpbb ? :)
php is also quite easy, and very c++ like to me :)
Working on game: Marrbles (Currently stopped).
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

REDDemon, if you want create a website, I can recommend you Wordpress or Drupal CMS.
It's very easy in use and you can get something what is working very fast.
You have additionally tons of plugins and themes for free.

Today I dunno who is creating websites in pure PHP.
Now most websites are based on CMS or frameworks like Zend Framework.

serengeor wrote: php is also quite easy, and very c++ like to me :)
True! And if you know C++, learning PHP is getting easy.
But you have to learn a lot of new things, like session handling, but it's also quite easy.

About PHP, Ill show you most powerful element of this language:
functions to manipulating strings and arrays!
http://php.net/manual/en/ref.strings.php
http://php.net/manual/en/ref.array.php

These functions are better than sex
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »


Today I dunno who is creating websites in pure PHP.
haha my friend :P , and i am helping him. i have begun learning php past few days, very nice language. do you suggest we move over to a framework? what kinds of security measures do we need to take? we already have protection against mysql injection and url sql injection. anything else we should be away of?
True! And if you know C++, learning PHP is getting easy.
But you have to learn a lot of new things, like session handling, but it's also quite easy.

These functions are better than sex


ha, agree :P took me 10 minutes to get the hang of it, was creating dynamic webpages within the hour with my friend. :)

he's letting me host my game on there ( when it's ready for release )
game will be free for most part :D
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
Insomniacp
Posts: 288
Joined: Wed Apr 16, 2008 1:45 am
Contact:

Post by Insomniacp »

I use pure php as well. I like having full control of what I am doing, yes it takes longer but imo the end result is cleaner and easier to manipulate in the future. I never really looked at the frameworks though that are available so I won't judge them. Wordpress blogs are quite handy with all the free features and things like that I have a multisite set up at http://www.blogs.rofhonline.com/ It is useful for starting out but if you want custom content its a little tricky learning how to do it in wordpress but there is a lot of help out there. I have not used any site creation tools before either though a lot of web hosts offer them free of charge which might be helpful to you. Another thing you can do is simply google for free web site templates (can't remember the site I used to use). Basically you get the entire html layout of a site and simply add your own content to it. This gives you a pretty site with very little effort.
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

ChaiRuiPeng wrote:
Today I dunno who is creating websites in pure PHP.
haha my friend :P , and i am helping him. i have begun learning php past few days, very nice language. do you suggest we move over to a framework?
If you are starting learning PHP, do NOT use any frameworks.
And it's stand for all languages, not only PHP.
At first you need to have very good knowledge of language and language mechanisms, before you go into frameworks.
ChaiRuiPeng wrote: what kinds of security measures do we need to take? we already have protection against mysql injection and url sql injection. anything else we should be away of?
There is lot of security threats in PHP. Frameworks usual takes almost everything to minimize potential security holes, but in pure PHP you have to do everything from scratch.
The most important is to filter whole input data. Not only data from user, but also data from browser and session data.
You can even make XSS attack using spoofed browser user-agent in certain cases :D
Good point is using "Front Controller" design pattern additionally using mod_rewrite which redirects everything into one file, which is "front controller". Thanks to this solution you can be sure, that possible attacker will not access unprotected files which for example are inserting data into database using GET/POST method.
Security in PHP is very, very large topic.
I can recommend you a book "Zend PHP5 Certification Study Guide" and topic "Security", you can find this ebook on Internet for free.

---
Insomniacp wrote:I use pure php as well. I like having full control of what I am doing, yes it takes longer but imo the end result is cleaner and easier to manipulate in the future. I never really looked at the frameworks though that are available so I won't judge them.
Ahhh... I see myself from past years :D
I also though that it's better to write everything from scratch and have full control over everything, but when you will discover frameworks... your look at everything will change.
I am working in one company as PHP developer. I am able to do everything from scratch... but it's too expensive.
It's taking too much time. And boss have to pay for every hours that programmer is working.
I am working now on one project, kuponexpress.pl (it's not done yet).
It's based on Wordpress, my role is modifying Wordpress modules and writing new ones.
That what you see under this link we made in hmmm... 3 weeks?
3 weeks of work of 2 people army. One programmer, one web designer.
If we had to make it from scratch... additionally with resources of 2 people... I dunno if I would be able to show you anything now.

And for the end Ill show you the very, very intelligent words of my Great Master, Eric Raymond:
Good programmers know what to write. Great ones know what to rewrite (and reuse)
Eric bless you all
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »

yes thank you for you reply :)

i have been reading up on php security past few days, so has my friend. we are plugging all the holes and our site is pretty secure now.

write now we are making urls search engine friendly, by "gracefully" redirecting incase they search engines do

mypage.com/loadPage.php

and loadPage.php needs some data, it will redirect to a valid page instead of just raising an error when it tries to get data from $_POST that is not even there! :P
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

To create user-friendly and seo-friendly urls you should to read about url rewriting, urls should look something like this:

http://example.com/resteurants/london/

instead of

http://example.com/somefile.php?section ... ity=london


But for now don't mind about things like SEO etc, for now learn how to use language and how it works.

I can give you list of what you should learn, I had this list when I was preparing to my first PHP certification:

Image
Image
ChaiRuiPeng
Posts: 363
Joined: Thu Dec 16, 2010 8:50 pm
Location: Somewhere in the clouds.. drinking pink lemonade and sunshine..

Post by ChaiRuiPeng »

cool thanks! :D

EDIT:

i'm reading an article on session fixation attack, scary :shock: gonna have to fix that..
ent1ty wrote: success is a matter of concentration and desire
Butler Lampson wrote: all problems in Computer Science can be solved by another level of indirection
at a cost measure in computer resources ;)
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Hehe :)

Also I forgot to mention about PHP safe mode.
You can turn on safe mode in PHP configuration file, it will disable few functions and will make more restrictions to help increase security.
You can read about changes in safe mode here:
http://www.php.net/manual/en/features.s ... ctions.php

You can turn this mode on by finding this line in php.ini file:
safe_mode = Off
and changing it into
safe_mode = On
Post Reply