473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Array Issue

Hello

Not sure whom to ask this question - but thought will ask anyway. I have friends who are members of a blog site. Users read the blogs and post their comments- Unfortunately someone enters the blog site and leaves a comment called 'Array" and leaves.

The moment this person does that - all the other comments are hidden and no one, even the author of the blog can view them. Is there a way to bring back the comments so that they can be viewed.

Will appreciate someone's help in this.

Thanks.
Aug 28 '09 #1
5 1748
JosAH
11,448 Expert 8TB
@Konfused
Those blog entries are stored in some form of a database; check the database and see what that malicious blogger put in that particular entry. I'm sure it isn't juist the word 'Array'. btw, that is quite fragile blog software.

kind regards,

Jos
Aug 28 '09 #2
Thank you Jos for your quick response- really appreciate it - unfortunately we are just users of the blog so we have no acces to the database - I believe the person Array enters some code in the comments itself that seems to mess up things - we have written to the admin folks but nothing has happened. Thanks much anyway. Take care :) In the comments section people can paste codes that could also affect I am sure.
Aug 28 '09 #3
As per my understanding, this must be the work of some javascript code. The blog software must be showing text as it is. so if the malacious user is smart, then become smarter then him... lol... Whenever any comment is posted, then send it to any class to search for the pattern "<javascript" (case insensitive, use regular expression for smart searching). And if that pattern exists... then display a message to the user... "you bad boy... I am smarter than you. don't try to play with my blog software".

Just a suggestion. try and see if it works.
Best Regards,
Sumit Tyagi.
Sep 3 '09 #4
r035198x
13,262 8TB
@sumittyagi1234
Did you use a different account before?
Sep 3 '09 #5
Hi r035198x,

Its good to hear from you after a long time. How are you!

Please see my introduction for details:-

My Introduction.

Best regards,
Sumit Tyagi.
Sep 4 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Nico | last post by:
Hello folks, I am currently storing a set of objects inside an array, $itemlist = array(); $itemlist = new item("myitem"); //... and I am looking to develop a search function, which...
9
by: buda | last post by:
Hi, I've been wondering for a while now (and always forgot to ask :) what is the exact quote from the Standard that forbids the use of (&array) (when x >= number_of_columns) as stated in the FAQ...
29
by: shmartonak | last post by:
For maximum portability what should the type of an array index be? Can any integer type be used safely? Or should I only use an unsigned type? Or what? If I'm using pointers to access array...
4
by: Peter | last post by:
I run into this situation all the time and I'm wondering what is the most efficient way to handle this issue: I'll be pulling data out of a data source and want to load the data into an array so...
21
by: yeti349 | last post by:
Hi, I'm using the following code to retrieve data from an xml file and populate a javascript array. The data is then displayed in html table form. I would like to then be able to sort by each...
14
by: Shhnwz.a | last post by:
Hi, I am in confusion regarding jargons. When it is technically correct to say.. String or Character Array.in c. just give me your perspectives in this issue. Thanx in Advance.
272
by: Peter Olcott | last post by:
http://groups.google.com/group/comp.lang.c++/msg/a9092f0f6c9bf13a I think that the operator() member function does not work correctly, does anyone else know how to make a template for making two...
33
by: Zytan | last post by:
I want to make a zero element array. I know that Nothing is not the same as a zero element array, since I can't get the length of, or iterate through, an array = Nothing. I could make a zero...
17
by: =?Utf-8?B?U2hhcm9u?= | last post by:
Hi Gurus, I need to transfer a jagged array of byte by reference to unmanaged function, The unmanaged code should changed the values of the array, and when the unmanaged function returns I need...
5
by: ctj951 | last post by:
I have a very specific question about a language issue that I was hoping to get an answer to. If you allocate a structure that contains an array as a local variable inside a function and return...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.