View IT Assist in a larger map 

Easy ways to get the answers you need. Chat now or call/sms us at +678 7799677 or +6787799618.

We also provide remote support via Team Viewer.

PHP Redirect To Another URL – Page Script Redirect – Redirect Web Page

How do I redirect with PHP script?

Under PHP you need to use header() to send a raw HTTP header.

Using headers() method, you can easily transferred to the new page without having to click a link to continue. This is also useful for search engines. Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. It is a very common error to read code with include(), or require(), functions, or another file access function, and have spaces or empty lines that are output before header() is called. The same problem exists when using a single PHP/HTML file.

PHP Redirect Script

You can easily redirect using following code:

   <?php /* Redirect browser */ header("Location: http://theos.in/"); /* Make sure that code below does not get executed when we redirect. */ exit; ?>  

The header() is used to send a raw HTTP/1.1 specification specific header. header() must be called before any actual output is sent, the following example will not work:

   <?php $var="something"; echo "Hello world"; echo $var; /**************************************************** * Remember that header() must be called before any actual output is sent, * either by normal HTML tags, blank lines in a file, or from PHP. *****************************************************/ header("Location: http://theos.in/"); exit; ?>  

PHP Redirect Code

Create a sample function called movePage() in sitefunctions.php (note I'm not the author of the following I found it somewhere else on the Internet):

 function movePage($num,$url){    static $http = array (        100 => "HTTP/1.1 100 Continue",        101 => "HTTP/1.1 101 Switching Protocols",        200 => "HTTP/1.1 200 OK",        201 => "HTTP/1.1 201 Created",        202 => "HTTP/1.1 202 Accepted",        203 => "HTTP/1.1 203 Non-Authoritative Information",        204 => "HTTP/1.1 204 No Content",        205 => "HTTP/1.1 205 Reset Content",        206 => "HTTP/1.1 206 Partial Content",        300 => "HTTP/1.1 300 Multiple Choices",        301 => "HTTP/1.1 301 Moved Permanently",        302 => "HTTP/1.1 302 Found",        303 => "HTTP/1.1 303 See Other",        304 => "HTTP/1.1 304 Not Modified",        305 => "HTTP/1.1 305 Use Proxy",        307 => "HTTP/1.1 307 Temporary Redirect",        400 => "HTTP/1.1 400 Bad Request",        401 => "HTTP/1.1 401 Unauthorized",        402 => "HTTP/1.1 402 Payment Required",        403 => "HTTP/1.1 403 Forbidden",        404 => "HTTP/1.1 404 Not Found",        405 => "HTTP/1.1 405 Method Not Allowed",        406 => "HTTP/1.1 406 Not Acceptable",        407 => "HTTP/1.1 407 Proxy Authentication Required",        408 => "HTTP/1.1 408 Request Time-out",        409 => "HTTP/1.1 409 Conflict",        410 => "HTTP/1.1 410 Gone",        411 => "HTTP/1.1 411 Length Required",        412 => "HTTP/1.1 412 Precondition Failed",        413 => "HTTP/1.1 413 Request Entity Too Large",        414 => "HTTP/1.1 414 Request-URI Too Large",        415 => "HTTP/1.1 415 Unsupported Media Type",        416 => "HTTP/1.1 416 Requested range not satisfiable",        417 => "HTTP/1.1 417 Expectation Failed",        500 => "HTTP/1.1 500 Internal Server Error",        501 => "HTTP/1.1 501 Not Implemented",        502 => "HTTP/1.1 502 Bad Gateway",        503 => "HTTP/1.1 503 Service Unavailable",        504 => "HTTP/1.1 504 Gateway Time-out"    );    header($http[$num]);    header ("Location: $url"); }

First include sitefunctions.php and than call movePage() as follows:

 <?php @include("/path/to/sitefunctions.php"); movePage(403,"http://www.cyberciti.biz/"); ?>

APRICOT 2012 FELLOWSHIPS NOW OPEN

_____________________________________________________________________

APRICOT 2012 FELLOWSHIPS NOW OPEN
________________________________________________________________________

Hi PICISOC Community,

The annual APRICOT conference is a unique and successful educational
forum for Internet builders in the Asia-Pacific region, to learn from
their peers and leaders in the Internet community.

Senior practitioners from the Asia Pacific and around the world
contribute their time to APRICOT as presenters, teachers and trainers,
to produce a non-commercial high quality conference.

Since 2000, APRICOT has incorporated a Fellowship Program to provide
opportunities to developing country personnel to participate in APRICOT.
The Program provides financial assistance to selected applicants to cover
some of the expenses associated with attending the conference.

The APRICOT Fellowship Committee now cordially invites applications for
fellowship funding to participate in APRICOT 2012 in New Delhi, India,
from 21 February to 2 March 2012.

For more information about the Fellowship award package, Criteria, and
application form, please visit our website:

http://www.apricot2012.net/fellowship

PLEASE NOTE: The deadline for applications is Monday, 24 October 2011.

With best regards,

Paul Wilson
Director General, APNIC
on behalf of the APRICOT 2012 Fellowship Committee

How to use Google App Engine in Vanuatu

1. What Is Google App Engine?
2. How to use Google App Engine in Vanuatu

Google App Engine lets you run your web applications on Google's infrastructure. App Engine applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow. With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users.

You can serve your app from your own domain name (such as http://www.example.com/) using Google Apps. Or, you can serve your app using a free name on the appspot.com domain. You can share your application with the world, or limit access to members of your organization.

Google App Engine supports apps written in several programming languages. With App Engine's Java runtime environment, you can build your app using standard Java technologies, including the JVM, Java servlets, and the Java programming language—or any other language using a JVM-based interpreter or compiler, such as JavaScript or Ruby. App Engine also features a dedicated Python runtime environment, which includes a fast Python interpreter and the Python standard library, and a Go runtime environment that runs natively compiled Go code. These runtime environments are built to ensure that your application runs quickly, securely, and without interference from other apps on the system.

With App Engine, you only pay for what you use. There are no set-up costs and no recurring fees. The resources your application uses, such as storage and bandwidth, are measured by the gigabyte, and billed at competitive rates. You control the maximum amounts of resources your app can consume, so it always stays within your budget.

App Engine costs nothing to get started. All applications can use up to 1 GB of storage and enough CPU and bandwidth to support an efficient app serving around 5 million page views a month, absolutely free. When you enable billing for your application, your free limits are raised, and you only pay for resources you use above the free levels.

more here - http://code.google.com/appengine/docs/whatisgoogleappengine.html

To start using Google App Engine, follow this process.


Step 1: Go to appengine.google.com and sign-in using your Google Account.

Step 2: Click the "Create an Application" button. Since this is your first time, Google will send a verification code via SMS to your mobile phone number.

Step 3. Go to report SMS issues here - https://appengine.google.com/waitlist/sms_issues, since Vanuatu mobile operators are not listed - http://code.google.com/appengine/kb/supported_carriers.html
and fill the form including Vanuatu as Country, Digicel as mobile and report issues about connecting problems as Vanuatu TVL/Digicel mobiles are not listed. Reason you must input Digicel in the form as your mobile is because it is listed in other countries already. Giving a new Mobile name e.g. TVL will result in error.

Step 4. Check your mail box later for a confirmation by The Google App Engine Team @appengine.noreply@google.com.

Sample: Hello, You're receiving this email because you indicated you'd had some problems verifying your Google App Engine account using SMS.  We just wanted to let you know we've enabled your account--you should be able to create applications now!

Start using Google App Engine!

If you can't get it to work or you cannot wait for google, use a friends mobile overseas. Philippines is listed too.

RIP Steve Jobs (1955-2011)

RIP Steve Jobs (1955-2011)

HT: Jobs had battled cancer in 2004 and underwent a liver transplant
in 2009 after taking a leave of absence for unspecified health
problems. He took another leave of absence in January - his third
since his health problems began - before resigning as CEO six weeks
ago. Jobs became Apple's chairman and handed the CEO job over to his
hand-picked successor, Tim Cook.

Matt
--------------------------------------------------------------------
IT Assist
P.O. Box 2006
Port Vila, Vanuatu.

E-mail: itassist@vanuatu.com.vu
Telephone (H): +678 27831
Telephone (M): +678 7799618/7799677
-------------------------------------------------------------------

Registration and updated information now available for PacINET 2011, American Samoa

Dear All,

Venue, Programme summary, travel information and accommodation
suggestions for PacINET2011 are now online at:
http://www.picisoc.org/PacINET+2011

Registration now open:
http://www.picisoc.org/PacINET2011+Registration+Page

Further programme details and information for visitors will be put on
online by the incountry team shortly.
And if you have any questions  for the organisers please email to
pacinet2011@gmail.com

Hope to see you in American Samoa!
The PICISOC Board