Aegis Support Board: Simple PHP Account Maker 1.0 Beta - Aegis Support Board

Jump to content

ASB News! ASB 5.0 Beta V2 has now been released!. See here for more Info.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Simple PHP Account Maker 1.0 Beta from freeRO

#1 User is offline   Rinoa 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 28
  • Joined: 12-July 03

  Posted 12 February 2004 - 04:03 AM

READ THE README FOR COMPLETE INSTRUCTIONS

PHP Account Maker 1.0 Beta

NOTICE: This account maker is NOT complete, it just allows you to sign-up but if the user does not enter a password and or the username is under 4 characters it doesnt not display any errors, if you can make this better go ahead but before you release it to the public you must send your copy to rinoa[at]paradise.net.nz

YOU CANNOT RELEASE IT YOURSELF.

You can skin it by replacing the regform.gif with your own picture

Copyright 2004 Rinoa, Free RagnarokOnline. All Rights Reserved.

Site- http://rinoa.izlude.com/fRO
Forums- http://www.izlude.com/forums

-------------------------------------------------

Version/Features


1.0

Sign-up fields:
Name
Login Name
Gender
Email
Password

Displays error when account name is taken.
Displays error when account name is not entered.

-------------------------------------------------

Attached File(s)


0

#2 User is offline   andz 

  • Falling Away From Me
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2228
  • Joined: 09-April 03
  • Location:Avril's House
  • Interests:Avril Lavigne and Korn

Posted 12 February 2004 - 07:37 AM

nice rinoa ^^ great work again :ph34r:
0

#3 User is offline   Bogdan 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 81
  • Joined: 29-March 03

Posted 12 February 2004 - 10:44 AM

want to marry me? :ph34r:
0

#4 User is offline   global 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 150
  • Joined: 28-April 03

Posted 13 February 2004 - 06:17 PM

on pc1 i run the eagis server
on pc2 i run apache (PHPserver)

how can i read with the script from pc2 the characters DB from pc1

u now how i can fix it to let it work ?? thx
0

#5 User is offline   Panthers 

  • Eurasia Online Owner
  • PipPipPip
  • Group: Members
  • Posts: 81
  • Joined: 21-June 03

Posted 13 February 2004 - 06:42 PM

global, on Feb 13 2004, 01:17 PM, said:

on pc1 i run the eagis server
on pc2 i run apache (PHPserver)

how can i read with the script from pc2 the characters DB from pc1

u now how i can fix it to let it work ?? thx

Open up process.php and you will see:

Quote

$connect = mssql_connect("127.0.0.1", "user", "pass") or die ('could not connect to database');
mssql_select_db("nLogin",$connect) or die ('could not select db');


Change the blue text to the LAN ip of your aegis server, and the red & green text to your username and password for your SQL Server.
0

#6 User is offline   global 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 150
  • Joined: 28-April 03

Posted 13 February 2004 - 07:19 PM

i get this error : Fatal error: Call to undefined function: mssql_connect() in C:\apache\Apache2\htdocs\aegis\process.php on line 23


i think its the problem that i cant read the DB from pc1 and whit pc2 i run the apache server :ph34r:

how to fix ??

This post has been edited by global: 13 February 2004 - 07:23 PM

0

#7 User is offline   Rinoa 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 28
  • Joined: 12-July 03

Posted 14 February 2004 - 02:35 AM

ok you dont have mssql extensions enabled for your php

if u are running php on windows
1. install MSSQL client tools on the same machine as ur php machine
2. then edit ur php.ini so that the extension mssql is commented out.
0

#8 User is offline   global 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 150
  • Joined: 28-April 03

Posted 14 February 2004 - 01:49 PM

Quote

2. then edit ur php.ini so that the extension mssql is commented out


can you tell me what i have to change there i am realy a n00b whit that :P

i now where the php.ini file is so i only have to now what i have to change

This post has been edited by global: 14 February 2004 - 02:27 PM

0

#9 User is offline   Rentus 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 245
  • Joined: 23-March 03

Posted 14 February 2004 - 03:30 PM

you have to activate the mssql_connect() by deleting the ";" in front of "extension=php_mssql.dll"
0

#10 User is offline   global 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 150
  • Joined: 28-April 03

Posted 14 February 2004 - 06:42 PM

now i get this error:

Quote

Warning: mssql_connect(): message: Login failed for user 'user'. Reason: Not associated with a trusted SQL Server connection. (severity 14) in C:\apache\Apache2\htdocs\aegis\process.php on line 23

Warning: mssql_connect(): Unable to connect to server: 10.0.0.10 in C:\apache\Apache2\htdocs\aegis\process.php on line 23
could not connect to database


what to do now?? :P
0

#11 User is offline   Rinoa 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 28
  • Joined: 12-July 03

Posted 15 February 2004 - 04:21 AM

did you change your database login and password? it seems to me you are still using the default login: user

change ("127.0.0.1", "user", "pass") to your OWN username and password
0

#12 User is offline   tronic 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 48
  • Joined: 11-April 03

Posted 15 February 2004 - 10:18 AM

here i got this:

$connect = mssql_connect("10.0.0.10", "user", "tai") or die ('could not connect to database');

something wrong whit it? <_<
0

#13 User is offline   siughoust 

  • Last Dragon
  • PipPipPipPipPip
  • Group: Members
  • Posts: 433
  • Joined: 22-July 03

Posted 15 February 2004 - 01:48 PM

Quote

here i got this:

$connect = mssql_connect("10.0.0.10", "user", "tai") or die ('could not connect to database');

something wrong whit it?


"user" is not assigned to nLogin database. Change that to "login" without the quotes.
0

#14 User is offline   global 

  • Average Member
  • PipPipPipPip
  • Group: Members
  • Posts: 150
  • Joined: 28-April 03

Posted 15 February 2004 - 02:37 PM

i did make it like this and still got the same error??


$connect = mssql_connect("10.0.0.10", "login", "tai") or die ('could not connect to database');
0

#15 User is offline   siughoust 

  • Last Dragon
  • PipPipPipPipPip
  • Group: Members
  • Posts: 433
  • Joined: 22-July 03

Posted 16 February 2004 - 05:14 AM

global, on Feb 15 2004, 09:37 AM, said:

i did make it like this and still got the same error??


$connect = mssql_connect("10.0.0.10", "login", "tai") or die ('could not connect to database');

Got me there. >_>;;


@Rinoa

I really like the simplicity. :lol: Everything worked fine when I used it on easyphp 1.6, now using 1.7 and even though it seems to be working fine I get this message in the same window as confirmation:

Quote

Undefined variable: existlogin in bla bla line 36.
Now as you know line 36 reads, }elseif($_POST["ID"]=="$existlogin") {


Anthing I can do to make that go away? :P

Thanx for posting this up btw. :)
0

#16 User is offline   Rinoa 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 28
  • Joined: 12-July 03

Posted 22 February 2004 - 08:06 AM

hmm didnt happen to me.. i use the most updated version of PHP, dont use easyphp.

you need that line though because it checks if the username already exists.
if you know php try rearranging it..like change the spacing it MIGHT work but otherwise im not sure.
0

#17 User is offline   gugclo 

  • Free RO Owner
  • PipPipPipPipPip
  • Group: Banned
  • Posts: 315
  • Joined: 05-October 03

Posted 22 February 2004 - 08:13 AM

just fyi, if your gonna use Easyphp use EasyPhp 1.6, not 1.7 cause 1.7 is all screwed up and gives you MAJOR errors on the $action varible
0

#18 User is offline   gugclo 

  • Free RO Owner
  • PipPipPipPipPip
  • Group: Banned
  • Posts: 315
  • Joined: 05-October 03

Posted 10 March 2004 - 05:50 AM

Rinoa remove the url to fRO site, its outdated >_>

Edit: Sorry for the double post
0

#19 User is offline   a3world 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 58
  • Joined: 14-April 04

Posted 17 April 2004 - 07:15 PM

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in c:\httpd\www\process.php on line 64
0

#20 User is offline   Mass Zero 

  • Old Skool Ownage
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1709
  • Joined: 06-March 04
  • Gender:Male
  • Location:Amsterdam, NL
  • Interests:Private

Posted 17 April 2004 - 09:45 PM

gugclo, on Mar 10 2004, 06:50 AM, said:

Rinoa remove the url to fRO site, its outdated >_>

Edit: Sorry for the double post

Well, I don;t think people who dl it do it to check out your forum :ph34r:
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users