Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to coding with php and was wondering if anyone could give me some samlpe code or general code relating to what I need to do. I basically need to request a http script from a vb6 client in windows. On the linux side, I need to setup and http address that recieves four different values from that vb6 client and parse them out giving each a name. The client is set on a timer to send the new value every second so I will need to be able to recieve every second on the php server end. Any help would be greatly appreciated.
The problem is when the 4 values are passed....the come is as a string all together...ie
(123456, 12.99, 45.876, 0.3456). The need to be parsed out and then assigned names. What would be the code for this?.....Also....is php installed in the knoppix version of linux where I can just go ahead and begin coding?
I am wondering what is the step by step process to set this up to be able to run. I am sure you have to seclare a url somewhere ........recieve the string.....separate the string(like you already mentioned to me)....then display the values on a url page. I am curious to see a general example of the coding to do this or some source code. I have never done this before and to see something already done, similar to what i need to do would be a big help.
Also do you know if knoppix had php already installed on it and if not how I can install it?
Well this program will will be stored on a network cameras memory and the values will be put on the video feed. That is really all I have to do. My client send the updated values every second. Will the php script recive these updates every second or is there another setting or extra coding needed for that?
If so do you know the syntax for this type of thing?
I appreciate all of your help and very fast responses. I gonna go ahead and give this a shot. Would it be ok if I have any other questions to email you directly? Again thnsk a bunch for you help and patience with me
I am still having some trouble. I dont really understand how to set this webserver up. Is there any way that you could explain in detail to me exactly where it needs to be set up....vb client or php server and how to do it (ie the syntax). also I tried to at least code the php code into knoppix and got an error on the first line ( <?) saying:
?: No such file or directory
Also after going home and thinking about it yesterday.....my client is setup to passed the variable string through a winsock. Am i going to have to change this or designate a port and host address in php?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.