52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tunde011

Hello there. I have a website and I think it has been hacked this morning, using some sort of cross scripting. When I go on my site, reload a page or click a link, it opens a pop-up and shows ads. What to do? and how do i prevent this …

Web Development php
Member Avatar for Wraithmanilian
0
80
Member Avatar for jack jastin

Hello Everybody Can anyone tell me, What is Ruby basically? Thanks in advance.

Web Development ruby
Member Avatar for jack jastin
0
113
Member Avatar for leeZA1

If someone could help, that would be great.... Ok i want the data to be displayed together.... eg. 'week 1' displayed once then all the matches in a single table below, then prints 'week 2' follwed by the matches in the following table rather than continually stating 'week 1' and …

Web Development php
Member Avatar for diafol
0
218
Member Avatar for abhi10kumar

The below function is showing error in the [QUOTE]"'<script[^>]*?>.*? </script>'si", // Strip out javascript[/QUOTE] line. How I can remove ?? [CODE]function smfeed_html_to_text($string){ $search = array ( "'<script[^>]*?>.*? </script>'si", // Strip out javascript "'<[\/\!]*?[^<>]*?>'si", // Strip out html tags "'([\r\n])[\s]+'", // Strip out white space "'&(quot|#34);'i", // Replace html entities "'&(amp|#38);'i", …

Web Development html-amp php
Member Avatar for abhi10kumar
0
137
Member Avatar for YMCMb

Hey everyone, Im new to ASP.NET i have searched the web and i have come to a few threads which are close to what i am looking for, however they are only helpful to me to a certain extent. I have a grid in a form which is being populated …

Web Development asp.net
Member Avatar for YMCMb
0
203
Member Avatar for cliffcc
Member Avatar for Stefano Mtangoo
0
83
Member Avatar for mehran tahir

