Đã hoàn thành

324712 Some simple PHP scripts/mods

Hi, thanks for looking at our project! This is actually a set of mini-projects. We need a 2 simple PHP scripts written, and a couple of other ones modified.

General notes:

- Our server is Linux Apache, running PHP 4.4.9.

- All scripts below should, when run, write a simple success (or error) message to a common [url removed, login to view] file.

Here's what we need:



We need a script that will:

- read a tab-delineated text flatfile database and extract all unique photo URLs from any records containing “F” in column 9, and write these URLs to a temp file.

- Delete any URLs on this temp file that contain the string “autobase”.

- compare the image filenames (i.e., the part after the last slash “/” of any URL) on this list to the contents of a directory on the local server.

- If any of the filenames are NOT found in that directory, the script should use the URL to download the image file and save it into that directory.


We need a script identical to script #1 above, except script #2 should:

- Delete any URLS on its temp file that do NOT contain “autobase”.

- It should not download the images, only create the temp file (consisting of the URLs which contain “autobase”, that are of images that are not in the directory).



We need a very small mod to a simple script on our site called [url removed, login to view], which writes info from our flatfile database into an xml file. Currently, one section of this script checks for unique image URLs and writes these to the XML. The only change we need is this — the unique image URLs MUST contain “.jpg”. That's it.


We have a script called [url removed, login to view] which reads data from a source text flatfile, maps it to the right format, and writes it to the destination flatfile. The script works great and only needs one little mod. Right now, for every record, it writes “F” in column 9. What we need is this: If the number of image files for a record in the the source file is less than 2, it should write “E”, else write “F”. If you like, I can provide you with an example of a similar script that has this mod already.


We have 4 PHP scripts on our site which run as crons but do not write a simple success (or error) message to a common [url removed, login to view] file. We would like them modified so that they do so. (I have included these in the file [url removed, login to view] to give you an idea). In the case of image downloading or resizing scripts, we would like for the message to include the number of images downloaded or resized.

That's it! Let us know if you have any questions and we look forward to working with you. I will provide all necessary file locations and FTP access when the project begins.

Kĩ năng: Bất kì công việc gì, PHP

Xem nhiều hơn: xml use case, what is a temp, use case simple example, use case include example, unique photo, txt 2 jpg, server scripts, ftp server zip, extract number from string, common string, slash s, mini tab, write a simple php script, PHP SCRIPTS, download some files from, simple notes database, php xml delete, php text xml, notes create section, simple mini project

Về Bên Thuê:
( 101 nhận xét ) Olympia, United States

ID dự án: #2070519

Được trao cho:


Hello, As discussed, I'll work on the more urgent script first. Please see PMB. Thank you. Ketan

$60 USD trong 2 ngày
(3 Đánh Giá)