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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Aug 2017
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Save input data to text file.

    Hello, i have a problem.
    why is not my data saved in a txt file?

    https://hastebin.com/zeyamakaco.xml - html
    https://hastebin.com/iwodadaden.xml - script

  2. #2
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Location
    Washington
    Posts
    7,910
    Thanks
    36
    Thanked 1,057 Times in 1,053 Posts
    Ran your code - it works for me, So file names must be coded wrong. "action_page.php" is either the wrong name or it is not in the same dir as you main program. I bet it's in a separate file, like php(?) Check.
    Evolution - The non-random survival of random variants.
    Physics is actually atoms trying to understand themselves.

  3. #3
    New to the CF scene
    Join Date
    Aug 2017
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    here why does not it work?
    are all the site's files in rar: https://drive.google.com/open?id=1RL...9hVeYqOvC7RFgz

  4. #4
    New to the CF scene
    Join Date
    Aug 2017
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Sandel1 View Post
    here why does not it work?
    are all the site's files in rar: https://drive.google.com/open?id=1RL...9hVeYqOvC7RFgz
    #up..

  5. #5
    Senior Coder deathshadow's Avatar
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    3,273
    Thanks
    4
    Thanked 476 Times in 464 Posts
    In the version you uploaded you have it called action1.php, but in your markup you're trying to call "action_page.php"

    So... @sunfighter is right.

    ... though as usual when someone uses bootcrap; endless pointless DIV and classes for nothing, static style in the markup, static scripting in the markup, laundry list of how not to build a website. I'd highly suggest throwing it all out and starting over without the framework, so you can learn to use HTML and CSS properly without the crutches... well, really bootstrap is more like a hobble skirt with a great big lollipop gag; it just keeps suckering in beginners with outright lies.
    “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare, The 1980 ACM Turing Award Lecture
    http://www.cutcodedown.com


 

Tags for this Thread

Posting Permissions

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