Jump to content

STDIN question


dragunu

Recommended Posts

hello dear php freaks community,

 

i would like to make a simple script where i Upload a file, and then combine it with the fopen('php://stdin','r'); function, whereas, each line of the file would be outputted by using an fread(STDIN,1024);

 

hope u understood my question hehe.

 

( for those who use webmin, an example is, when u create a script with perl which requires STDIN. then, by using webmin, u just upload the file and each line of the file is treated as STDIN input. i just want to create something like that in php just for practise sake. )

 

thanks

william

Link to comment
https://forums.phpfreaks.com/topic/61606-stdin-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.