Re: HTML question

From: Date: Tue, 10 Jul 2001 23:43:39 +0000
Subject: Re: HTML question
Groups: php.db 
Request: Send a blank email to php-db+get-10251@lists.php.net to get a copy of this message
The php file placed in your /util/ directory will not be accessible by the web.. everything you want accessible to the web has to be placed in the /www/ folder.. so place the php file in the /www/ folder (or /www/util/ if you like) and the images in the /www/img/ folder, and use the body tag: <body background="img/backgroundimage.jpg"> (for /www/) or <body background="/img/backgroundimage.jpg"> (for /www/ and /www/util/) or <body background="../img/backgroundimage.jpg"> (for /www/util/) Tom At 16:38 10/07/2001 -0700, you wrote:
I Looked up the root..sorry it is DOCUMENT_ROOT ...... /htdocs/www so I guess browsers think they are starting out at /htdocs/www and can't go below to get anything? so if I have phtml pages at /htdocs/util/ like www.util.consumergrapevine.org/showdatabases.php and images at /htdocs/www/img can I use an image in /htdocs/www/img as sa background imge in a page located in dir /htdocs/util/ ?? if so,what would be the body tag look like? <body background="/img/backgroundimage.jpg"> ? or should I move my /img/ dir somewhere else like maybe throw 'em in with all the pages in /htdocs/www ? thanks again, Ken ----- Original Message ----- From: "Tom Peck" <tom@masaclaw.co.nz> To: <php-db@lists.php.net> Sent: Tuesday, July 10, 2001 4:00 PM Subject: Re: [PHP-DB] HTML question Is /htdocs/ your web root? If it isn't the browser loading up the page would not have access to /www/img/backgroundimage.jpg. If it is - try removing the space after the .jpg in your body tag look like? <body background="/www/img/backgroundimage.jpg"> Tom At 15:51 10/07/2001 -0700, you wrote:
Hello, pure HTML server question: images like (backgroundimage.jpg) stored on server at: /htdocs/www/img util.showpic.html is stored at : /htdocs/util/ How to use backgroundimage.jpg as background in util.showpic.html ? <body background="/www/img/backgroundimage.jpg "> does not work.. what if anything will work? Thnaks Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.db (#10251) next »