Search found 6 matches

by jstrellner
Fri May 23, 2003 11:03 am
Forum: PHP coding => General
Topic: Warning: Unknown modifier 't' in...
Replies: 3
Views: 1086

Nevermind I figured it out. Instead of using preg_match I used a while loop when I opened the file and I looped through each line to see if it matched correctly.

This worked well and I can now more accuratly tell if the robots.txt file is excluding spidering.

Thanks for your help.
by jstrellner
Fri May 23, 2003 10:18 am
Forum: PHP coding => General
Topic: Warning: Unknown modifier 't' in...
Replies: 3
Views: 1086

No, I know how to get a users information. What I am doing is opening a robots.txt file. Then I am checking to see if they specify all robots with User-agent: * the I am checking to see if the file that I want to check is specifically forbiden. User-agent: * Disallow: /cgi-bin/ Disallow: /errors/ Di...
by jstrellner
Thu May 22, 2003 10:16 pm
Forum: PHP coding => General
Topic: Warning: Unknown modifier 't' in...
Replies: 3
Views: 1086

Warning: Unknown modifier 't' in...

Can anyone help with this, I can't figure this out for anything. I've searched google, checked my PHP books, but nothing. if (preg_match ("/User-agent: \*\nDisallow: $parsedurl[path]\n/i", $finalrobotfile)) { print "robots file found, can not index this page."...
by jstrellner
Wed Nov 06, 2002 11:33 am
Forum: PHP General
Topic: perl question [OT]
Replies: 3
Views: 2127

Re: perl question [OT]

sorry a question about perl .. this line my ($newhost) = $ENV{'HTTP_HOST'}; returns w but on my $newhost i need only mydomain.com without "www." What can I do , my perl experience is very low , anyone can help me ? Thanks !!! You can replace your code with the following code. It is untested but it ...
by jstrellner
Wed Nov 06, 2002 9:19 am
Forum: mySQL & php coding
Topic: MySQL INT & TINYINT
Replies: 3
Views: 2332

Thanks,

I did however just loose all the data and start over because I couldn't leave it like it was. :cry:

For future reference how would I use the "alter table" query? I am assuming that I could use this to change the names of the table too.

Thank you.
by jstrellner
Tue Nov 05, 2002 11:16 pm
Forum: mySQL & php coding
Topic: MySQL INT & TINYINT
Replies: 3
Views: 2332

MySQL INT & TINYINT

Hello, I am not sure if this is the correct place to post this but it looks like it. I have a problem. I have created a new MySQL DB and when I created it I used TINYINT, unfortunately I didn't realized that it limited the DB to 127 records. I have searched online and found that I should have used I...