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 Mike Lewis 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. tommycahir1

    cgi/img prob

    yipee prob solved tanx for all the help lads it greatly appreciated thanking you tommy :-)
  2. tommycahir1

    cgi/img prob

    actually didnt no that cgimonk it one to note down for the future tanx
  3. tommycahir1

    cgi/img prob

    yipee prob solved tanx for all the help lads it greatly appreciated thanking you tommy :-)
  4. tommycahir1

    cgi/img prob

    hi philote tried paulTEG option and got rid of the scriptalias and now can view the images in my browser but still not through my script chris i can now see the image in the browser but not through my script all i see is the ugly little broken image box..
  5. tommycahir1

    sleep not sleeping

    yea i got rid of the save_graph function and the file business and just copied and pasted the code into the two sent and recieved functions so that they generated the images without reading or writing to a file..
  6. tommycahir1

    sleep not sleeping

    hi Mike thanks for all your help it greatly appreciated i after managing to get a way round the problem by rewriting some of my code thanking you tommy
  7. tommycahir1

    cgi/img prob

    when i type the address into the location bar it gives "internal server error" i'm working on the web server and the image is generated by the script and moved to the /images directory by the script.. so there no need to ftp tanx for all your help folks as chris says it prob a configuration...
  8. tommycahir1

    cgi/img prob

    tried it with the spaces removed and still no change..
  9. tommycahir1

    sleep not sleeping

    if($choice eq "Normal") { if ($returned eq "Name") { single_value($sysName); }elsif($returned eq "Location") { single_value($sysLocation); }elsif($returned eq "Description") { single_value($sysDescr); }elsif($returned eq "System Contact") {...
  10. tommycahir1

    sleep not sleeping

    sub sent_packets { my ($outnow,$outthen,$index) = @_; my $ifOutUcastPktvar = $ifOutUcastPkts.$index; my $ifOutDiscardvar = $ifOutDiscards.$index; my $ifOutErrorvar = $ifOutErrors.$index; my @outx_axis_array; my @outvalues_array; #pktsOutIfToNet = (ifOutUcastPkts) -...
  11. tommycahir1

    sleep not sleeping

    sub recieved_packets { my ($innow,$inthen, $index) = @_; my $ifInUcastPktvar = $ifInUcastPkt.$index; my $ifInNUcastPktvar = $ifInNUcastPkt.$index; my $ifInDiscardvar = $ifInDiscard.$index; my $ifInErrorvar = $ifInError.$index; my @sysOIDs =...
  12. tommycahir1

    sleep not sleeping

    sub save_graph { my ($title,$xlabel,$ylabel,$IfNum,$fn) = @_; my $numfile = 1; my $fnbase = $fn; my $titlebase = $title; while ($numfile <= $IfNum) { $title = $titlebase; $fn = $fnbase; $fn = $fn.$numfile; my @xarray = (); my @values = (); my $max = 0...
  13. tommycahir1

    sleep not sleeping

    the code is as follows i no that it prob really messy and untidy and that there prob loads way better ways to do stuff in perl so forgive my amatuer attempt at it <code> #! /usr/bin/perl -w use strict; use POSIX ":sys_wait_h"; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser); use...
  14. tommycahir1

    cgi/img prob

    the following is an absolute path using the image tag and it still only produces the alt text u cant use the ip address outside the collage due to proxy and firewall.. the image was saved using binmode in perl..(binary mode) the folder is setup and an alias is setup in the httpd.conf using...
  15. tommycahir1

    sleep not sleeping

    nah no luck at all this really confusing me as i have the sleep going in another part of the cgi script ... if you want i can post up the whole script if it any help to you..
  16. tommycahir1

    sleep not sleeping

    tried that mike but it just doesnt work.. maybe its somethging to do with the way im forking processes?
  17. tommycahir1

    sleep not sleeping

    it sleeps for the set amount of time this bugging me as it works in other areas of the script but not on the code snippet:??????????
  18. tommycahir1

    cgi/img prob

    no it gives an internal server error..
  19. tommycahir1

    sleep not sleeping

    hi all i trying to put the cgi script to sleep for 60 seconds but it doesnt appear to work as it calls the save_graph function almost immediately.. any ideas on what i have done wrong.. my $index = 1; while ($index <= $NoOfIf ) {...
  20. tommycahir1

    cgi/img prob

    the <h3> tags dont affect it at all.. chris i created a folder with the name images and transfered the images there but still no luck..

Part and Inventory Search

Back
Top