I really need help please

Hello,

I am developing apps on the Apple Platform. In one of my apps, users were, until now, sending some information (in form of a string) to a server via HTTPS/SSL. My partners maintaining the server were making sure the string is “received” and dealt with.

Long story short, these supposed partners have decided it’s not fun anymore and want to start doing something else. I need to install a server of my own and make sure that the users still can upload their information without interruption.

I was told that I need a small PHP script on the server side, in order to do that. I don’t know anything to PHP, it’s on my list to learn, but there are so many things and I really don’t know where to start.

I started learning HTML5 and Javascript in order to make an interactive website. I do have a domain name and I am renting web space. The web site, I will manage building. My web provider does offer VPS and dedicated servers. I am just panicking a bit and don’t know what to do and how to do it. What I crucially miss is time.

The first thing I need to test is how I can upload the string to my server. Can anybody help me do that with the php side please?

I can’t afford that users can’t upload their information anymore. I am kind of in a corner, so I would be extremely thankful for kind of any advice.

Thanks, Anne

Hire help.

You need:

  1. Any webhost with SSL configured. You MUST MUST MUST transmit the data over SSL (https).

  2. A simple (depends on what you want to do) server side script that take the data and “deal with it”.

Hi Jim,

I very much appreciate your answer to my question.

1) Any webhost with SSL configured. You MUST MUST MUST transmit the data over SSL (https).
I agree, that’s what I am doing currently on the other server. I can get a SSL certificate at my Web host, I checked. This part I think I can handle.

2) A simple (depends on what you want to do) server side script that take the data and “deal with it”.
I agree, that’s basically what I want. Currently I just want to check that my string can be uploaded on a “normal” web site. I have found PHP scripts to upload an image but not a string. Basically I send ca. 100 characters string looking like : – date – time – 0-8-9–0-0-0–yes-0–no … and so on.

I just want to make sure the string arrives and ideally that the server emails me the string it received (that’s what the current server does). It’s all I need as script, all the checks of length and content are done inside the app.

Can you help me in any way on the server side script?

How is the string sent? How you catch it depends on how you submit it…

And when you have received the string, what do you want to do with it? save it to DB and email it to an email?

How is the string sent? How you catch it depends on how you submit it…
Currently it is sent via a POST.

And when you have received the string, what do you want to do with it? save it to DB and email it to an email?
Currently yes, later on it will be rerouted to other servers, but by then I have hope I will know php :wink:

It should be easy to do. pm me details and I can see if I can throw together something for you, should be possible to do in just a few lines of code.

Sponsor our Newsletter | Privacy Policy | Terms of Service