PDA

View Full Version : Help writing a pre-download script


sud0n1m
15th March 2006, 10:19 PM
I would like to track how much people have spent on Apple hardware as a result of being able to boot Windows - could someone help me with a short questionnaire in PHP to be added into a database?

On the page at the top it has a counter -
"Apple earned XXX.XX as a result of this contest"

Download Windows on the Intel Mac bootloader
Name:
Email:
System: (drop down menu)
Amount spent on Apple hardware because you can now dual boot:

Upon submitting, the download link AJAXes into view.

I hope no one gets pissed about this extra step, but I want to make a point to apple that it is in their best interest as a company to be more open to dual booting.

I really dont have the time to get this done, so if anyone does I would really appreciate it!

goodcompany
16th March 2006, 01:29 AM
I like the way mysql handles it (http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.19-win32.zip/from/pick)...they have a questionare at the top of the download page which is optional. The downloads are there just below it. There is no need to force people to answer, and there is definitely no need for AJAX :-)

chrisbw
16th March 2006, 01:45 AM
I do PHP+MySQL+AJAX stuff and would be glad to help out... I can probably churn that out for you pretty quickly tomorrow (err, well I guess it is tomorrow now...sometime today, then!).

Ubaid1
16th March 2006, 02:14 AM
I'd be happy to mirror the files so long as I'm not responsible in any way for brickified macs. contact me at:

ubaid2 (at) gmail (dot) com

jer2eydevil88
16th March 2006, 02:29 AM
ehhh... if you put all that in before the download it'll make people turn to alternative sources for the information/files.... I would think making it optional but prominent would be more beneficial..

Would asp work for the form? If so I can do it for you tomorrow just pm me with where to send you it.

SidU
16th March 2006, 05:27 PM
http://sids-server.ath.cx/onmac - sud0n1m, we talked about this last night. IM or email me info. I'll finiesh the script.