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 bkrike 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: *

  • Users: bretttt
  • Content: Threads
  • Order by date
  1. bretttt

    Checking Image Dimensions With Perl

    Is there a way to retrieve the width and height of an image with perl and assign the values to $height $width? Thanks in advance.
  2. bretttt

    forwarding with Mail::Mailer 'sendmail';

    Hello I have my $m = new Mail::Mailer 'sendmail'; $m->open({ 'Subject' => $subject, 'To' => $to, 'From' => $from, 'MIME-Version' => '1.0', 'Content-Type' => 'text/html; charset=us-ascii'...
  3. bretttt

    Sendmail Sending.....but not what i want

    Hello, i have a simple question on sending html email with sendmail. I have this code that works fine but just prints the html please help! thansk in advance, Brett. open (SENDMAIL, "| $sendmailpath -t") || die "Cant access sendmail at $sendmailpath. Reason: $!"; ; print SENDMAIL...
  4. bretttt

    Allowing Window To Be Sizable

    hello, i have this var newWinWidth = 700; var newWinHeight = 500; window.resizeTo(newWinWidth, newWinHeight); but cannot adjust the window size after. How do i make it sizeable? thanks.
  5. bretttt

    Sending Variable To New URL

    Hello, i am trying to send a variable from a prompt box to a new url and am having difficulties. I have if (platval == \"\"){ window.alert('You Must Enter A Valid Number'); } else{ document.location.href='Cart_Manager.pl?quantedit=$pasd&truequant=platval'; } } The...
  6. bretttt

    Making textarea unchangable

    How can i make an textareas value permanant? thanks.
  7. bretttt

    Removing Spaces In Scalar

    Hello, I have A scalar $example=" blah blah blah"; how can i remove the spaces up to the first character? Thank you.
  8. bretttt

    Retrieving Query String ENV{'QUERY_STRING'};

    Hello, i have this, $SWING = ENV{'QUERY_STRING'}; is this the correct way to retrieve the query string, it worked for me before, but now i get internal server error... Is there another way to get this? thanks.
  9. bretttt

    use CGI::Cookie; For Cookies

    Hello, I have use CGI::Cookie; $in = new CGI; $coname = $in->cookie ( -name => 'iboostuser' ); $copass = $in->cookie ( -name => 'iboostpassword' ); It reads the cookies and works fine...... How can i also set a cookie using use CGI::Cookie; I am currently setting them with cookie-lib.pl...
  10. bretttt

    using cookie lib.pl

    Hello, i have this, use ../cookie-lib.pl; $cookie{iboostuser}=$tell[2]; $cookie{iboostpassword}=$tell[0]; &set_cookie(time+86400,'www.iboost.org','/',0); It works fine in my HTML directory fine. I am trying the same exact code in directory HTML/Cart, And i get internal server error... Can...
  11. bretttt

    Simple Question On chop.

    Hello, I have a scalar $blah="blah/blah/blah.bl"; How do i remove up to "blah.bl" and save it is its own scalar? I need to chop up to the first / Im not sure how to do that, I know its simple. Thanks.
  12. bretttt

    Removing Duplicates In An Array

    Hello, I have an array which contains example: 1,3,5,7,5,3,9,10,11,12 how can i remove any duplicates such as the threes and fives? if (@array){ foreach(@array){ } } thanks
  13. bretttt

    Need Advice, And Security Info

    Hi I am making a website for integration with a manufacturing company. You guys have helped me a lot, and i was wondering if you guys could let me know what you think and check the site for security flaws or bugs. please register, login, put stuff in cart, and just browse whats there...... you...
  14. bretttt

    Highlighting Textbox.

    I got the page workin the way i want it to, except the damm text boxes wont highlight..... I have them all named accordingly, but cannot change the highlight. Please see. http://www.iboost.org/handf.pl?uname=Sales&rpf=3&dir2=flared%20fittings# thanks.
  15. bretttt

    Problem with Variable

    i have this function highlightr(el) { var SHIPPED1 = 'document.color.c1.value'; SHIPPED1.style.backgroundColor = SHIPPED1.style.backgroundColor == \"yellow\" ? \"\" : \"yellow\"; } its not working someone plz help.
  16. bretttt

    Can I DO This?

    <script language=javascript> var test = 'document.color.c1.value'; window.open('test'); </script> how can i do what i am trying to do, thanks.
  17. bretttt

    Naming Link And Highlighting it

    if i have this <a href=\&quot;domain\&quot; name=\&quot;hname\&quot;>LINK</A> i need to maake a javascript function cause the link to highlight yellow
  18. bretttt

    help with highlighting

    <html> <span onmouseover=\&quot;somescript\&quot; onmouseout=\&quot;somescript\&quot;> mouse over</span><BR> one two three four </html> ok if i had that how could i highlight just the word &quot;two&quot; when mouse is passed over &quot;mouse over&quot;. Thanks. if someone could answer that...
  19. bretttt

    Highlighting Text Onmouseover

    is there a way to highlight text onmouseover
  20. bretttt

    Retrieving Cookie With cookie-lib.pl

    i have this setting the cookie, and it works. how can i read the cookie in from the browser? use cookie-lib.pl; @pairs = split(/&/, $ENV{'QUERY_STRING'}); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(&quot;C&quot...

Part and Inventory Search

Back
Top