|
Try opensourcecms(s).com
but I strongly recommend using some other CMS then PHP-Nuke. It is complete rubbish, full of security hols and crapy code all mixed up with HTML.
Use Joomla or xoops or typo3 or just about anything else.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
CWIZO wrote: but I strongly recommend using some other CMS then PHP-Nuke. It is complete rubbish, full of security hols and crapy code all mixed up with HTML
Don't worry, I will not use phpnuke... I have my CMS, and I plan sell to a lot of companies here what have got phpnuke. Then I need "collect" a lot of stuff against
regards
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16)
|
|
|
|
|
|
Perfect, Paul. Thank you very much
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16)
|
|
|
|
|
Hi!
I have a cuestion?, is possible use the windows api functions in javascripts?, in javascript there a function called "new ActiveXObject" to make references to special objects how xml, filesystemobject, etc.
I want create hta files programmed in javascript, but with windows functions how windows effects, etc, there some way??, thanks for your replys.
Cuando salga el sol, no estare aqui...
|
|
|
|
|
You can use ActiveX objects, you can't just call any Windows APIs, they are different to ActiveX controls.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi
My client has asked me to knock up the ubiquitous Guest Book for his site. I tried to disuade him, saying that they are a hunting ground for spammers / scammers etc, but he insists, and he is paying my wages. He wants me to filter 'bad' words. I asked him for a list and he smiled. So...two questions - one I've seen here before but no decent answer - does anybody know of a good 'bad word list' (oxymoron?). And secondly, more importantly, does anybody know of a good way of checking for character substitution (or has some body done it before and "plz give me the codes man").
So, imagine the word Microsoft is classed as a bad word
I want to filter out
Microsoft
M1crosoft
Micro5oft
Micr0soft
M1cr05oft
I think you can see where this is going. I know I can subst the 'i' for a 1 or an l and check, the o for a 0 and check, but this is expensive. Thinking about it, whilst knocking up this post, I suppose regex is the best way, so check for the non-subsitutable chars - M,c,r,f,t. Just need to learn RegExp now for something like M[1li]cr[0o][5s][0o]ft. Is that sort of thing possible in a regex statement?
Any help much appreciated.
|
|
|
|
|
It most certainly is what regex is great at. There's a program called Expresso, which is on this site, and which is great for knocking up regex. But, it's a losing battle, if people want to swear, they'll find things that get past your filter.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
you pretty much have the regEx there. I would recommend having a central array of all the characters that substitute each other and then see if one was used in the statement.
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
If he wants to filter bad words to stop others reading them on his guestbook then I advise a human moderation (with a hook into Akismet[^] for spam) system before a message is made public. "bad word" filtering is too simplistic and ends in false positives (or positive negatives or whatever the right term is.)
regards,
Paul Watson
Ireland & South Africa
Shog9 wrote: I don't see it happening, at least not until it becomes pointless.
|
|
|
|
|
Hi,
I am developing a Windows app that needs to talk to a server, to retrieve some information.
The server will run SQL Server, which I need to query, presumably through a stored procedure.
How do you recommend I talk to the server, directly from the client application?
It is slightly difficult, because its a client application, and not a web application that would have a backend on the server.
All I need to do is say "Hello server, give me the number at x in table y."
I'm presuming a 'web service', but is there possibly an easier way through IIS, somehow? Or maybe a Windows Service?
Regards,
Cormac Redmond
|
|
|
|
|
Gove the IP address of the SQLServer in your connection string and query it as usual.... or have I misunderstood your problem?
Fred
|
|
|
|
|
Hi toghether:
I have a problem with attachEvent function in javascript.
I use this function for document.body object for "onfocus" event.
document.body.attachEvent("onfocus", myFunction);
in my page i have a DIV tag.
when I click on out of div this function work appropriate, but on the div this function does not work.
|
|
|
|
|
the onfocus event does not bubble. See the Documentation[^]. You will have to attach to the DIVs event also.
Wout Louwers
|
|
|
|
|
i have a problem with select statement.
my code look like
<% set con=server.CreateObject("ADODB.Connection")
con.Provider="Microsoft.Jet.OLEDB.4.0"
con.Open server.MapPath ("careers.mdb")
set rs=server.CreateObject("ADODB.Recordset")
dim passvalue
passvalue=request.QueryString("news") //this value is getting properly as the next line
response.write(passvalue)
rs.Open "select * from news where index=passvalue",con //if iam usin select * from news only igot enitere value correctly. but i need to fetch the value corresponding to passvalue
%>
<
<% do until rs.EOF%>
dim news
<%Response.Write(rs(2))%>
<%rs.MoveNext%>
<%loop
pls help me urgent
vinss
|
|
|
|
|
wrote: rs.Open "select * from news where index=passvalue",con
How about:
rs.Open "select * from news where index=" & passvalue,con
(assuming the string passvalue represents a numeric value)
Fred
|
|
|
|
|
If i used the Try..Catch..Finally..End Try in my asp.net, how do i display the error that may occur in the process
t.aransiola
|
|
|
|
|
eg:
try
'
catch ex as exception
litEx.Text = ex.Message
end try
...
<asp:Literal runat="server" id="litEx" />
fred
|
|
|
|
|
aransiola wrote: If i used the Try..Catch..Finally..End Try in my asp.net, how do i display the error that may occur in the process
You shouldn't display it. It gives potentially dangerous information to people who might want to attack your site. You should log it and display a generic message that doesn't mean anything. If you need people to report what they were doing when an error occurred, generate a GUID to put on the generic message and attach it to the log entry for the actual error.
|
|
|
|
|
Dim SQLString As String = "select * from myTable where ProductID='" & txtProduct.text.trim & "'"
txtproduct is a textbox in my form
ProductID is a Character Field in myTable
Anytime i entered a numeric value in the textfield, the query works fine without any problem
but if i entered alphanumeric value in teh textbox like A1000, it throws the error
"Input string not in the correct format"
any help will be appreciated
t.aransiola
|
|
|
|
|
IS the SQL column an integer by any chance?
Brad
Australian
-CAUTION-
The previous statement may contain traces of PHP, and by reading this statement you negate the right to vote me down.
|
|
|
|
|
can i use history object like this in javascript
window.history.go('http://www.google.com')
becoz syntax in tutorial is
"
The go() method loads a specific page in the history list.
Syntax
history.go(number|URL)
"
Chohan
Chohan
|
|
|
|
|
You can use both. See here.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
here is my code but only "window.history.go(-1)" works. on onclick event of button.
Note:when i posted msg onclick replace with removed.so insted of removed here is onclick in code
function gone()
{
window.history.go(-1)
//window.history.go('http://www.google.com')
//Go to nearest URL in history list with "javascriptkit.com" in the URL.
}
Chohan
|
|
|
|
|
Is there more than one page in your history?
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|