vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Hey...Question for the PHP/MySQL people (https://vborg.vbsupport.ru/showthread.php?t=45230)

Radon3k 10-31-2002 12:35 AM

Hey...Question for the PHP/MySQL people
 
I have to do a project for school using PHP/MySQL. Here's what I would like to do. I have the book from SitePoint about PHP/MySQL.

I would like to create a web page that has a VERY simple signup thing, basically you register as a new member (similar to vB) and can log into an area using their user name and password.

How hard is this? I'm not looking for someone to do it for me, but I am looking for someone who might be willing to help if I get stuck somewhere.

Thanks :)

filburt1 10-31-2002 12:49 AM

Easy.

Psst...post at my forums for questions ;)

The project I made at work involves a complex set of user permissions, password management, etc. and it was actually very easy to write.

Radon3k 10-31-2002 12:54 AM

Yay!..How often do you check your site? Cuz I'll be posting there a lot...

DrkFusion 10-31-2002 01:05 AM

Lol filburt doesn't leave his site at all, even when he goes out on dates, he takes a phone wire, and his labtop all the time. So I would say you've joined a nice source for coding stuff :)

-Arunan

Radon3k 10-31-2002 01:13 AM

Ok well I sitll havne't received a confirmation email.....I can't post until I get it..

Chris M 10-31-2002 10:28 AM

filburt needs to update his sig;)

Satan

Neo 11-01-2002 04:09 PM

mysql_pconnect()

Radon3k 11-01-2002 04:26 PM

What does that do...?

NTLDR 11-01-2002 04:56 PM

Makes a persistant to the specified MySQL DB I think.

Neo 11-01-2002 05:00 PM

while

mysql_connect() does the oposite.

it would be used like this

mysql_connect($dbhost, $dbusername, $dbpassword);
or
mysql_pconnect($dbhost, $dbusername, $dbpassword);

using mysql_pconnect() might or will slow down your connection.

after that you would want to connect to the right database using.

mysql_select_db($dbname)

than after that if the connection works correctly you can do general DB things like

mysql_query("INSERT INTO user SET username='$username'");

and so on.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01039 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete