Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Wednesday, August 4th at 3pm PST / 6pm EST. Learn more
  • GoDaddy Community
  • GoDaddy Website Builders
  • GoDaddy Website Builders

    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    some php code not working

    I have a bit of script that parses a time stamp. It is a YouTube time stamp, so is irregular.

    As such, I used this.

    substr  stristr(value, 'S', true), -2, 2

    This works fine on my local, however returns nothing when uploaded.

    So I tried


    Which when online will cause the whole page to return as blank.


    3 REPLIES 3
    Helper VI

    Is it giving you any error?

    ~Jan Mykhail Hasselbring Web Administrator @

    No error's . Code seems to be good. Works ok on my local when testing.

    Only thing I can think of is GoDaddy preventing it for some reason.

    Possibly a setting on their side. Not sure.

    I find that odd... Are you sure your error reporting is on?

    ~Jan Mykhail Hasselbring Web Administrator @