galexcd
Jul 15 2006, 05:39 PM
ok, ive got a chat that I made from scratch in flash. Its actually pretty damn cool! I just coded it so bbcode is allowed, but ive got a sligt problem. if sobody dosnt close a tag, then the tag stays active for the following messges.  , so i thout, why not add the end of every tag, at the end of every message example: CODE [/b][/u][/i][/url][/color] but then i relized, flash's html encoding is very propor, and all tags must be closed in the order that they were opened! CODE [b][u]text[/u][/b] << works [b][u]text[/b][/u] << dosn't work AND if sombody opens the same tag twice, the tag must be closed twice! CODE [b][b]text[/b][/b] << works [b][b]text[/b] << dosn't work I need a php script that can take a string, and add close tags to every line, in the same order they were opend. I was thinking of how to approach this, but i just can't come up with a script. Any ideas? Thanks! edit: put code in code tags
Reply
galexcd
Jul 16 2006, 05:59 PM
This post was offering hosting credits for helping me write the code, but i have recently found out that you must be hosted to transfer hosting credits. But i still really need this code or anything that can help me! Any input would help as well!!! Thanks!!
Reply
Similar Topics
Keywords : script, close, bbcode, tags, php, write
- Php Guest Online Script
(1)
Phpizabi Social Network Script
(1) Hello everyone not been on for AGES! we had net problems and i had to move to qupis and now
I've got problems. I'm making a social networking site using this script and I cant get it
to install Everytime I go to the install page i get this QUOTE Warning: session_start() :
open_basedir restriction in effect. File(/home/kasiks1/tmp) is not within the allowed path(s):
(/home/karlos:/usr/lib/php:/usr/local/lib/php:/tmp) in
/home/karlos/public_html/phpazi/install/index.php on line 1 Fatal error: session_start() : Failed
to initialize storage module: file....
How To Make A View New Post Script?
(5) Ok so i'm still working on the forum software i posted about a while back, but I have no idea
how to do this. I want to make a view new post script, as this is one of the main things that my
forum software dose not have that all other forums have. so does any body have an idea on how i
would do this? Thanks.....
Weird Write Problem
(3) Any ideas whats up with this error? It just started appearing now. ....
Guessing Php Script
(0) I am looking for: freeware php quess the person in the photo game script....
Webmail Server Script
(2) Hi Guys! A friend of mine came to me asking me to help him write code for his server so that
his clients can go on his site and create a webmail account. I told him I'm not a programmer but
I googled the subject. I ran into SquirrelMail and was impressed with what it could do. Going
through the documentation I saw this QUOTE There are only two requirements for SquirrelMail:
A web server with PHP installed. PHP needs to be at least 4.1.0. Access to an IMAP server which
supports IMAP 4 rev 1. I have php5 running on my XPproSP3 but I don't know....
How Do I Close My Hosting Account?
(1) I would like to close my hosting account because I am moving to a new paid host but I am unsure how
to close the account so that if I need to in the future I can open it without having negative
credits. (I realize that all my info from my site will be wiped and if I reopen it will be from
scratch and Ill probably need to get the 30 creds again and what not)....
Learn Html, Css, C And C++ Online For Free
Wanna learn to write programs and/or make websites? You can do it fre (12) Have you ever used an application or played a game and thought, "If you could only..." or "If I knew
how I would add..." but didn't know where to start? I did and decided to do a lil research. I
came across a site with great tutorials. There are many ranging from beginner all the way to
advanced. After each tutorial there is a test to practice what you just learned. I dunno if I am
allowed to post the url to these sites here due to spam filters but I will say that if you search
for "c programming" in any major search engine it should be the first link (after the....
Beat Finder That Fills In Mp3 Tags
(0) Does anyone know if there is something out there that will 'find beats' for music (MP3, AAC
etc) and write the values to the tags? I was thinking something iTunes plugin, or possibly another
app. I run OS X tiger, on a macbook (intel processor) I could go and use my metronome, but when
i've got a music library of 2200+ it would be very time consuming....
Do You Close The Javascript?
about browser's secruity (3) hi folks i'm learning that the javascript and cookies sometimes leak your real ip and actions on
surf , some expert advice me close javascript ,stop the function of my opera and IE. so i did.then
everytime i log into a forum i need opend it manually so i can log in. /sad.gif"
style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> and lots of website's using
javascript as a necessary then i opened it manually..oh my life got boring. /dry.gif"
style="vertical-align:middle" emoid=" how your guys doing with that? is it really necessary or
not? bt....
Need Help Installing Dolphin Community Script!
(5) I'm not sure if this is the right place to post this but I really need help in installing the
dolphin community script. I have absolutely no previous experience of scripts or programming. I
would really appreciate if someone could walk me through it step-by-step, or even do it for me by
logging into my cpanel. I have tried to install it my self but I'm a little confused. I'm
sure it won't take very long at all for someone who has done this before.....
Loaing Script
(3) hello, I'm looking for a preloader script for my site. like it will display an loading
image while the site is loading and the once the page has loaded the image will disapear. i tryed
searching for one on google but i could not find one, i think i searched for the worng thing. if
some one knows how to make one or where i can find one that would be great. Thanks....
Invite Script..
(2) I didn't know where else to put it /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" /> If moderators find another forum more suitable plz move this one
/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> I am looking
for some sort of sript or program that let's people on your website invite friends. Like they
put in their Emailadress and mails are send to everyone in their list.. I hope someone can help me
/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Greetzz....
Background Image Swap Script
Change a Background Image based on clock time (15) Background Image Changer Script To swap the background image from your CSS file according to the
Server Clock Time. 1.) In your CSS file, add the following rule: CODE body {
background: url(time.png); } 2.) Create a "folder" named time.png. 3.) Into the
folder, place three images named morning.png, day.png, night.png. 4.) Also, in the same folder,
create an index.php file and copy/paste the following script. CODE <?php $hour =
date('H'); if ($hour < 12 ) { $image =
"morning.png"; } ....
Html Code Tester. Online Script
(15) Yes, yes. I have another script that I have written and I am distributing. I am not entirely sure if
this works. I have not tested it yet, but I will later and post back with a demo and fix it up.
Current script: CODE <?php //Save this as something like htmltest.php function
CheckForm() { $html_unsafe=$_POST['code']; //Gives us our user
input $html_safe=str_replace("<?php"," ",$html_unsafe);
//Starts security measures $html_safe=str_replace("?>","
",$html_sa....
Jsp Or Java Chat Script Like Mig33
(4) so most of you guys know mig33. its a wap application,probaly java.most kindly to be java. does
anyone have java knowlege or knows where i can get a chat script like mig33? i also know this server
supports jsp so im planing to use it for my application. i was hosted here last year but moved
because i found a better host. now im back just to use the jsp on this server. Im planing to run
chat applictions so if any one wants to help me in my project let me know.....
Javascript : No Right Click Script !@
This script will allow you to protect your source coad ! (12) This script will help you to protect your source code Add this to Section of your site
! HTML <script language=JavaScript> var message="Function Disabled!";
/////////////////////////////////// function clickIE4(){ if
(event.button==2){ alert(message); return false; } } function
clickNS4(e){ if
(document.layers||document.getElementById&&!document.all){ if
(e.which==2||e.which==3){ alert(message); return false; } } }
if (docume....
Free Myspace Script?!?
I didn't know that was possible . . . . (3) I was looking for scripts to put on my website one day, and it turned up this!
http://www.phpizabi.net/ It's a free open-source script, and it has most of the qualities of
myspace.com! And best of all, you can mend it the way you want! I might use it, but on one
of my subdomains . . . . My friend already tried it out, he said it works fine! His website is
under construction right now, but I'll give you the link to it when he's done . . .....
Watermark Your Image With Simple Php Script
found it on the net (34) This script was found on the net http://tips-scripts.com/?tip=watermark#tip B&T's Tips &
Scripts site. Just in case the site may not show, I will include the code here: List of things
needed: 1. your image in any format 2. watermark image--in gif format with transparent background 3.
script below with name (i.e. watermark.php) CODE <?php // this script creates a watermarked
image from an image file - can be a .jpg .gif or .png file // where watermark.gif is a mostly
transparent gif image with the watermark - goes in the same directory as this script // ....
Rap Lyrics
Can somebody write me some? plz..! (11) Ok I need someone to write me some rap lyrics. Basically what I want to say in the song is that i
love you, do you believe in destiny, that we'll be together, and kind of saying I'm not good
enough for you, you'll never be mine. Really hope someone can write me something with these
messages in. No not exactly like that but you know.. as I'm going to give it someone special to
me. Thanks.. /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /> /ph34r.gif'
border='0' style='vertical-align:middle' alt='ph34r.gif' /> Oh I forgot.. Please....
Javascript Close Window
Javascript close window (12) Hi does anyone have a code to close the browser window. This code needs to be used to close an
actual full sized window, not a pop-up window.....
Anyone Write Rap Lyrics?
(37) hry anyone here write rap lyrics? i made some beats and still making but i can't write lyrics
for u no what..... cany anyone write me like 2 or 3 verses? just wanna see if i can make it work
with my beats.......
I Wanted To Close My Account.
Is that possible? (7) I wanted to close my account, is there a way to do that? Thanks in advance for the help!....
Guestbook (cgi-script) Problems
Do u know much bout chmod and cgi-cripts? (1) Hi! I'd like to make a guestbook with a cgi-script I found at Lissa Explains it All .
There were instruction bout how to install this gbook: click here QUOTE Active Guestbook
Unzip the file, you'll find 4 separate files: guestbook.cgi mail.gif url.gif readme.txt 1.
Open guestbook.cgi in a plain text editor like notepad. Find out your path to perl from your Web
host, and change the first line to reflect that. The default setting, #!/usr/bin/perl, usually
works for most servers. If not, you can try #!/usr/local/bin/perl. Save your changes. ....
[help] Java Script: Window.open
Works with Firefox, not IE (8) CODE <HEAD> var popUpWin=0; function popUpWindow(URLStr) {
if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); }
popUpWin = open(URLStr, 'GunBound Tactics: Screenshots',
'width=820,height=550,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,top=90,left=90')
;; } </HEAD> <BODY> <a
href="javascript:popUpWindow('/f11/clipped.php');"><b>Clips&
#60;/b></a> This is a script for opening a new window. It works ....
Free Weather Feed Script
(1) If you are tired of providing your clients with weather feeds that take visitors off of their site
or slam their site with ads, I finally found one after searching for hours.
Here's a link to a
FREE php script that pulls the feed directly from any airport in the world to your site. It is easy
to customize and has simple, well documented installation instructions.
http://www.mattsscripts.co.uk/mweather.htm
hope you find it helpful... a good one for designers
to archive as you will most likely need it some day for a client.
Check out Matt's other free
scripts....
Toggle display in page script
(8) This is my very first script, before I knew what was out there. It works in IE 5 and up. Not sure
about netscape or mozilla. (I recently d/led mozilla and it's great for javascripts. Much less
typing.)
CODE <script language="javascript"> <!-- function
toggle(what){ if(document.all[what].style.display ==
"none"){ document.all[what].style.display = "block";
}else{ document.all[what].style.display = "none"; } }
//--> </sc....
Php Quiz Script
Make quizzes for your site. (20) Hello all, A little bit back I decided to make a quiz scriptjust out of no where lol. However it
doesnt do anything special but I am going to make an email mod for it so that it will email results
to your email address. So here is the basis of it. INSTRUCTIONS: Open a new page in your text
editor and paste in the following code. CODE <?php $qid = "Quiz ID-00"; ?>
<html> <head> <title><? echo "Gamers Pub $qid";
?></title> </head> <body> <p><h3><? echo "....
Java Script Drop Down Menu With Css
- a full code for a dynamic drop down (2) Introduction This is a code that I use to dynamically create the drop down menus. First, you have
to edit the following code and put it in your Javascript. Notice : /*** SET BUTTON'S FOLDER HERE
***/. Edit that to your folder. Also, the /*** SET BUTTONS' FILENAMES HERE ***/. This creates a
mouseover when the drop down is activated. Put all your onmouseover images under: oversources = new
array; and your onmouseout images under : upsources. Be sure to set your on and out images above
each other. CODE /*** SET BUTTON'S FOLDER HERE ***/ var buttonFold....
Could Someone Make A Php Script For Me?
Script to manage clans and players (3) Does someone know a script where you can 1. Add clans to a roster 2. Edit clans on a roster 3. Add
players too a clan 4. Edit players 5. Schedule matches 6. Add clan Leaders to manage their own clan
+ members 7. Add members to edit their own information And maybe some sort of scoreboard integrated
where you can put Wins, Draws and loses and that automaticly puts best clans on the top? If there
isnt such a script could someone create 1 for me? (its for a league ^^)....
Looking for script, close, bbcode, tags, php, write
|
|
Searching Video's for script, close, bbcode, tags, php, write
|
advertisement
|
|