|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Profile script
helo,
can anyone have sample script on how to edit, update a profile.php of a user thanks
__________________
im lve web designing |
|
#2
|
||||
|
||||
|
If you want to edit a file of a single user, best option is to write into it.
profile.php PHP Code:
chpass.php PHP Code:
$pass now equals what is posted in newpass. You should be able to adapt this to your needs. Cheers, Hamish |
|
#3
|
|||
|
|||
|
i don't understand the script, is another sample script that would edit, update a profile of a user..
thanks |
|
#4
|
||||
|
||||
|
There is no other way I know of, unless you have some constant script and very complicated programming. Basically this script writes into the profile and resets the variable. It is as simple as
PHP Code:
but with tags in between like PHP Code:
so it will work. I hope this clears your mind |
|
#5
|
||||
|
||||
|
What exactly do you want? If you want modifiable profiles where users can set their name, email address, www address, occupation etc. you need to store the profile somewhere (most often a SQL database) and then write, modify and delete the information in the DB.
I suggest you read some basic database tutorials to get basic understanding.
__________________
Fight Internet censorship! Code:
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments |
|
#6
|
|||
|
|||
|
kikid! lordchriz! :)
bisaya language: ayaw pangayo ug human daan na script...
english language: do not ask for a done script, if you do so.. there are many free scripts at some tutorial websites.. but it is better if you do it on your own, so that it will be easy for you to troubleshoot and that you understand what you made... best reference: googleDOTcom || phpDOTnet |
|
#7
|
|||
|
|||
|
its not hard to make 1 for ur own but for multiple users it can become a pain in the *** (security issues sessions etc) the systems i like most are the simple ones easy to adjust and to inpliment in to any site. atough i never came so far that i implemented a script into my site... (guess im a lazy bum)
edit*oftopic* whoah the time is realy accurate...
__________________
EAT THIS PIECAKE!!! liked the old site more Last edited by roelor : August 1st, 2007 at 11:54 AM. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Applications > Profile script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|