Question by : How can i post data using php no html?
Hi, i need to post data to a website without using a html form.
the reason is that the hidden fields inside a html form can be viewed in the source code… is there a way to post data without revealing the information posted?? for example with php? thanks.
I would like to avoid using CURL as i am not developing in that language…
The problem with using sessions is that this information should be sent to paypal… so unless possible, i think it had to be posted…
Answer by Warren
If the information that you are posting is based off of input from the user then you need a form of some sort to get that information.
However, if it is information that was previously gathered, calculated, or retrieved from another source, you can store information temporarily using “sessions”. Seeing how your main concern is security and you don’t want people to be able to view the values, this is probably the easiest way to go about it.
Give your answer to this question below!