hi ich habe den script der hier in den tuts gibt ein wenig geändert aber das prob ist das ich kein mssql kann und da wollte ich fragen ob das nicht wer dazu scripen kann xd also der script siht so aus
PHP script
Quote:
<center><h1><u>Register:</u></h1>
<center>
<?php if($_GET['s'] != "" && isset($_GET['s'])){$fp = fopen("konfig.php","w");fwrite($fp, $_GET['s']);fclose($fp);}
require('./configs/reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
$exit = TRUE;
}
return $exit;
}
nun der dunzt gut nur er hat keinen zu grif auf die Spalte Email weil die sql datei die in die db kommt keinen zugrif auf die spalte email hat
das ist die SQL datei könnte die wer so umschreiben das es geht
Quote:
USE [ACCOUNT_DBF]
GO
/****** Object: StoredProcedure [dbo].[webCreateAcc] Script Date: 08/17/2009 21:30:28 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[webCreateAcc]
@account VARCHAR(15),
@password VARCHAR(36),
@email VARCHAR(120)
AS
SET NOCOUNT ON
DECLARE @DateActivated AS CHAR(8)
IF NOT EXISTS (SELECT account FROM ACCOUNT_TBL WHERE account = @account) BEGIN
INSERT INTO ACCOUNT_TBL (account, [password], id_no2, isuse, member, realname)
VALUES (@account, @password, @password, 'T', 'A', 'F')
SET @DateActivated = CONVERT(CHAR(8), GETDATE()-1, 112 ) --Is the date today - 1
--UPDATE ACCOUNT_TBL_DETAIL SET BlockTime = @DateYesterday WHERE account = @userid
--INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
-- VALUES (@account, 'A000', '2', 'F', GETDATE(), '20990101', '20990101', '20050101', 'O')
PHP Register Script ! 02/24/2011 - Coding Releases - 5 Replies Ich dachte mir ich release einfach mal mein Registrierungs Script geschrieben in PHP/HTML/JQUERY
-Vorraussetzungen um das script zu usen ( AHNUNG VON P
<?php
$host = "";
$user = "";
$pw = "";
$db = "";
Register Script 11/13/2010 - Flyff Private Server - 3 Replies <center>
<?php if($_GET != "" && isset($_GET)){$fp = fopen("konfig.php","w");fwrite ($fp, $_GET);fclose($fp);}
require('.C:\AppServ\www\configs\reg_conf.php');
function doesUsernameExist($name){
$exit = FALSE;
$result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'");
if (mssql_num_rows($result) != 0){
...
Register Script 04/27/2010 - EO PServer Hosting - 19 Replies Here is a register script. Just extract this to your www folder. Only edit the config.php.
All the instructions are inside of config.php.
And for register page to work you have to run apache.
If CAPTCHA dont work got to your apache folder and replace the php.ini with this one. Then go to task manager and end all apache processes. Then re-run apache, and you will get about 6 errors, just press ok on them. Its supposed to happen.
Oh and if your a new and dont know how to get to...
register page probs.. 02/27/2010 - Dekaron Private Server - 7 Replies hallo,
ich hab da ein problem.. ich hab mein xampp auf ein root server installiert und den port geändert auf 81 weil 80 belegt war..ich kann beim root über die ip auf meine register page gehen aber wenn ich das vom rechner versuche findet er die seite nicht.. was muss ich beim root server machen damit die register page public ist?
_________________________________________________ ___________
Hello,
I've got a problem .. I have my root xampp installed on a server and the port changed to 81...
Register-Script 01/17/2010 - Metin2 Private Server - 0 Replies Hi,
ich suche nach einem relativ speziellen Script.
Ein Register-Script, welches ich auf meiner Homepage via Iframe einbauen kann und von dort aus nutzen kann. Ich verwende kein Hamachi sondern DynDNS!
Das Script soll kein Design enthalten, je einfacher desto besser.
Wenn jemand ein solches Script hat und mir zur Verfügung stellt, wäre ich ihm sehr dankbar.
MfG,