User Profile

Collapse

Profile Sidebar

Collapse
theschaef
theschaef
Last Activity: Dec 1 '08, 07:34 PM
Joined: Sep 13 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • theschaef
    replied to Generating a site map
    in Perl
    That did the trick for me. Thanks so much. It was the weirdest thing ever... it looked like it was fine when i copied the url. If you tried to hit backspace to erase it, it took two clicks on the spot where the extra character was to take it out.
    See more | Go to post

    Leave a comment:


  • theschaef
    replied to Generating a site map
    in Perl
    so i guess the question now is how could i use perl to remove a backspace?
    See more | Go to post

    Leave a comment:


  • theschaef
    replied to Generating a site map
    in Perl
    I have also tried opening the file with textwrangler and using the "convert to ASCII" option.. but no luck.
    See more | Go to post

    Leave a comment:


  • theschaef
    replied to Generating a site map
    in Perl
    The file is .txt with UTF-8 encoding.
    See more | Go to post

    Leave a comment:


  • theschaef
    replied to Generating a site map
    in Perl
    Copying the url into word it appears as normal as "trews.html ", but when copying from word into the browser it now appears as "t rews.html".
    See more | Go to post

    Leave a comment:


  • theschaef
    replied to Generating a site map
    in Perl
    Well I have one program which is generating all of my html pages as well as a text file containing all of the urls that are being created. It seems as if the problem is stemming from there as my sitemap program is using that text file to create its site map. The problem is that I can't see the problem.. in the text file it looks just fine as "trews.html ", but if i copy it into the browser it cant find that site without me re-writing it....
    See more | Go to post

    Leave a comment:


  • theschaef
    started a topic Generating a site map
    in Perl

    Generating a site map

    Hey there everyone,
    Sorry if this isnt the right place for this post.
    I am building a script to generate a site map for me. For the most part it works fine, but a few errors are popping up.
    Google isn't liking several of my urls. For instance, i have a url that ends in "trews.html ". It looks like this line is fine in the site map, but when i type the url into the browser i get a 404 error as if the page doesn't exists....
    See more | Go to post

  • theschaef
    replied to Position table for IE
    Anyone? Also this is IE7 that I am using.
    See more | Go to post

    Leave a comment:


  • theschaef
    started a topic Position table for IE

    Position table for IE

    Hi there.
    I have a page which displays search results, and is supposed to have two ads on both the left and right side of the results. I have no problem doing this in any browser except for IE. When I try to display in IE, the two ads display just fine, but the search results are pushed to the bottom and appear below the ads. What is going wrong here? and why does IE suck... everyone should just use firefox.

    My CSS code...
    See more | Go to post

  • theschaef
    started a topic Using an open connection to mysql database.
    in Perl

    Using an open connection to mysql database.

    Hello,
    Sorry in advance if this is a trivial problem.
    I have a script which is executed about 2000 times in a row, and requires a connection to the mysql database each time it is executed.

    I am wondering if there is a way to have a seperate program which connects to mysql and then keeps the connection open so that I can save some time and not have to connect 2000 times to the same thing.

    I tried just making...
    See more | Go to post

  • anyone? Im guessing it is probably something to do with my my.cnf file but im not sure.

    mysql > SHOW VARIABLES; gives me..
    wait_timeout = 28800
    max_allowed_pac ket = 524288000

    do these seem sufficient for what i need? are there any other variables that could be causing the error?
    See more | Go to post

    Leave a comment:


  • DBD::mysql::st execute failed: Lost connection to MySQL server during query

    Hi there.
    I am using perl to connect to a database and then pull the rows off of the table one by one to manipulate the data.

    If I use a smaller table (~8 MB), I wait for around 20 seconds but then the table values are read just fine. However if I use a larger table (~30 MB), I wait for a while and then I get the message:
    DBD::mysql::st execute failed: Lost connection to MySQL server during query

    I...
    See more | Go to post

  • theschaef
    replied to Installing Perl 5.10 on OSX
    in Perl
    Oh and it is currently creating a folder in the directory when i run the installation:

    /username/localperl
    See more | Go to post

    Leave a comment:


  • theschaef
    started a topic Installing Perl 5.10 on OSX
    in Perl

    Installing Perl 5.10 on OSX

    Ok, so i'm just trying to learn Perl but I want to make sure that I have the latest edition before I get too far into it. By typing "perl -V" in Terminal I can see that I have perl v. 5.8.6 and I would like to install perl 5.10.

    I took the source code from the website and followed the installation instructions:

    ./Configure -des -Dprefix=$HOME/localperl
    make test
    make install
    ...
    See more | Go to post
No activity results to display
Show More
Working...