Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.