Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    TrainReq
    Guest

    strpos problem (offset not contained in string)

    I am not sure what the problem is, I am getting the error: "strpos() [function.strpos]: Offset not contained in string." on lines
    97 , 101, 126, and 129

    The link to the source is :
    http://phpfi.com/250450

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    That error message is saying "The value of $start is greater than the length of $pagecontents".

    Add an "if" statement to bypass the function if $start is greater than the length of $pagecontents.

  • #3
    TrainReq
    Guest
    What part do I add the ifstatment to, and what will the if statement say?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •