Search code examples
php

What Does :!: Mean?


I saw :!: in a PHP code snippet and am unfamiliar with it. Here's an example in context:

:!: $fullname = $_FILES['uploadedfile']['name'];

From: http://forum.mamp.info/viewtopic.php?f=6&t=13273


Solution

  • This is not valid PHP

    php > :!: $fullname = $_FILES['uploadedfile']['name'];
    
    Parse error: syntax error, unexpected ':' in php shell code on line 1
    

    Maybe in the forum they wanted to mark the link.