Personal site...

Any problem with PHP can be disscused here
AndersW
Posts: 20
Joined: Mon Mar 27, 2006 11:15 pm

Personal site...

Post by AndersW »

Hi, I am trying to create a site where user can uplaod an image and then later visit the same site with the picture open that the user uploaded. Any ideas how i can pull this of? I need it to be connected to the IP without any login.

Anders


WOW! Anders!
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

and what about if users ip is dynamic ?
Image
rwshthn
Posts: 500
Joined: Tue Sep 26, 2006 1:39 am
Contact:

yes you all right

Post by rwshthn »

what is this man ip is dynamic?????????????
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

dinamic ip is that: when i connect to internet, my ip is one, but tomorrow my ip could be different, and every time i connect to internet- my ip should change
Image
AndersW
Posts: 20
Joined: Mon Mar 27, 2006 11:15 pm

Post by AndersW »

ups, not successfull. okey then I will try to make a site where people can upload an image, create a new folder and use a template where the picture pops up.

like this: http://example.com/user/

then people can use their personal site with their's picture.

http://lagg.info/cs/

This is what i want to make, but people should be able to upload their own picture.
WOW! Anders!
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

hmmm, your choosed method is almost ok, but there would be some kind of difficulties on web hosts wit php save mode ON. i could suggest you the way like this: http://www.example.com/?u=user_name
I think that would be easiest way (for me) the only thing i would need to build it for me (I'm just saying as an example, i hope you will build it by yourself) is 2 db tables: users and files; and one folder chmoded to 0777
simple as 2x2 :D

need some help on php- contact me ;)
Image
UNDERCOVER
Posts: 115
Joined: Tue Apr 05, 2005 1:02 pm

Post by UNDERCOVER »

best way to do it is via ip and a database

so make a database with id ip image

and then call the image from the database useing ip so if there ip is the same it will show the image if its proxy then it will show nothing because there ip is hidden
Paolo1993
Posts: 195
Joined: Tue Jul 18, 2006 11:26 pm

Post by Paolo1993 »

just get a php script from hotscripts.com and try the best
Image
delivi
Posts: 454
Joined: Sun Mar 26, 2006 1:24 pm
Contact:

Post by delivi »

why dont you try Cookies to recognize the user. Using cookies you can display anything related to the information stored in that cookie.
kamikazi
Posts: 23
Joined: Thu Dec 28, 2006 12:22 pm

Post by kamikazi »

i m not sure about this subject , but just try this one
Attachments
upload_class.zip
(23.97 KiB) Downloaded 150 times
Post Reply