Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Leland123

    I need help with a regular expression

    Whoops, the original way I wrote the regular expression was working all along. I was just looking in the wrong place in the text file and seeing that no changes had occurred, when in fact the changes were being made in the place in the .txt file I was addressing in the program. I've been...
  2. Leland123

    I need help with a regular expression

    I'm having trouble creating a regular expression. I have an html form that contains the <textarea></textarea> tags. When the form is submitted, I capture the output of the <textarea> and write it to a .txt file. For some reason, unknown to me, carriage returns and whitespaces are mysteriously...
  3. Leland123

    Writing a permanent cookie using CGI::Session

    Thanks Kirsle, your code works. In case anybody else is interested, here is the code that works: ###################################################### ## write_session_cookie ###################################################### sub write_session_cookie { my $self = shift...
  4. Leland123

    Writing a permanent cookie using CGI::Session

    Thanks for the hint KevinADC. I've already eliminated the syntax as a possible cause by entering the expriation info directly into the line that is passing the variable like: $session->expire('+10y'); This essentially comes right out of the CPAN doc. I've change the overall syntax of the...
  5. Leland123

    Writing a permanent cookie using CGI::Session

    In my main class or module (eg Smglobal.pm) I have a parameter set as follows: $self->{SESSION_EXPIRE} = "+10y"; In my Sm_session class or module I have the following method which Smglobal.pm inherites: ###################################################### ##...
  6. Leland123

    Writing a permanent cookie using CGI::Session

    I have a shopping cart application that uses CGI::Session. When a visitor logs into the system, a cookie is written to the visitor's computer. The cookie contains the customer's account number. I want to make the cookie permanent on the visitor's computer, so after a customer logs into the...
  7. Leland123

    Javascript seem to reset the html page

    Thanks cLFlaVA; the "return false;" worked. Regards, LelandJ Leland F. Jackson, CPA Software - Master (TM) http://www.smvfp.com Nothing Runs Like the Fox
  8. Leland123

    Javascript seem to reset the html page

    If I take the perl out, the html would look like: <td> <INPUT type="image" src="http://www.smvfp.com/sm_cart_product_images/prod1.png" heigth="150" width="150" name="displayPhoto" title="Display More Info 1" VALUE="" ONCLICK="displayPhoto('Picture...
  9. Leland123

    Javascript seem to reset the html page

    Thanks for the advice. I'll give that a try, and see if it corrects the problem. The code is actually in a perl script, but the output, including the variables are streamed to the client's browser in pure html: elsif ( $arraycolumns[ $loop_index ] eq "moreinfo1" )...
  10. Leland123

    Javascript seem to reset the html page

    I have an html form with an onclick <img src> something like this: <img src ... ONCLICK="displayPhoto('http://www.smvfp.com/product_images/prod1.PNG')> This calls a displayPhoto javascript function where the thumbnail is displayed as a large image using javascript's window.open() command. The...
  11. Leland123

    Problem connecting to DB server on home network

    Does your log file tell you anything? Regards, LelandJ Leland F. Jackson, CPA Software - Master (TM) http://www.smvfp.com Nothing Runs Like the Fox
  12. Leland123

    How to call stored procedure from Perl

    Below is a link to [Programming the Perl DBI]. If you click on [Appendix B: Driver and Database Characteristics] and the go down to [DBD::Oracle], you will find some, hopefully helpful, examples of calling a stored procedure in Oracle. http://www.unix.org.ua/orelly/linux/dbi/index.htm...
  13. Leland123

    How to call stored procedure from Perl

    For PostgreSQL I would just pass the same command I would enter from the psql shell, execpt I would pass it to the database server using perl. I would assume you would do the same for oracle. http://www.saturn5.com/~jwb/dbi-examples.html Regards, LelandJ Leland F. Jackson, CPA Software -...
  14. Leland123

    Perl BETA Shopping Cart Application

    Hi, I have written a Shopping Cart application in perl specifically for a PostgreSQL database server. The application is in version 0.90 beta and is stable. I'm looking for some help from perl and PostgreSQL folks that would be willing to download the smcart-0.90beta-i386.tar.gz tarball...
  15. Leland123

    Perl BETA Shopping Cart application

    Hi, I have written a Shopping Cart application in perl specifically for a PostgreSQL database server. The application is in version 0.90 beta and is stable. I'm looking for some help from perl and PostgreSQL folks that would be willing to download the smcart-0.90beta-i386.tar.gz tarball...
  16. Leland123

    License for commercial perl application

    Hi greaver, My application is still in development, so I'm still wrestling with how I will finally release it. The application I'm writing users Apahce::DBI, DBI, CGI, & CGI::Sessions among others. It is my position that if the GPL application is kept separate from the proprietary...
  17. Leland123

    HTML formatting of Perl variables

    Hi cradletoenslave, It is not necessary to escape the html, if you use the double quote (e.g. qq ). The [qq] handles all the quoting for you within the qq block. Any character can be used to create the qq block of text. I selected the [ ~ ] since it doesn't conflict with anything I'm doing...
  18. Leland123

    HTML formatting of Perl variables

    Hi arnOLD, Yes, hashes work very well. Here is an exaple of how I'm passing them to a class for easy track of scalars by using hidden values embedded in html: #-------- sub of the test.pl program ------------ ############################################### ## oops_hidden_values...
  19. Leland123

    HTML formatting of Perl variables

    Hi arnOLD, #---- ArnOLD said ---------------- doesn't if ( $thecellspace ) { $self->{ TABLECELLSPACE } = $thecellspace; } change the calling object? so that (assuming $oMy can be used in the followiing manner): $the_table1 = $oMy->tablestyle("75%",1); $the_table2 =...
  20. Leland123

    Pls help with DBI:XBase.

    Hi bluegroper, Remember that each table in the database needs a unique primary key field, so be sure each of your tables have a primary key. In postgresql the first field I use for each of may tables is of a type "Serial", which creates a sequence table that is called each time a record is...

Part and Inventory Search

Back
Top