[Release]Web Register

02/03/2010 16:13 ProfNerwosol#16
Is ok.

Do google search for WebServ. It comes with Apache/PHP. Easy to install and use. Remember to enable mssql support.
02/03/2010 17:21 Schwap#17
ok the webregister works fine!

i use xampp, but someone should say:

u need to disable the IIS service before u start the apache via XAMPP

took me a bit to figure that out :>
02/03/2010 18:46 sandolkakos#18
Quote:
Originally Posted by Schwap View Post
ok the webregister works fine!

i use xampp, but someone should say:

u need to disable the IIS service before u start the apache via XAMPP

took me a bit to figure that out :>
look here:
[Only registered and activated users can see links. Click Here To Register...]
02/03/2010 20:53 ProfNerwosol#19
What is IIS? I have windows XP.
02/03/2010 21:01 XFiloX#20
IIS is for internet information services, and is a required thing to install sql 2005, also the express one i think... So maybe u have it already installed on your pc...
02/03/2010 23:56 ProfNerwosol#21
It is? I don't have it installed. I googled it and it's a web server among other things. I am never going to use it >_> Apache is better.
02/04/2010 06:03 sandolkakos#22
IIS is used to ASP Engine, and others things, but how i dont need use this others things, i dont have this service installed.

can unisntall, without problems ;)
02/28/2010 01:17 thunderxc#23
[Only registered and activated users can see links. Click Here To Register...]

Code:
<?php
$dbhost = 'DivinityXC';
$dpuser = 'Shaiya';
$dbpass = 'Shaiya123';

$ip = $_SERVER['REMOTE_ADDR'];
$login = trim($_POST['login']);
$pass = trim($_POST['pass']);
$repass = trim($_POST['passp']);

$pwq = '';
$email = '';

// Checks length of 'login' and 'pass' - stops script if any is shorter than 5
if (strlen($login)<5) {print "Login needs to be at least 5 characters long";return;};
if (strlen($pass)<5) {print "Password needs to be at least 5 characters long";return;};


// Connection with MSSQL server
$conn=mssql_connect('127.0.0.1','sa','mypasswordissecret') ;
$db = mssql_select_db('PS_UserData',$conn) or die("Connection to database could not be established!");
I need help. Maybe something wrong in my SQL /

Please help me. My MSN [Only registered and activated users can see links. Click Here To Register...]
02/28/2010 08:04 ProfNerwosol#24
That looks just like my old script O.o

Php doesn't know what mssql is. You need to turn on support for this set of functions.

I recomend WebServ for beginners. Easy to use and already configured. Comes with Apache, PHP, etc.
02/28/2010 08:23 thunderxc#25
Quote:
Originally Posted by ProfNerwosol View Post
That looks just like my old script O.o

Php doesn't know what mssql is. You need to turn on support for this set of functions.

I recomend WebServ for beginners. Easy to use and already configured. Comes with Apache, PHP, etc.
I am using apachefriends XAMPP. Yes this is your old script and Thank you for the release

Do you mean this ?
[Only registered and activated users can see links. Click Here To Register...]


EDIT: I try to do this and still same error. "cries"
02/28/2010 10:00 ProfNerwosol#26
No, I ment plugin that comes with PHP. PHP needs to know how to communicate with MSSQL. You just need to check configuration of your "apachefriends XAMPP". There should be something there.
02/28/2010 13:21 Schwap#27
u ve to edit the php.ini in ur xampp files.
had the same problem.
02/28/2010 18:15 thunderxc#28
Quote:
Originally Posted by Schwap View Post
u ve to edit the php.ini in ur xampp files.
had the same problem.

Please sir, explain what I need to edit in the php.ini I have put in this post for convience.

Can you please tell me what I need to edit? Or maybe I need to use an older version of xampp?

[Only registered and activated users can see links. Click Here To Register...]


Code:
/*
   +----------------------------------------------------------------------+
   | PHP Version 5                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 1997-2009 The PHP Group                                |
   +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | http://www.php.net/license/3_01.txt                                  |
   | If you did not receive a copy of the PHP license and are unable to   |
   | obtain it through the world-wide-web, please send a note to          |
   | [Only registered and activated users can see links. Click Here To Register...] so we can mail you a copy immediately.               |
   +----------------------------------------------------------------------+
   | Author: Zeev Suraski <[Only registered and activated users can see links. Click Here To Register...]>                                 |
   +----------------------------------------------------------------------+
*/

/* $Id: php_ini.h 272370 2008-12-31 11:15:49Z sebastian $ */

#ifndef PHP_INI_H
#define PHP_INI_H

#include "zend_ini.h"

