This won't work, because the HOST needs to be able to access the files on
your machine, which is a gross security risk, and isn't possible in this

The only way I can think of that you would be able to do anything useful
like that would be to have an HTML page load an image using

<img src="C:\images\map.gif">

or somthing like that, but you wouldn't be able to modify that image using
PHP (tho you could use DIVs or something to overlay other details perhaps?)



// -----Original Message-----
// From: dufronte [mailto:[EMAIL PROTECTED]]
// Sent: Tuesday, 10 December 2002 2:51 PM
// Subject: [PHP-DB] Call an Image from local Harddisk thru PHP file in
// Remote Host.
// Hello again,
// I have another few question.
// Actually, it's a little bit ridiculous.... so don't laugh at me :D
// I want to make a webgame with php....., there.. I want to 
// put an Image
// Locally in order to Increase the speed. What I'm going to do 
// is put my
// Image in my Local Harddisk...(I'm using Windows), and I put 
// my PHP file
// in my Host (such as or something).
// So... I wanna call my Image from my Harddisk thru that 
// file... using a
// GD function...
// I've tried this two silly things.. but it doesn't work 
// $map=ImageCreateFromJPEG("c:/myfiles/img/mdmap.jpg");
// and $map=ImageCreateFromJPEG("file:///c|/myfiles/img/mdmap.jpg");
// what should I do then..... Please help me...
//       DuFronte
// -- 
// PHP Database Mailing List (
// To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to