how can i insert image?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
teckyan888
Forum Commoner
Posts: 40
Joined: Tue May 11, 2004 10:46 am

how can i insert image?

Post by teckyan888 »

Let say my college has a server and i wan to upload image into my college server...But i dun know what the path to insert my image...Any coding can specify the path that i wan to insert the image???

http://1.1.1.111/~B3333/image <--- This is the folder i need to insert...
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

don't double-post. You've already received an answer to this very question ( http://www.devnetwork.net/forums/viewtopic.php?p=108084 ). :evil:
teckyan888
Forum Commoner
Posts: 40
Joined: Tue May 11, 2004 10:46 am

Post by teckyan888 »

I know...i can insert into my home server....But when i upload to my college server,it cannot specific the path...And i also dun know what should i do... :?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

And i also dun know what should i do...
Two things:

1. post on the original thread
2. click on the second, third and first link below (in that order)

Additionally, if you look at http://uk2.php.net/reserved.variables and search for $_SERVER, you should be able to find an answer.
Post Reply