Text Flip PHP script

Discussion in 'PHP' started by Investophant, Feb 2, 2011.

  1. #1
    Hi there, I was wondering on why the flipping text script at this website won't work? The PHP script is unmodified, and seems perfectly fine but when uploaded to this webhost, it won't work?

    Any help really, really appreciated!
     
    Investophant, Feb 2, 2011 IP
  2. GreenWithEnvy

    GreenWithEnvy Active Member

    Messages:
    125
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #2
    You're going to need to post the source code or something for anyone to be able to help you or at least a link to where we could find it.
     
    GreenWithEnvy, Feb 2, 2011 IP
  3. Investophant

    Investophant Greenhorn

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Woops! It's attached to this post :)
     

    Attached Files:

    Investophant, Feb 2, 2011 IP
  4. Narrator

    Narrator Active Member

    Messages:
    392
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #4
    There's no php in that code you posted...
     
    Narrator, Feb 2, 2011 IP
  5. Investophant

    Investophant Greenhorn

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #5
    Sorry... its extension is .php so I assumed that was what is was. :/ In any case, is there any chance anyone can point out what inside this file is causing the site not to work? :(
     
    Investophant, Feb 2, 2011 IP
  6. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #6
    It don't work because there is not php code proccessing it
     
    G3n3s!s, Feb 2, 2011 IP
  7. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Hey, I noticed one thing which could be an .htaccess problem probably.

    When I click on "Flip Button", page I am redirected is "http://www.flippingtext/index.php". Note the missing ".com" here.

    Are you sure the script is set up correctly?
     
    mastermunj, Feb 3, 2011 IP
  8. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #8
    master - there are no PHP codes proccessing it, so htaccess isn't main problem
     
    G3n3s!s, Feb 4, 2011 IP
  9. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #9
    The flipping is done with JavaScript that basically replaces the original text with upside-down characters.
     
    rainborick, Feb 4, 2011 IP