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. manjoufna

    Leading wildcard used with LIKE causing table scan / timeout

    Hello, I'm trying to use an SQL query to search a table using LIKE with a leading wildcard (%) on 2 name fields defined as char(30). Like this: SELECT name1, name2 FROM customers WHERE name1 like "%SALLY%" OR name2 like "%SALLY%" This query keeps timing out. As I understand it, if you use...
  2. manjoufna

    "Can't connect" error using LWP and HTTP::Request

    Thanks for the tip about the single quotes. Now I can't get past the 500 Can't Connect error. If anyone knows how resolve this... Thanks, Margaret
  3. manjoufna

    "Can't connect" error using LWP and HTTP::Request

    Hello, I'm trying to use a GET request via LWP:UserAgent and I'm getting a "Can't connect" error. I also get a "URL must be absolute" error depending on whether I hard-code the URL: ### This produces "400 URL must be absolute" error my $response =...
  4. manjoufna

    javascript won't refresh after changes

    Thank you both for responding so quickly and for your information. The info about client-side scripts vs. server-side scripts was helpful. I did try the js? thing and that didn't seem to work. The Control F5 appears to behave just like clicking the REFRESH button. I've taken a different...
  5. manjoufna

    javascript won't refresh after changes

    I'm running a Perl CGI script that uses a javascript external .js file. When I make a change to the .js file, the changes won't take effect unless I exit the browser (IE) completely and come back in. Using the refresh button on the browser or entering the URL won't do it. Changes to the Perl CGI...
  6. manjoufna

    can't fetch cookie from different directory

    If you set a cookie's path variable to "/", then that should allow perl cgi scripts in another directory (on the same server) fetch it, right? Does anyone know why I can fetch a cookie from a script in the same directory as where it's set, but not from a script in a different...
  7. manjoufna

    can't fetch cookie from a different directory

    I have a set of Perl scripts in one directory (let call Directory 1: /htdocs/menu/perl/) that set and fetch a cookie via CGI::Cookie. One of these scripts calls another script in a different directory (let's call Directory 2: /htdocs/maint/) that is unable to fetch the same cookie. Here is how...
  8. manjoufna

    HTTP request header (can you set non-standard fields?)

    I've got a web browser program that is written in Perl/CGI. It produces HTML code containing links to other web-sites. One of the target web-sites wants me to send that custom header field in the HTTP request object. I've seen examples of how to write standard headers using LWP, but I don't know...
  9. manjoufna

    HTTP request header (can you set non-standard fields?)

    I was given an assignment to send a username in the HTTP Request Header when linking to another website. They want the value in a non-standard header field called J_USER followed by the users id like this example: GET http://www.abccompany.com User-Agent: Mozilla 7.0 JUSER: manjo Also, the...

Part and Inventory Search

Back
Top