Jump to content

Recommended Posts

Posted

What:

# Robot.txt generated by SiteStudio

#

User-agent: *

Disallow:

???

just a tester, it keeps bots off the site lol

when I open it, it has boxes, would autoit be able to know the boxes are {ENTER}'s?

Posted

just a tester, it keeps bots off the site lol

when I open it, it has boxes, would autoit be able to know the boxes are {ENTER}'s?

The file may only have line endings of LF's or CR's that may explain the boxes, but Windows uses CRLF's so try a stringReplace() on the contents of the read file into a variable.

$variable = StringReplace($variable, @LF, @CRLF)

:shocked:

Posted

The file may only have line endings of LF's or CR's that may explain the boxes, but Windows uses CRLF's so try a stringReplace() on the contents of the read file into a variable.

$variable = StringReplace($variable, @LF, @CRLF)

:shocked:

Thanks guys :( this part works muchly appreciated, ty for fast replies,

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...