/    Sign up×
Community /Pin to ProfileBookmark

Getting user info

I want to be able to get some user info [b]before[/b] they download free samples.
The search is tiring, so maybe some of you might have some suggestions. How should I do it? and where?

What I need is country, city, maybe OS, browser, name and optional email.
I do not want to prevent them from downloading the free samples, but I would like some info, the statistics provided by my website host doesn’t give me enuff info; a bunch of host numbers is like no info at all.

The page I want to put this on is
[URL=http://www.reneodeay.com/orderbook.html]SunChild, Prince of Egypt, Download Free Chapters[/URL]

I already have some scripts on the page, so I don’t want conflicts.
should I put this on the subdomain? or …? or should I include some kind of form in the free samples themselves/

Any help appreciated.
René

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Jul 27.2005 — You need a server side language so you can store the values.

Eric
Copy linkTweet thisAlerts:
@aRen__authorJul 30.2005 — You need a server side language so you can store the values.

Eric[/QUOTE]


Alien One, please explain. My MySQL is already taken, and am not ready to add another one yet.
Copy linkTweet thisAlerts:
@zincJul 30.2005 — You could ask the user(s) for the info ( country, city, maybe OS, browser, name and optional email ) and then submit this information to a PHP file. This file simply takes the information and appends it to a predefined text file - no need to store it in a database - and redirects the user to the download page [ using the Header("Location: target.php") in PHP ].
Copy linkTweet thisAlerts:
@troutJul 30.2005 — A clearer understanding of what he was trying to convey is that with a server side language you can "sniff" many details from a user as they visit your webpage from the header ... javascript can do this for simplistic things such as screen size and browser but is not so great further than this unless in conjunction with the server itself...

You could simply ask them for their information using a form that they fill in before they get to the download page. Though a lot of people will fill in crap - you will still get a pretty good demographic of who is using your site from those that do fill it in.

HTH

trout
Copy linkTweet thisAlerts:
@aRen__authorAug 01.2005 — Maybe my brain is fried or something. I have looked at all the PHP stuff, tutorials, etc. and I just can't seem to get it.

Ah, another huge learning curve to tackle.

Just tell me the script. Or the form... or the...?

I did [B]find[/B] some great ones, but looks like I have to figure out how to combine them to get what I what. Not really fair to the authors of these scripts. And being the proverbial starving artist/writer, I really don't have any extra cash yet to buy what I need, or pay someone to make it, not yet.

Unfortunately my MySQl database is already taken. Extra cash to get another one that is earmarked for other very important things.

So it has to be a form, and in a scgi-bin, CGI wrap, which I haven't figured out yet. I do have a simple guestbook CGI working.

Should I be asking this in the HTML forum? I [B]do[/B] need parts of this form validated, which I know takes javascript.

Show me, please. If you can.

Thanks,

René
×

Success!

Help @aRen__ spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...