PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Mon Dec 03, 2007 9:14 pm Reply with quote Back to top

I am trying to add an image to a "define" tag in a language file. I am trying to add it to the end of my TOS statement. How can I do this?

define("_YATOS1","Terms of Service, image here");
View user's profile Send private message
Gremmie
Moderator


Joined: Apr 06, 2006
Posts: 2368
Location: Iowa, USA

PostPosted: Mon Dec 03, 2007 9:46 pm Reply with quote Back to top

You have to add the complete HTML for the image.

Code:

define('_YATOS1', 'Terms of Service <img src="URL-goes-here" alt="My Image" />');


Notice I switched to single quotes on you so that the double quotes will work inside the img tag.
View user's profile Send private message
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Mon Dec 03, 2007 10:14 pm Reply with quote Back to top

Thanks Gremmie,

I have tried that but the image does not show up, just a square with a red X. In firefox it doesn't even show that.

Here is a cut out

Code:
 Failure to read AND understand ALL of the most basic instructions designed to help you help yourself may result in termination of your access/membership in OKC REIA.  Alternatively, you may sacrifice your grandmother, aunt or other available elderly female relative to be kicked in the head as a one-time reprieve from membership termination (see instructional video below). <br> <img src="images/KickGranny.gif" alt="Kick Granny" /> <br> Thanks for your cooperation.');


It is an animated gif, if that makes a difference. I have uploaded the file to the main images directory as well as the one in the module folder but no luck.

You can see it
Only registered users can see links on this board!
Get registered or login to the forums!
here.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2757

PostPosted: Mon Dec 03, 2007 10:19 pm Reply with quote Back to top

If that's the correct link, your image should appear when you go to
Only registered users can see links on this board!
Get registered or login to the forums!


You must not have uploaded to the correct directory or the filename is wrong (note that Unix servers are case-sensitive)
View user's profile Send private message Visit poster's website
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Tue Dec 04, 2007 5:55 am Reply with quote Back to top

resolved, thanks.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum