Search:

Type: Posts; User: smansakra; Keyword(s):

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Origin null is not allowed by Access-Control-Allow-Origin.

    i have a code like below

    function get_image(image_path){
    document.querySelector('#status').innerHTML = 'loading..'; //tambahkan loading text
    window.URL = window.URL || window.webkitURL; //...
  2. Replies
    2
    Views
    977

    Solved thanks !

    Hello jscheuer1,
    thanks for reply,,,
    sorry for my mitakes, it was actionscript, i should put it on FLASH category, sorry i placed it on JAVASCRIPT category.
    :rolleyes: somebody has replied my...
  3. Replies
    2
    Views
    977

    I got crazy becouse this

    How to generate radiobuttonGroup on looping like below?

    var i:int;
    var total:int = 6;
    for(i=1; i<total; i++){
    var radioGroup+i:RadioButtonGroup = new RadioButtonGroup("Question "+i); ...
  4. thanks so much, it simple and works :rolleyes:

    thanks so much,
    it simple and works :rolleyes:
  5. How to generate something like 'this' from this array? i'm really confusing :'(

    i have an array


    $my_array = array('home', 'member', 'join', 'login', 'news');

    i want to make like below

    home | member | join | login| news

    i have tried the below code
  6. Replies
    16
    Views
    3,081

    @james, bluwalrus, jshor: Thanks for all reply...

    @james, bluwalrus, jshor: Thanks for all reply from you guys,
    i have found my self
    my be a little poor,



    <?
    function menu_top(){
    $domain = "http://www.mysite.ext"; //can be mysite.com,...
  7. Replies
    16
    Views
    3,081

    i have tried it, function.preg-replace ]:...

    i have tried it,
    function.preg-replace ]: Unknown modifier '/'
    :'(
  8. Replies
    16
    Views
    3,081

    @bluewalrus and @james348: Thanks for reply i...

    @bluewalrus and @james348: Thanks for reply i have tried both of your code, but doesn't work,

    this is my code:


    <?
    function menu_top(){
    $domain = "http://www.mysite.ext"; //can be...
  9. Replies
    16
    Views
    3,081

    that will return http://mysite.com/index.php...

    that will return

    http://mysite.com/index.php
    http://mysite.com/login/


    i want
    http://mysite.com/
    http://mysite.com/login/
  10. Replies
    16
    Views
    3,081

    Your last code will be like below...

    Your last code will be like below
    http://mysite.com
    http://mysite.com/login/

    but i want the code like below
    http://mysite.com/
    http://mysite.com/login/

    :'(
  11. Replies
    16
    Views
    3,081

    Your code just result like below...

    Your code just result like below
    http://mysite.com/
    http://mysite.com//login/

    i want like this
    http://mysite.com/
    http://mysite.com/login/

    how can i do this?
  12. Replies
    16
    Views
    3,081

    how to remove this string using regex

    look,
    i have a variable that contain dynamic value,

    for example i have $url,
    sometimes, this $url contain a value : http://mysite.com/index.php
    sometimes, this $url contain a value :...
  13. function get_from_options(){ $table_name...

    function get_from_options(){
    $table_name = array();
    $table_content = array();

    $this->load->database();
    $query = $this->db->query("SELECT * FROM...
  14. :'( oKE, i will repeat it to make it more clear...

    :'(
    oKE, i will repeat it to make it more clear

    1.) i have a database table like below
    +--------------------------------
    | NAME | VALUE
    |--------------------------------
    | site_name | Just My...
  15. Thanks for reply, unfortunately site_name, ...

    Thanks for reply, unfortunately

    site_name,
    site_email,
    site_description,
    site_owner

    are dynamic, so when i use a form to add name and value, the name rows will be add.
    so, i think it...
  16. How to get data from table database? i forget

    i forget how to get data from table database :'(
    below is my table

    options (in table options, i have 2 rows named with 'NAME' and 'VALUE' )
    +--------------------------------
    | NAME ...
  17. UPS,,, THANKS so much, ,,, it works,,

    UPS,,, THANKS so much, ,,, it works,,
    <3
  18. Yesterday is FINE, but today always UNDEFINED INDEX, HELP

    <?php
    if($_POST['myname'])
    echo "My name is ".$_POST['myname'];
    else echo $ret;

    $ret = '<html>
    <head>
    <title>Try it</title>
    </head>
    <body>
  19. Replies
    2
    Views
    5,710

    Thanks so much for reply, i will try deep based...

    Thanks so much for reply, i will try deep based on your post,
  20. Replies
    2
    Views
    5,710

    How to simplify this simple code?

    i have code below

    btn_home.addEventListener(MouseEvent.CLICK, goto_home);
    btn_contact.addEventListener(MouseEvent.CLICK, goto_contact);
    btn_about.addEventListener(MouseEvent.CLICK, goto_about);...
  21. @ALL : and why this guy (auguscar) ask quenstion...

    @ALL : and why this guy (auguscar) ask quenstion about flash mx? this is old version of flash editor isn't it? Now is flash profesional cs5.
  22. @djr33: thanks , yes i forgot 'semicolon' this...

    @djr33: thanks , yes i forgot 'semicolon' this morning,, hehehe ^_^
    @trac: i works thanks so much
  23. trac, i have just tried your code

    trac, i have just tried your code

    <?php
    $serialized = 'a:1:{s:8:"uploaded";s:37:"128210178941769_1260783455_1263_q.jpg";}'
    $array = unserialize($serialized);
    print $array[0];
    //...
  24. @james438: thanks for reply @trac : Thanks so...

    @james438: thanks for reply
    @trac : Thanks so much trac!!! , yes, i have seen 'serialize' and 'unserialize' but i don't know what is it and how to use it. ^_^
    and now i know it... :D
    thanks for...
  25. a:1:{s:8:"uploaded";s:37:"128210178941769_1260783455_1263_q.jpg";}

    i have a string like below
    a:1:{s:8:"uploaded";s:37:"128210178941769_1260783455_1263_q.jpg";}

    i want to get 128210178941769_1260783455_1263_q.jpg only,
    can somebody here help me to do that??? ...
Results 1 to 25 of 164
Page 1 of 7 1 2 3 4