52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jogesh_p

hello friends i am new in php, i tried a code to remove special characters into the string, i tried the following codes,, [code=php] $user = "some string here"; preg_match_all('/[^A-Z][^a-z_-][^0-9]/', $user, $result) [/code] but the problem is that if i give the string like : name@#$@$# it also accepted buy …

Web Development php regex
Member Avatar for jogesh_p
0
676
Member Avatar for ghosh22

Hi..I am a newbie in JavaScript.I have two forms (in two different webpages) all with radio buttons. A user cannot select more than one option from each form. My plan is to pass the user input from both the forms to a perl script which would then query a MySQL …

Web Development html-css javascript perl
Member Avatar for ghosh22
0
230
Member Avatar for pakunoda

Good day to *. I having this kind of error when i tried to view all my data in the Database. [CODE]Warning: mysql_query() expects parameter 1 to be string, resource given in C:\wamp\www\pm website\php\bulletin_board\bulletin_board.php on line 51 Error Sir[/CODE] and here's my code. [CODE]<?php $con = mysql_connect("localhost","root",""); if(!$con) { die …

Web Development html-css mysql php
Member Avatar for karthik_ppts
0
206
Member Avatar for riseguim

Hi, I am rebuilding a new website for a company and they already have a .htaccess file with the following code in it: [CODE]RewriteEngine on RewriteCond %{REQUEST_URI} !(/liens_photos/20091111|images/olympique07/) [NC] RewriteRule (.*)\.html? /$1\.php [L][/CODE] Unfortunately I am very new with this and I want to know what this code does exactly... …

Web Development apache php
Member Avatar for almostbob
0
151
Member Avatar for rinjin07

Hi guys, Forgive me if this is a stupid question as I'm fairly new to computing. Been trying to make a webpage that displays a googlemap with multiple markers based on data from an XML file but can't seem to get it to work. Would be ETERNALLY grateful to anyone …

Web Development google-api javascript
Member Avatar for rinjin07
0
484
Member Avatar for mbhanley

Having A Problem in getting results to display correctly I seem to be getting two sets of results displayed for categories "cat_title" when I only need it displayed once. What is the best way around this does anyone know whether I should define using an mysql query or PHP. [CODE] …

Web Development mysql php
Member Avatar for mbhanley
0
302
Member Avatar for phorce

Okay, I have a posting system, so when a user posts something it displays.. Now I want the background of these to be like this: - White - Grey - White - Grey Now, I've done it before, but only using tables.. So I'd have like: <?php $bg = ($bg=='#eeeeee' …

Web Development php
Member Avatar for karthik_ppts
0
123
Member Avatar for patrickm129

Hi, I made a login form on my site but I am new to javascript and do not know how this could be done (See title). I am trying to make an alert start if one of the login forms are left empty. Any advice is greatly appreciated, thanks in …

Web Development javascript php
Member Avatar for Pro2000
0
365
Member Avatar for DILO3D

Can anyone tell me, How can i restart the apache server through php code? if i view a specific page,my apache server should be automatically restart. How can i perform this? Anybody Please help me.

Web Development apache php
Member Avatar for Pro2000
0
254
Member Avatar for pardeep3dec

Dear Experts, I am Completely new to ASP.NET i want to design a page in which when i will click on LINKBUTTON ([url]www.in.com[/url]) then website should be open but there is an error Server Error in '/WebSite2' Application. -------------------------------------------------------------------------------- The HTTP verb POST used to access path '/WebSite2/www.in.com' is not …

Web Development asp.net open-source web-design
Member Avatar for stbuchok
0
146
Member Avatar for Pro2000

[COLOR="Green"]Hello everybody.. I've read about the "heredoc" way of outputting strings.. Where can we consider this use handy?? Is it used only to avoid escaping the single and double quotation mark?? Also, why is there an identifier to be put at the first and end of the function?? Thanks beforehand.[/COLOR]

Web Development php
Member Avatar for Pro2000
0
138
Member Avatar for Sahilsahni

hi, please visit this website : [url]http://www.jobsdhamaka.com/[/url] at center of page there is a heading "Recently Posted Job" i want that functionality to make for my project i.e. changing of text or heading after a particular interval of time. can anybody help please? and there is problem, i don't know …

Web Development javascript
Member Avatar for almostbob
0
104
Member Avatar for subhra44

I am trying to create feedback form and want to send the content to an email id using the mail(). What should I suppose to do for that? I tried with some code but it's not working.. Here is the code [CODE] <html> <body> <?php if (isset($_REQUEST['email'])) //if "email" is …

Web Development email php
Member Avatar for Pro2000
0
175
Member Avatar for gingerfish

hi :) i'm just wondering if there is any way to access to another website using my own? like: i have some input data and when i put it into the form of my website, it will search it in the another website's database and show me the result. i …