hi every body, i want to installed the modernbill on my localhost, i got this error in the installation phase, * You MUST have (SSL-enabled PHP cURL for faster secure remote API queries [you do not], or SSL-enabled CLI cURL for secure remote API queries [you do not]) [you do …

Web Development api php unix
Member Avatar for mehran tahir
0
152
Member Avatar for dalip_007

Hi guys. I run a social networking site based on php and mysql and i want to let the users to invite their gmail and yahoo address book contact to invite to my site using their email. Any idea about how can this be done? thanks

Web Development php
Member Avatar for dalip_007
0
103
Member Avatar for dr.4030

Hello, every google user must have seen how they show the Result pages like " Previous 1 2 3 4 Next ".Could someone tell how it can be done with php... many thanks.

Web Development php
Member Avatar for tomato.pgn
0
73
Member Avatar for kokfui

<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php require_once("includes/session.php"); ?> <?php find_selected_item(); ?> <?php include("includes/header.php"); ?> <?php if (isset($_POST['submit'])) { $top_up_cash = mysql_prep($_POST['top_up_cash']); $user_id = $_SESSION['user_id']; $result = mysql_query("SELECT * FROM users WHERE id='$user_id'"); while($row = mysql_fetch_array($result)) { $bidot_cash = $row['bidot_cash']; } $new_bidot_cash = $top_up_cash + $bidot_cash; $query= "UPDATE users SET …

Web Development php session
Member Avatar for diafol
0
135
Member Avatar for dr.4030

Hello every body, I created some pages for downloading files directly from my website But i have problem with adding download link in php tags so is there any body to tell me how i can make download link inside the php tags. i wrote some things like this : …

Web Development php
Member Avatar for diafol
0
107
Member Avatar for ggeoff

Hi I am using the PHP include statement to enable publication of a piece of news. The news is filed as "news.txt" and the user has access to a directory to upload the file or delete old news but no access to the code. If the file does not exist …

Web Development php
Member Avatar for diafol
0
211
Member Avatar for Awah Mohamed

hey people. i am asking if it is posible to check for the user status using php. i mean to know if the user if online or offline. i am trying to build a chatting system that alow me to know who is online and who is offline.

Web Development javascript php
Member Avatar for 84hd0ns
0
769
Member Avatar for ravi1991

[B]hi! i have installed tomcat newly on windows 7.i have got the following error in browser. Please help me out. thanks in advance. [/B] HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.IllegalStateException: …

Web Development apache java-jsp
Member Avatar for peter_budo
0
273
Member Avatar for amit.hak50

I have a website pdf search engine called <URL SNIPPED> I don't want to provide my search engine for backlink so ,please don't remove my post,I need some help.. what is happening is the when you type "C tutorials" in search box it creates two instances like "C tutorials" and …

Web Development pdf php
Member Avatar for evanism
0
152
Member Avatar for genzoman

I have an array of links that when clicked will show a corresponding hidden div element. Every link has it's own div. I'm trying to use an image to close each div as well (which isn't working yet). More importantly, when I click on the first and second links, two …

Member Avatar for Airshow
0
221
Member Avatar for debasishgang7

I am using a XXS filter function to filter unwanted code.Here is my function xxs.php [CODE]<?php function clean($data) { // Fix &entity\n; $data = str_replace(array('&amp;','&lt;','&gt;'), array('&amp;amp;','&amp;lt;','&amp;gt;'), $data); $data = preg_replace('/(&#*\w+)[\x00-\x20]+;/u', '$1;', $data); $data = preg_replace('/(&#x*[0-9A-F]+);*/iu', '$1;', $data); $data = html_entity_decode($data, ENT_COMPAT, 'UTF-8'); // Remove any attribute starting with "on" or …

Web Development php vbscript xml
Member Avatar for debasishgang7
0
1K
Member Avatar for azegurb

hi all, I cannot understand for what reason and how is used [B]call_user_func_array[/B] Can anyone explain me in a very simple manner what is [B]call_user_func_array[/B]? and with examples if possible Thanks in advance

Web Development php
Member Avatar for Kraai
0
170
Member Avatar for debasishgang7

I am trying to make a php Database Driven commenting script.I have to fetch comment and name from the Database according to page id.Suppose i have to fetch comments against the id 45.Then the "fetchcomment.php?id=45".It should fetch all the comments One by one Under the Page ???How to do this.The …

Web Development php
Member Avatar for debasishgang7
0
147
Member Avatar for slrobinson1983

hello all. heres my problem. i have a mysql database with 2 tables. the first table is called songs which contains records for all the songs on my site. its columns are song id and song title. the second table is called ratedsongs. its columns are song id (id of …

Web Development php
Member Avatar for diafol
0
77
Member Avatar for Sarama2030

i'm working on this project in asp.net in conjunction with vb.net.the thing is code behind is just not getting fired, well it used to but then it stopped. I'm using visual studio 2010 ultimate edition as my editor and of course IIS as my web server. I really don't get …

Member Avatar for Sarama2030
0
186
Member Avatar for meetmani017

hi i am looking for a new project of web development in ASP if anybody has a project can contact me on my email: [removed]

Web Development asp
Member Avatar for epathtrade
0
103
Member Avatar for sunny124

Hi guys, I am trying to display validation error messages when form validation fails. Currently it does display the error messages but then disappears straight away. How can I stop the page from refreshing when validation fails? I have return false in my code when validation fails but still having …

Member Avatar for sunny124
0
324
Member Avatar for newbiecoder

Hello I tried to make a contact form for my Flash website but when I upload it to my server it just doesn't work. Can you tell me what is wrong with my codes or doesn't it work because of a server-side problem? Here is my Actionscript code on Flash: …

Web Development actionscript flash php
Member Avatar for newbiecoder
0
276
Member Avatar for disposable_zero

OK I'm pretty green at this so do bear with me. What I want to do is have an area where people can upload files to me. I found a script that I'm trying to make work and I've almost got it there but I'm having an issue. Everything actually …

Web Development file-system php
Member Avatar for disposable_zero
0
112
Member Avatar for penguino138

So i'm transferring all the files from my mom's website and on a very important javascript file, I'm getting an unknown error on line 9. Here's the code: [CODE] /** * @package Kinetic Template - RocketTheme * @version 1.5.3 March 18, 2010 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) …

Web Development javascript legal
Member Avatar for penguino138
0
147
Member Avatar for thephpdev

I have no idea what's wrong, I googled but I couldn't find the answer :/ it's probably really obvious but i'm rather new to PSQL Statement: [CODE] INSERT INTO drop_users VALUES ('John_Bucky','John_Bucky','a83b3735814aa577651a55b7c838a6a0',02-04-2011_02:20:55,'object', DEFAULT,DEFAULT,13,DEFAULT,DEFAULT[/CODE] Thanks for your time! ~Josh

Web Development php postgresql
Member Avatar for thephpdev
0
93
Member Avatar for phpDave

Hey, header is working just fine in f.f but not in i.e. I.E. seems to clear the Query String up to index and redirect me to the index page. If I cancel out the header func. page seems to work . Here is some of the code. [CODE]if ($Result1) { …

Web Development php
Member Avatar for phpDave
0
115
Member Avatar for Buffalo101

Hello, I'm trying to understand a very simple example of using html + servlets using Eclipse EE. I have an [B]index.html [/B]: [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Ze title!</title> </head> <body> <form action="MyServlet" method = post> <input type= text name …

Web Development html-css javascript
Member Avatar for Airshow
0
111
Member Avatar for Tehim

I'm trying to make a ban system for my website with the following features: -Tell user reason for the ban -Tell user date it'll expire -Tell user date it was issued -Tell user who they where banned by -Auto perma if user has been banned a total of 3 times …

Web Development php
Member Avatar for MagicMedia
0
362
Member Avatar for altarek

hello I have checkbox to display the months .Is good in the insert form But in the update form I want the months that have been checked in the insert form ,have checked in the update form i used this code to dispaly check boc [CODE]<?php foreach ($months as $key …

Web Development php
Member Avatar for altarek
0
60
Member Avatar for youvi

hello, See "ABC4_HUMAN" is a database value.i need to search this value using a character say"A" or by a word say"ABC".But i need to check this value only in "ABC4" part of the value "ABC4_HUMAN". please provide me the query using "like" operator.. thanks

Web Development mysql php
Member Avatar for Stefano Mtangoo
0
100
Member Avatar for Bazzaah

Hello After some help please I have a website which links to a database. I would like to be able to echo the contents of the database onto a new page. The new page is generated with the following code; [CODE]echo '<tr><td align="left"><a href="word.php?w=' . $r['word'] . '">' . $r['word'] …

Web Development php
Member Avatar for Stefano Mtangoo
0
93
Member Avatar for professor123

can anyone help me, l have a laptop an a desktop and a crossover(network cable). l want to be able to connect the 2 and then use the laptop as a server from which l wil run my XAMPP AND THEN SET UP A PROJECT (e.g a website or any …

Web Development laptop php
Member Avatar for professor123
0
105
Member Avatar for karthik_ppts

i have connected an external device to my server. That device send some data through one port. Now how to read that data from port and store in mysql using php?

Web Development mysql php
Member Avatar for karthik_ppts
0
1K
Member Avatar for ebanbury

Hello HOw do I format the output of my prices/numbers using number_format () In the code below I have the dynamic field from a recordset which shows the price. Currently the numbers are as such for example: 100000 and I would like them to be displayed as 100,000 or 1,000,000 …

Web Development php
Member Avatar for ebanbury
0
138
Member Avatar for AndreRet

I have searched a million pages today, without any solutions. I can add images to MySql, Pull them from the database and show them successfully. My problem is that they are all in different width and height sizes. What I then tried to do is to set the size BEFORE …

Web Development image mysql php
Member Avatar for Kraai
0
1K
Member Avatar for bhavyajyothinat

i need to add a column in gridview.. the column should contain image of the person..and the name of the image is to be taken from database. eg: table:tbl_Details columns: Picture:ee.jpg Name:abcd Age:20 Address:"abc street" the picture ee.jpg is saved in a folder "Images" in the Website. could someone help …

Web Development asp.net c#
Member Avatar for abelLazm
0
2K
Member Avatar for eagled2

Hello. I am working on a permission system for a site I am creating. First I will explain what I am trying to do, then I will explain the problem I am having. I am saving the active permissions for a user at login. The permissions are saved in a …

Web Development php session
Member Avatar for eagled2
0
126
Member Avatar for cliffcc

How to cut and paste the folder? What is the code in php?

Web Development php
Member Avatar for cliffcc
0
1K
Member Avatar for markfw

Hi Is there a way that I can define read-only variable (Boolean, String, ...) in Javascript class? (I really don't want to use GET and SET method, basically defining them in Constructor, as every instance of my class wouldn't have the same SET and GET method) Maybe this would be …

Web Development javascript
Member Avatar for markfw
0
94
Member Avatar for rom.

hi there, I'm having trouble with my project, I can't wrap my head around the code. Any help would be greatly appreciated! in a database you have 2 tables. they look like the following.. table: workflow columns: id, title, content_id table: content columns: id, text list (echo) all the entries …

Web Development mysql php
Member Avatar for diafol
0
121
Member Avatar for chris.aaker

When working in a C IDE I can simply click on view disassembly to view the assembly code. Does PHP have an equivalent? It looks like Opcodes are as low - level as one can get but I wanted to verify. Secondly, What is a good IDE to view the …

Web Development assembly ide php seo
Member Avatar for chris.aaker
0
207
Member Avatar for raghujosh

I have a page on which I have 2 dropdowns. Both are similar. I have a piece of code that whill make a textbox appear if we select "list Box" as the option in the drop down. But for some reason, the first dropdown works fine, but for the second …

Web Development javascript
Member Avatar for raghujosh
0
2K
Member Avatar for joban.ali

Hi Everyone I just wanted to know how i can display the content of one of my database field in a list format. I have field called Ingredient, the data type of that field is Text, i tried using css but it just turns the whole content as 1 list, …

Web Development display php
Member Avatar for joban.ali
0
119
Member Avatar for rkayd

I'm new to javascript and need to know how to store variables in cookies so that I can later use them later in php code. Here is the basic javascript I want to use: [CODE] function alertSize() { var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == …

Web Development javascript
Member Avatar for rkayd
0
173
Member Avatar for ss90

Hi, i m the beginner for php.What happen to my coding ~ it cannot work~~ [CODE]require_once('../../../Connections/admin_db.php'); $submit = $_POST['Submit'] ; if ($submit == 'Submit') { $ag = $_POST['ag']; //Insert Data into Instructor Profile Info $q = "INSERT INTO user(`age`) VALUES ('$ag') " ; mysql_query($q) or die(mysql_error()) ; if (!mysql_error()) echo …

Web Development php
Member Avatar for ss90
0
101
Member Avatar for lf.gene

[ICODE]<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>PicNet Table Filter Demo</title> <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="picnet.table.filter.min.js"></script> <script type="text/javascript"> $(document).ready(function() { // Randomly Create Data Rows for (var i = 0; i < 50; i++) { var tr = $("<tr>" + "<td>Value" + Math.floor(Math.random() * 500) + "</td>" + "<td>" + Math.floor(Math.random() * …

Member Avatar for diafol
0
274
Member Avatar for w33n

Greetings, I was wondering if any of you could help solve this issue... I am using lightbox2 on a photo gallery page to display images. I also have flash files that I am displaying using another system called lightwindow. Both do generally the same thing (darken b/g of page and …

Web Development flash html-css javascript
0
141
Member Avatar for ss90

hi,i am facing problem about when i choose more than 2 selected data from the multiple drop-down list ,there onli have 1 data successfully insert into database. [CODE]if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO c_register (id, c_code, c_name, p_name, inctructor_name, c_category, c_group, c_credit_h, c_total_learning_h, c_pre_requirement, c_synopsis, …

Web Development php
Member Avatar for ss90
0
2K

The End.