BEGIN_EXTERN_C()
PHPAPI void config_zval_dtor(zval *zvalue);
int php_init_config(TSRMLS_D);
int php_shutdown_config(void);
void php_ini_register_extensions(TSRMLS_D);
PHPAPI zval *cfg_get_entry(const char *name, uint name_length);
PHPAPI int cfg_get_long(const char *varname, long *result);
PHPAPI int cfg_get_double(const char *varname, double *result);
PHPAPI int cfg_get_string(const char *varname, char **result);
PHPAPI int php_parse_user_ini_file(const char *dirname, char *ini_filename, HashTable *target_hash TSRMLS_DC);
PHPAPI void php_ini_activate_config(HashTable *source_hash, int modify_type, int stage TSRMLS_DC);
PHPAPI int php_ini_has_per_dir_config(void);
PHPAPI int php_ini_has_per_host_config(void);
PHPAPI void php_ini_activate_per_dir_config(char *path, uint path_len TSRMLS_DC);
PHPAPI void php_ini_activate_per_host_config(const char *host, uint host_len TSRMLS_DC);
PHPAPI HashTable* php_ini_get_configuration_hash(void);
END_EXTERN_C()

#define PHP_INI_USER	ZEND_INI_USER
#define PHP_INI_PERDIR	ZEND_INI_PERDIR
#define PHP_INI_SYSTEM	ZEND_INI_SYSTEM

#define PHP_INI_ALL 	ZEND_INI_ALL

#define php_ini_entry	zend_ini_entry

#define PHP_INI_MH		ZEND_INI_MH
#define PHP_INI_DISP	ZEND_INI_DISP

#define PHP_INI_BEGIN		ZEND_INI_BEGIN
#define PHP_INI_END			ZEND_INI_END

#define PHP_INI_ENTRY3_EX	ZEND_INI_ENTRY3_EX
#define PHP_INI_ENTRY3		ZEND_INI_ENTRY3
#define PHP_INI_ENTRY2_EX	ZEND_INI_ENTRY2_EX
#define PHP_INI_ENTRY2		ZEND_INI_ENTRY2
#define PHP_INI_ENTRY1_EX	ZEND_INI_ENTRY1_EX
#define PHP_INI_ENTRY1		ZEND_INI_ENTRY1
#define PHP_INI_ENTRY_EX	ZEND_INI_ENTRY_EX
#define PHP_INI_ENTRY		ZEND_INI_ENTRY

#define STD_PHP_INI_ENTRY		STD_ZEND_INI_ENTRY
#define STD_PHP_INI_ENTRY_EX	STD_ZEND_INI_ENTRY_EX
#define STD_PHP_INI_BOOLEAN		STD_ZEND_INI_BOOLEAN

#define PHP_INI_DISPLAY_ORIG	ZEND_INI_DISPLAY_ORIG
#define PHP_INI_DISPLAY_ACTIVE	ZEND_INI_DISPLAY_ACTIVE

#define PHP_INI_STAGE_STARTUP		ZEND_INI_STAGE_STARTUP
#define PHP_INI_STAGE_SHUTDOWN		ZEND_INI_STAGE_SHUTDOWN
#define PHP_INI_STAGE_ACTIVATE		ZEND_INI_STAGE_ACTIVATE
#define PHP_INI_STAGE_DEACTIVATE	ZEND_INI_STAGE_DEACTIVATE
#define PHP_INI_STAGE_RUNTIME		ZEND_INI_STAGE_RUNTIME
#define PHP_INI_STAGE_HTACCESS		ZEND_INI_STAGE_HTACCESS

#define php_ini_boolean_displayer_cb	zend_ini_boolean_displayer_cb
#define php_ini_color_displayer_cb		zend_ini_color_displayer_cb

#define php_alter_ini_entry		zend_alter_ini_entry

#define php_ini_long	zend_ini_long
#define php_ini_double	zend_ini_double
#define php_ini_string	zend_ini_string

#endif /* PHP_INI_H */<<<@!2!@>>>

After seaching google I find : [Only registered and activated users can see links. Click Here To Register...] , however I dont understand what to do.
02/28/2010 21:36 Schwap#29
copy the php.ini into this folder: C:\xampp\php
extract the files from sandolkakos into this folder: C:\xampp\htdocs\

u reach the registration in ur webbrowser following this link:
Code:
http://localhost/
the attached txt is my ini, just change txt to ini
02/28/2010 23:11 ProfNerwosol#30
Quote:
Originally Posted by thunderxc View Post
Please sir, explain what I need to edit in the php.ini I have put in this post for convience.

Can you please tell me what I need to edit? Or maybe I need to use an older version of xampp?

After seaching google I find : [Only registered and activated users can see links. Click Here To Register...] , however I dont understand what to do.
That's why I said ....

Quote:
... WebServ is best for beginners ...
You don't have to manualy edit php.ini. You do it from window menu. Lots of things are automated.