|
Posted by sumeet on 09/19/05 06:08
Floppy wrote:
> "sumeet" <sumeet72@gmail.com> wrote in message
> news:dgkdei$fpu$1@domitilla.aioe.org...
>
>>Floppy wrote:
>>
>>>how should I make the following:
>>>
>>>a small desktop-program that sends any value
>>>from any computer to a server with the php and
>>>then shifts that value into, for example, $test
>>>
>>>THANX
>>
>>not sure of exactly what does your program does...
>>
>>you can make a php form on the server, then you can store all the values
>>submitted in the form in a database and process it as per the script.
>>
>>sumeet shroff
>
>
> here is an example
> in php script I read a variable
>
> $data=@$_GET["var"];
>
> and in the program
>
> "http://localhost/aoressql/?var=12345"
>
> but when a page opens there is also ?var=12345; can that
> be hidden from the user because it is important that this
> variable (in this example it has a value 12345) is created in the desktop
> program and that it can't be just written in html
>
>
if u want variables hidden, u can try POST.
the variables are read the same way by the script, but the form method
is changed to POST.
or you can use sessions. the variables are also hidden from the client
in a session. the variables are stored on the server in a file. check
session in the php manual
developing a desktop program involves a lot of overheads and
unneccessary software upgrades. using html, php and mysql is the best
options for a cheap and server based applications.
sumeet shroff
Navigation:
[Reply to this message]
|