Web Development java-jsp
0
101
Member Avatar for altarek

Hi i have sub-directories like this (files/dir/dir2/) and have input text I want to get all the doc files in the sub-directories when insert name of top directory (files)in the text field

Web Development php seo
Member Avatar for vibhaJ
0
174
Member Avatar for Sud1302

I have design an ASP.NET website. But my Home page is index.html. How can I upload my total website to the WEB SERVER? I have already tried once using "publish website". But a message "<%@ page language="VB" autoeventwireup="false" inherits="Home, App_Web_dsarh45t" %> " is shown at the top of the aspx …

Web Development asp asp.net web-design web-server
Member Avatar for Netcode
0
210
Member Avatar for lloydsbackyard

i throw a string value from the database in an input box...when i click update button, i need to clear the textbox after clicking update button..how?thanks a lot...

Web Development php
Member Avatar for lloydsbackyard
0
7K
Member Avatar for ivan3510

Hi! How to create a website with cookies, but cookies will not be deleted (they will be on computer forever, except somebody delete it; I deleted the cookies one time, and then they have been automatically created (I didn't go to these sites)) So, how to create these two things? …

Web Development php
Member Avatar for MagicMedia
0
77
Member Avatar for vaanipala

Hi, I'm getting the following error: attempt to run compile-and-go script on a cleared scope [Break On This Error] if (xmlhttp.readyState==4 && xmlhttp.status==200) when i try to run the following code in mozilla firefox: does anyone know on what i'm doing wrong? thank you. gethint.html [CODE] <script language="javascript" type="text/javascript"> function …

Web Development javascript
Member Avatar for vaanipala
0
284
Member Avatar for pickett65

I have a script that reads all rows from a database, and prints it out to an html table. The html table has an extra column for "status".In this column there is a form that is supposed to submit the dropdown field to the mysql database. I've got the set …

Web Development mysql php
Member Avatar for pickett65
0
144
Member Avatar for yokorobi12

im using uploadify that can upload multi photos.. now i need to select a client to upload photos.. after choosing a client > next is client profile.. including the "add photo" button which is jquery... my problem is after choosing a client i need to get the clientid then pass …

Web Development javascript-jquery php
Member Avatar for yokorobi12
0
112
Member Avatar for jorjah

.gud pm!!i know people out there are so intelligent,,so please help me regarding my project about software engineering, "system/software development project proposal document. " any software will be accepted,,please have mercy!

Web Development engineering php
Member Avatar for jorjah
0
89
Member Avatar for PixelatedKarma

Hello everybody, First off let me say I did do a search of google and these forums before posting this. I have sort of what I want without having exactly what I want and before I proceed further hacking up already working code I figured I'd start a conversation as …

Web Development javascript
Member Avatar for PixelatedKarma
0
146
Member Avatar for itisnot_me

ok so i know how to write a reg expression for something more specific but i dont know how to make it more dynamic. right now i am matching {tour:right} with this {tour:([A-Za-z0-9_]+)} But the question is how do i write it so that i can use {tour} and {tour:right} …

Web Development php
Member Avatar for hielo
0
293
Member Avatar for choboja621

Here`s my code. I think its right. I had checked every single detail. But then, it still don`t work. It doesn`t link to the html i had created. Hope you can help me. I`m new to this stuffs. [CODE]<html> <head><title>Using Image Maps</title></head> <body> <center><img src="bearface.jpg" width="600" height="776" alt="bearface" usemap="#bearface"></center> <map …

Web Development image javascript
Member Avatar for Airshow
0
135
Member Avatar for darknoobie

Hello forum, My name is juan and recently started html programming. I have a web page with a drop box with the name of states. Code: <option value="">Alabama</option> <option value="">Alaska</option> I can add a onclick="code here" to the tag so that when the drop box alabama is selected it triggers …

Web Development javascript
Member Avatar for darknoobie
0
220
Member Avatar for observ

Hi, I am trying to update data from a column in a database using a php script. But for some reason it doesn't update the database, but i get no error feedback. So first i select a random entry from the database and i add it as a parameter to …

Web Development html-css mysql php
Member Avatar for Stefano Mtangoo
0
887
Member Avatar for Zagga

Hi folks, I am trying to create a function that adds comments to a text file. If the file exists, the comments are added to it. If the file doesn't exist, it is created then the comments are added to it. If there are any problems, an error message is …

Web Development file-stream file-system php
Member Avatar for Zagga
0
181
Member Avatar for xapher19

For the project I'm working on, it has to have a changeable template system, so the users can make their own HTML templates to work with the system. However, I have no clue how to even go about doing this. Any help would be appreciated, thanks.

Web Development php
Member Avatar for xapher19
0
361
Member Avatar for barriegrant1

im building a site that places galleries within an itemTemplate, each gallery has its own ID, im tring to allow each gallery to have its own "edit" button, this will allow the user to delete or rename the gallery etc. is it possible to make the button ID the same …

Web Development asp.net
Member Avatar for barriegrant1
0
167
Member Avatar for geekme

Can php editor eclipse be used for Javascript as well?

Web Development ide php
Member Avatar for ulyssey
0
167
Member Avatar for extemer

hi guys i am trying to upload an image but my code is not upload image size higher than 400bytes please help me i tried but many thing but figure it out. [CODE] <html> <head> </head> <body> <form action="test.php" method="post" enctype="multipart/form-data" > File: <input type="file" name="image" /> <input type="submit" value="Upload" …

Web Development image php
Member Avatar for IIM
0
179
Member Avatar for mvsjs

I am using jpgrpah in php to show a bar diagram by using an array as an input. The array is created by a function. I am getting the following error. Error 25044 - Cannot use auto scaling since it is impossible to determine a valid min/max value for y-axis …

Web Development php
0
148
Member Avatar for aharkus

I'm creating dynamic buttons and forms for a website and would like the form hidden when it's corresponding button is clicked. However, when I pass button and form name variables to my JavaScript that hides the form, the variables are not being recognised unless I explicitly set them. (e.g 1 …

Web Development javascript php
Member Avatar for Airshow
0
1K
Member Avatar for phaedrusGhost

Hi all. So I have a site where I need to display uploaded images for properties. There could be anywhere from none to several images of one property. I have each image going to it's own folder based on address. Should I call on those images directly from the folders …

Web Development image php
0
84
Member Avatar for Viruthagiri

Hey guys i'm creating a site network using WordPress. Lets say my site name is blahblah.com and lets say i have 10 subdomains like site1.blahblah.com,site2.blahblah.com Now i want something like this. There will be no articles in my main domain. But i want list all subdomain's articles in my main …

Web Development php wordpress
Member Avatar for Viruthagiri
0
370
Member Avatar for Pro2000

How can I know whether the user surfing my website is surfing via a mobile device or a PC?? I thought about: [CODE]$_SERVER['HTTP_USER_AGENT'];[/CODE] However, I think that there is a variety of names of mobile browsers.. How could I solve it?? Thanks beforehand.

Web Development php
Member Avatar for Pro2000
0
100
Member Avatar for Pro2000

Hello everyone. I have a button and a textarea. I want this button to add tags around the selected words in that textarea. For example the button is to add the <b> tag before the selected words and the </b> tag after the selected words. Just like these buttons, in …

Web Development javascript
Member Avatar for Pro2000
0
89
Member Avatar for Blitz-labs.com

I want to report deadlinks on my site, my current script does work but it allows search engine bots to click the dead link report which makes it hard for me to determine which reports are form visitors and which are from bots. What am I doing wrong here? As …

Web Development php seo
Member Avatar for Blitz-labs.com
0
201
Member Avatar for jhaque

Hello everyone, i am new to ajax and i am trying to get some data from database using php and ajax. I am facing a problem and i can't find any solution. When i trigger the ajax function, it not showing what i wanted. please check the code bellow and …

Web Development javascript
Member Avatar for jhaque
0
95
Member Avatar for 54uydf

my program allows users to leave reminders to themselves. tblReminder looks like this- [B]title content date[/B] now the idea behind it is that once the date that the user chose comes, the user will recieve an email to his email account with the content of the reminder. I can write …

Web Development email php
Member Avatar for Stefano Mtangoo
0
106
Member Avatar for klemme

I have one select list, which is populated from the DB like this: [CODE] <select name="position" id="position" onChange='itemdisplay(this.value)'> <option value="<?php echo $til_subject; ?>"><?php echo $current_subject; ?></option> <?php while($row=mysqli_fetch_array($result)){ echo '<option value=' . $row['id'] . '>' . $row['linknavn'] . '</option>'; } echo "</select>"; ?> // Next to this list i have …

Web Development javascript
Member Avatar for twiss
0
1K
Member Avatar for 54uydf

the bottom line of what I want to do is- I have a file with a form (form.php) that has 2 drop lists, on sumbit I want to be redirected to another page (1.php) if dropbox 1 was set, to page 2.php if droplist 2 was set and to page …

Web Development php
Member Avatar for 54uydf
0
178
Member Avatar for ssreevidya.m

hai, I have a datalist that contain image button control and i bind images from folder to it. I need to get image slide show when clicking on an image. How can I implement it. Thanks in advance, sreevidya.

Web Development asp.net image
Member Avatar for barriegrant1
0
357
Member Avatar for ravi_91

iam doing a project but in my code it is not retrieving the data after the space like in data base i have " ravi teja" then in front end it is getting only "ravi" so can u suggest me the code plzzzzz

Web Development java-jsp
Member Avatar for ravi_91
0
132
Member Avatar for ghosh22

Hi I am trying to find the answer of the following. Suppose, I am trying to build a web page to conduct a fictious online Poll and people vote their favourite candidate. Now each voter is allowed to vote only one candidate from any one party. I have made the …

Web Development html-css javascript
Member Avatar for ghosh22
0
213
Member Avatar for ayanbizz

How to create a simple chat application using jsp & servlets?Please provide me some ideas.What do I need to know apart from jsp and servlets?

Web Development java-jsp
Member Avatar for ayanbizz
0
138
Member Avatar for MrCapuchino

I'm trying to use a plugin for paging from jquery, the thing is that the demo is not very clear, at least for me that I'm not very familiar with jquery and httphandlers. Here is the javascript code. [CODE] $(function () { var a = 10; var b = 10; …

Web Development javascript javascript-jquery
Member Avatar for MrCapuchino
0
237
Member Avatar for tstory28

Is there a way to have a session use two variables instead of just one? For instance: [CODE]$_SESSION['$email.$level'][/CODE]

Web Development php session
Member Avatar for hielo
0
100
Member Avatar for klemme

[B]I need to update one select box, depending on what has been chosen in an other select box. [/B] I know I need to use AJAX, but I havent used AJAX ever before, so I am a little lost on how to implement it. [B]This is the first select box:[/B] …

Web Development html-css javascript php
Member Avatar for klemme
0
1K

The End.