das ist doch egal.. auf 4:3 halt 1280*1024 und aufm 16:9 1280*800...
musst halt nur für den monitor die optimal auflösung nehmen (PS steht bei jedem LCD bei) da es sonst echt sch.. aus schaut.
das ist doch egal.. auf 4:3 halt 1280*1024 und aufm 16:9 1280*800...
musst halt nur für den monitor die optimal auflösung nehmen (PS steht bei jedem LCD bei) da es sonst echt sch.. aus schaut.
jo. ist auchn bischen ungewöhnlich oder ?!
früher war es noch ./
PS die select tags hast du auch drüber und drunter gesetzt ?!
guck dir einfach die letzte zeiel an
echo make_option_list( dir_tree($dir, '', 0), '' );
musst doch nur $dir anpassen ist doch sogar mit beispiel usw.....
wenn das net raffst tuht es mir leid...
dir("."); erzeugt ne klasse http://de.php.net/
$var2 = substr($var1, $x, 5);
du must doch wissen welche tabelle du bearbeiten must...
sonst geh doch mal mit einem consolen client drauf und check das erstmal ab...
das deine abfrage müll ist !!!!!!!!!!!!!!!!!
was soll den bitteschön ERP.AUTHENTIFICATION sein ?! das ergiebt keinen sinn.
wenn du so glatt bist und einen tabellen namen mit punkt gefählt hast schreibt man das den so:
`ERP.AUTHENTIFICATION` PS sollte man aber so oder so vermeiden.
function dir_tree($base_dir, $dir, $ebene)
{
$dir_tree=array();
$d = dir($base_dir.'/'.$dir);
while($file = $d->read())
{
if ($file!='.' && $file!='..' && is_dir($base_dir.'/'.$dir.'/'.$file))
{
$tmp['name']=$file;
$tmp['folder']=$dir;
$tmp['ebene']=$ebene;
$tmp['content']=dir_tree($base_dir, $dir.$file.'/', $ebene+1);
$dir_tree[]=$tmp; unset($tmp);
}
}
$d->close();
return $dir_tree;
}
function make_option_list($date, $prefix)
{
$ausg = null;
foreach($date AS $row)
{
$ausg.= '<option value="'.$row['folder'].'">'.$prefix.$row['folder'].'</option>'."\n";
if (!empty($row['content']))
{
$ausg.= make_option_list($row['content'], $prefix);
}
}
return $ausg;
}
$dir = '/srv/www/web333/html/dein_verzeichniss';
echo make_option_list( dir_tree($dir, '', 0), '' );
Alles anzeigen
also der sql string schaut komisch aus
INSERT INTO ERP.AUTHENTIFICATION VALUES (id, newuser, pwd1, fullname, roleid, email, abteilung, rang, telefon)
mit: .getConnection ("DB" wählst ja schon die db aus)
dann must du nur noch:
INSERT INTO `table`(`feld1`, `feld2`, `feld3`) VALUES ("wert1", "wert2", "wert3")
welche sprache und soll das dazu geprogt werden oder eigenständig ?!
crazy weihnachten ist noch nicht... also bis dahin arbeite um was zu bekommen oder frag mammi nachm lolli....
versuche es mal so:
public void pwdcheck(){
try {
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection ("DB","Name","Passwort");
Statement stmt = conn.createStatement();
String sql = "INSERT INTO ERP.AUTHENTIFICATION VALUES (id, newuser, pwd1, fullname, roleid, email, abteilung, rang, telefon)";
ResultSet rs = stmt.executeQuery(sql);
stmt.close();
}
catch (Exception e) {}
}
Alles anzeigen
wiso weihnen ?!? ist das jetzt 1-2 spuren zu hoch gewesen ?!
so amcht googel es:
http://www.google-analytics.com/urchin.js
also java oder flash mehr möglichkeiten hast du da nicht... wobei es bei mir mit falsh echt düster aus schaut.... PS js kann man zwar aus machen, macht aber kaum einer...
wie gesagt nur mit den logs no chance.... da kannst du höchsten herrausfinden wer es war... aber in der regel auch net, kommt drauf an wie gut der type ist....
PS Hacking is like sex. you get in, you get out and hope you dint leave anythink what can traced back to you.
alles klar ?!
Was hast du jetzt genau zur verfügung und wie ist die lage....
hmm und nun mal die dumme frage....
ich sag mal das ist C aber könnte auch genuaso java sein.... ?!
also mache ne liste mit den kudnen dann einen div mit ner id
auf die selctbox ein onChange=""
das ganze dann mittels AJAX über PPH oder so aus der SQL db gekramt und dann entweder die reinen daten per ajax überbene oder gleich fertiges HTML von PHP in das div geschmissen und alles wird gut...
so in etwa verstanden ?!
da ich heute meine soziale ader habe, das AJAX modul...
// global xmlhttprequest object
var xmlHttp = false;
/** AJAX functions **/
// constants
var REQUEST_GET = 0;
var REQEST_POST = 2;
var REQUEST_HEAD = 1;
var REQUEST_XML = 3;
/**
* instantiates a new xmlhttprequest object
*
* @return xmlhttprequest object or false
*/
function getXMLRequester( )
{
var xmlHttp = false;
// try to create a new instance of the xmlhttprequest object
try
{
// Internet Explorer
if( window.ActiveXObject )
{
for( var i = 5; i; i-- )
{
try
{
// loading of a newer version of msxml dll (msxml3 - msxml5) failed
// use fallback solution
// old style msxml version independent, deprecated
if( i == 2 )
{
xmlHttp = new ActiveXObject( "Microsoft.XMLHTTP" );
}
// try to use the latest msxml dll
else
{
xmlHttp = new ActiveXObject( "Msxml2.XMLHTTP." + i + ".0" );
}
break;
}
catch( excNotLoadable )
{
xmlHttp = false;
}
}
}
// Mozilla, Opera und Safari
else if( window.XMLHttpRequest )
{
xmlHttp = new XMLHttpRequest();
}
}
// loading of xmlhttp object failed
catch( excNotLoadable )
{
xmlHttp = false;
}
return xmlHttp ;
}
/**
* sends a http request to server
* @param strSource, String, datasource on server, e.g. data.php
* @param strData, String, data to send to server, optionally
* @param intType, Integer,request type, possible values: REQUEST_GET, REQUEST_POST, REQUEST_XML, REQUEST_HEAD default REQUEST_GET
* @param strData, Integer, ID of this request, will be given to registered event handler onreadystatechange', optionally
* @return String, request data or data source
*/
function sendRequest( strSource, strData, intType, intID )
{
if( !strData )
strData = '';
// default type (0 = GET, 1 = xml, 2 = POST )
if( isNaN( intType ) )
intType = 0; // GET
// previous request not finished yet, abort it before sending a new request
if( xmlHttp && xmlHttp.readyState )
{
xmlHttp.abort( );
xmlHttp = false;
}
// create a new instance of xmlhttprequest object
// if it fails, return
if( !xmlHttp )
{
xmlHttp = getXMLRequester( );
if( !xmlHttp )
return;
}
// parse query string
if( intType != 1 && ( strData && strData.substr( 0, 1 ) == '&' || strData.substr( 0, 1 ) == '?' ) )
strData = strData.substring( 1, strData.length );
// data to send using POST
var dataReturn = strData ? strData : strSource;
switch( intType )
{
case 1: // xml
strData = "xml=" + strData;
case 2: // POST
// open the connection
xmlHttp.open( "POST", strSource, true );
xmlHttp.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' );
xmlHttp.setRequestHeader( 'Content-length', strData.length );
break;
case 3: // HEAD
// open the connection
xmlHttp.open( "HEAD", strSource, true );
strData = null;
break;
default: // GET
// open the connection
var strDataFile = strSource + (strData ? '?' + strData : '' );
xmlHttp.open( "GET", strDataFile, true );
strData = null;
}
// set onload data event-handler
xmlHttp.onreadystatechange = new Function( "", "processResponse(" + intID + ")" ); ;
// send request to server
xmlHttp.send( strData ); // param = POST data
return dataReturn;
}
function processResponse( intID )
{
// status 0 UNINITIALIZED open() has not been called yet.
// status 1 LOADING send() has not been called yet.
// status 2 LOADED send() has been called, headers and status are available.
// status 3 INTERACTIVE Downloading, responseText holds the partial data.
// status 4 COMPLETED Finished with all operations.
switch( xmlHttp.readyState )
{
// uninitialized
case 0:
// loading
case 1:
// loaded
case 2:
// interactive
case 3:
break;
// complete
case 4:
// check http status
if( xmlHttp.status == 200 ) // success
{
processData( xmlHttp, intID );
}
// loading not successfull, e.g. page not available
else
{
if( window.handleAJAXError )
handleAJAXError( xmlHttp, intID );
else
alert( "ERROR\n HTTP status = " + xmlHttp.status + "\n" + xmlHttp.statusText ) ;
}
}
}
function encode_utf8(rohtext)
{
// dient der Normalisierung des Zeilenumbruchs
rohtext = rohtext.replace(/\r\n/g,"\n");
var utftext = "";
for(var n=0; n<rohtext.length; n++)
{
// ermitteln des Unicodes des aktuellen Zeichens
var c=rohtext.charCodeAt(n);
// alle Zeichen von 0-127 => 1byte
if (c<128)
utftext += String.fromCharCode(c);
// alle Zeichen von 127 bis 2047 => 2byte
else if((c>127) && (c<2048)) {
utftext += String.fromCharCode((c>>6)|192);
utftext += String.fromCharCode((c&63)|128);}
// alle Zeichen von 2048 bis 66536 => 3byte
else {
utftext += String.fromCharCode((c>>12)|224);
utftext += String.fromCharCode(((c>>6)&63)|128);
utftext += String.fromCharCode((c&63)|128);}
}
return utftext;
}
function decode_utf8(utftext)
{
var plaintext = ""; var i=0; var c=c1=c2=0;
// while-Schleife, weil einige Zeichen uebersprungen werden
while(i<utftext.length)
{
c = utftext.charCodeAt(i);
if (c<128)
{
plaintext += String.fromCharCode(c);
i++;
} else if((c>191) && (c<224)) {
c2 = utftext.charCodeAt(i+1);
plaintext += String.fromCharCode(((c&31)<<6) | (c2&63));
i+=2;
} else {
c2 = utftext.charCodeAt(i+1); c3 = utftext.charCodeAt(i+2);
plaintext += String.fromCharCode(((c&15)<<12) | ((c2&63)<<6) | (c3&63));
i+=3;
}
}
return plaintext;
}
function URLencode(sStr)
{
sStr=sStr.split('"').join('%22');
sStr=sStr.split('&').join('%26');
sStr=sStr.split("'").join('%27');
sStr=sStr.split('€').join('%80');
sStr=sStr.split('+').join('%2B');
sStr=sStr.split('/').join('%2F');
sStr=sStr.split('=').join('%3D');
return sStr;
}
Alles anzeigen
dazu denn noch was wie:
<script language="JavaScript" type="text/javascript">
<!--
var ajax_weiche = 'menu';
var tmp = '';
function processData( xmlHttp, intID )
{
if (ajax_weiche=='auftrag')
{
setAuftrag( xmlHttp.responseText );
}
}
function setAuftrag( id )
{
ajax_weiche='auftrag';
sendRequest( 'get_auftrag.php?id=' + id );
}
function setAuftrag( strData )
{
if( strData )
{
var arrOptions = strData.split( "\n" );
var arrOption;
var ausgabe = '';
for( var i = 0; i < arrOptions.length; i++ )
{
arrOption = arrOptions[ i ].split( ';' );
if (arrOption[ 1 ]!="")
ausgabe = ausgabe + '<tr><td align="left">[b]' + arrOption[ 0 ] + '[/b]</td><td align="left">' + arrOption[ 1 ] + '</td></tr>' + "\n";
}
ausgabe = '<table border="0" cellpadding="0" cellspacing="0" align="center" width="98%">' + "\n" + ausgabe + '</table>';
document.getElementById('div').innerHTML=ausgabe;
}
}
// -->
</script>
Alles anzeigen
wobei die PHP ausgabe im CSV style währe....
also \n für neuer datensatz und ; und die objecte zu trennnen
OLO meinst dir schreibt da freiwillig jemand ne mail hin ?! Da musst dich wohl doch ins forum bemühen ?!
und wie willst dne das ding anahnd der logs wieder herstellen oder meinst jeztzt etwa auch das mysql binary log.... ansonten hilft dir da nur ein backup wenn die DB im A... ist...
ja... einmal als vbscript woei da der moz und weitere glaueb ich streiken
<script language="VBScript">
<!--
MsgBox "ich bin VBScript"
-->
</script>
am mittels iis server als ASP
<%
Response.write "ich bin VBScript"
%>
$data = file('garantiescheine.csv');
if (!empty($_GET['dell']))
unset($data[$_GET['dell']]);
echo '<table width="800" border="1" cellspacing="1" cellpadding="1">';
$i = 0;
foreach( $data AS $row)
{
$obj = explode(';', $row);
$i++;
echo "<tr><td>$i</td><td>{$obj[0]}</td><td>{$obj[1]}</td><td>{$obj[2]}</td><td>{$obj[3]}</td><td>{$obj[4]}</td><td><a href=\"{$_SERVER['PHP_SELF']}?dell=".($i-1)."\">X</a></td></tr>\n"
}
echo '</table>'
$fp = fopen('garantiescheine.csv','w+');
foreach( $data AS $row)
{
fwrite($fp,"\n".trim($row));
}
if (!empty($_POST['eins']) && !empty($_POST['zwei']) && !empty($_POST['drei']) && !empty($_POST['vier']) && !empty($_POST['fuenf']))
fwrite($fp,"\n" .$_POST['eins']. ';' .$_POST['zwei']. ';' .$_POST['drei']. ';' .$_POST['vier']. ';' .$_POST['fuenf']. ';');
fclose($fp);
Alles anzeigen
soo einmal tiefer breiter schneller
SELECT LAST_INSERT_ID( )-1
FROM `tabelle`
LIMIT 0 , 1