Jump to content

Php script to receive http request from a software?


ARAD

Recommended Posts

Hello I am a total beginner and don't know first thing about php, but still trying to figure this out. 

So what I am trying to achieve is, send a http request from a software to my website with a ticket number, is it possible in php to receive that request and show it on a different webpage of the same site? 

It would be helpful if you can point me to some related articles. 

Link to comment
Share on other sites

If I understand you correctly, you want to update your ticket information from a software (e.g a exe file). Yes it is possible.

What you need to do is,

On the server side, create a script e.g updateTicket.php that updates your sql database

On the client side, your software, launch a http request to e.g http://example.com/updateTicket.php or whereever your script is located, with the new ticket information e.g http://example.com/updateTicket.php?ticketId=1234&ticketTitle=something&ticketContent=something

I cant give you any code here since I don't know what language you are using.

I think what you need to know is that it is possible to save the ticket information into your database through your php script. Other pages on your website can access the very same database for the updated ticket information.

Please also remember to authenticate the http request !

Link to comment
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.