Don't click here unless you want to be banned.

LSL Wiki : BirdRaven

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ia360925.us.archive.org
ANTHONY M. POWERS
AKA Bird Raven
http://www.os-code.com
tehraven@gmail.com

Software Development, Web Development, Business Solutions
PROFESSIONAL PROFILE
- Network Management (Mid-sized Educational Facility)
Setup, Management and Customer Services
Networking (Hardware & Software) and Maintenance.

- Data Warehouse (Large-sized Sports Apparel Company)
Stock & Inventory
Custom Order Completions
Sales & Tracking

- Computer HelpDesk
Helping walk-in shoppers find and understand the field of computers and technology.
Live on-demand customer service.

SYSTEMS EXPERIENCE AND PROFICIENCY
Operating Systems

Programming Languages


PROFESSIONAL EXPERIENCE
Programmer
Independent company, CrashBoomWorks
-- Created Unix Programs For Entertainment
-- Created A Order System For Local Resturant

SLDatabase, www.sldatabase.com (Project no longer public)
-- Created complete webpage frontend
-- Backend data system (PHP/MySQL)

WebDesign, owner
www.OS-Code.com

SecondLife:
Programming:


Building:
Texturing:

Help:
Usually everyone comes to me for help. This contradicts my work schedule, but I maintain a solid relationship with past clients and new acquantances to assure that my products and services are at top-notch conditions.

Some Code Snippets To Get Your Mind Going:

This code sends a message (the 'message' variable) to a php script that replies with the message 'Received!'

For the SecondLife� script, you need to use llHTTPRequest() to send the data.
Then, when the page 'replies', you gather the data using http_response()

Now for the PHP. This script gathers the message and 'replies' back with the message 'Received!'.
Remember, when you use "GET" in llHTTPRequest(), you are simply READING the output of the PHP file.
So a 'reply' is simple the output data.

key request;
default
{
    state_entry()
    {
        //I Would Not Recommend Calling This Function In The State Entry
        //This Is Only For Communication Method Demonstrations.
        
        //When passing space characters over HTTPRequest, it's a good idea
        //to use llEscapeURL to make all spaces into %20, etc. This preserves them.
        string message = llEscapeURL("This is my neat message.");
        request = llHTTPRequest("http://www.your-webpage.com/test-file.php", [HTTP_METHOD, "GET"], "message=" + message);
    }
    http_response(key indentifier, integer status, list metadata, string message)
    {
        if(indentifier == request) //This is the return data from our llHTTPRequest() function in state_entry()
        {
            llSay(0, message);
        }
    }
}

<?php
//And the PHP looks like this:
if(isset($_SERVER['message']))
{
     
// You can do something with the received message.
     
$message $_SERVER['message'];

     
// Now you reply with 'Received!'
     
echo "Received!";
}
?>
There is one comment on this page. [Display comments/form]