|
-
Aug 17th, 2006, 03:51 AM
#1
Thread Starter
Hyperactive Member
IMAGE - PHP & HTML/PHP
Please study the following code - image accessing problem.
Run block 2 line 2 only - no problem.
Run block 2 both lines - problem.
Run block 1 and HTML block together - problem.
I need a remedy from this. Please make some R&D withe these code, take your time (24 hours) and try to give me a solution.
<?php
echo "Hello World <br>";
?>
<?php
//echo "hello <br>";
//echo file_get_contents(getcwd()."/zodiac/Gemini.jpg")."<br>";
?>
<html>
<head>
<title>Test</title>
</head>
<body>
<form name="f" method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
<img src="<?php echo file_get_contents(getcwd().'/zodiac/Cancer.jpg').'<br>'; ?>" width="100" height="50">
</form>
</body>
</html>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|