A Flash Developer Resource Site

Search:

Type: Posts; User: kidder

Page 1 of 20 1 2 3 4

Search: Search took 0.18 seconds.

  1. Replies
    4
    Views
    782

    #!c:/perl/bin/perl.exe use strict; use...

    #!c:/perl/bin/perl.exe

    use strict;
    use warnings;

    my $boundary;
    my $buffer;
    my @form_data;

    print "Content-Type: text/html\n\n";
  2. Replies
    4
    Views
    782

    Upload File (Perl)

    Hi!

    I'm writing my own CGI module. Now I'm writing a subroutine to process file uploads. The strange situation I encountered is, no matter what kind of file is uploaded (text/binary), I must set...
  3. Replies
    0
    Views
    476

    A Simple DBI Question

    Hi. I have the following Perl script:



    The database "test" actually does not exist. I was expecting the output to be:



    But I got this:
  4. Replies
    1
    Views
    678

    Now, if I use Net::SMTP on Windows to send mails,...

    Now, if I use Net::SMTP on Windows to send mails, most of the time it works. But there are rare occasions when an error is displayed. That error is saying that getpwuid isn't implemented. Since that...
  5. Replies
    0
    Views
    609

    Now, I've just been to apache.org. According to...

    Now, I've just been to apache.org. According to the mod_perl tutorial there, mod_perl will not check whether a loaded module has been changed or not. Only the main scripts are checked.

    Now, I have...
  6. Replies
    1
    Views
    664

    Now, I've coded an algorithm to generate unique...

    Now, I've coded an algorithm to generate unique session ID. I have a big problem. How do I make sure that the session ID is being passed by the actual user instead of a bogus user who tries to hijack...
  7. Replies
    0
    Views
    639

    Now, if you "use strict" inside a script, all...

    Now, if you "use strict" inside a script, all variables must be declared explicitly with "my" or "our". I have a little problem here. In my main script, I "require" another module. In the loaded...
  8. Thread: INIT Subroutine

    by kidder
    Replies
    0
    Views
    633

    Now, if you have an INIT subroutine defined in...

    Now, if you have an INIT subroutine defined in your Perl script, that subroutine will always be executed before anything else.

    The problem I'm facing is that this subroutine won't work in modules....
  9. Replies
    6
    Views
    848

    And I really wonder why they specially created an...

    And I really wonder why they specially created an installer for safe mode. It's as though the normal installer won't work in safe mode........
  10. Replies
    6
    Views
    848

    Sorry, but are you referring to the YabbSE forum...

    Sorry, but are you referring to the YabbSE forum that I posted in my previous post? If yes, I don't think they're running any zip or tar modules or progs.......
  11. Replies
    6
    Views
    848

    No I'm not referring to GD. Ok, what I mean...

    No I'm not referring to GD.

    Ok, what I mean is: I create certain images in photoshop. Can I use Perl/PHP to bundle all the images up in ONE file? Just like install.php creating all scripts ON THE...
  12. Replies
    6
    Views
    848

    Now I've written a Perl script. I've created a...

    Now I've written a Perl script. I've created a file called "install.cgi". What happens is that this file will create additional scripts on the spot.

    Can the same thing be done with images (meaning...
  13. Replies
    2
    Views
    769

    Even if I add the g it's still the same.....

    Even if I add the g it's still the same.....
  14. Replies
    2
    Views
    769

    Now, if I have the following: $test =...

    Now, if I have the following:

    $test = '"test1"test2"test3"';

    while ($test =~ /("[a-zA-Z0-9]+")/g) {
    print "$1\n";
    }

    If you run this script, you will see:
  15. Replies
    7
    Views
    949

    In what circumstances should I consider OOP? Only...

    In what circumstances should I consider OOP? Only for large projects?
  16. Replies
    7
    Views
    949

    So is it right to say that deciding on procedural...

    So is it right to say that deciding on procedural and OOP is only up to one's taste?
  17. Replies
    7
    Views
    949

    Now, in Perl or PHP, OOP is nothing more than...

    Now, in Perl or PHP, OOP is nothing more than having subroutines and variables separated into a different file (or module). I really don't see the point of declaring a package or class in Perl and...
  18. Replies
    0
    Views
    894

    Now, when is the best time to use OOP, and when...

    Now, when is the best time to use OOP, and when must you avoid OOP?

    I'm going to program a forum script using Perl. Since a forum is mainly data-driven, I've decided to use OOP. But the problem...
  19. Now, look at vBulletin and UBB. They are charging...

    Now, look at vBulletin and UBB. They are charging the scripts so dearly, but yet there are so many people willng to pay for it.

    But why? There are so many free ones on the internet. Why will they...
  20. Replies
    2
    Views
    1,992

    Yes I have, and now it works. But what is...

    Yes I have, and now it works.

    But what is causing the strange output?
  21. Replies
    2
    Views
    1,992

    Now, I want to create a custom "die" handler. So...

    Now, I want to create a custom "die" handler. So I have:


    print "Content-Type: text/html\n\n";
    $SIG{__DIE__} = sub {print "Custom error: $_[0]";};

    require 'test2.pl';

    In test2.pl, I have:...
  22. Replies
    4
    Views
    867

    That's brilliant! Thanks Musicman!

    That's brilliant! Thanks Musicman!
  23. Replies
    4
    Views
    867

    Yes I know that. The problem is I don't know how...

    Yes I know that. The problem is I don't know how to separate normal text from text within the custom tags.
  24. Replies
    4
    Views
    867

    Now, basically I'm doing a guestbook, as well as...

    Now, basically I'm doing a guestbook, as well as trying a little BBS. The problem I'm facing is regular expressions. Why? Consider the following scenario:

    Supposingly I want to remove extra line...
  25. Replies
    3
    Views
    693

    THANKS! You are really my hero! Now, I've...

    THANKS!

    You are really my hero!

    Now, I've got another little question. According to my PHP book, chdir switches your current working directory to whatever you specified within the parathesis....
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center