Jump to content

Some Php Questions


Memor-X
 Share

Recommended Posts

i've been doing a full workover on my site, it's completly PHP based so i just need to have these questions answered to help me make sure it's going to work when i update the old pages with the new onesQuestion 1: i have created a system that randomly selects a set of banner images, i have learned that <meta> tags a search engine crawler reads will also look in the alt property of an image, will the crawler read the alt property in the <img> when it's printed out like thisprint "<img src='$imagepath/title-1.png' width=157 height=215 alt='Anime'>\n"Question 2: i created a system that pulls out news posts that are made on my site's forum buy getting the post's relevant data from my site's database, i won't go over the details but from work that i've done with PHP i learned that when you put HTML tags into a database and pull them out, store them in a varible then print them out, the HTML tag still works, however, when i put html tags into a post, in theory the html tags should work normaly when i pull the text out of the database and print it on the main site however the text isn't tages and you can see where the start and end tags are places, if that make sense, the forum i use is a PHPBB Version 3.0.RC1Question 3: on some sites i've been to you can get an image created depending on what you typed in and which options you selected and sometimes data is pulled out of somewhere,a prime example is the Playstation Network's Protible ID you can gte where you select you mood, your favorite game and what kind of skin you want and the image created contains your Online ID, Your Avatar, your mood, favorite game, the skin and also data on how many trophies you have obtained, i was wondering if this can be done in PHP, if so, does anyone know where i can find material on createing a system like it (since i don't know what the system is esactly i can't really google search it), if not, what language is it done by, will it still work in a .php page (or will php still work in it's native page format) and where i can find material on createing it

Link to comment
Share on other sites

1. Yes, the Bots will read that alt = information, so make it work for you by adding meaningful information.2. Most Forums do not allow the html inside a posting to be treated as html. They treat it as "text". see the html_entities function in php.3. Most likely uses the GD Library of php statements. imagecreate, etc. Start here: http://ca.php.net/imagecreate

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...