hype
Jun 11 2005, 06:25 AM
| | I went to google it too and what I got is something like yours,
It gives me something like (/[^0-9]+/) or some else, also a javascipt, but what I dont understand is how do I combine javascript checker with php checker? I direct the form to the php checker but how do I direct it to both of them?
Another thing is how to restrict others not to insert html so as to prevent them from inserting html that will destroy the page like a drop database code.. |
Reply
Tyssen
Jun 11 2005, 06:57 AM
QUOTE(hype @ Jun 11 2005, 04:25 PM) It gives me something like (/[^0-9]+/) or some else
That's called a regular expression. I don't know much about regular expressions but if you Google it you should come up with something useful.
Reply
HmmZ
Jun 11 2005, 12:58 PM
The code i gave you should disable the use of ['s and ]'s, wich are the tags needed for html, people won't be able to insert html, because they will then show as plain text, you can't disable all characters used inside of html tags, as this would cause a great disability to your textarea..
Reply
hype
Jun 12 2005, 11:11 PM
I want to make like the forum where post are being filter and html tags will be change to . and show on the browser instead of the normal sign...
Reply
Recent Queries:--
php alter sql - 1032.72 hr back. (1)
Similar Topics
Keywords : alter, sql, table, php, file
- Linux/ Apache /mod_rewrite Issue
Error when accessing a file (4)
Firefox And Ie: Table Layouts Look Different In Us!
A Discussion on Why These Major Browsers Display Different Table Layou (4) Hi again! Recently I noticed that IE and FireFox display table layouts in different ways. It is
a headache for web designer to add some compatibility for the issue. Currently I have some
problems using tables in my website. For example FireFox adds 3-4 pixels to my table width where IE
display is clean. I use some CSS mixed with HTML normal tables and want to customize my PmWiki
theme to integrate it with the rest of my website. I appreciate any help. Thank you.....
Copy A File And Rename It With Increment If Exist
in VBScript (5) Hi all. I want to make a VBScript wich does the following: Copy a file like test.txt if test.txt
already exists then name it test1.txt and so on until i have xxx number of files. If someone could
help me or post a script I would be happy xD Thanks, ....
How To Create Pdf Files Using Free Tool
Introduction to use a free tool to create PDF file (0) Now, that you don't need to have expensive software like Acrobat to create PDF. All you need is
Microsoft Office and a software name doPDF. You can download the freeware from
http://www.dopdf.com/download.php After downloading dopdf.exe, follow the instruction below 1.
Double click to install it, as display at image 1.jpg, choose a language and click OK 2. You will
see 2.jpg click next 3. Click I accept the agreement see 3.jpg, click next 4. Now you will see
4.jpg, select the folder to install it and click next 5. When seeing 5.jpg, This is the folder group
in Star....
How To Extract The Audio From Youtube Videos
get an mp3 file from youtube (6) How To Extract The Audio From YouTube Videos This lovely simple tutorial will tell you how
to extract the audio from YouTube videos. Obviously , I am not in any way advocating that you take
copyrighted music that is available illegally in video-form on YouTube and extract the audio from
those videos rather than going down to HMV and buying the music. In this tutorial I will be using
the following video: http://uk.youtube.com/watch?v=gUhhRc5eWNw Firstly, you download the video,
which is simple. Just go to www.downloadyoutubevideos.com and paste the video....
File Sharing Hosts!
Totally Free (0) Here, are some web-sites that allow you to save files on their servers. And there an opportunity to
earn cash as well, as someone will download your files: QUOTE 1. www.netload.in 2.
www.uploaded.to 3. www.depositfiles.com 4. www.rapidshare.com 5. www.ziddu.com 6.
www.vip-file.com 7. www.sms-files.net 8. www.letitbit.net 9. www.eazyupload.net ....
File Sharing Hosts!
You can make money over here (11) Hello, guys! I found several web-sites which pay you for downloads of your files. It was
approved on other forums that are paying defenitely; they are not scam projects. Here, they are: 1.
www.depositfiles.com 2. www.letitbit.com 3. www.vip-file.com 4. www.upload.com 5. www.smsfiles.net
There are more information on their official web-sites. To know more about it, please visit them.
But, if you have questions, I may answer them.....
Internal File Transfer
(5) Is there some kind of file transfer utility that can be used within the intranet for file
transfers..? We have so much need for such an utility here in my work place.... The problem with
what we are using is very big... we are basically using skype in my workplace and the problem with
that is it happens with the internet... So whenever i transfer files via skype it occupies the
bandwidth.... which is very bad since we have a limited bandwidth connection. So... What i require
is a utility where the transfer happens within the network and not via the internet. So... if ....
Free Software For File Recovery
RECUVA (6) Hi all, I was loking for a software to recover my lost files and I found this /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> And the best part is ,
its free Recuva - File Recovery Recuva (pronounced "recover") is a freeware Windows utility to
restore files that have been accidentally deleted from your computer. This includes files emptied
from the Recycle bin as well as images and other files that have been deleted by user error from
digital camera memory cards or MP3 players. It will even bring back files that have been d....
Where Is The Bookmarks File Stored With Ff2?
(6) My bookmarks are critical and lengthy. I'd like to save them to a flash drive, since my laptop
is ancient and it's been acting up lately. I went into the FireFox folder, but couldn't find
the bookmarks info anywhere. there's a bookmarks.html page, but it doesn't contain the
actual bookmarks. Where does FF2 store the bookmarks? Or is there an easier way to copy and paste
the bookmarks to another file? /huh.gif" style="vertical-align:middle" emoid=":huh:" border="0"
alt="huh.gif" /> 2 poor 4 a sig ....
Debug Exe Files
How to debug an exe file. (4) Think that we have written a program, and some codes are wrong. We can go back to compiler and
change the code, and compile again. But I will show you how to correct our mistakes without using
the compiler. Let's start: I have written a program in Delphi. Let's see my mistake. I
have created a form like this. After this I wrote the codes in the Compare Button click as
below. CODE 1. procedure TForm1.ComparebuttonClick(Sender: TObject); 2. var
3. a,b:integer; 4. begin 5. a := StrToInt(EditA.Text); 6. b :....
A Good File Explorer For Windows Xp?
what's a better alternative to explorer (6) Hi, although it has some useful features and it's (i'd hope so...) well integrated with the
shell, the file explorer that comes with windows xp is not the best we can ask for... so I've
always tried to use various other pieces of softwares randomly found on the net whenever I've
had to intensively work on my file directory... still I haven't found a very good one, all
those I tried have some kind of bug or they are not really user friendly in some occasions... would
anyone suggest a good FREEWARE file explorer? thanks /wink.gif" style="vertical-al....
Defraggler - Free Software To Defrag Your File
Try it out (15) Have you all hear a software called Defraggler? Well if not, I recommend you to download this
software. What does it do? Simple, it'll quickly defrag files you want to defrag, no need to
defrag the whole drive. Useful if you have less fragmented file and if you hate Windows's
original defragger. And it's free! OS Supported and filesystem supported? All Windows 2000
or higher (it'll be Windows 2000, 2003, XP and Vista. 64-bit support too) It support NFTS and
FAT32 Requirement? Well not much, the EXE file even smaller than 1 MB (dont judge the power ....
Question Regarding File Transfer!
FILE TRANSFER (4) Hi friends, I am looking for a secure and robust file transfer web service. I am handling a sales
force which is stationed at different locations and is frequently moving. They need to upload there
activity reports frequently to our servers. So I am looking for an easy to use secure and robust
file transfer web service which can be used by my sales force for their needs. Thanks & Warm
Regards. ....
Open Any Unknown File Type With Notepad
Make Notepad as default file opener (1) Open Any Unknown File with Notepad
************************************************************************ DISCLAIMER: The
following contains registry edits. If done improperly can cause strange behaviour, and at worst,
could even entirely corrupt your Windows Installation, requiring you to reinstall Windows. I cannot
be held for any damage you may cause to your system as a result of taking any action suggested in
the following article. ************************************************************************
Target OS: Windows XP Introduction....
Need To Shrink The File Size Of Web Image? - Photoshop Tricks
(3) QUOTE NEED TO SHRINK THE FILE SIZE? USE TRANSPARENCY Want a killer tip for squeezing even
more size out of your GIF Web images? Make something transparent. That's right, if you can pick
an area of your image to make transparent, your file size will drop like a rock. For example, if
you're putting a logo over a white background and you can make the white area around the logo
transparent, your file size will be significantly smaller. The transparent areas are virtually
ignored when determining file size, because, after all, there's nothing there. ....
Read File (.txt) On Another Website Using Jsp?
(3) in my jsp program,i need to read a file (.txt) on another website,how can i do this? thanks a lot.
shorten title ....
A Trap17 How-to Guide For Beginners
Something for those who can't get enough of the Trap17 Readme file (12) I am not entirely sure if this the right place to post about this, but here goes anyway... For
those who find themselves slightly (or considerably more than slightly) clueless about where to get
started after getting a hosting account, here is an user guide that might potentially help you
out. I wrote it out of three hours, so forgive me if it's clumsy, but I'm hoping that a few
people here may find it useful. Feedback is greatly appreciated /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I'm planning to build on
a FAQ....
Wmp (windows Media Photo) - The New Image File Format From Microsoft
windows media photo WMP - could replace JPGs and GIFs? (33) Microsoft have decided to come up with a new image format to add to the common JPGs, GIFs and PNGs
of today. It is to be called Windows Media Photo format or WMP for short. It is said to
"Surpass the limitations of existing file formats" and here is what it'll offer: Numerous
colour formats for printing and displaying High-quality lossy or even lossless compression
Really efficient decoding for numerous resolutions For more features, visit
http://www.microsoft.com/whdc/xps/wmphoto.mspx Presumeably, the JPEG2000 format or JP2 was
....
How To Open A .daa File
(39) Hi there, How do i have to open a file with extension .daa Somebody told me to copy it on cd and to
run it from cd rom but i got the same problems. What dp i need to do to ppen the file? Thanks....
Linux Question: Amarok And File Permissions
please help, i can't get it to work with all music files (4) hey, i use to use Linux DC++ to download music from some hubs and i usually download it to
/home/downloads/ and then i move the files to my collection on another HDD a sata one, on
sda3/music/ but when i move the files using krushader root mode they become posessed by root and
amarok can't play them displaying a locker on the file's icon. I tried to " chmod 774 music
", where music is my music directory, as root in konsole but no luck. What should i do to make a
whole directory accessible from amarok as user?....
How To Put Music In The Background Of A Powerpoint Presentation
without having the viewer download the music file (11) Well, i made this power poit presentation in memory of my grandfather as many of you kno, passed
away exactly a week ago....and i am trying to get this song to play as background music..and i did,
but there is one humongus problem... in order for the people who are viewing it to hear the
background music they have to download the music file as well ad the powerpoint presentation, which
on my DSL conntection taked almost 2 minutes, and i could just imagine what it will be for a dial-up
user (my grandma who wants to see it)... Some people may say, its impossible, but i kn....
Simple C File Handling In Action
Small code snipet which covers most of basic file handling and navigat (4) Yesterday I suddenly got a lot of work. The same work we try to push off, yes you are right all
formalities to get the code review incorporated and update all source code files with code review
headers. Imagine if you need to open 300 files one by one and append code review headers at the
end. Since most files are reviewed in groups of 20 to 30 files. We require one header to be placed
in say 20 to 30 files. To simplify I went back to my class assignment days and wrote this small c
utility to open all files passed on command line and open attach code review headers an....
Adding Rows & Columns In Html Table Using Javascript
(1) I'm trying to create a website with a form that collects some user information to store in MySQL
database. However, I've a problem when I want to dynamically add new rows and columns in the
HTML table so that the user can add more information in the dynamically added textboxes. Here's
what I have: CODE <table border="0" width="90%"
align="center" id="itemsTable"> <tr>
<td width="20%"> Quantity
<....
Ie Table Width In A Div Tag
Table expands past screen at 100% (5) Hey everyone. I have been designing websites for a long time but i have recently decided to tryout
the DIV layout technique instead of just using good old tables. However, this is the biggest problem
i have come across. So I have a page where i need to have a table to display a whole bunch of
details on armor in a game since the site is for players of final fantasy. However, when i do
width="100%" so that the table expands the whole way to the side of the div so it looks the best it
now will go past the edge and off the screen at 100%. Below is most of the code. Please h....
My Review Of Megaupload.com
File Sharing Service (25) I'm sure most of you have heard of Megaupload, a service which enables you to upload your files
to their server and share it with other people for free. I use such services so that I can share
unlicensed manga through my site. Well, here's my review, and a bit of a rant at the end...
/happy.gif' border='0' style='vertical-align:middle' alt='happy.gif' /> UPLOAD: 9/10 It's so
easy! All you have to do is click on the browse button and choose the file you want to upload.
Then, fill up the other options in the bottom when necessary. Send it and watch it ....
Transfer File Of Any Size Using Winsock Control
Winsock Help (5) This tutorial shows how to transfer file of any size using winsock control. - Open VB; - Select
standard exe; - Press Ctrl + t to show the add component window; - Select winsock control and
microsoft common dialog; - Add one winsock control in the project; - Name it winsock1; - If you want
to add chat then add another winsock and name it winsock2; - Insert another winsock object if you
want to add chat also; - Add a microsoft common dialog box; - Name it cd; - We will use this
winsock1 object to transfer the file and winsock2 for chat; ------------- The basic idea : ....
Import From Excel File Into Mysql Database
(11) Has anyone tried using the excel import function that comes with phpmyadmin
http://www.phpmyadmin.net/home_page/ - it does not require any additional plug-ins or scripts and
is fairly straightforward to use. In phpmyadmin, if you click on the database table which you wish
to import the data to , there is a link on the bottom left corner which says "insert data from a
text file into the table" - although it says text file it still can be used to import an excel file.
When you click on this link you will be taken to a page where you will be asked for the file name
(the....
My File Manager Is Working
(2) I tried to change the html for my site in file manager but it just has the default page - the one
when you activate your site. /sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' />
How do i change files?....
How To: Change Your Website's Index File
a simple trick using .htaccess (24) How To: Change Your Website's Index File a simple trick using the .htaccess file A simple
tutorial which only involves editing one little file. Useful for those of us who have mime-typed
extensions or who are creating lots of test design files and want an easy way to make the design
they like best their default file. Create a file called .htaccess in the /public_html/ folder if
you don't have it. I think one should be there already when you get your site so if it isn't
you should create it anyway! In the file write the following: CODE Di....
Looking for alter, sql, table, php, file
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for alter, sql, table, php, file
*MORE FROM TRAP17.COM*
|
advertisement
|
|