|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2005
Posts: 6
|
I send registrations informations from an InstallOptions form to a php script on a web server using the excellent InetLoad.
I send the informations in the url using the GET method. It works perfectly. But I know POST is more secure especially if I want to use an encrypted connection to the server. Is it possible to send informations from an InstallOptions custom page using the POST method ? |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
|
post.zip on this page http://ineum.narod*****inetload.htm includes test plug-in with POST support (/POST "Some text to post" parameter), simple Linux echo cgi (I wrote
), nsi and post.txt with my (successful) result. If anybody can test this - many thanks in advance. Especially with php's (I not wrote ).
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2005
Posts: 6
|
Thank you Tachir.
I will test and let you know. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Apr 2005
Posts: 6
|
Takhir,
I've tested again. But I can't make it work. It seems that there is not http error but the value of the variables are not transmitted to the server. Here is the PHP code on the linux server : PHP Code:
code: I have to rush to finish my actual program. So I will not have a lot of time to test this new post feature now. I'll release a first version of my installer with GET. When I have the time I'll test InetLoad with POST again and try to see why it does not work. I'm sorry for not being able to continue to test with you. And thank you again for your precious time. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2005
Posts: 1
|
Takhir,
I am using your excellent plugin and also am interested in the ability to POST. I think I know why DavidV is not able to receive the variables from his POST, but I don't know how to fix it. I ran a sniffer while attempting to POST and saw that the following line was missing from the header... Content-Type: application/x-www-form-urlencoded Hope that helps! |
|
|
|
|
|
#6 |
|
Guest
Posts: n/a
|
Is there any other way to do this?
|
|
|
|
#7 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
|
Thank you very much, Yardbird!
Sorry for delay, attached version adds (replaces) Content Type header in the POST request. Server program I used (post.c post.cgi, included) also prints to stdout all env vars, so you can check http headers. It also prints query string and POSTed data. Resulting file post.txt included to the package. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|