Hallo,
sorry dass ich den Beitrag noch mal hochziehe, aber funktioniert das so wie Jornbyte oder Oliver Worm das schreibt?! Bin bestimmt nicht der einzige der das nutzen möchte und zwar mit so weniger Quellcode wie möglich...
Danke
Code: Alles auswählen
<html>
<head>
<title></title>
<link rel="stylesheet" href="standard.css" type="text/css">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FF0000" alink="#FF0000" vlink="#FF0000">
<form name="form1" method="post" action="index.htm">
<input type="text" name="OUT" style="" value="Wert eingeben">
<pre align="left"><input type="submit" name="SUB" value="übernehmen"></pre>
</table><br><br>
%11101
</body>
</html>
Code: Alles auswählen
//Einzelne Postpacket (z.B. bei firefox)
if(http_entry[index].http_auth && http_entry[index].post == 1)
{
quellfile[0] = 0;
for(input = 0, a = TCP_DATA_START_VAR;a<(TCP_DATA_END_VAR);a++ )
{
//Schaltanweisung finden!
if (eth_buffer[a] != *http_entry[index].post_ptr++)
{
http_entry[index].post_ptr = post_in;
}
if(*http_entry[index].post_ptr == 0)
{
// HTML-Seitenname lesen !! Dieser ist in der HTML
eth_buffer[a+1+strcspn( (char*)(ð_buffer[a+1]), "&" )] = 0;
// usart_write( "input%i = %s\r\n", input, (char*)(ð_buffer[a+1]));
if( !input ) strcpy( quellfile, (char*)(ð_buffer[a+1]) );
if( !strcmp( quellfile, "index.htm" ) )
{
switch (eth_buffer[a+1])
{
case ('A'):
PORT_tmp = PORT_tmp + 1;
break;
case ('B'):
PORT_tmp = PORT_tmp + 2;
break;
.....
Code: Alles auswählen
//if(*http_entry[index].post_ptr == 0)
//{