How to process the REQUEST that comes in the /DocumentRoot/demo folder? The request will come from the IMG tag. ie IMG src="http://a.bcd.co.jp/demo/A.jpg"\nThere will be no php script to be called. The php script will be called when a request comes to /demo and a jpeg file in the URL.
134976
I have two ways maybe can solve your problem.\n\nFirst, using Apache Directory setting, all request to the demo directory will be prepend a php file first, here is the example of how to configure the setting :\n\n1.create a file that named .htaccess , and put it under demo directory\n2.the content of .htaccess is like below\n\n<Directory /DocumentRoot/demo>\nphp_value auto_prepend_file "The/PHP/File/You/Want/to/Exec"\n</Directory>\n\nThe Second way is to show the image by php, the HTML code will like this:\n<img src=/demo/showimg.php border=0>, then inside the showimg.php , you can code it like below:\n\n<?PHP\n// Do the things you want ........... \nHeader("Content-type: image/PNG"); // Using PNG For Example\nreadfile("/DocumentRoot/demo/Some/where/Your/Image/Is");\n?>\n\nHope this can help you
626402
vaibhav.... i am sorry but dats not the way you sud go about desinging a website.\na web page is html and photoshop docs are psd format. a very different way actually.\nif you have created the page in ps, then after that you need to create the page in any html software...like dreamweaver, frontpage etc.you can cut slices of the psd for images and save for web as jpeg.\nlater on you have to insert those jpgs into the html file\n\ni know from your question that you are a newbie and this answer might as well keep your eyebrows raised forever.\n\nfollow the link below to get the basics right...\nhttp://www.webdesignfromscratch.com/
190098
are you using html?\n\n\nwith html the proper coding would be\n\n<a href='website.com here'><img src='locationof.jpg here'></a>
315701
Hi,\nMany people asked me this question numerous times. It is a confusing matter I guess :)\n\nBut let me tell you this:\nWhen you have a form, you need to submit the data you have entered the form, correct?\n\nOk now, we have 2 different ways of submissions. \nPOST - sends it in the body of the submission.\nGET - send the form input in an URL\n\nOk, now you would tell me what that means.\nThink of POST as HIDDEN. It would be hidden data embedded within the form.\nThink of GET as your variables are attached to your URL.\n\nHere is an example:\nThe form is located here: http://www.myweb.com/form.php\n<form action="" method="get">\n<input type="text" name="FullName" value="" />\n<input type="text" name="FeedBack" value="" />\n<input type="submit" name="Submit" value="Enter" />\n</form>\nThat would be a form that has 2 fields, FullName and FeedBack. Once you press on the Enter button, The URL will look like this:\nhttp://www.myweb.com/form.php?FullName=Bob&FeedBack=hi+there\n\nNotice the 2 fields (FullName and FeedBack) which are variables on how they are transformed... \n\nLater when programming you need to catch the URL Variables usually there are function, in PHP it is $_GET['FullName'], That is how you grab the contents of the variables in a GET within php. In JSP and ASP it is doGet() something like that.\n\n-------------------------------\nOkay  so for GET it is attached to the URL, now for POST.. It is hidden...\n\nHere is an example:\nThe form is located here: http://www.myweb.com/form.php\n<form action="" method="post">\n<input type="text" name="FullName" value="" />\n<input type="text" name="FeedBack" value="" />\n<input type="submit" name="Submit" value="Enter" />\n</form>\n\nWhen I press the submit button the URL will look like this:\nhttp://www.myweb.com/form.php\n\nNotice, same thing... The variables are intact within hte form in memory. in programming language you access it with $_POST['FullName'];\n\nOkay your wondering what the difference from POST is to GET, GET can be used in Forms, links , anything that is a link.. POST is only for forms... POST is used to store secure data, so the user cannot change the contents while sending it in the programming script.\n\nIT is more securer...\n\nRead online to know more about the differnces :)\n\nI hope I helped
237301
When you open a web page, the information on that page (pictures, sound, text, etc.) are sent from the "Server" to your computer through the internet.\n\nSome pages have lots of information on them ... the Yahoo home page, for example, has pictures and links and text.  You'll note also that there are little applications that run a well.  These little applications are called scripts.\n\nA script is a part of the web page that works like a little program.  Ever noticed how when you move your mouse over the icons in the upper right corner of the Yahoo home page, that they buttons "expand" to show you more choices ?\n\nAll of this information and data must be sent from the Yahoo server to your computer.\n\nThink about it this way ... If I had to send you 20 gallons of water, you could get that 20 gallons a whole lot faster if there is a bigger pipe going into your house !   If I'm trying to send you 2000 gallons of water (like a page full of pictures and stuff) and all you have is a soda-straw sized pipe (i.e. dial-up), then it's gonna take a while !
151309
this is the html/xhtml source code for a clickable image.\n\n<a href="http://www.yahoo.com/"><img src="bannername" /></a>\n\nanother way\n\n<button type="button" onclick="window.location='http://www.yahoo.com/'"><img src="bannername" /></button>\n\nor\n\n<button type="button" onclick="window.open('http://www.yahoo.com/')"><img src="bannername" /></button>\n\nhere are two dhml image links :)\n\n<img src="bannername" style="cursor:pointer;" onclick="window.open('http://www.yahoo.com/')" />\n\nor\n\n<img src="bannername" style="cursor:pointer;" onclick="window.location='http://www.yahoo.com/'" />\n\nlots of ways to do it. experiment to see what you can come up with.
46587
You can't convert a JPG image to HTML! HTML is the markup that formats the web page. If you want to include an image you should upload it to an internet site, then use HTML to link to it. If you want to copy the layout of a site which you have captured as a JPG file you will need to learn HTML, and mark up your page correctly. \n\nMuch simpler just to revisit the site, and use the "view source" option to learn how the layout was created.
100147
Its basically a place that supprts php. If the web hosting site your using doesnt support php then that means if you made something you couldnt save it as an .php file only an .html file. Most web hosting sites (yahoo) support php or in other words has a framework for php, and your chances for finding one are better  if your paying for it.
14835
check the paths of those images\nof course geocities cant show them if the paths are i.e like;\n<img src="file://D:/myweb/image01.jpg">\n\na correct link to the image in the code should look more like this: <img src="image01.jpg">\nif in a dir: <img src="mydirectory/image01.jpg">\n\nwhere the html files and the images including any directory containing any other directory should be uploaded aswell in order for the paths to workd accordingly.\n\ngood luck\n\n--\n\nthe layout buttons names may appear to be too long.\ntry giving them shorter and qualifying names.\n\nyourbutton names are:\nfeedback.htm_cmp_sky010_vbtn.gif\n\nbetter if you change them induvidually accourding to their titles, like so:\naboutme_but.gif\n\nalso mind CAPS if you use any to name the images of your button, the caps should than also be used in the code.
533329
If I'm not mistaken, in the top right hand corner of the mega upload page, it should ask you to "TYPE IN" whatever letters they are showing on your screen (they will have a color background) \n\nAfter you type them it, it will tell you that you are in queue or something like that and wait about 60 seconds or something like that. \n\nThen it will start to download to your desktop. After that you can view the file when it's done finally. I could be way off here if you are talking about something else though. \n\nHope this helps.
96019
The file is used for a program called Ghost Script. I am not sure what the program is used for, the website for it is http://ghostscript.com/ .
495269
1) You can give it any extension you want, but I often go with ".inc" since it is somewhat well known to other programmers.\n\n2) Out of the web root folder. If it has sensitive variables, move the file up the hierarchy tree just above the web root. PHP can still access it, but everyone else won't be able to get to it since it is not in the web root or any of its sub folders.\n\n3) You just need the "include()" or "require()" functions or one of their similar functions "include_once()" and "require_once()". I have provided the link to php.net where it shows you how these functions work.\n\nGood luck with the scripting!
130362
You can randomly display an image using javascript.\n\nAssume your images are named 1.jpg, 2.jpg, 3.jpg, etc., up to the maximum image number; and that all those images are in the same directory; in this case, a directory named images under the root of your Web site.\n\nAlso assume this is your img tag you want to have randomly generated in your HTML:\n\n<img name="randimg" id="randimg" src="" alt="" />\n\nThen you first add this onload event to your BODY tag:\n\n<body onLoad="showrandomimg()">\n\nThen this javascript will randomly select the image to display, based on there being 10 images in the directory that stores your random images:\n\n<script language= "javascript">\nfunction showrandomimg() {\nif( document.images ) {\nvar imgcount = 10;\nvar tempimg = new Image();\n\nvar img_id = get_random(imgcount);\nvar imgurl = '/images/' + img_id + '.jpg';\ntempimg.src = imgurl;\ndocument["randimg"].src = tempimg.src\n}\n}\n\nfunction get_random(maxint) {\n    var ranNum= Math.floor( Math.random() * maxint );\n    return ranNum;\n}\n</script>
34239
hm... letsee\ngoogle it's full whit that just search about php documentation the ...you will find what you need there!\nTRUST ME\n;)
363877
You are close you forgot the = after src\n<img src="the url">\n\nExample:\n<img src="http://www.danasoft.com/vipersig.jpg">
8506
There are no php scripts that can take a screenshot of a website. You can possibly create some integration of your server to launch a web browser and another software that would auto screenshot the browser window. The only thing is, you would want to background this process because it might take some time for the operation to complete. In all, I would say this is a very complicated way of doing things.\n\nI would look at integration with thumbshots.org. You can submit sites for them to thumbnail, and you can dynamically call a website's thumbnail from thumbshots.org.\n\nGood Luck.
380410
Create a page with an HTML form similar to the following.  The input tag with a type of "file" shows up in the browser as a text field for the file name and a "browse" button automatically:\n\n<form method="post" enctype="multipart/form-data" action="upload.jsp">\n<input type="file" id="file1">\n<br />\n<input type="submit" value="Send">\n</form>\n\nNow, in the JSP file or servlet that is receiving the post (upload.jsp in this case), processing a multipart form in Java without a pre-existing libray is a nightmare.  I've done it, and trust me when I say this: don't.  You have to literally get the form as a big MIME-encoded String, find the MIME part with the uploaded file, and then extract & decode the file.  Don't do this unless you have a lot of time on your hands.  The Jakarta Commons project has a nifty FileUpload class (see linked "source") that will do all the dirty work for you   And since it's from Jakarta Commons, it's an industry standard component you can feel confident using in a production environment.