hola GatorV gracias por responder, aver si me puedo explicar mejor, el protocolo http lo consoco bien, yo lo que estoy haciendo es un sever en visual basic (algo asi como el apache (pero horriblemente inferior))
ahora lo que no se bien es como integrar php a mi sever, en una peticion GET ya estaria solucionado porque digamos que llamo a la consola por lineas de comando de php-cgi.exe con los parametros que obtengo del get y bueno esta me debuelve toda el script php procesado. y lo envio al cliente.
ahora bien cuando un cliente me envia un metodo post por ejemplo
Código:
POST /index.php HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Language: es
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: localhost
Content-Length: 17
Connection: Keep-Alive
Cache-Control: no-cache
Boton1=Enviar&CuadroTexto=hola
no se como llamar a php-cgi.exe con la pagina index.php y decirle que la data post es esta que tengo aqui
estube revisando la ayuda de php-cgi.exe y me devuelve estos datos prove con casi todos y nada, aver si ustedes que estan mas experimentados en php me pueden ayudar.
Código:
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
php <file> [args...]
-a Run interactively
-b <addressort>|<port> Bind Path for external FASTCGI Server mode
-C Do not chdir to the script's directory
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>. Implies `-q'
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
Saludos