Search:

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

Page 1 of 18 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,414

    i wanted to set up both send and receive, this is...

    i wanted to set up both send and receive, this is to communicate with a different server on AWS.
    would fsockopen() work the same way as tcp, when communicating with other servers?
  2. Replies
    2
    Views
    1,245

    why dont you try backticks insted of single...

    why dont you try backticks insted of single quotes for username
    return mysql_result(mysql_query("SELECT (user_id) FROM users WHERE `username` = '$username'"), 0, 'user_id');
  3. Replies
    3
    Views
    2,414

    php socket send receive like curl

    can anyone help me better understand socket connections please
    if i have a socket connection like so

    $address = gethostbyname('**.***.**.***');
    $socket = socket_create(AF_INET, SOCK_STREAM,...
  4. Replies
    0
    Views
    1,480

    Resolved control input fields 'type' attribute jQuery

    i have this jquery code that alters the input fields value.

    i would like to control its 'type' attribute.

    this kind of works but it feels off,
    is there a better way of handling this task?
    ...
  5. Replies
    1
    Views
    966

    Resolved add to existing array

    i am adding to an existing array and it seems to work like this


    $arr[] .= 'a';
    $arr[] .= 'b';
    $arr[] .= 'c';

    but if i wanted it written in 1 line like this, what is the correct way?
    this...
  6. Replies
    4
    Views
    2,332

    Resolved i need to make a sql query within a query to look...

    i need to make a sql query within a query to look for a rows index within a subset
    i think pushing items into an array then use 'array_search' should do it
    thanks
  7. Replies
    4
    Views
    2,332

    Resolved get the index from mysql_fetch_array

    if i have a query that outputs with order

    $query0 = mysql_query("SELECT name FROM mytable ORDER BY numVar");
    $result0 = mysql_query($query0);

    while ($row0 = mysql_fetch_array($result0)){...
  8. Replies
    3
    Views
    1,158

    Resolved $r array will give it order but sort($r);...

    $r array will give it order but

    sort($r);
    //$one = $r[0];
    $two = $r[1];
    $three = $r[2];
    echo "most frequent value is $k
    SECOND $two
    third $three";
    gives numeric values when echo'd:
  9. Replies
    3
    Views
    1,158

    Resolved frequency in array

    i have the following code which gets the MAX value from the array.
    whats the best way to find second and third values?



    $a = array("red", "green", "blue", "blue", "yellow", "yellow",...
  10. Replies
    4
    Views
    2,564

    i just tried it and it seems fine. what does...

    i just tried it and it seems fine. what does nav_jq.html look like? also which browser are you testing on? local or on webserver?
    im on firefox
  11. Replies
    4
    Views
    2,564

    you need to load it with function() ...

    you need to load it with function()



    <script type="text/javascript">
    $(function() {
    $("#navigation").load("nav_jq.html");
    });
    </script>
  12. Replies
    2
    Views
    2,691

    Resolved string manipulation from mysql_fetch_row

    i am trying to knock out the last comma from db record but getting errors
    pretty straight forward, i thought


    $query = "SELECT mycell FROM mytable WHERE id='1'";
    $result = mysql_query($query);...
  13. Replies
    0
    Views
    1,492

    Resolved extract GPS data

    i am trying to get lat, long numbers from images that have geo tags using
    exif_read_data();
    i found this code and people say that it works well but its producing errors for me


    Undefined...
  14. Thread: preg_replace

    by ggalan
    Replies
    2
    Views
    1,228

    Resolved this fixed the single curly quote $str =...

    this fixed the single curly quote

    $str = preg_replace('/[\x91\x92]/u', """, $str);quotes//when i spell out the quote in special html char, it converts it to a quote
  15. Thread: preg_replace

    by ggalan
    Replies
    2
    Views
    1,228

    Resolved preg_replace

    i am trying to replace decorative quotes but i keep getting this http://www.demographx.com/upload/view/Untitled-1.jpg

    it doesnt work here


    function ListFiles($dir) {

    if($dh =...
  16. Replies
    1
    Views
    3,410

    Resolved utf8 read from file

    i am trying to read from a long list of files that are in my directory then process this list. when utf8 characters, the list comes out like this:
    l’Été that show up like this ��t�

    heres an...
  17. Replies
    1
    Views
    1,642

    Resolved got it to work like this var btnR = $('#btn2...

    got it to work like this


    var btnR = $('#btn2 a');
    var recDiv = $('#rec');
    var handler = function() {
    btnR.unbind('click', handler);
    recDiv.animate({left:'+=50'}, 500, function(){...
  18. Replies
    1
    Views
    1,642

    Resolved unbind bind button click

    i have a button which i would like to disable click until a certain action finishes
    my code so far doesnt animate
    i have tried different configurations but cant seem to get it to work
    what am i...
  19. Replies
    1
    Views
    7,920

    Resolved check if element is in array using jquery

    i have left/right buttons, the right button pushes elements into an array.
    if the user pushes the left button then pushes the right button, i want to check the right number against the array.
    heres...
  20. Replies
    1
    Views
    1,212

    Resolved multidimensional array from loop

    ive always had issues with arrays. can anyone help out how to push 2 values into an array so that i can echo them later please?


    $arr = array();

    $query0 = "SELECT navid, type FROM mytable...
  21. Replies
    3
    Views
    1,208

    take a look at this http://bit.ly/AuZSwb

    take a look at this http://bit.ly/AuZSwb
  22. Replies
    5
    Views
    1,365

    i suppose you can place your code inside ...

    i suppose you can place your code inside


    $(function() {
    $('#parent').mouseenter(function() {
    //code here
    });
    $('#parent').mouseleave(function() {
    //code here
    });
  23. Replies
    5
    Views
    1,365

    something like this?

    something like this?


    <!DOCTYPE HTML>
    <html lang="en-US">
    <head>
    <script src="http://code.jquery.com/jquery.min.js"></script>
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">
  24. Thread: svn hosting

    by ggalan
    Replies
    4
    Views
    3,341

    i had to 'SVN checkout' on a folder first then...

    i had to 'SVN checkout' on a folder first
    then the commit option came up
  25. Replies
    10
    Views
    1,739

    Resolved is it possible to create a directory called...

    is it possible to create a directory called "conf.x" inside httpd
    and give conf.x 777
    while httpd has 755
    and write into conf.x
    ?

    re: it seems to work
Results 1 to 25 of 450
Page 1 of 18 1 2 3 4