ColdFusion - PHP (Implode)

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default ColdFusion - PHP (Implode)

    What is the ColdFusion equivalent coding for "implode" in PHP ?

    PHP code :
    $source = implode ('', file
    ("http://translate.google.com/translate_t?text=$q_p&langpair=$lang&hl=fr&ie=UTF-
    8&oe=UTF-8"));

    I tried CFHTTP, but it returns a forbidden message,
    and it works with PHP.

    Thanks to make sure that ColdFusion is as much powerfull as PHP.
    Thanks for help.

    Pierre.

    plarts Guest

  2. Similar Questions and Discussions

    1. #40097 [NEW]: Using functions on each implode()-item
      From: marcel dot normann at experimentierkasten dot de Operating system: all PHP version: 6CVS-2007-01-11 (CVS) PHP Bug Type: ...
    2. #39785 [NEW]: implode() causes PHP CGI to fail if given a NULL value
      From: me at nbishop dot name Operating system: Fedora Core 4 PHP version: 5.2.0 PHP Bug Type: Arrays related Bug...
    3. #26007 [Opn->WFx]: implode error
      ID: 26007 Updated by: sniper@php.net Reported By: timothy dot wilson at lmco dot com -Status: Open +Status: ...
    4. #26007 [NEW]: implode error
      From: timothy dot wilson at lmco dot com Operating system: unix PHP version: 4.3.1 PHP Bug Type: Feature/Change Request Bug...
    5. Trouble with implode.
      I'm having trouble with the implode function and need some help here. I've been reading at php.net but that didn't solve my problem. I'm having...
  3. #2

    Default Re: ColdFusion - PHP (Implode)

    implode is "like" arrayToList() function. i *think* that snippet's logic is
    something like:
    - cfhttp to that url where $q_p and $lang are php vars
    - file turns the cfhttp contents into an array (1 line = 1 array element)
    - implode then turns the whole mess into a list (string).


    PaulH Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139