views:

73

answers:

1

cause i got some 403 errors ... that's beacuse my server doesn't has enabled the directory listing anybody has done something like that ?

thanks.

A: 

Like this?

/* 'somepage.php' is our script source.
   'username'     is our varible, jonathansampson is the value
   'result'       will hold anything the script sends back
   'text'         is the type of data we're expecting. */
$.get("somepage.php", {"username":"jonathansampson"}, function(result){

  alert(result);

}, "text");
Jonathan Sampson