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

Search:

Type: Posts; User: Roguebfl

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,415

    Random distribution with given Percentiles

    I have a height weight chart that gives me the values for the 5th, 10th, 25th, 50th, 75th, 90th, 95th percentiles. anyone have a Algorithm to (passably) randomly generate results that match my data?
  2. Replies
    3
    Views
    4,599

    Re: Creating RSS via XSL?

    my big question is if I had such a line, would browsers and reads reconginze it as an RSS feed?
  3. Replies
    3
    Views
    11,262

    Re: Getting the twitter JSON

    yes, use XMLHttpRequest to connect a server side script like php on your server, and that script use normal transfer protocol to fetch the data.
  4. Thread: xhtml vs xml

    by Roguebfl
    Replies
    3
    Views
    2,433

    Re: xhtml vs xml

    you could describe is XML is to XHTML as SGML is to HTML
  5. Thread: Mysql php

    by Roguebfl
    Replies
    11
    Views
    2,186

    Re: Mysql php

    Which pre-existing libraries do you recommend? as reinventing wheels is not a good thing 8)
  6. Thread: Mysql php

    by Roguebfl
    Replies
    11
    Views
    2,186

    Re: Mysql php

    Which in returns cost money if you want it to index more then 50 pages.
  7. Thread: Mysql php

    by Roguebfl
    Replies
    11
    Views
    2,186

    Re: Mysql php

    But does not index all the pages it crawls (only has about half his pages index. even if he get new pages index quite quickly)

    and I do know it does not religh on a sightmap, but even Google say a...
  8. Replies
    3
    Views
    11,262

    Re: Getting the twitter JSON

    IIRC XMLHttpRequest can only request pages from site it's served from (so unless the java script in on twitter.com it can't fetch from twitter.com
  9. Thread: Mysql php

    by Roguebfl
    Replies
    11
    Views
    2,186

    Re: Mysql php

    Namely you can't count on them indexing all your pages. Even with a sitemap.
  10. Thread: Mysql php

    by Roguebfl
    Replies
    11
    Views
    2,186

    Re: Mysql php

    Using google's search still relies on Google indexing all your pages.
  11. Replies
    9
    Views
    5,135

    Re: extract data from textarea

    My next test would be to echo out each $line, then $text itself just so I could be sure I'm dealing with the strings I think I'm dealing with.
  12. Replies
    9
    Views
    5,135

    Re: extract data from textarea

    you are goinging to need to be a more specific.
  13. Replies
    9
    Views
    5,135

    Re: extract data from textarea

    $text = $_POST['text'];
    $users = array();
    $pass = array();
    $data = explode(explode("/\r\n|\r|\n/", $text); //split text area by line
    foreach($data as $line)
    { list($users[], $pass[]) =...
  14. Re: Can I use PHP to change the color of a text field when the user clicks it?

    .form input:focus
    { background-color:#FF6666; }
  15. Replies
    1
    Views
    935

    Re: css alignment problem

    You want to set the "Line-height" to use vertical-align

    http://www.student.oulu.fi/~laurirai/www/css/middle/
  16. Re: Can I use PHP to change the color of a text field when the user clicks it?

    Actually you will get better speed out of change the class name and letting CSS change the style then the change the style direct (except in opera), but again a client side issue.
    ...
  17. Thread: Php

    by Roguebfl
    Replies
    5
    Views
    1,277

    Re: Php

    I use OOP in PHP when I'm working with DOM especially with XML because I'm already interacting with object it easier to keep that mode.

    but small things as Peej said it a waste to both with
  18. Replies
    1
    Views
    1,290

    Re: what's this? pop out feature

    This is Client, not server side.

    This simplest form ins simply the "title" attribute. such as
    <abbr title="As Soon As Possable>A.S.A.P.</abbr> or
    <a href="http://www.example.com" title="this...
  19. Replies
    1
    Views
    4,102

    Re: PHP - writing a directory into an XML file

    I would normally do it via Dom

    where is you root tag?



    <?xml version="1.0" ?>
    <items>
    <item text="directory1">
    <item text="directory2">
  20. Re: updating href when onclick or onchange in drop down box/menu selection

    you proble want to use client size Javascript rather than server side code for this. Server side would require reloading to the best of my knowledge.
  21. Thread: Html

    by Roguebfl
    Replies
    3
    Views
    1,147

    Re: Html

    Way to tell if the code is XHTML or HTML

    HTML the tags are not case senstive, xhtml tages are case senitive and all lower case.

    HTML allows unclosed tages, xhtml does not

    single sided tag...
  22. Replies
    2
    Views
    985

    Re: PHP - image dimensions

    I was i was coming up with Stats() with my search terms but thank you.
  23. Replies
    2
    Views
    985

    [RESOLVED] PHP - image dimensions

    Is there a function the will allow me to load the dimensions of an image file?
  24. Replies
    3
    Views
    4,599

    Creating RSS via XSL?

    I document chnages to my website in news.xml with the following format:



    <!DOCTYPE news [
    <!ELEMENT news (item*)>
    <!ELEMENT item (title,date,detail)>
    <!ELEMENT title (#PCDATA)>
    ...
  25. Thread: [PHP] usort

    by Roguebfl
    Replies
    1
    Views
    1,735

    Re: [PHP] usort

    It was resolved via


    if ($sort == "artist") usort($artistarray, array("RefItem","cmp_artist"));

    Though I could not find any documentation on why that was meant to work
Results 1 to 25 of 31
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured