Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: niladhar8@gmail.com

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    648

    Re: dynamic array

    how would i accomplish it using sprintf(); right now i used ternary operator to check if less than 10 and added 0 in front.

    sorry bout that, will share it next time, i knew my work around was not...
  2. Replies
    7
    Views
    648

    Re: dynamic array

    resolved
  3. Replies
    7
    Views
    648

    Re: dynamic array

    i think i know what it is.... my array has 2011-01-09 as the key..... in my loop inside the calender where i try and display the amount for that date, it calculates to 2011-01-9 leaving out the 0.
    ...
  4. Replies
    7
    Views
    648

    Re: dynamic array

    yes i did echo my temp, and my source array as well.

    the source array has this

    $date['total'][2011-01-09] = 60.00;

    echo $temp; // 2011-01-09;
  5. Replies
    7
    Views
    648

    [RESOLVED] dynamic array

    i have values stored in an array with key


    $array['total']['2001-11-09'];

    the year month and day are as separate variables, how can i print its content out. I tried all below


    $temp =...
  6. Re: saving variables between stages

    perfect, makes sense.
  7. saving variables between stages

    a lot of times i have to save certain variables in ajax/javascript. What is the best practice way to save such variables....

    right now i save them as hidden form fields and assign them an id and...
  8. "best practice" saving vaiables between stages

    a lot of times i have to save certain variables in ajax/javascript. What is the best practice way to save such variables....

    right now i save them as hidden form fields and assign them an id and...
  9. Replies
    3
    Views
    850

    Re: mysql get rows

    while($data[] = mysql_fetch_array($res) ) {}
    array_pop($data);

    seems to work :)
  10. Replies
    3
    Views
    850

    mysql get rows

    sorry not sure if i can publish a question on mysql here...

    on a query that returns n number of rows can i do it in a single statement instead of looping through...

    right now this is what i do...
  11. msyql view limitation on number of rows

    trying to create a view on mysql but it wouldnt create more than 30 rows and gives me a message saying..... 1 This view has at least this number of rows. Please refer to documentation.

    I did refer...
  12. Replies
    12
    Views
    2,943

    Re: best authentication method PHP5

    gotcha... would session_destroy be the right way on a logout ?
  13. Replies
    1
    Views
    515

    tackling XSS

    what would be the best way to escape urls and make sure its clean without any cross scripting?

    i was thinking including a genric file which would preg_match the url and redirect to an error page...
  14. Replies
    12
    Views
    2,943

    Re: best authentication method PHP5

    wat do you mean by a required header file is the only way to assure security?
  15. Replies
    12
    Views
    2,943

    Re: best authentication method PHP5

    yea i know it works....... yea i will include it into a file but is this the best way ? i wish to know if there is a better way i can accomplish this.
  16. Replies
    12
    Views
    2,943

    Re: best authentication method PHP5

    would the below be rite



    mysql query results in a match.

    $user = data['username'];

    $_SESSION['user'] = $user;
  17. Replies
    12
    Views
    2,943

    Re: best authentication method PHP5

    should i provide the name?

    Also what should i check for in other pages to make sure un authenticated users donot access those pages?
  18. Replies
    12
    Views
    2,943

    best authentication method PHP5

    Earlier i would take username and password, match with db and on success redirect




    session_register("myusername");



    On every page that is viewed i would include a file that checks if...
  19. Re: php site giving pantscow.ru warning on chrome

    so if there was something really wrong even firefox and ie would pick it up rite? also i have that antivirus virus where a fake antivirus scan runs and then blocks al my exe's and asks me to purchase...
  20. php site giving pantscow.ru warning on chrome

    i have my site on php and whenever i try logging into the back end of the site hosted by 1and1 i get a pantscow.ru malware warning from chrome only. i use the site on another computer with firefox...
  21. dynamically update webpage on db change

    is there a way i can dynamically update my webpage without any user action whenever there is a change made in the daatabase.

    eg gmail automatically updates your email whenever you get a new...
  22. Re: passing json data to javascript function from php

    but how can i pass an array from php to javascript.

    are you saying dynamically build javaascript like

    echo "<script type=java....>';
    blah blah blah

    ??
    I could do that, but thought that...
  23. Re: passing json data to javascript function from php

    Ok but how can i access it in the javascript, lets say my array was as below


    $arr = array(1 => array( 'name' =>'john', 'age' => '23', 'sex' => 'male'), 2=> array( 'name' =>'kerri', 'age' =>...
  24. Re: passing json data to javascript function from php

    passing it directly gives me a parse error, passing it as an ajax parameter i first have to get it from my php script to javascript... explaining a little more below is what i wish to do.



    ...
  25. passing json data to javascript function from php

    m not sure if this is to be posted here or in the client side section, but it has to do with php also so will post here.


    how can i pass json data from json_encode to a javascript function and...
Results 1 to 25 of 160
Page 1 of 7 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center