Jump to content

Pass variables on multiple lines


grn

Recommended Posts

Hi,

 

I have a webpage that will take user input, username, password etc. and we need to call a script from php that will then want to see the username on one line, the password on another and then return an exit status of 1 or 0 which I can then deal with.

 

I am stuck with how to do this as everything I can find would have everything run on one line, rather than split as described above.  We cannot have something run on the command line with arguments as these will contain a username and password, which anyone else on that server would

see by looking at the processes that are running.

 

Does anyone have any advice on how to achieve this?

 

thanks,

Graham.

 

Link to comment
https://forums.phpfreaks.com/topic/157828-pass-variables-on-multiple-lines/
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.