Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

Easy Date   World's Leading Outsourcing Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 12-24-2007, 10:54 AM   #1 (permalink)
Junior Member
 
Join Date: 12-24-07
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

bigeyedphish is liked by many
login page problems

Hey! My first post...

I've run into a dead end here and was hoping you guys may be able to help me figure out the problem.

I recently installed a phpBB3 forum, and I'm looking to have the login page of my website match Username and Password from the database that the forum created/uses.

the site is vtphitau.com

In dreamweaver, there is a bunch of code at the top of the page

Code:
<?php require_once('Connections/connBrotherLogin.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break;
etc...

I uploaded that page, but then when I go to vtphitau.com and view the page source code, none of that code shows up. Could this be part of the problem?

I appreciate any suggestions or ideas you guys can send my way!
bigeyedphish is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 12-24-2007, 12:11 PM   #2 (permalink)
v7n Mentor
 
Join Date: 01-16-07
Location: Assen, the Netherlands
Posts: 1,381
iTrader: 1 / 100%
Latest Blog:
None

Jesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to beholdJesse Vlasveld is a splendid one to behold
Send a message via MSN to Jesse Vlasveld Send a message via Yahoo to Jesse Vlasveld
It's php code, unlike html php gets parsed by the server, that's why it doesn't show up in the 'source'. It would also not really be safe, as php sometimes contains mysql passwords, and security measures.
Jesse Vlasveld is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-24-2007, 12:34 PM   #3 (permalink)
Junior Member
 
Join Date: 12-24-07
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

bigeyedphish is liked by many
Quote:
Originally Posted by Jesse Vlasveld View Post
It's php code, unlike html php gets parsed by the server, that's why it doesn't show up in the 'source'. It would also not really be safe, as php sometimes contains mysql passwords, and security measures.
that makes sense. thanks!

The forum i installed automatically encrypts the password, so just looking at the records in the database, I am unable to see what the passwords are. Do you know if it's possible for me to use the username and password fields from the forum database for the general login even with the passwords encrypted?
bigeyedphish is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-29-2007, 09:23 AM   #4 (permalink)
Contributing Member
 
Eire-Web Design's Avatar
 
Join Date: 09-29-07
Location: Dublin, Ireland
Posts: 88
iTrader: 0 / 0%
Eire-Web Design is liked by many
the user enter the password himself, then you encrypt it and match it against the database record.
most forums use md5 for encryption and can not be reverted.
Eire-Web Design is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordpress Author Login Problems johnegood Blogging Forum 4 09-07-2007 05:23 AM
Problems with Login Script Izzmo Coding Forum 15 02-10-2004 03:57 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:54 AM.
© Copyright 2008 V7 Inc