Ask, this line of code: file_put_contents ("url", $url. " # # # ", File_append), where did the submitted items be saved?

Source: Internet
Author: User
Tags echo date readfile
Line 33rd of the Code:: file_put_contents ("url", $url. " # # # ", file_append); What is APPEND saved to?
Is it appended to the source code file sign.php? I tested it, and after I submitted some content, there was no change in the sign.php file in my space. I do desktop software, not Web programming, PHP will not. Thank you!
 
  
 
  Automatic sign-in platform
 
  
  
   

Automatic sign-in platform

"; } echo " Mission is over!
";} else{ echo "

";} if ($_post[' VI ']== ' commit ') { if (strstr ($url, ' http://')) { file_put_contents ("url", $url. " # # # ", file_append); echo "URL has been saved! The system will be automatically accessed 1 o'clock in the morning per person
"; } else{ echo "URL save failed! Please check
"; }}? > Code by:i


Reply to discussion (solution)

File_put_contents ("url",....
Isn't that the file name?

File_put_contents ("url",....
This is not the filename is still not understand. Is this URL not a filename?
Is this code going to save another file on my space?

I put the source itself in space, the file name is sign.php
Thanks a lot!!

You do software, how can not know "url" is a string
File_put_contents--Writes a string to the file
int file_put_contents (string filename, string data [, int flags [, resource context]])
Function prototype didn't tell you the name of the first argument?

You do software, how can not know "url" is a string
File_put_contents--Writes a string to the file
int file_put_contents (string filename, string data [, int flags [, resource context]])
Function prototype is not the file name that already tells you the first parameter? Well, maybe I don't have the space to write new files, I don't see any new files after the test. Thank you!

This post was last edited by xuzuning on 2013-12-21 12:36:53

You can ReadFile (' url '); Take a look
PHP space is not allowed to write much

You can ReadFile (' url '); Take a look
PHP space is not allowed to write not much of the cloud space I used. I'll go and see. thanks!!

Oh, cloud space is not possible!
But they all offer alternative function services, you go to see the terms of service

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.