Phpscripts For Mssql Server

Website Scripts for your Helbreath Server.
morbid
Regular
Posts: 69
Joined: Fri Jul 30, 2004 4:28 pm

Post by morbid »

Anyone Have It?
Raptile
Member
Posts: 145
Joined: Fri May 07, 2004 4:31 pm

Post by Raptile »

man use search at first there no scripts.... no 1 have
Sparda
Regular
Posts: 44
Joined: Sat May 15, 2004 10:48 pm

Post by Sparda »

You can make your own scripts using MS IIS and Macromedia Dreamweaver. Configure Dreamweaver Site to make it work with ASP VBScript. Initialise a DNS database connection and just use the Record Insertion Form Wizard. An easy way of entering data to the mssql database.
binarydata
DBfiller
Posts: 3816
Joined: Fri Oct 31, 2003 5:30 am
Location: San Diego CA, USA
Contact:

Post by binarydata »

php scripts dont work for mssql
you gotta make a asp script or somethin like that
<img src='http://img88.exs.cx/img88/2290/7666.jpg' border='0' alt='user posted image' />
tyteman
Spamtastic
Posts: 1149
Joined: Wed Nov 12, 2003 2:00 pm
Location: CA, USA

Post by tyteman »

bd you n00d they do work.. :P
"<i>One night I was talking to God, but I realized I was talking to <u>myself</u></i>"<br><br><img src='http://img61.imageshack.us/img61/2678/untitled13bf.gif' border='0' alt='user posted image' /><br><br><b><u>Links</u></b><br>
binarydata
DBfiller
Posts: 3816
Joined: Fri Oct 31, 2003 5:30 am
Location: San Diego CA, USA
Contact:

Post by binarydata »

tyteman wrote: bd you n00d they do work.. :P
no, thats mysql
php dun work with mssql
nood
PHP + Mssql? I don't think php have connectivity with mssql. Must be "php + mysql" or "asp + mssql".
<img src='http://img88.exs.cx/img88/2290/7666.jpg' border='0' alt='user posted image' />
Raptile
Member
Posts: 145
Joined: Fri May 07, 2004 4:31 pm

Post by Raptile »

Code: Select all

<? 
 &#036;dbhost = "192.168.2.xxxx";

// Enter the username to connect to the db
&#036;dbuser = "sa";

// Enter the password for the SQL Server
&#036;dbpasswd = "xxxxxxxx";
&#125;

//Database Name
&#036;db = 'mainlogin';

&#036;regsubmit = "regform.submit&#40;&#41;";
&#036;msconnect=mssql_connect&#40;"&#036;host","&#036;alogin","&#036;apass"&#41;;
&#036;msdb=mssql_select_db&#40;"&#036;db",&#036;msconnect&#41;;
?>
this the fucking code for php > mssql
Had3s
noob
Posts: 27
Joined: Mon Mar 15, 2004 7:47 pm

Post by Had3s »

binarydata wrote:
tyteman wrote: bd you n00d they do work.. :P
no, thats mysql
php dun work with mssql
nood
PHP + Mssql? I don't think php have connectivity with mssql. Must be "php + mysql" or "asp + mssql".
mssql works with php, but its not the best option having asp and mysql
the best is to use or =
php+mysql or asp+mssql like u quote..
morbid
Regular
Posts: 69
Joined: Fri Jul 30, 2004 4:28 pm

Post by morbid »

x/
James!
Member
Posts: 134
Joined: Sat Jan 01, 2005 12:09 am

Post by James! »

:rolleyes:
<img src='http://img.photobucket.com/albums/v482/ ... ingFan.jpg' border='0' alt='user posted image' /><br><a href='http://www.hbdreams.com.ar' target='_blank'><b>- Helbreath Dream Team -</a></b><br><a href='http://www.dreamforums.com.ar/top50' target='_blank'><b>- Dream Top 50 Owner Admin -</a></b><br>- <b>Contacto Por Mail</b> : <a href='mailto:james@dreamforums.com.ar'>james@dreamforums.com.ar</a>
morbid
Regular
Posts: 69
Joined: Fri Jul 30, 2004 4:28 pm

Post by morbid »

error :( <_<
James!
Member
Posts: 134
Joined: Sat Jan 01, 2005 12:09 am

Post by James! »

morbid wrote: error&nbsp; :(&nbsp; <_<
You published the File config.php?
If you published it it must have a problem with your DB
<img src='http://img.photobucket.com/albums/v482/ ... ingFan.jpg' border='0' alt='user posted image' /><br><a href='http://www.hbdreams.com.ar' target='_blank'><b>- Helbreath Dream Team -</a></b><br><a href='http://www.dreamforums.com.ar/top50' target='_blank'><b>- Dream Top 50 Owner Admin -</a></b><br>- <b>Contacto Por Mail</b> : <a href='mailto:james@dreamforums.com.ar'>james@dreamforums.com.ar</a>
morbid
Regular
Posts: 69
Joined: Fri Jul 30, 2004 4:28 pm

Post by morbid »

how to fix?
James!
Member
Posts: 134
Joined: Sat Jan 01, 2005 12:09 am

Post by James! »

morbid wrote: how to fix?
in the config.php file edit this ..
//ip del server sql
&#036;dbhost = "201.255.133.53";

//Nombre de usuario de sql server(no cambiar)
&#036;dbuser = "sa";

// Password de sql server
&#036;dbpasswd = "pass";


By the data of your SQL Server .
You do not publish other so that it is not going to work.
<img src='http://img.photobucket.com/albums/v482/ ... ingFan.jpg' border='0' alt='user posted image' /><br><a href='http://www.hbdreams.com.ar' target='_blank'><b>- Helbreath Dream Team -</a></b><br><a href='http://www.dreamforums.com.ar/top50' target='_blank'><b>- Dream Top 50 Owner Admin -</a></b><br>- <b>Contacto Por Mail</b> : <a href='mailto:james@dreamforums.com.ar'>james@dreamforums.com.ar</a>
morbid
Regular
Posts: 69
Joined: Fri Jul 30, 2004 4:28 pm

Post by morbid »

allready edited.. -.- the error continues..
Post Reply