View unanswered posts | View active topics
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
BackupUser
|
Post subject: Posted: Thu Aug 16, 2001 8:11 am |
|
 |
PureBasic Guru |
 |
Joined: Tue Apr 22, 2003 7:42 pm Posts: 16777133
|
Restored from previous forum. Originally posted by ferryman.
In my bid to write a CGI Library I have got the STDOUT and Enviroment variables working. But I've had no luck with STDIN. For those who don't known CGI, STDIN is used when data is sent to the server when using the "POST" method. I tried getc(), fgetc(stdin) and even DOS INT 07. I can't get these working within a console and I have not tried CGI.
Any one got any ideas
Thanks.
Ferryman.
|
|
Top |
|
 |
BackupUser
|
Post subject: Posted: Thu Aug 16, 2001 3:13 pm |
|
 |
PureBasic Guru |
 |
Joined: Tue Apr 22, 2003 7:42 pm Posts: 16777133
|
Restored from previous forum. Originally posted by wavemaker.
Hi,
I've been trying the same. I think the problem is that arguments in *argv are the parameters passed to the function, not the stdin data. The stdin data must be taken from the starting of the executable.
Somewhere I read that the pointer to the stdin data is in ebp, so I tried inline asm, but it didn't work. I'll post here if I have some success with this.
Regards,
Wavemaker
Juan Calderón Alonso Registered user
|
|
Top |
|
 |
BackupUser
|
Post subject: Posted: Sat Aug 18, 2001 12:25 pm |
|
 |
PureBasic Guru |
 |
Joined: Tue Apr 22, 2003 7:42 pm Posts: 16777133
|
Restored from previous forum. Originally posted by ferryman.
I found a method to getting STDIN by using getch(). Now all I have to do write the CGI library. Watch this space
ferryman.
|
|
Top |
|
 |
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 4 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|