52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sureronald

What is the best validation technique or function that I can use to detect spaces,commas or any other characters I dont expect from a user. I know of ereg and eregi but it seems not to be working the way I want. The problem is that I am allowing a …

Web Development php
Member Avatar for ShawnCplus
0
87
Member Avatar for serdas

i am using this code to send pm, after i send a pm it says "You have successfully sent a private message!" and the boxes under for user to send again if they like but i would like to show only "You have successfully sent a private message!" if the …

Web Development php
Member Avatar for serdas
0
103
Member Avatar for forzadraco

anyone can help me to make regular expression [code ] $string=" xxxxx xxxxx <body border='0'> <script language=javascript> ... word1 ... word2 ... word3... word4 ... </script> "; i want to remove all word from that string if that string have minimal three word'x' preg_replace(); how to make that regex?

Web Development php regex
Member Avatar for nav33n
0
151
Member Avatar for jeffreyjs

Hi, I have this website which uses javascript to compute some mathematics... However, the script appear not to be working on firefox whereas the I.E and safari are working well, can someone help me with this, does Firefox have problems executing javascript? Thanks... the below code is where the problem …

Web Development javascript mathematics
Member Avatar for gurshan
0
244
Member Avatar for peter_budo

After numerous issues with my first hosting I got new deal. Now I want to get my blog move to its new home, but I hit the wall with simple WAR deployment Here is catalina.log [code]INFO main org.apache.catalina.core.StandardService - Starting service Catalina INFO main org.apache.catalina.core.StandardEngine - Starting Servlet Engine: Apache …

Web Development apache java-jsp web-server xml
Member Avatar for stephen84s
0
168
Member Avatar for lifeworks

Hi Ive been using the nl2br function on text that users input... which has been great, but if they want to edit that text later, its riddled with <br />'s etc... is there a way of stripping these html tags out of the code before its displayed in the 'edit' …

Web Development php
Member Avatar for Rhyan
0
121
Member Avatar for forzadraco

target.php: xas xjahs dajdh ajdhjas da d xxxx na dh ada hd main.php: <?php // removal malicious script by forzadraco $filename="target.php"; $existfile=@fopen($filename,"w"); if($existfile){ echo "file berhasil dibaca \n\n"; }else{ echo "file gagal dibaca \n\n"; } if( false == ($str=file_get_contents( $filename ))) echo "Could not read file."; else echo "File contents: …

Web Development file-system php
Member Avatar for cwarn23
0
168
Member Avatar for dreamer14

Hi iwould like to check if there is any function that allows me to take the last 4 char or a String? Or the 1st two char of a String? I require this because i require to have a auto increase product id. Example current productid stops at WA0059. When …

Web Development java-jsp
Member Avatar for dreamer14
0
123
Member Avatar for apollokid

Hi all I searched forum but couldn't fine the right answer I was looking for. I found a script online to help me with uploading a record to my database and the file to directory and name to database. I cannot get it to work and I cannot pin point …

Web Development image php
Member Avatar for apollokid
0
92
Member Avatar for naura

I send mail in asp.net using kerio .It work fine when i use string variable to get id But i use textboxes to get id it gives following err: [code]Read from Stream threw an System.Exception: System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the …

Web Development asp.net
0
75
Member Avatar for serdas

