Search:

Type: Posts; User: The Hobo

Page 1 of 13 1 2 3 4

Search: Search took 2.95 seconds.

  1. Replies
    358
    Views
    17,070

    Re: Christmas avatars.....

    Thanks for replying to this thread, which generated an email notification to me, which allowed me to comb through the posts to discover that 12 years ago I made a joke about having adult relations...
  2. Re: Conditional code based on library version?

    Figured it out, at least for vte:


    #if VTE_CHECK_VERSION(0,25,0)

    #else

    #endif
  3. [Resolved] Conditional code based on library version?

    Is it possible to check a library version and execute different code based on that version, perhaps with a preprocessor statement?

    Specifically, depending on the version of libvte, I want to...
  4. Re: autoconf, automake, Apache, Postgres, Oh my!

    Bah! Apparently I was just missing the libraries:


    LIB=/usr/lib64/postgresql-8.3/lib64

    Of course I don't know how to make the Makefile cross platform as not everyone will have it installed at...
  5. autoconf, automake, Apache, Postgres, Oh my!

    I'm a total n00b when it comes to autoconf and automake. And I decided to try to make an Apache2 module that occasionaly writes to a PostgreSQL database. My code compiles fine, make install puts the...
  6. Thread: Bum

    by The Hobo
    Replies
    51
    Views
    2,757

    Re: Bum

    Damn, I thought I killed this thread in '03...
  7. Replies
    1
    Views
    4,146

    Re: Change $_SERVER['HTTP_REFERER']

    You can spoof a referrer in PHP using the stream functions.

    See http://www.mustap.com/phpzone_post_62_how-to-bypass-the-referer-se for an example.
  8. Print Screen Extension/Program for Windows?

    Linux and Mac have an awesome print screen feature. You hit print screen, and it asks you where and what to save the file as, as well as allows you to pick a file format.

    That's sweet.

    You hit...
  9. Replies
    11
    Views
    1,178

    Re: Upload files with progress status

    Ah, the file isn't coming from the HTML form, it's coming from the flash object -- it's been awhile since I've used it, I don't remember what the name of the field is.

    And it's hard to debug since...
  10. Replies
    11
    Views
    1,178

    Re: Upload files with progress status

    Do you have:


    enctype="multipart/form-data

    On your form?

    Otherwise, please post the snippet of code for your HTML form.
  11. Replies
    11
    Views
    1,178

    Re: Upload files with progress status

    Is magfile the actually name of your file field? It looks like you copied that PHP code straight from a comment in the PHP manual.

    Also, $_FILES[ "field_name" ] is an array, and it will never be...
  12. Replies
    10
    Views
    1,495

    Re: Including Files

    Chemical, I do not believe I can do that, because MainClass needs to have the definition of SecondaryClass.
  13. Replies
    10
    Views
    1,495

    Re: Including Files

    Is there something wrong with it?
  14. Replies
    10
    Views
    1,495

    Re: Including Files

    I have no idea what you are talking about.
  15. Replies
    10
    Views
    1,495

    Re: Including Files

    I don't think that would be the case due to the #ifndef #endif block around the code. The class is only defined once -- the second time, the code in the block should be ignored. Correct?
  16. Replies
    2
    Views
    618

    Re: [INFORMATIVE] Header() Redirect

    The issue could be better solved by breaking up your application logic and your view logic -- meaning all code should be processed before you output anything.

    This can be accomplished using the...
  17. Re: Help parsing artist,songname and image url from remote html

    What do you mean the HTML is dynamic and changes? Do you mean the bold values change, or does the actual page HTML change?

    If the HTML changes each time, there is no way you can write code to...
  18. Replies
    4
    Views
    973

    Re: PHP Problem: User won't stay logged in.

    It would help to see your code in order to debug it. It sounds like you are not properly setting your session or cookie variables (depending on what method you are using).

    Can you post the same...
  19. Replies
    11
    Views
    1,178

    Re: Upload files with progress status

    http://swfupload.mammon.se/

    This uses Flash to upload the file, but you can customize it to look and do anything you want -- the downside being that it requires Flash.
  20. Replies
    10
    Views
    1,495

    Including Files

    I'm trying to do something like this:

    MainClass.h:

    #ifndef __MAIN_CLASS_H
    #define __MAIN_CLASS_H

    #include "SecondaryClass.h"

    class MainClass
  21. Replies
    8
    Views
    1,802

    Re: Regular Expression Recursion

    Any level of nesting (although, I know using recursive regular expressions there is a defined limit controlled by the ini).
  22. Replies
    8
    Views
    1,802

    Re: Regular Expression Recursion

    I'm guessing I somehow have to use (?R), recursive patterns: php.net/manual/en/reference.pcre.pattern.syntax.php but for the life of me, I can't figure out how.
  23. Replies
    8
    Views
    1,802

    Re: Regular Expression Recursion

    Sorry, I don't think I explained myself very well. What I am trying to do is replace any occurrence of with <ul></ul>. So if I have 40 instances of these tags, I want to replace all 40 of them....
  24. Replies
    8
    Views
    1,802

    Re: Regular Expression Recursion

    I can, but not straight out of the box. I'd only want to replace if it has a matched . I can ensure this easily with a regular expression.
  25. Replies
    8
    Views
    1,802

    Regular Expression Recursion

    How can I setup a regular expression to replace nested text with replacement text. I can't explain it very well, but say I want to replace [asdf] with <asdf>, and my sample text is:

    ...
  26. Thread: Beyond Upset

    by The Hobo
    Replies
    18
    Views
    1,387

    Re: Beyond Upset

    Hi, welcome to 2007. :wave:
  27. Replies
    33
    Views
    1,510

    Poll: Re: How much do you earn

    I'm unemployed and live off litlewiki's dad's money.
  28. Replies
    6
    Views
    594

    Re: This just in...

    Mmmm...marbles.
  29. Thread: Beyond Upset

    by The Hobo
    Replies
    18
    Views
    1,387

    Re: Beyond Upset

    I cried, I laughed...I ate popcorn.
  30. Replies
    33
    Views
    1,510

    Poll: Re: How much do you earn

    Primarily in the middle east, I believe.
  31. Thread: Beyond Upset

    by The Hobo
    Replies
    18
    Views
    1,387

    Re: Beyond Upset

    Wow, I really had my panties up in a bunch over nothing...
  32. Replies
    3
    Views
    2,157

    Re: [RESOLVED] curl_init() stopped working

    Yeah, it does say resolved, and it is.

    If you read my post, you will see that I already ran phpinfo(), and yes, curl is installed. If you read my post, you will also see that I updated it to say I...
  33. Replies
    3
    Views
    2,157

    [RESOLVED] curl_init() stopped working

    I've been writing a module for calculating USPS shipping rates, which uses curl to communicate with USPS servers. I've refreshed maybe a hundred times then suddenly I started getting:



    Out of...
  34. Replies
    2
    Views
    524

    Re: from database to pdf

    FPDF is a free alternative.

    www.fpdf.org
  35. Replies
    2
    Views
    921

    Re: Looping all open forms

    Alright. I was hoping there was something similiar to VB6.

    No problem doing it myself, I was just looking for an easy button.

    Thanks for your help.
  36. Replies
    2
    Views
    921

    [RESOLVED] Looping all open forms

    How can I loop all open forms in a C# application?

    Say I instantiate various new forms, how can I loop all these forms to look at their caption/text?

    I feel like I'm explaining this horribly,...
  37. Re: Can we get our good old Smilies back?

    All of the custom, non standard vBulletin ones are there, but the standard ones are new icons. The first 11 are new, the rest are custom ones that were added. So no, they are not back.
  38. Replies
    2
    Views
    595

    Re: Running Perl scripts from VB

    Are these remote perl scripts, or are they on your computer? If it is on your computer, I would look into System.Diagnostics.Process. If it is remote, I would look into using sockets or Inet.
  39. Replies
    13
    Views
    880

    Re: Passing more than one textarea variable?

    You need to setup your text areas as an array (as I have shown above). Then loop the checked boxes and use the ID (which is the value of the check box) to get the value entered into the text area.
    ...
  40. Thread: Casino Royale

    by The Hobo
    Replies
    24
    Views
    916

    Re: Casino Royale

    Plan on seeing it tonight. :thumb:
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width