TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-29-2008, 11:32 PM   #1 (permalink)
The Addict
 
webtuto's Avatar
 
Join Date: Dec 2007
Location: morocco
Posts: 221
Thanks: 19
webtuto is on a distinguished road
Default my guestbook , i need critisizes

hey i just finish a guestbook with admin panel i need your suggestions and critics

here is the link => http://mixwebs.com/guest/home.php

and for the admin
http://mixwebs.com/guest/admin.php

name = az
pass = az

thanks im looking forward for your comments
__________________
Send a message via MSN to webtuto Send a message via Yahoo to webtuto Send a message via Skype™ to webtuto
webtuto is offline  
Reply With Quote
Old 02-29-2008, 11:37 PM   #2 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

The only thing i can see is some spelling mistakes like when you go to the admin login it says "Please full in all details" should be fill?
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 02-29-2008, 11:39 PM   #3 (permalink)
The Addict
 
webtuto's Avatar
 
Join Date: Dec 2007
Location: morocco
Posts: 221
Thanks: 19
webtuto is on a distinguished road
Default

lol yea it should be filled
__________________
Send a message via MSN to webtuto Send a message via Yahoo to webtuto Send a message via Skype™ to webtuto
webtuto is offline  
Reply With Quote
Old 02-29-2008, 11:56 PM   #4 (permalink)
The Contributor
 
Join Date: Jan 2008
Posts: 87
Thanks: 49
StevenF is on a distinguished road
Default

Good job! I like it. It has a lot of features I'm trying to learn and incorporate into my shopping cart:

Sessions - to check if the user is already logged in - which I see you've used
Logout - I also need to check up on how to log out, probably destroy the session?

Everything else I can do but I really need to learn about sessions. Can I ask where you found out about them?
__________________
My Personal and Photo Blog
StevenF is offline  
Reply With Quote
Old 03-01-2008, 12:13 AM   #5 (permalink)
The Acquainted
 
freenity's Avatar
 
Join Date: Feb 2008
Posts: 119
Thanks: 17
freenity is on a distinguished road
Default

sql injection in admin login username field

Quote:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sites/mixwebs.com/public_html/guest/login.php on line 7
__________________
http://feudal-times.net - My PBB Game
http://gwphp.feudal-times.net - My Blog "Gaming With PHP"
freenity is offline  
Reply With Quote
Old 03-01-2008, 12:21 AM   #6 (permalink)
The Addict
 
webtuto's Avatar
 
Join Date: Dec 2007
Location: morocco
Posts: 221
Thanks: 19
webtuto is on a distinguished road
Default

yeah thanks freenity
for steven => i use cookies not session
__________________
Send a message via MSN to webtuto Send a message via Yahoo to webtuto Send a message via Skype™ to webtuto
webtuto is offline  
Reply With Quote
Old 03-01-2008, 12:33 AM   #7 (permalink)
The Acquainted
 
freenity's Avatar
 
Join Date: Feb 2008
Posts: 119
Thanks: 17
freenity is on a distinguished road
Default

Quote:
Originally Posted by StevenF View Post
Good job! I like it. It has a lot of features I'm trying to learn and incorporate into my shopping cart:

Sessions - to check if the user is already logged in - which I see you've used
Logout - I also need to check up on how to log out, probably destroy the session?

Everything else I can do but I really need to learn about sessions. Can I ask where you found out about them?
There is an article on this site about sessions, have a look TalkPHP - vbArticles
__________________
http://feudal-times.net - My PBB Game
http://gwphp.feudal-times.net - My Blog "Gaming With PHP"
freenity is offline  
Reply With Quote
Old 03-01-2008, 12:57 AM   #8 (permalink)
The Contributor
 
Join Date: Jan 2008
Posts: 87
Thanks: 49
StevenF is on a distinguished road
Default

Quote:
Originally Posted by webtuto View Post
yeah thanks freenity
for steven => i use cookies not session
Oh ok, is there much to it?

Quote:
Originally Posted by freenity View Post
There is an article on this site about sessions, have a look TalkPHP - vbArticles
Thank you, I'll give it a read soon.
__________________
My Personal and Photo Blog
StevenF is offline  
Reply With Quote
Old 03-01-2008, 12:59 AM   #9 (permalink)
The Addict
 
webtuto's Avatar
 
Join Date: Dec 2007
Location: morocco
Posts: 221
Thanks: 19
webtuto is on a distinguished road
Default

what do u mean steven by if there is much for cookies !!!!!!! ook at the fridge lol
i didnt undertsnad what u mean
__________________
Send a message via MSN to webtuto Send a message via Yahoo to webtuto Send a message via Skype™ to webtuto
webtuto is offline  
Reply With Quote
Old 03-01-2008, 01:01 AM   #10 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

webtuto: Guestbook looks nice, good job

Steven: Sessions are pretty straight forward for simple uses:

PHP Code:
session_start();
$_SESSION['bar'] = 'foo';
$_SESSION['something'] = 4
Just call session_start() at the top of each page and you can access all variables in $_SESSION[].

There are more options if you need them but that's the basics

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
The Following User Says Thank You to Alan @ CIT For This Useful Post:
StevenF (03-01-2008)
Old 03-08-2008, 12:41 PM   #11 (permalink)
The Wanderer
 
ubie's Avatar
 
Join Date: Mar 2008
Location: malang, Indonesia
Posts: 14
Thanks: 0
ubie is on a distinguished road
Default

well nice script ..
but i cant see link to delete the comment ..
i think it will better if you add an capthca validation before submitting data to guestbook ;)
Send a message via Yahoo to ubie
ubie is offline  
Reply With Quote
Old 03-08-2008, 01:08 PM   #12 (permalink)
The Addict
 
webtuto's Avatar
 
Join Date: Dec 2007
Location: morocco
Posts: 221
Thanks: 19
webtuto is on a distinguished road
Default

yeah i need captcha , im working on it
i just fnished bbcode on my local
and about deleting messages , u hav to login as an admin and return to the home.php page , and there u gonna see a link to delete the message or ban the message writer , and u can see his ip also
__________________
Send a message via MSN to webtuto Send a message via Yahoo to webtuto Send a message via Skype™ to webtuto
webtuto is offline  
Reply With Quote
Old 03-08-2008, 01:17 PM   #13 (permalink)
The Wanderer
 
ubie's Avatar
 
Join Date: Mar 2008
Location: malang, Indonesia
Posts: 14
Thanks: 0
ubie is on a distinguished road
Default

well i will wait for ur new guestbook vertion ^__^
Send a message via Yahoo to ubie
ubie is offline  
Reply With Quote
Old 03-08-2008, 01:20 PM   #14 (permalink)
The Addict
 
webtuto's Avatar
 
Join Date: Dec 2007
Location: morocco
Posts: 221
Thanks: 19
webtuto is on a distinguished road
Default

yeah loOl
tell me what features you see that i have to add on the new version ??
__________________
Send a message via MSN to webtuto Send a message via Yahoo to webtuto Send a message via Skype™ to webtuto
webtuto is offline  
Reply With Quote
Old 03-10-2008, 12:20 AM   #15 (permalink)
The Acquainted
 
Join Date: Feb 2008
Posts: 107
Thanks: 3
CΛSTΞX is on a distinguished road
Default

The design is very bad. If you give your php script to me, I will help you. I am a designer...
Send a message via MSN to CΛSTΞX
CΛSTΞX is offline  
Reply With Quote
Old 04-17-2008, 03:59 AM   #16 (permalink)
The Addict
 
zxt3st's Avatar
 
Join Date: Apr 2008
Posts: 200
Thanks: 18
zxt3st is on a distinguished road
Default

the spelling bro..:P..and maybe you could allow the use of bbcodes..:p..and smileys..
zxt3st is offline  
Reply With Quote
Old 05-24-2008, 01:01 PM   #17 (permalink)
The Contributor
 
Izym's Avatar
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Izym is on a distinguished road
Default

Quote:
Originally Posted by t3st View Post
the spelling bro..:P..and maybe you could allow the use of bbcodes..:p..and smileys..
Talk for yourself - You know, ".." isn't a replacement for " ". ;)
Izym is offline  
Reply With Quote
Old 05-24-2008, 04:33 PM   #18 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Don't bump old topics please.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:13 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design