how does this function work? how can i adjust this to a different language then english and the time zone as well? if possible? i think this is the code [code]function formatDate($val) { list($date, $time) = explode(" ", $val); list($year, $month, $day) = explode("-", $date); list($hour, $minute, $second) = explode …

Web Development php
Member Avatar for almostbob
0
178
Member Avatar for queenc

hi can anybody tell what the error is Fatal error: Call to a member function insertseeks() on a non-object in php

Web Development php
Member Avatar for queenc
0
79
Member Avatar for serdas

would you know why would a text comes back in one line, i am trying to implement this pm system where i posted for some other isue, but this one is strange. when i am composing a message and keep writing, in the message body i have the similar window …

Web Development php
Member Avatar for mschroeder
0
194
Member Avatar for sacarias40

im working on a site and i would like to display the newest members within 30 days. how would i do this. im using mysql database. when the person signs up, it records the current date into their row. my module should show people that have signed up within the …

Web Development php
Member Avatar for sacarias40
0
310
Member Avatar for whitestream6

OK, so what I'm trying to do here is create a PHP site that's driven by a database similar to this one: [url]http://library.digiguide.com/lib/programmenextshowing/Police%2C+Camera%2C+Action!-12578[/url] [url]http://library.digiguide.com/lib/programmenextshowing/House-238308[/url] That site basically uses a PHP database and the pages are generated from the database as far as I'm aware. I'm trying to do a similar …

Web Development php
Member Avatar for death_oclock
0
151
Member Avatar for sarithak

Hi frnds.. i need to know some ajax based small websites.... i mean website designed by using [B]ajax[/B] with [B]php.[/B]... Also send me some urls regarding ajax basics to learn ajax easily.. ....

Web Development php
Member Avatar for uncle_smith
0
125
Member Avatar for smahaf

Hi I have the following PHP search results page I am trying to configure the results page so that regardless of what is searched or what search fields have or do not have data the results are allways ordered by lastname. If I use Order by lastname in the initial …

Web Development php
Member Avatar for smahaf
0
106
Member Avatar for rockyPrz

Hi im new to jsp and I was wondering anybody could help me about uploading images using jsp.

Web Development java-jsp
Member Avatar for peter_budo
0
89
Member Avatar for jamello

how do I send a text file to a printer connected to the client's computer. I have a vb.net app. running currently with internet explorer only browsers. I constructed some texts based on the inputs from the user and need to (a) save it on the client file system (b) …

Member Avatar for sreenivas.sudha
0
197
Member Avatar for conspiringfate

I am looking for a very simple article submit script. That is free. Anyone know of any? mike

Web Development php
Member Avatar for NormandP
0
151
Member Avatar for Traicey

A user have to register to the site using Her existing email address as a user name so I need to send an email to the user's email address once her registration to my site is successful can anyone provide me with a code ASAP please

Web Development asp.net email
Member Avatar for Traicey
0
629
Member Avatar for owkaye

I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page. Naturally the folks who have JS disabled are not going to be able to use this …

Web Development html-css javascript
Member Avatar for almostbob
0
145
Member Avatar for nawabsheriff

hi i wanna create a web page in such a way that, if a user gives a data in a text field,And click the submit button, it should automatically store in a drop down menu options... pls help me in devloping the code for this..... Thanks Nawab

Web Development php
Member Avatar for cwarn23
0
79
Member Avatar for Coreye

Hey guys, OK, here's what I am trying to do: I need to log into another website, and download their reports. Seems easy right? Well, it is... because I've done it with numerous other websites. However, this one is tricky. The only way I can download the report at this …

Web Development apache php session
Member Avatar for Coreye
0
120
Member Avatar for kclove

Hello Guys, Im having a problem with my request code. I need to send a request to a friend and it should appear on the friends page when the friend log in. then if the freind accept it, it should get updated in the freinds table , ut I seem …

Web Development php
Member Avatar for sarithak
0
167
Member Avatar for ditty

hi How can i get the html of a given web page?.. I have the url of the web page...please help me ....very urgent...Thank you Ditty

Web Development html-css php
Member Avatar for cwarn23
0
214
Member Avatar for neoseeker191

I took over a website for a family friend. The business that created the site prior used ASP to run the Orderform on the site. I am not very familiar with ASP. I was wondering if I posted the html orderform and the ASP handler, if someone could explain to …

Web Development asp asp.net html-css web-server xml
Member Avatar for chriscross86
0
187
Member Avatar for dudegio

Hello everyone! Im new to the language Php and i need your help. Please help me on how to generate a text document or an *.xls file using Php. Data to be generated are taken from the database. Thanks and hoping for your response.

Web Development php
Member Avatar for candlelight
0
121
Member Avatar for alexgood87

I'm getting this error: Parse error: syntax error, unexpected T_VARIABLE in /web/htdocs/www.immobiliare-deamicis.com/home/mail_segnala.php on line 1 I don't understand, any modify I made (even if I write 'print "hello";') it returns me this error. thank you <?php $ipaddress=$_SERVER['REMOTE_ADDR']; //IP remote // $_GET var $lang=$_GET['lang']; if (!$lang) $lang="it"; // $_POST var $form_email …

Web Development php web-server
Member Avatar for chrishea
0
115
Member Avatar for dewhickey

Using PHP, I have a button to delete the current record from the database. This takes the user to a confirm delete page. When the user confirms the delete, I want the record to be deleted from the table and also moved to another table that functions as an archive …

Web Development php
Member Avatar for almostbob
0
5K
Member Avatar for jakx12

ok so the code inserts into the database a default status when the user sign ups. But I get an error saying: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''status' ) Values(`asd.asd`, …

Web Development mysql php
Member Avatar for mschroeder
0
162
Member Avatar for wayne001

I am in need of some help. we would like to use a quote calculator like this one: [url]http://faronics.com/html/calculator.asp?reg=MidEast[/url] I am not a PHP expert, even clueless at the best of times. It has to be able to calculate the prices in the dropdown boxes according to product and category …

Web Development php
Member Avatar for death_oclock
0
94
Member Avatar for Doops

I am currently working on a project where I want to allow a customer to update their details through a web interface. I am using C# codebehind. On page load I am setting the values of the textbox using the existing customers details. The idea being, the user sees the …

Web Development asp asp.net user-interface
Member Avatar for Doops
0
95
Member Avatar for veledrom

Hi, When the mouse is over the small image in a table cell, the large image appears in other cell. Code below works fine in IE but not in other browsers. How can solve this issue? Thanks [code] <html> <head> <script language="javascript"> function changeBgImage(whichCell) { if (whichCell=="small_1") { document.getElementById("large").background="1l.gif"; } …

Web Development javascript
Member Avatar for veledrom
0
82
Member Avatar for sarithak

Hi frnds.... i have a problem with input string spelling... Ex: $input_string= "amiricaa"; $db_string="America"; when i am searching for amiricaa , than i need to get related words...like America... how can i do with mysql query ....

Web Development php
Member Avatar for nav33n
0
99
Member Avatar for daniwebseenu

I am new to asp.net and crystal report. I have installed visual studio professional edition 2008 in my machine. i created crystal report and i brought it in asp.net page. it works fine in my machine. i have only the business objects dlls.i have not installed crystal report i have …

Member Avatar for daniwebseenu
0
138
Member Avatar for Shanti C

Hello there... Any body help me to fix this problem regarding .htaccess I have written this code to convert my url from .php to .html [code]RewriteEngine on RewriteRule shopping/leftproducts/([^/]+).html$ /shopping/leftproducts.php?c_id=$1 [L][/code] but this couldn't work for me... i coundn't find where the problem occurs.. My url is like : [code] …

Web Development php
Member Avatar for Shanti C
0
475
Member Avatar for bornok15

I want to put image uploading in my page and i searched all over the net for some ways on doing this and its seems like almost all of the ways states that i should save it in the database itself not i directories. Will the image retain its properties …

Web Development image mysql php
Member Avatar for shohel_nub
0
116
Member Avatar for serdas

this one is a different script and maybe this could help others who want to have something like this. that's why i did not post to other post i had 1. how can i fill the name automaticly without showing the name field to user to fill (this comment system …

Web Development html-amp html-css linked-list php
Member Avatar for serdas
0
306
Member Avatar for omgdork

Hi. Is there a way to change the title bar of a web form? The page is the same for the Create and Update and what I want to do is change the title bar of the page if the user wants to create or update. Help would be greatly …

Web Development asp.net
Member Avatar for omgdork
0
107
Member Avatar for millsy007

I have the code to show predictive text when a user enters a value, However I am struggling to change its behaviour. Currently it shows the suggestions seperately, I would like to alter it so its shows the value in the search box and then the user can select a …

Web Development javascript
Member Avatar for DangerDev
0
95
Member Avatar for ALMGHARI

Hello, Please, can you help me , I want same this script in this site <URL SNIPPED> Movies script....... Free or Commercial I need same script please, Thanks

Web Development php
Member Avatar for FlashCreations
0
255
Member Avatar for serdas

i have this code to do simple comment on the listings on my site [code]require_once($config['basepath'].'/include/listing.inc.php'); require_once($config['basepath'].'/include/misc.inc.php'); $misc = new misc(); $listingID = $_GET['listingID']; $sql = "SELECT * FROM default_en_comments WHERE listingID = '$listingID'"; $recordSet = $conn->Execute($sql); if ($recordSet === false) { $misc->log_error($sql); } while (!$recordSet->EOF) { $comments = $misc->make_db_unsafe ($recordSet->fields[comment]); …

Web Development php
Member Avatar for serdas
0
261
Member Avatar for forzadraco

anyone can help mo to tell the algorithm how to make server uptime application like serveruptime.com? [url]http://www.duniaislam.site50.net[/url]

Web Development algorithm php
Member Avatar for BeachyUK
0
113
Member Avatar for EnetJohn

hi......... help me plss to write coding to open a new pop up window while clicking on specific points on a map... regards enet

Web Development php
Member Avatar for death_oclock
0
122
Member Avatar for freshfitz

I can't figure out how to email the password from a sql database I have a formview on my webpage can I pull it from there? or can I pull it directly on my backend code? Using C# I tried + passwordlabel + I tried using findcontrol.formview I can seem …

Web Development asp.net dataset email sql
Member Avatar for Salem
0
161
Member Avatar for sam1

hi, as a new comer to asp.net i want to know what are the advantages of using asp.net over say php and other technologies and what are the disadvantages. thanks

Web Development asp asp.net
Member Avatar for sam1
0
111
Member Avatar for sarithak

Hi frns.. here i am going to do paging ... upto now i got correctly what i mentioned([B]previous & next [/B]) here... but i need to add [B]last[/B] and [B]first[/B] also.... plz see this code with patience.... reply me asap.... [CODE] <?php include("config.php"); $page_name="index.php"; $start=$_GET['start']; // To take care global …

Web Development php
Member Avatar for forzadraco
0
283
Member Avatar for sarithak

Hi frnds.... For searching.... when i comparing my input string with database string, i phase problem with case sensitive and white spaces.... plz give me a suggetion to do this.... ex: input = "bluefox"; but in my database that word is like "Blue Fox".......... i need to get results without …

Web Development php
Member Avatar for diafol
0
78
Member Avatar for PinoyDev

Good day again to everyone.! my project of online enrolment system is almost done, thank you for all your support. Just let me know if you have problem in vb6 i would surely lean on my help to0 because its my expertise. this might be the last problem ive ever …

Web Development client-server email php
Member Avatar for cwarn23
0
2K

The End.