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

    Help with regex to modify links within a string

    I am trying to work with pre-determined links within a string, and while my regex works to replace the pre-determined links, I can't add them to an array to work with them. Here's my code... $mystring = qq{ Hello, My name is red, and I am red like a barn. http://www.example.com This is text...
  2. ednit

    Script to monitor Perl/MySQL/Apache Load on Windows XP

    I have been searching for hours for a script that will help me to determine what the CPU usage/load is for a website that I developed locally. I am running XAMPP on Windows XP Apache/2.2.4 (Win32) PHP/5.2.1 mod_perl/2.0.3 Perl/v5.8.8 I've tried to install apache:vmonitor, but I cannot get...
  3. ednit

    Formatting URL's from text file - not easy for me!

    I am attempting to reformat the structure of URL's inside a text file, but I am about pulling my hair out. The urls are like this inside a text file: http://www.domain.com/http://www.somesite.com/index.phphttp://www. . . In other words, every URL is butted up next to the other without a...
  4. ednit

    Windows equivalent of Unix/Linux "require"

    I am trying to work on a script on my local pc (Windows), but I cannot figure out how to use the "require" command on my computer (that works on my linux hosting account). Example for my hosting account: #!/usr/bin/perl require "somesub.pm"; print "content-type: text/html\n\n"; Example...
  5. ednit

    Create Rss Feed with Perl issue

    I am trying to create a rss feed for stored database information with the below script. This setup works on one of my websites (the same hosting account/server) but will not work on another for some reason. What it does is offers the results in a download instead of displaying them in the...
  6. ednit

    Obtain image size from remote server image

    Hi, I am trying to obtain the height and width for an image from another server before it is loaded for the user. This is for an shopping site and images over 300 width mess the page up, so I want to add the height & width tags to anything larger than 300px wide. I am trying to use...
  7. ednit

    Replace http:// with < a href = http: . . . . .

    I have text (articles) with links that I want to transform to html. I am having a hard time figuring out how to change a link like this: http://example.com To this: <a href="http://example.com">http://example.com</a> I am looking for something like: $article =~ s/http:. . /<a href=http. ...

Part and Inventory Search

Back
Top