I am trying to get all stream data from a group (I have wall entries, discussions, events and photos).
For now, Access on this group is Open.
$result = $_fb->api_client->fql_query("SELECT actor_id, message FROM stream WHERE source_id=$gid LIMIT 50");
Only some of the records come back (5 out of 10) (only wall entries and a photo).
Ju...
I have this code.
xmlhttp.open("GET","getuser.php?q="+str,true);
where q="+str
I want to pass a second var how do I do this?
...
I have some database information that is being shown on a page.
I am using a pagination class that uses the $_GET['page'] variable in the url. When you click on a different pagination anchor tag, it changes $_GET['page'] to a new number in the url and shows the corresponding results.
I have sort and search features which uses the $_GE...
HI Volks,
here is my code block which I want to replace by the ajax respond:
<div class="results">
<span id="like9">
<a class="like" rel="ajax.php?id=9" href="#">klick</a>
</span>
</div>
this is how I observe the ajax link:
$(document).ready(function()
{
$('.results .like').click(function()
{
params = getUrlVars($(t...
Hello, are there any ways to get function signature/name from it's pointer?
Like:
void test(float data) {}
cout << typeid(&test).name();
I wan't to use this data for logging.
...
Is there a program, that you can drag a box around a specific area of an image, and it will give you the coordinates you need to input into CGRectMake?
//The numbers in here
CCSprite *sprite = [CCSprite spriteWithSpriteSheet:spriteSheet rect:CGRectMake(608,6,44,45)];
The way i do it know, is by guessing, and recompiling every time til...
PHP has _get and _set functions built in. Is it better to write my own get and set functions for each variable or use the built in functions with a ton of if else if? What are the pros and cons of each method?
...
Is it possible to load jquery code in addition to html via ajax or jquery's post or get methods? I am trying to build conditional gui element activation (based on user's input).
It doesn't make sense to create one file with all jquery code taking all the conditionality into consideration. Instead, my hope is that if jquery via ajax allo...
Hello, I am currently trying to authenticate with a server via a http Get call. The code provided below works when compiled in a java project. Returning the correct token to the program. However whenever I try to implement the same code in Android I do not get a token returned via the Get call.
In Android I am returning inputLine in a ...
Hello Everyone,
Let's say I have a url to a streaming data source (for example a stream of updated weather data) and I know this url works with GET (I verified that it does return steaming data). The stream is compressed with GZIP, each "message" begins with a 1 byte id, a 2 byte part containing the message length, then another 2...
I plan to develop a Java program. In that program, first get the datuom of my FaceBook, including profile, my friends list and so on. Second, store them to my defined databace. Now I am worrying about how can I get those datum in my Java program. Thx.
...
Here is my code:
<?php
$id = $_GET["id"];
if (is_int($id) === FALSE) {
header('HTTP/1.1 404 Not Found');
exit('404, page not found');
}
?>
It always enters inside the if.
...
Hey, say I have a url just being passed through my php is there any easy way to get some GET variables that are being passed through it? It's not the actual url of the page or anything.
like a just have a string containing
http://www.somesite.com/index.php?url=var&file_id=var&test=var
Whats the best way to get the values for ...
instead of writing code in the standard way:
$.get('test.xml',function(){
//manipulate the code here
})
I wanted to write the code this way to make things easier:
$.get('test.xml',callback(data));
function callback(data){
//manipulate with the data below...
}
but error show "data is undefined", how can i fix this?
...
Hi everybody!
I have 2 files on 2 different servers:
file1.php
- resides on site 1
- I pass a parameter, and the script echo-ed answer which depends on (is function of) passed parameter
- everithink is OK when I access file by browser like
http://site1.com/file1.php?parameterValue
file2.php
- resides on site 2
- file2 has to sen...
I was wondering if it is even possible to interact with other websites using my own.
Here is the scenario:
Lets say I have a Lockerz account, which is a place where you do daily tasks to earn points. Once a month you can redeem those points to get prizes such as an ipod, macbook, or other items. I know that sounds rediculous, but stay...
Hey, I have found this code to get a MAC address, but it returns a long string and doesn't include ':'.
Is it possible to add in the ':' or split up the string and add it it myself?
here is the code:
private object GetMACAddress()
{
string macAddresses = "";
foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInter...
What does $_GET return when the index is not set? (Couldn't find anything in php manual about $_GET.)
I wrote this to check, if the $_GET['id'] isset - and if it is not, set $id to false:
<?php $id = (isset($_GET['id'])) ? $_GET['id'] : false ?>
...
Hi,
I'd like to know how to do a HTTP GET request to a server from which I know I will get redirected at least a couple of times...
I'd like to get the response (body) of the "last" webpage. It should come up with a code in my specific example...
Or, as an alternative, I do know you can start the browser from within your Android app, is...
I am trying to add a few different GET variables to the url.
I could easily do a header redirect to the current page url and then just add the $_GET['test'] in the url.
My problem is that I have some GET variables that are in the url already. What I want to do is:
Check if there are any GET variables in the url
If there is not, the...