Hi Jason,
thanks for the reply. This is really a great place to learn the API. I
tried to search how to connect an opensocial form with a server side
script but i couldnot get the relevent answer.

I made a form and i want to post the fields of form to a php script
running on the same server where xml file is.


the code snippet of the form is:
<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="test1" width="400" height="400" >
<Require feature="opensocial-0.6" />
</ModulePrefs>
<Content type="html">

<![CDATA[
<script type="text/javascript"></script>

<!------ begin my html code here --->

<form name="myform" action="test.php" method="POST">
<div id="intromsg" class="intro" align="center" height="300">
<script type="text/javascript">
document.write('simple test '+'of making form and posting value');
</script>
</div><br>
<table width="100%"><tr><td align="center">
<script type="text/javascript">document.write('login:');</script>
<input type="text" name="login" value="" />
<br><script type="text/javascript">document.write('password:');</script>
&nbsp &nbsp &nbsp &nbsp <input type="password" name="password" id="password" />
<p>
<input id="submit" type="button" name="submit" value="Submit" />
</td>
</tr>
</table>

</form>

]]>
</Content>
</Module>

how can i post the values to my php script.
please guide me.

thanks,
-puneet.













On Jan 25, 2008 12:22 AM, Jason <[EMAIL PROTECTED]> wrote:
>
> Hi puneet.
>
> The Orkut Developer's Guide has a nice tutorial that shows you how to
> get the profile URL using the getField() method:
>
> http://code.google.com/apis/orkut/docs/orkutdevguide.html#ops_profile
>
> The following URL has a list of additional information fields:
>
> http://code.google.com/apis/opensocial/docs/javascript-0.6/reference/opensocial.Person.Field.html
>
> - Jason
>
>
> On Jan 24, 4:25 am, puneet <[EMAIL PROTECTED]> wrote:
> >  I am new to open social community. can any one please help me whit a
> > code snip set which describes how to fetch a particular information
> > from user profile, like user's mail address, mobile number or url
> > address ...
> >
> > thanx in advance.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Discussion" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to