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 SkipVought 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. crackn101

    reference to an array element

    Thanks for the feedback. Prior to posting, I had googled numerous articles on referencing in php. Some where helpful and some were downright confusing. Just making sure. Thanks.
  2. crackn101

    reference to an array element

    Hi Guys, I had a quick question about referencing array elements. I wanted to create a "shortcut" to a specific array element as a reference so as to Not create a copy of the data. I just wanted to make sure that I understood this correctly. Thanks. Sample code...
  3. crackn101

    excel com

    Ok I've figured it out. I'm posting again in case others may be interested. Actually i was pretty close i just didn't have the right combination. see code below. The line "$cell->EntireRow->Copy;" has to be inside the for loop or it doesn't work. In this example because we are getting the...
  4. crackn101

    excel com

    Hi Guys, I have a question about using php5 the 'new COM("excel.application")' function to modify an existing (pre-formated) excel template. I can open the template and read and write to it just fine. what i'm trying to do is select a single formated row and then do an insert to expanded the...
  5. crackn101

    list available DSN

    Hi everyone. I'm using PHP 5.2.0 on windows server 2003. I'm trying to comeup with a bit of code to find out what System DSNs are available before I try to connect to one. Does anyone know of an easy way to do this? Thanks in advance
  6. crackn101

    postion text over the top of java applet

    Hi. I was wondering if there was some way to position text over the top of a java applet. Of all the searches I have done no-one seems to know the answer to that one. I've seen where people have used the <param name=wmode value=transparent> ( or opaque ) to accomplish placing text over the top...
  7. crackn101

    mail function overwrites the from variable..

    Err... actually... we are currently using postfix, so i think we are going to try something else.
  8. crackn101

    mail function overwrites the from variable..

    Hi thanks for the quick reply. I tried the -f parameter but with the same results. I think that we are going to install an smtp mailer package and be done with it. Thanks.
  9. crackn101

    mail function overwrites the from variable..

    Hi Guys. I am calling the mail() function from my php script hosted on a linux box. The problem that i have is no matter what i specify for the headers, the From and Reply-to headings in the recieved email always say "added by portage for apache [apache@vhost.xxxxxx.com]". This seems to be...
  10. crackn101

    sql and dbi module question

    Thanks for the suggestions. I did find that the uis.CurrentValues.Value table column is formated for text, and the target column pcs_header_record.lowwarningvalue is formated as a double. I do understand that it was a mismatch error that i was getting. The software vendor deemed this not to be...
  11. crackn101

    sql and dbi module question

    I forgot to mention the fact the in the sample execution of the above sql statement, that the actual data passed to this query are perl variables, not literal text like i have shown above. Thanks.
  12. crackn101

    sql and dbi module question

    Hey everyone. It's been a while since i've dropped by. This seems to be the right place for a dbi question these days. :) I have this sql statement: my($SQL_BOTH) = "UPDATE efmserv_pcs.pcs_header_record SET highwarninggnsid = ?, highwarningvalue = (SELECT Value FROM...
  13. crackn101

    delayed connection closure ?

    Hi everyone. I am running apache 2.0.52 on WinXP The quick version is that when i access a static html page, it pops up quickly and all is well. When i access a page dynamically created using perl, there seems to be a delay between the time the page is done loading and the browser 'thinks' the...
  14. crackn101

    subnet question

    That's cool. Thanks to all for such a quick response. I wasn't completely sure, so that's why i asked. :)
  15. crackn101

    subnet question

    Hey Everyone. I was asked to look at someones network and found that they are using class A network ip addresses ( 10.xx.xx.xx ) with a class C subnet. 255.255.255.0 It's a small network, 1 server and about 10 pcs. I realize that a class A network should use 255.0.0.0 as the subnet mask, other...
  16. crackn101

    FTP - delete, mkdir work, get/put do not work

    $ftp->cwd("/home/nevlinkc"); or $ftp->cwd("/home/nevlinkc/public_html"); $ftp->put("abc.txt","abc.txt") or die "Cannot put file ", $ftp->message; Should already be in the root for your account right ?
  17. crackn101

    forms and href problem

    <a href='/cgi-bin/display.pl?secret_data=$data;'>Link</a> <form method='post' action='/cgi-bin/display.pl'> <input type='hidden' name='secret_data' value='$data'> </form> In either case the variable $data is not populated with anything just yet. To populate the variable $data, you can: 1) Type...
  18. crackn101

    DSL connection

    This maybe a goofy point, but did you check your routers time-out delay? Linksys routers have a setting in them that will logoff of your dsl connection after a pre-determined amount of inactivity. That being the case, if it were to time out, the first unlucky guy to acess the internet would see...
  19. crackn101

    Cannot user wildcard in Perl under windows XP

    See also http://www.geocities.com/herong_yang/perl/opendir.html for a pretty good reference to various ways of reading in the directory structure. Cheers.
  20. crackn101

    Cannot user wildcard in Perl under windows XP

    Might be easier and more reliable to use perl to read in a directory listing. That you know exactly what you will be getting. Cheers. # This can be any valid regex # ".*" Matches anything. # Use "ok" to return any filename that contains that word. my($pattern) = ".*"; # Set to whatever...

Part and Inventory Search

Back
Top