The best option here, IMHO, is to use XML RPC (Remote Procedure Call). For
details on XML-RPC refer to  http://xmlrpc.scripting.com/default.html .
There is a PHP based library to facilitate easy XML RPC features and it is
available at  http://phpxmlrpc.sourceforge.net/ .
_________________________________________________________

Regards,
Abhishek Singh
FOSS Nepal Community
http://wiki.fossnepal.org


On Thu, Jul 12, 2012 at 8:20 PM, kapil <[email protected]> wrote:

>  On 07/12/2012 07:15 PM, Shreya Dahal wrote:
>
> I figured PHP is also a free and opensource software so I decided to ask
> this here. Also I reckon there are a few web-developers here who can help
> me out.
> Ok, I need a website to send a package of information to a different
> website which will process it. The sender website doesnot require to
> recieve anything back (ok maybe a "I reached here fine" message). I could
> send it in the URL like GET method, but this info needs to be real
> confidential. There must be a way to send something using POST method
> through php. The only way I know to use POST method is through HTML forms.
> I cant use them here. The info will be generated by a php program and
> should be sent from there.
> I am not a PHP master. I've only used it to upload and fetch data with
> MySQL. I can't do any googling right now as the only internet connection I
> have is the NTC's net in my phone. Anyone with NTC will understand my
> condition. So any suggestion is highly appreciated.
> --
> FOSS Nepal mailing list: [email protected]
> http://groups.google.com/group/foss-nepal
> To unsubscribe, e-mail: [email protected]
>
> Mailing List Guidelines:
> http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> Community website: http://www.fossnepal.org/
>
> Hi shreya.
>
> It all boils down to your choice of tools my suggestion would be to used
> php's native Curl library here is a quick demo for it
> http://www.lornajane.net/posts/2011/posting-json-data-with-php-curl
> And here is the manual for using Curl
> http://php.net/manual/en/book.curl.php
>
> If you want to do it without using curl then you can use this strategy
> http://wezfurlong.org/blog/2006/nov/http-post-from-php-without-curl/
>
> However if you are comfortable learning new languages i would encourage
> you to use ruby for it
> http://ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html#label-POST
>
> --
>
> With regards,
> --------------
> Kapil Raj [email protected]
> @xecutioner303
>
>  --
> FOSS Nepal mailing list: [email protected]
> http://groups.google.com/group/foss-nepal
> To unsubscribe, e-mail: [email protected]
>
> Mailing List Guidelines:
> http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
> Community website: http://www.fossnepal.org/
>

-- 
FOSS Nepal mailing list: [email protected]
http://groups.google.com/group/foss-nepal
To unsubscribe, e-mail: [email protected]

Mailing List Guidelines: 
http://wiki.fossnepal.org/index.php?title=Mailing_List_Guidelines
Community website: http://www.fossnepal.org/

Reply via email to