Search Result

Collapse
2 results in 0.0021 seconds.
Keywords
Members
Tags
file_put_contents
  •  

  • Carlos Maya
    started a topic file_put_contents problems
    in PHP

    file_put_contents problems

    Hi, I am very new in this language and I have some problems and I can`t handle it.

    Maybe somebody can help me?
    file_put_conten ts and fopen does not work for my and I don“t know what happen :S


    Abstract:
    1. I need read a random line in a txt hosted in a FTP
    2. I need delete this randome line from that txt
    3. Next I need put the extracted random line in another txt (not coded yet)

    ...
    See more | Go to post

  • URL file-access error when generating a php file with file_put_contents()

    Hi, I'm using PHP to create and save new .php pages using:

    Code:
    file_put_contents("photo/".$name."/index.php",$file);
    the page saves ok but I get this error when i go there:

    Warning: require_once() [function.requir e-once]: URL file-access is disabled in the server configuration in /home/html/new/photo/_MG_1166/index.php on line 5

    If I copy the new files content and create...
    See more | Go to post
Working...