164 users online (0 members and 164 guests)  

Search:

Type: Posts; User: xmassey

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: urgent help needed!!!

    by xmassey
    Replies
    1
    Views
    9,279

    Re: urgent help needed!!!

    #! /usr/bin/perl
    use strict;
    use warnings FATAL => qw(all);
    use CGI::Carp qw(fatalsToBrowser);
    use CGI;
    ###############################################################################
    my $q =...
  2. Thread: 500 internal server error

    by xmassey
    Replies
    1
    Views
    8,199

    Re: 500 internal server error

    Hi,

    This is a common error but isn't very descriptive. Without further details it would be difficult to ascertain exactly what the cause of this error is. Here are some pointers:

    1) Script...
  3. Replies
    1
    Views
    3,397

    Re: PHP code for selecting data from html table

    Hi,

    The dynamic adding of data to a table could be done entirely in javascript, then use PHP as your action to retrieve posted data and append to the database.

    However, I would personally...
  4. Thread: creating website intro

    by xmassey
    Replies
    1
    Views
    1,782

    Re: creating website intro

    If you weren't going to use flash, what technology were you thinking of doing this in? Javascript would be a possiblity. Or just embed the .mov file onto the page?
  5. Replies
    1
    Views
    3,811

    Re: Problem with Iframe and Tiles Framework

    Unless you were to not use iframes, I can't think of anything other than to create a seperate script which just shows the response (no header, no footer etc), and get the external website to call...
  6. Replies
    4
    Views
    7,407

    Re: How to make the whole table cell clickable?

    Hey,

    By default the "a" tags display value is set to inline. You would want it to be set to block, which you can do via your CSS. E.g.



    a.PagerHyperlinkStyle:link,...
  7. Replies
    12
    Views
    12,316

    Re: FamousBirthdays.com needs your help!

    Hey, no problem, glad you got it working! Goodluck with your website.

    Chris
  8. Replies
    12
    Views
    12,316

    Re: FamousBirthdays.com needs your help!

    Still a problem getting the CGI to run on the web server, once uploaded.

    The original (edited) script should work fine.

    If your web host was unable to help:
    - Who is your web host?
    - Make...
  9. Replies
    12
    Views
    12,316

    Re: FamousBirthdays.com needs your help!

    The code works find for me on my web host (1and1), however I use the extension .pl instead of .cgi. You could temporarily use the original code that I edited, then you could try contacting your host,...
  10. Replies
    12
    Views
    12,316

    Re: FamousBirthdays.com needs your help!

    Change the code to this:



    #!/usr/bin/perl
    use strict;
    use CGI ':standard';
    use CGI::Carp qw/fatalsToBrowser warningsToBrowser/;
    use Date::Format;
  11. Replies
    12
    Views
    12,316

    Re: FamousBirthdays.com needs your help!

    Hey,

    Well this line:
    print "Location: $mon.html#$day\n\n";

    Could be changed to:
    print "Location: $mon$day.html\n\n";

    Which redirects to e.g. jan01.html
  12. Replies
    12
    Views
    12,316

    Re: FamousBirthdays.com needs your help!

    I would like to give this a go. If you are happy, please provide your existing CGI code.

    Chris
  13. Re: data files location and permission to access from perl cgi script for writing

    Hello,

    Could you provide a copy of your perl script. Otherwise, you may be able to solve your issue by checking http://www.slingcode.com/suexec.php.

    Chris
  14. Thread: perl not executing from PHP

    by xmassey
    Replies
    1
    Views
    4,088

    Re: perl not executing from PHP

    Hey,

    Try adding the perl shebang to the beginning of the string.

    E.g.


    <?php
    exec("/usr/bin/perl; perl simple.pl", $output);
    echo implode($output);
  15. Replies
    10
    Views
    55,586

    Re: How do I align Text in the same line?

    <div style="float:left;">One</div>
    <div style="float:left;">Two</div>
    <div style="float:left;">Three</div>
  16. Thread: newB question

    by xmassey
    Replies
    1
    Views
    3,764

    Re: newB question

    <form action="script.pl" method="post">
    <input type="hidden" name="product1" value="Product 1" />
    <input type="hidden" name="product2" value="Product 2" />
    <input type="submit"...
  17. Replies
    1
    Views
    6,161

    Re: Read Values from CSV and create charts

    Hey,

    I see that you have 4 headings...

    site
    type
    date1
    date2

    I assume the ...'s indicate there are further dates. Is there a set number of dates or do you need the script to be able to...
  18. Thread: Help with Easy File Manager 1.6

    by xmassey
    Replies
    7
    Views
    3,636

    Re: Help with Easy File Manager 1.6

    Well you paid for the script therefore they should provide support otherwise maybe ask for your money back.

    As you paid for it, I do not suggest posting any parts of the script(s) as you will most...
  19. Thread: Help with Easy File Manager 1.6

    by xmassey
    Replies
    7
    Views
    3,636

    Re: Help with Easy File Manager 1.6

    hi,

    I have been through the source code and tested a couple of things, although its slightly difficult because the html is un-complient to w3 standards. The buttons should be working as the...
  20. Thread: Help with Easy File Manager 1.6

    by xmassey
    Replies
    7
    Views
    3,636

    Re: Help with Easy File Manager 1.6

    Hi,

    I logged into your script and the first thing I notice is that NONE of the buttons work, which is due to a javascript error, not a cgi/perl error. Do you encounter the same problem?

    Chris
  21. Thread: Parse partial directory name

    by xmassey
    Replies
    1
    Views
    2,739

    Re: Parse partial directory name

    Hi,

    Very quick, basic code:



    my $dir_path = "path/to/directory/containing/files/directories/to/search";
    my $input = "directoryName";
    opendir(DIR, $dir_path) || die "Cannot open";...
  22. Thread: If statement inside <td>

    by xmassey
    Replies
    1
    Views
    4,207

    Re: If statement inside

    You would have to explain further what you are trying to achieve, post your current code or some pseudo code.

    Chris
  23. Replies
    2
    Views
    5,747

    Re: Running external program from CGI/Perl

    If you still have a problem I suggest you post your code

    Chris
  24. Re: unable to run perl script on Linux / XP browser, instead asking me to save or ope

    Just in case...

    If you are opening up perl files in your browser from your computer then perl must be installed on your computer otherwise it will do exactly what you are seeing...

    Otherwise...
  25. Replies
    1
    Views
    3,959

    Re: plz help with running cgi in wampserver

    I advice you to search Google for a solution to set up perl on a wamp server as there are guides available.

    Personally I like O'Reilly's Learning Perl and also Perl & CGI for the Worldwide Web...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4