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 Shaun E 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: nationavon
  • Content: Threads
  • Order by date
  1. nationavon

    str_replace and semicolons

    I have the following function: // convert characters to html function convertstring($string) { // variables $search = array("~","`","!","@","#","\$","%","^","&","*","(",")","_","-","+","=","{", "[","}","]","|","\\",":",";",'"',"'","<",",",">",".","?","/"); $replace =...
  2. nationavon

    Hosting

    This may not be the appropriate forum, but I am hoping someone can provide me with some information. The company I work for is going to start hosting its own web sites. We will have a server running Apache in the DMZ. I am a little lost on how DNS will need to be configured. I know that we...
  3. nationavon

    Help With Split

    Here is an example of my problem: $data = "hello;world;!;"; @appended = split(/\;/, $data); When I print $#appended I get 2. Why isn't it 3? I really need the elements of my array to look like: $appended[0] = hello $appended[1] = world $appended[2] = ! $appended[3] = NULL It seems that...
  4. nationavon

    Rules in exchange 2003

    I created a rule in my outlook web client that forwards a message that meets the rule specifications. The only issue is that it moves the message to the trash after forwarding the message. Is there any way to prevent the message from moving to my trash. Nathan
  5. nationavon

    POP user and calendar events

    I am poping my email from our exchange server. When someone includes me in a calendar event I recive an email but there is no way that I know to respond to the email to add it to my calendar. Is their a way I can reply to the email and add it to my calendar? Nathan
  6. nationavon

    Access Point or Router

    I have a building with three floors. I plan on installing a wireless Dlink router on the first floor. On the second and third floors I had planned on installing access points and connect them back to my wireless router using cat 5 cable. Access points are so much more expensive than wireless...
  7. nationavon

    Public Key Authentication

    I am trying to setup public key authentication. Here is my situation. I am logged in as bob. I need to scp the file as sue. [bob@box1 directory]$ scp test.txt sue@box2:. I need to be able to do this without being prompted for a password. Any comments would be greatly appreciated. Nathan
  8. nationavon

    Apache 2 + Tomcat 5 + JK + Headache

    Was wondering if someone could help me out. I have Apache 2.0.49, and Tomcat 5.0.19 installed an a Redhat Linux ES 3.0 machine. I downloaded and compiled JK 1.2.5. I installed the mod_jk.so module in apache2/modules. Now What? I can't find any decent documentation that covers Tomcat 5...
  9. nationavon

    Perl permissions

    Here is my scenario: 1) I am using RedHat linux. 2) The default version of Perl is 5.6, is installed in /usr/bin, and is owned by root. 3) I have installed Perl 5.8 in /opt/perl as a user named perl. I have the following script: use DB_File; $file = "/u01/app/jomarmgr/users/users"; # print...
  10. nationavon

    JSP Session removes new lines from textarea

    I am placing the contents of a textarea into a JSP session attribute. When I print the value of the Attribute the new lines are gone. It's like JSP is removing the formatting. Any ideas or tips would be appreciated. Nathan
  11. nationavon

    Determine if page is in a child window

    I need to be able to test if my current page is in a child window. I tried the following but I get Javascript errors if the page isn't in a child. The code works if it is in a child. if (opener.document) { opener.location.reload(true); self.close(); } Thanks, Nathan
  12. nationavon

    Java Sockets and firewalls

    I have an interesting problem. I wrote a java application that connects through a firewall to a server on the internet using a socket. Lets say for instance I am connecting to 216.109.127.60 on port 25 and my application is running on 10.0.0.10. If I disable access to port 25 for 10.0.0.10 my...
  13. nationavon

    Problem readinf directories

    The following code looks for directory names in a given directory and pushes those names onto an array. It works fine unless the directory name contains the number 1. If it contains the number 1 the name doesn't get pushed onto the array. Nathan ### Get list of subdirectories in base...
  14. nationavon

    Problems running an exe from Java App

    Here's a weird one. I am running a program called Pad.exe from my Application. Pad.exe is a simple DOS app that pads each line in a file with a specified length. the following is the line from my Java App: Process p = Runtime.getRuntime().exec(p_program + &quot; 749 &quot; + i_directory +...
  15. nationavon

    java.net.URL for FTP

    Anyone got an examples of doing an FTP put using the java.net.URL class? I haven't had much luck finding documentation on this. Thanks in advance. Nathan
  16. nationavon

    looking for txt file in a directory

    I need to be able to read the contents of a directory into an array. The elements should only equal files that end in .txt. For instance if the directory contains 1.txt, 2.txt, 3.txt, and 4.htm the array should contain 3 elements. I have been fumbling with the endsWith(&quot;txt&quot;) method...
  17. nationavon

    Reading a config file

    I am writing an application that needs to read a config file. I understand how to read the file using File, FileReader, and BufferedReader. My config file contains information in the following format: user = aaron What would be the best way to get the value of user? I have considered using...
  18. nationavon

    regular expression replacing non number

    I need help substituting non-numeric characters in a string. I tried: $text =~ s/\d/\1/g; Doesn't seem to work. Nathan
  19. nationavon

    Executing a subroutine inside a die

    I need the ability to execute a subroutine inside of a die subroutine. The die would be called if a file handle couldn't be opened. Should I just do a: open(FILE, &quot;file.txt&quot;) or &mySub; or open(FILE, &quot;file.txt&quot;) or die(&quot;it died&quot;); Thanks in advance. Nathan
  20. nationavon

    How to create a diver diskette?

    I downloaded the source code for my ata-raid controller and compiled it in RedHat9. I now have the objects I need to make a driver diskette. I'm not sure where to start. Any documentation would be greatly appreciated. I need to create a disk so that I can install the driver at installation...

Part and Inventory Search

Back
Top