[thelist] Visual Basic [OT]

Jon Haworth jhaworth at witanjardine.co.uk
Thu Dec 5 11:53:00 CST 2002


Hi Dave,

> What I was hoping to do was then loop through the file so
> the first time round, the record details would be put in
> to MaleDetails1, the second time MaleDetails2 and so on.

You need to use a control array for this... look into the ArrayIndex
property of your text boxes.

Cheers
Jon


<tip type="PHP">

When you're gathering visitors' IP addresses, make sure you check
HTTP_X_FORWARDED_FOR as well as REMOTE_ADDR, otherwise you'll end up
collecting proxy server IPs:

$ip = (getenv(HTTP_X_FORWARDED_FOR))
    ?  getenv(HTTP_X_FORWARDED_FOR)
    :  getenv(REMOTE_ADDR);

</tip>



More information about the thelist mailing list