| |
Welcome to Webmaster Forums 101!
You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact support.
|
 |
|
10th April 2003, 11:12 AM
|
#11
|
Join Date: Apr 2003
Location: Canada
Posts: 172
Points: 28.21
|
php
I tested the original code and it works fine for me what webhost you using?
Here's what i did put right.php and farmetest in your main dir and put your image in your image dir i tested it on coolfreepages.com tha'ts with the original code that mr.tech gave.
__________________
|
|
|
10th April 2003, 02:07 PM
|
#12
|
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
|
What you have to do is have your main pages in a directory. And in that same directory, you need to put an images directory.
Understand?
|
|
|
11th April 2003, 09:13 AM
|
#14
|
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
|
Just about correct! Change $imagedir to images.
|
|
|
11th April 2003, 09:20 AM
|
#15
|
Join Date: Apr 2003
Posts: 20
Points: 0.00
|
|
|
|
11th April 2003, 09:36 AM
|
#16
|
Join Date: Apr 2003
Posts: 20
Points: 0.00
|
hey. one question. now, this has to do with the text. the text creates its own table right? but its just a blank table. the code i used before i put your code in for a grey background in a table was <td width="90" class="td.rowpic" nowrap="nowrap">, now, when i put that in the right frame, it doesnt do anything, yet when i put <span class="gensmall"> it shrinks the text. is there a way i could center the text and the picture? ive tried to put <center> tags in the right frame, and that doesnt work. and last, as soon as the page loads, in the table it says file not found. is there a way i could have my own info in that page with out changing the error message? once again, thanks so much!
cheers.
|
|
|
11th April 2003, 09:45 AM
|
#17
|
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
|
You need to edit this table:
Code:
<table border="0" width="100%">
<tr>
<td><img src="<?php echo "$imagedir/$HTTP_GET_VARS[image]"; ?>" border="0"></td>
</tr>
<tr>
<td><?php echo "$HTTP_GET_VARS[text]"; ?></td>
</tr>
</table>
You'll have to add you class="whatevers" there etc.
:cheesygr:
|
|
|
12th April 2003, 09:41 AM
|
#18
|
Join Date: Apr 2003
Posts: 20
Points: 0.00
|
yeah, thats what i thought. i added span class in there too and it turns out that i had to move <td class="blah blah"> infront of span. any ways, ive got it all figured out except for one thing. when the page first loads, it displays the error message. is there a way i could have info in there as a default message? cheers.
|
|
|
14th April 2003, 08:47 AM
|
#19
|
Join Date: Dec 2004
Location: Gold Coast, Australia
Posts: 2,166
Points: 1,025.61
|
Quote:
Change or delete this:
Code:
echo "File Not Found";
|
That's all.
Don't understand your second questions though....
|
|
|
24th April 2003, 10:28 AM
|
#20
|
Join Date: Jan 2003
Posts: 374
Points: 0.00
|
::ignore::
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
| Useful Resources |
| Webmaster Resources |
| |
| Developers Tools |
| |
| Developer Tutorials |
| |
|
All times are GMT +10. The time now is 09:47 AM.
|
|