Silent server file creation using javascript/jquery

This project received 4 bids from talented freelancers with an average bid price of $46 USD.

Get free quotes for a project like this
Project Budget
Total Bids
Project Description

1. I need two things: a simple php script that will run on a linux/unix-based server with php 4 support, and a sample html file containing a javascript function named S_LOG() that takes as parameters two strings, one containing the URL of the server, the other a filename.

(a) The php script should be named [url removed, login to view] and can be assumed to reside in the root of the server (i.e. its URL is just SERVER_URL/[url removed, login to view]).

(b) All the php script needs to do is create/verify a subfolder on the server (can be assumed to already exist) "/S_LOG/" and create an empty (0 length) file in that subdirectory in response to a request from the sample html file.

(c) No need for any error handling or any feedback from the php script. The result of the php is never displayed.

(d) The html file should just demonstrate with a single link that calls the S_LOG() function with a placeholder for me to replace with the server URL, and any sample filename.


2. The goal here is for a site developed and maintained using static html only to be able, in response to a link click for instance, to silently create an empty file on the server by submitting a hidden form (or any other method that either uses GET or is otherwise invisible to the user).


3. Use of JQuery is fine (you can assume the latest available version), any other GPL'ed or unlicenced scripts like mootools etc. are also fine provided there is no issue in using it on a live site.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online