473,472 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

PHP Post

46 New Member
Hello

I'm working on paypal payment system and I'm wondering how can I post data with PHP. I don't want any forms that have some hidden inputs, but everything should be hidden in PHP. I checked some modules (like on oscommerce) but I don't understand them. So does anybody know any code, class, tutorial for this?
Jun 7 '08 #1
7 1410
Markus
6,050 Recognized Expert Expert
You'd be smarter to use SESSIONS

Hope this helps.
Jun 8 '08 #2
FrEaKmAn
46 New Member
You'd be smarter to use SESSIONS

Hope this helps.
what does a session has to do with post? I'm just wondering if there is a better way then "old" <form method="POST"> way..
Jun 8 '08 #3
Markus
6,050 Recognized Expert Expert
what does a session has to do with post? I'm just wondering if there is a better way then "old" <form method="POST"> way..
How is that method 'old'?
Jun 8 '08 #4
FrEaKmAn
46 New Member
How is that method 'old'?
as I said, "old". It not old and it's used almost everywhere, but it's older comparing to the new methods..
Jun 8 '08 #5
Markus
6,050 Recognized Expert Expert
as I said, "old". It not old and it's used almost everywhere, but it's older comparing to the new methods..
If it's the generally used method, I see no reason why you should use other methods. :)
Jun 8 '08 #6
dlite922
1,584 Recognized Expert Top Contributor
You'd be smarter to use SESSIONS

Hope this helps.
Sessions can be dangerous, potentially hackable. The hacker can duplicate session or some of XSS.

If he's using SSL, $_POST will be fine.

If you don't want to store things in hidden fields, put them in a database.

Because POST causes other issues (back button: page expired, and sometimes 404)

Cheers,


Dan
Jun 9 '08 #7
Atli
5,058 Recognized Expert Expert
Are you trying to have PHP POST the data to another website?
If so, check out cUrl.

It basically sends a HTTP request from within your PHP code, much like AJAX does from withing Javascript. It can send POST data and you can even have it use SSL.
Jun 11 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: Thomas Scheiderich | last post by:
I am trying to understand Session variables and ran into a question on how they work with data that is passed. I have an HTM file that calls an ASP file and sends the name either by GET or POST....
1
by: khawar | last post by:
my application is in asp.net using C# hi guys having a complicated problem i am using payflowlink to process CC payments I have to send a httppost to their servers. The problem is how do i do a...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
1
by: Manuel | last post by:
I have to log into a website and retrieve some information. The problem is that the post isn't "normal". I'm used to passing post values in the form of: Variable1=Value1&Variable2=Value2 etc. I...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
24
by: moriman | last post by:
Hi, The script below *used* to work. I have only just set up a server, PHP etc again on my Win98 system and now it doesn't? On first loading this page, you would have $p = and the button...
9
by: c676228 | last post by:
Hi, I am new to this discussion forum. I started to post questions on this forum since this Jan. and got many good responses and I am very appreciated to those who are willing to help with their...
3
by: JansenH | last post by:
We have implemented a 'HTTP Post' client in C# that posts Xml documents to a webserver. This is working fine if the post rate is one post for every 20 seconds. But if the post rate is increased to...
10
by: Peter Michaux | last post by:
Hi, All Ajax libraries I've read use encodeURIComponent() on the name- value pairs extracted from forms before POST ing the result to the server with and xmlhttprequest. I can understand why...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.