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 Wanet Telecoms Ltd 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. randy4126

    Getting stacktrace in running program without a debugger

    1) Are you using XLC or gcc? gcc 2) Do you have strace or truss? You can use them to attach to the process. strace - Yes truss - Yes 3) You could also try /sbin/pstack. doesn't exist ont the system. So how would I use truss or strace from withinside my program? Randy
  2. randy4126

    Getting stacktrace in running program without a debugger

    I am looking for some help help getting a stack trace in program that is executing. In our new logging routines we want to include that stacktrace so we are able to tell what program that called the one of library functions is having the the problem. We are running on a system using AIX 5.1...
  3. randy4126

    Mutli joins to a single table.

    After thinking about what you were saying I added that to my query and it worked. You are a genious. Thanks. This was my PHP statement $line = mysql_fetch_array($result, MYSQL_ASSOC And now I see it was getting confused because the coulmn was being named the same. Wow that would have...
  4. randy4126

    Mutli joins to a single table.

    Thanks for your reply. I have found that my query does work but it is the php doing something very woerd and droping columns. I gues that is a question for another forumn. Thanks Randy
  5. randy4126

    Mutli joins to a single table.

    I have a table that has two different ID's that link to another table. I want to be able in a single query pull back all the information I need. My we host is running a fair old version of MySQL so I can't do sub quieries. Here is what I came up with and everytime it runs it throws away one...
  6. randy4126

    Net::Ftp Problem.

    Thanks for your suggestion. What I did is I got I directory listing from the remote machne by using the $ftp->dir() and then parsed out the time stamp. Then I used the utime() so set the files time stamp. Creating a file and FTPing seemed to me to be a little much. Thanks for you help. What I...
  7. randy4126

    Net::Ftp Problem.

    Does anyone know how if you are using the Net::FTP module, How I can preserve the the time stamp from the original file? Thanks. Randy
  8. randy4126

    Net::FTP using the third argument in the get method.

    I am having trouble using the third argument in the get method(where in bytes). Every time I use it never downloads the rest of the file. Is this not supported by every ftp server? I am trying to avoid having to send a larger file over and over. I on;y want the new part of the file. Randy
  9. randy4126

    Insert Select problem

    That was it. I didn't notice I had the order wrong. I remember reading that in the docs now. Thanks a LOT! Randy
  10. randy4126

    Insert Select problem

    I am trying to insert data into a table from another table. The problem comes in with the unix timestamp column. It always converts the the date to 0000-00-00 but if you run the select query by itself it works just fine(Gives the correct date). Could someone see what I am doing wrong. Here...
  11. randy4126

    Sending a Dataset to stored proceedure.

    Let me give some back ground on what I am doing. The processes I am running are on a linux machine. From there I am calling with an insert query to add the records in the table. I need to update if the key exists if the key doesn't exist do an insert query. the process will repeat every 5...
  12. randy4126

    Sending a Dataset to stored proceedure.

    Hi, I am new to the stored proceedures and what I would like to do is send a data set to a stored proceedure. I don't know if this is possible. I though maybe you could do this if the stored proceedures had arrays. But I have looked in the books and found nothing on arrays. Below is an...
  13. randy4126

    Nested anonymous hashes

    I found the problem. I was populating the hash wrong. Once I fixed that it worked great. Thanks for your help. Randy
  14. randy4126

    Nested anonymous hashes

    I recieve this error every time I run this piece of code. "Can't use string ("0") as a HASH ref while "strict refs" in use at ./CMTS_Collector.pl line 427." I am new to anonymous hashes so any help you can give would be appricated. foreach $oid (keys %oids)...
  15. randy4126

    Does anyone know if there is a modu

    I'm sorry what I meant is the log file roles everynight. But i would like to sync the local file with the remote file every 5 to 10 minutes. Thanks Randy
  16. randy4126

    Does anyone know if there is a modu

    Does anyone know if there is a module written to sync a log file using ftp every night. When the log roles it usually changes on pert of the a number Example: sample.log changes to: sammple.001 or is the best to write my own? Thanks. Randy
  17. randy4126

    Perl Scripts for a Browser?

    Are you looking for a client side script or a server side script? I am not sure exactly what you are trying to do when say yo would have to install apache aon the client side. The best way to go would be to have a server side script that format the data as webpage then the clients broswer...
  18. randy4126

    Refreshing the main Frame every 60 seconds.

    Actually I did get this to work on the style sheet. Thanks for you help. Randy You can Email me at: RCooper@cinci.rr.com
  19. randy4126

    Refreshing the main Frame every 60 seconds.

    Is there a way to do this from the frames html? I want the page they currently have up to be refreshed every 60 seconds. This is currrently a system monitoring tool and the sub pages on this web site need to updated too. Most of this pages are XMl with style sheets so I thought it would be...
  20. randy4126

    Refreshing the main Frame every 60 seconds.

    I am trying to refresh the main frame of a page with three frames every 60 seconds. This is what my index.html looks like. <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Frameset//EN&quot; &quot;http://www.w3.org/TR/html4/frameset.dtd&quot;> <html> <head> <title>TWC VOD Monitoring...

Part and Inventory Search

Back
Top