473,320 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

using not GET method

pradeepjain
563 512MB
Expand|Select|Wrap|Line Numbers
  1. <Tr class='pendingAppointment'>
  2.                 <Td>1</Td>
  3.  
  4.                 <Td><a href="/hms-new/index.php/appointment?id=2">Pradeep g</a></Td>
  5.                 <Td>1</Td>
  6.  
  7.                 <Td>Telphone</Td>
  8.                 <Td>Sudeep  Rai</Td>
  9.  
  10.                 <Td>Regular</Td>
  11.  
  12.                 <Td>10:00 AM</Td>
  13.                 <Td><a href='/hms-new/public/update.php?id=2'>Update</a></Td>
  14.  
  15.                 <Td><a href='/hms-new/public/cancel.php?id=2'>Cancel<a/></Td>
  16.  
  17.         </Tr>
  18.         <Tr class='pendingAppointment'>
  19.                 <Td>2</Td>
  20.  
  21.                 <Td><a href="/hms-new/index.php/appointment?id=1">shashank h</a></Td>
  22.  
  23.                 <Td>2</Td>
  24.                 <Td>Walkin</Td>
  25.                 <Td>Krishna  Rao</Td>
  26.                 <Td>Regular</Td>
  27.  
  28.                 <Td>11:00 AM</Td>
  29.  
  30.                 <Td><a href='/hms-new/public/update.php?id=1'>Update</a></Td>
  31.  
  32.                 <Td><a href='/hms-new/public/cancel.php?id=1'>Cancel<a/></Td>
  33.  
  34.         </Tr>
i was using code like above where in i was using GET method to get the ID and display a form with the ID details from DB. Now e have decided not to have GET in our webiste. So how should i proceed with out using a GET method and only post .each row in a table displayed above has 3 actions.
Apr 6 '10 #1
1 1328
Atli
5,058 Expert 4TB
Hey.

There is no simple way to do such navigation without using the query string (GET). It would require you to use JavaScript, or a hidden form.

Is there a reason why you want to do this?
Generally speaking, when data is passed to PHP in order to "get" information, it should be sent via the query string. - The POST method should be used to post new data; to add information.

If you are worried about security, POST offers very little over GET in that department. If somebody is bothering to intercept the request at all, he will undoubtedly have access to data belonging to both methods.
Apr 6 '10 #2

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

Similar topics

4
by: Michael Sparks | last post by:
Anyway... At Europython Guido discussed with everyone the outstanding issue with decorators and there was a clear majority in favour of having them, which was good. From where I was sitting it...
0
by: Nashat Wanly | last post by:
HOW TO: Call a Parameterized Stored Procedure by Using ADO.NET and Visual C# .NET View products that this article applies to. This article was previously published under Q310070 For a Microsoft...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
3
by: flat_ross | last post by:
For anyone who is just getting into VB.NET and/or is starting to work with inheritance I would like to point out a potential pitfall. We found this confusion recently when code-reviewing an...
7
by: Peter Row | last post by:
Hi, I've started work on my own control some parts of which use standard controls, others I need to draw on my controls surface to get the display output I require, however.... I seem to be...
3
by: Mark R. Dawson | last post by:
Hi all, I am trying to get custom attributes from a property. I can do this if I pass in the name of the property i.e. "Name" to the reflection methods, but if I pass in set_Name which is what...
6
by: semkaa | last post by:
Can you explain why using ref keyword for passing parameters works slower that passing parameters by values itself. I wrote 2 examples to test it: //using ref static void Main(string args) {...
19
Atli
by: Atli | last post by:
Introduction At some point, all web developers will need to collect data from their users. In a dynamic web page, everything revolves around the users input, so knowing how to ask for and collect...
65
by: Arjen | last post by:
Hi, Form a performance perspective, is it wise to use the ref statement as much as possible? Thanks! Arjen
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.