Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.140
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
php /
pear /
adodb /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
benchmark.php
2.03
KB
-rw-rw-rw-
2012-01-19 07:44
client.php
3.98
KB
-rw-rw-rw-
2009-06-25 10:26
pdo.php
1.82
KB
-rw-rw-rw-
2009-06-25 10:26
test-active-record.php
4.63
KB
-rw-rw-rw-
2009-11-10 10:34
test-active-recs2.php
1.41
KB
-rw-rw-rw-
2010-05-06 12:24
test-active-relations.php
2.99
KB
-rw-rw-rw-
2009-06-25 10:26
test-active-relationsx.php
24.48
KB
-rw-rw-rw-
2009-06-25 10:26
test-datadict.php
7.49
KB
-rw-rw-rw-
2012-01-19 07:44
test-perf.php
959
B
-rw-rw-rw-
2009-06-25 10:26
test-pgblob.php
1.99
KB
-rw-rw-rw-
2009-06-25 10:26
test-php5.php
2.48
KB
-rw-rw-rw-
2012-01-19 07:44
test-xmlschema.php
1.28
KB
-rw-rw-rw-
2009-06-25 10:26
test.php
54.95
KB
-rw-rw-rw-
2012-09-03 08:14
test2.php
598
B
-rw-rw-rw-
2009-06-25 10:26
test3.php
893
B
-rw-rw-rw-
2012-01-19 07:44
test4.php
4.56
KB
-rw-rw-rw-
2012-01-19 07:44
test5.php
1.35
KB
-rw-rw-rw-
2012-01-19 07:44
test_rs_array.php
679
B
-rw-rw-rw-
2009-06-25 10:26
testcache.php
803
B
-rw-rw-rw-
2012-01-19 07:44
testdatabases.inc.php
17.82
KB
-rw-rw-rw-
2012-01-19 07:44
testgenid.php
766
B
-rw-rw-rw-
2009-06-25 10:26
testmssql.php
1.98
KB
-rw-rw-rw-
2012-01-19 07:44
testoci8.php
2.32
KB
-rw-rw-rw-
2012-01-19 07:44
testoci8cursor.php
2.89
KB
-rw-rw-rw-
2012-01-19 07:44
testpaging.php
2.25
KB
-rw-rw-rw-
2012-01-19 07:44
testpear.php
870
B
-rw-rw-rw-
2012-01-19 07:44
testsessions.php
2.48
KB
-rw-rw-rw-
2012-01-19 07:44
time.php
520
B
-rw-rw-rw-
2009-06-25 10:26
tmssql.php
1.92
KB
-rw-rw-rw-
2009-06-25 10:26
xmlschema-mssql.xml
832
B
-rw-rw-rw-
2009-06-25 10:26
xmlschema.xml
961
B
-rw-rw-rw-
2009-06-25 10:26
Save
Rename
<?php /** * @version V4.50 6 July 2004 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. * Released under both BSD license and Lesser GPL library license. * Whenever there is any discrepancy between the two licenses, * the BSD license will take precedence. * * Set tabs to 4 for best viewing. * * Latest version is available at http://php.weblogs.com * * Test GetUpdateSQL and GetInsertSQL. */ error_reporting(E_ALL); include('../adodb.inc.php'); include('../tohtml.inc.php'); //========================== // This code tests an insert $conn = ADONewConnection("mssql"); // create a connection $conn->Connect('127.0.0.1','adodb','natsoft','northwind') or die('Fail'); $conn->debug =1; $query = 'select * from products'; $conn->SetFetchMode(ADODB_FETCH_ASSOC); $rs = $conn->Execute($query); echo "<pre>"; while( !$rs->EOF ) { $output[] = $rs->fields; var_dump($rs->fields); $rs->MoveNext(); print "<p>"; } die(); $p = $conn->Prepare('insert into products (productname,unitprice,dcreated) values (?,?,?)'); echo "<pre>"; print_r($p); $conn->debug=1; $conn->Execute($p,array('John'.rand(),33.3,$conn->DBDate(time()))); $p = $conn->Prepare('select * from products where productname like ?'); $arr = $conn->getarray($p,array('V%')); print_r($arr); die(); //$conn = ADONewConnection("mssql"); //$conn->Connect('mangrove','sa','natsoft','ai'); //$conn->Connect('mangrove','sa','natsoft','ai'); $conn->debug=1; $conn->Execute('delete from blobtest'); $conn->Execute('insert into blobtest (id) values(1)'); $conn->UpdateBlobFile('blobtest','b1','../cute_icons_for_site/adodb.gif','id=1'); $rs = $conn->Execute('select b1 from blobtest where id=1'); $output = "c:\\temp\\test_out-".date('H-i-s').".gif"; print "Saving file <b>$output</b>, size=".strlen($rs->fields[0])."<p>"; $fd = fopen($output, "wb"); fwrite($fd, $rs->fields[0]); fclose($fd); print " <a href=file://$output>View Image</a>"; //$rs = $conn->Execute('SELECT id,SUBSTRING(b1, 1, 10) FROM blobtest'); //rs2html($rs); ?>