52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for thebluestar

here is my source code about login into a web [CODE= php] <?php /* $login=$_POST['login']; if($login=="Login") { */ $connect==mysql_connect("localhost","root",""); if(!connect) { die ('Cannot connect to the database'.mysql_error()); } mysql_select_db("firstdbs",$connect); $in_user= $_POST['username']; $in_pass=$_POST['password']; // To protect MySQL injection $in_user = stripslashes($in_user); $in_pass = stripslashes($in_pass); $in_user = mysql_real_escape_string($in_user); $in_pass = mysql_real_escape_string($in_pass); $sql="SELECT …

Web Development open-source php web-browser
Member Avatar for poojamakhija
0
89
Member Avatar for Dheeraj Kumar

Hi, :cry: I have gotted a problem in window resolution. I am build a web page in 800 x 600 resolution. How can display this page in other resolution and he it will be automatically fit in client window screen. Have you any soltution for this, please given kind of …

Web Development asp display
Member Avatar for saeedabu
0
140
Member Avatar for hemgoyal_1990

Hi all.. I am Working on an Birthday Reminder Script but i have an Problem in This Script That I Want to Send a email to User That's Birthday is Today. and am Done it Automatically by Scheduled. For Ex: Today is One User Birthday Then a Email Automatically Send …

Web Development php
Member Avatar for hemgoyal_1990
0
117
Member Avatar for cwarn23

Hi and I have learned 2 ways of making a php cms both with simular results on the client side. That is, is it best to have all pages pointed to index.php with mod rewrite and url vars or is it best to have a couple dozen php files each …

Web Development cms php
Member Avatar for somedude3488
0
101
Member Avatar for Jayakrishnan_gk

I have a search box. I need to remove all the special characters from the search term and then query it. “’-,?~!@#$%&*+-= all these characters.... can anybody suggest a proper regular expression for this ? and the syntax for using it in javascript. my query is saved in var query;

Web Development javascript
Member Avatar for Jayakrishnan_gk
0
154
Member Avatar for neomatrix2

i am trying to wrap my validation summary for createuserwizard to a modalpopup but dont knw hw to to call the javascript on createuserwizard1_createusererror event javascript code on aspx [CODE] <script language="javascript" type="text/javascript"> // <! Javascript to show the modalpopup function ShowModalDialog() { Page_ClientValidate(); if(!Page_IsValid) $find('<%=AddUserVS_ModalPopupExtender.ClientID%>').show(); } </script>[/CODE] and i …

Web Development asp.net
Member Avatar for Dhaneshnm
0
276
Member Avatar for danang

hi, i've got a problem, hmm...there are three groups (A,B, and C) and their IP address are: A ==> 10.204.xxx.xxx B ==> 10.205.xxx.xxx C ==> 10.206.xxx.xxx how to read an IP Address, but only for 2 octet, (10.204, 10.205, 10.206)? I want to put them on index.php, so: if user …

Web Development php
Member Avatar for danang
0
172
Member Avatar for nixx

Hi! I was wondering if anybody here could help guide me in the right direction for creating a gridview that contains rows that collapse with another gridview inside. I know we're not supposed to actually ask for codes but I haven't written one yet, I'm just asking for pointers :) …

Web Development asp.net vb.net
Member Avatar for nixx
0
197
Member Avatar for lcyew

Hi all. I have some problems with radio buttons. Hope to get some help here. Thanks in advance. Here's the html: [CODE]<?php while($row=mysql_fetch_array($result)) { ?> <input name="replacement" id="replacement" type="radio" value="<?php echo $row['date']; echo $row['title']; ?>"[/CODE] I need to validate if none of the radio buttons is checked using javascript. How …

Web Development php
Member Avatar for lcyew
0
123
Member Avatar for drspock

Hi, I am developing an ASP .NET website that needs to create images using a custom font. Obviously, to do this, I need the font installed on the web server. As I am using a hosting site, and I have no direct access to the server the site will be …

Member Avatar for sknake
0
600
Member Avatar for timon_zed

Am trying to read a date that i have stored in a database table and then parse it to a date object of the Date class using a servlet, but it returns null for the converted date.Where am i going wrong?Some advice on how to sort that out would be …

Web Development java-jsp
Member Avatar for peter_budo
0
101
Member Avatar for sam023

i m going to make something like [url]www.respectance.com[/url] pic gallery with read more content..!!! uptil now i use hard code for my pages..!!! this time i thought i should give a try on some framework..!!!! So can anyone guide me which framework is good for such type of site Which …

Web Development php
Member Avatar for O71v13r
0
121
Member Avatar for CssQueen

Hello, I am trying to populate data from an xml file when a certain catergory from the dropdown menu is selected. The dropdown menu is also populated from a xml source different from the one where the data is stored that needs to be pulled. so when a category is …

Member Avatar for CssQueen
0
110
Member Avatar for Spidey007

Hi Folks, I was wondering if anyone knows how to create a pop up window like this page: [url]http://www.allhealthcarejobs.com/aspx/JobPostingView.aspx?ja=indeed&code=K14&jobid=600694&=indeedOrg&utm_source=Indeed&utm_medium=organic&utm_campaign=Indeed[/url] You will notice that after loading the page for 2 seconds, a pop up window appears that asks for the visitor's email id. Does anyone know how to create this kind …

Web Development php
Member Avatar for Spidey007
0
147
Member Avatar for DemonGal711

I was just testing out a code and I found something rather pathetic. This code does not produce anything. [CODE]<?php $source = file_get_contents("http://mysite.com/random/page.html"); echo $source; ?> [/CODE] But this code does [code]<?php $source = file_get_contents("page.html"); echo $source; ?> [/code] The php script and page.html are in the same folder, so …

Web Development php
Member Avatar for DemonGal711
0
87
Member Avatar for peck3277

Hi Everyone, What I want to learn is how to write a php template. So any edits I make to the headers,footers etc. are changed throughout the website. I know I can just use a series of includes but I was wondering if there is a right way to make …

Web Development php
Member Avatar for pritaeas
0
63
Member Avatar for shishtawitch

i dont no whether it is the place or not to share my problem........the problem is that i have a little problem with my router..........!! when ever the electricity failure happens, my internet connects gone to disconnect imediately............then if i turn on and off my router manually it connects again …

Web Development php
Member Avatar for shishtawitch
0
109
Member Avatar for mldardy

I have a .asp page that is a map of the U.S. When you click on a state it brings up a pop menu. This page works fine on IE but not on Firefox. On Firefox when I click on the state it opens up another tab of the .asp …

Web Development asp html-css vbscript
Member Avatar for codejoust
0
755
Member Avatar for sstewart

Hello, I have a piece of code that pulls data from a mysql database. I am displaying the results in a table but want to format the background of certain cells based on the query results (ie red for no green for yes). Here is my code: [CODE] $query = …

Web Development mysql php
Member Avatar for sstewart
0
189
Member Avatar for benrich

Hey all Can anyone see why this isn't working for IE but is Firefox? I'm trying to update a div on the page using some javascript and php. Whenever a dropdown box on the html page is changed, its value is passed to a javascript function, then onto a php …

Web Development javascript
Member Avatar for benrich
0
153
Member Avatar for filch

Hi, I am in a real need to get this going quickly and have run into a bit of a stumbling block. Here is what I am trying to do. I am creating a Paypal Add to Cart page for several products. I have this working for a single button …

Web Development javascript javascript-jquery
0
162
Member Avatar for the_shark

[B][COLOR=DarkSlateBlue] Hi everybody, I am developing my senior project using ASP.NET. This project has basically a calendar subsystem to be used by the users of the system which will be designed (the calendar) as .aspx code. My concern is as follows: Since most of us are using the Microsoft Outlook …

Web Development asp asp.net microsoft
Member Avatar for inspirekarthick
0
362
Member Avatar for sarithak

Hi frnds... Here i am creating thumbnail image...the code is working fine... The variables are not working calling funtion....if i give static path, its working fine... incase of dynamic path it displays some errors,but image created..image with full black(no photo).......plz check the below code... [CODE]function createthumb($name,$filename,$new_w,$new_h){ $system=explode('.',$name); if (preg_match('/jpg|jpeg/',$system[1])){ $src_img=imagecreatefromjpeg($name); …

Web Development php
Member Avatar for sarithak
0
153
Member Avatar for mvchandoo

Hi I do like to modify the .php extensions to .html. could any body advice me. how to do it. Present URL: category.php?cat_id=C001&prod_id=XX09 Required URL: category.html/C001/XX09 or Required URL: category/C001/XX09 in any of the SEO format. Please help me to sort out. or advise me to refer URL. or tutorials.

Web Development php seo
Member Avatar for mvchandoo
0
129
Member Avatar for csharplearner

Hi, I am trying to embed audio/video content such as youtube links and playlists from imeem.com into my website for each user of their choice. What are the measures to be taken to display $user_choice_video variable which is retrieved from database!? I am afraid there might be attacks if i …

Web Development audio php video
Member Avatar for sarithak
0
103
Member Avatar for Mongz

Hi guys, i've deployed asp application, now the problem im facing is it doesn't connect sql database. At first the database was attached with the application and it failled to connect the database, secondly i attached the database on SQL server and configured connection string still it doesnt connect. When …

Web Development asp.net
Member Avatar for sknake
0
223
Member Avatar for vidhyaponnusamy

hi i have created one simple page using ajax ,my index page contains menus page1 page2 page3 page4 if i click the page2 menu means my page2.html is opening in the same window index.html itself ,but in my page three i have a link if i click that link it …

Web Development html-css javascript
Member Avatar for vidhyaponnusamy
0
103
Member Avatar for OnIIcE

hello, i was woundering if somone could point me in the right direction. Im making a CMS/socialnetworking script for fun and want to change how the url gets the data for profiles. at the moment its using the tradition $_GET['id'] thing from the broswer url, but id like to try …

Web Development cms php
Member Avatar for network18
0
98
Member Avatar for mrcniceguy

I`M USING THE PHP MAIL FUNCTION TO SEND EMAILS TO MEMBERS IN MY SITE. [CODE=PHP] sendto="xxxxxxx@yahoo.com"; $to=$sendto; $from="From:mysite@mysite.com \r\n"; $subject="$fullname contacted mysite"; $content="$message \r\n his/her email address is $email"; if($content){ mail($to, $subject, $content,$from); echo"<font color=green>Your email was sent successfuly to adminstration of mysite.<br/><a href=index.php>Continue to the site</a></font>"; } [/CODE] i …

Web Development email php
Member Avatar for mrcniceguy
0
180
Member Avatar for just_me

hi guys. can someone show me the right syntax to make link based on the ID using php echo. My coding will not give any input. below is my coding: [code]echo "<td width='101'><a href=view_supplier_details.php?details_ID={$user['report_details_ID']}</td></a>";[/code]

Web Development php
Member Avatar for network18
0
100
Member Avatar for Drew

I created this code because i was bored and wanted to try something with some code and i ended up creating this little code snip. [B] Code from: [URL]http://www.iportalx.net[/URL][/B]

Web Development asp display
Member Avatar for yonker
0
198
Member Avatar for arunajasmine

i am trying to use the File upload feature in my application .. i am having a Form with many fields of type Text,textarea and including File upload FIeld. I have kept a Submit button at the end of the Form which on click will submit the actual value of …

Web Development file-system php session
0
106
Member Avatar for msaqib

This is a small function that will block the specific IP from viewing the certain page, and it will redirect the user to the main page or noaccess page.

Web Development asp
Member Avatar for yonker
0
324
Member Avatar for sarithak

Hi frnds.... First of all sry for all 4 arraising same(email) thread more times... I have a problem with email sendhing... one my old client ...his project is shifted from one server to another server(control panel)...now, the contact page(email) is not working properly...here i m getting the below error....plz tell …

Web Development client-server email php
Member Avatar for sarithak
0
105
Member Avatar for wood1e

Hi, Has anyone seena script for searching a database, and having pagination as well...as I have tried and successfully created a search database sarch webpage..and a pagination webpage, but that returns all the data in the database... Regards Rob Wood

Web Development php
Member Avatar for network18
0
114
Member Avatar for mIssy_ricco

i want to store into a store procedure where a hyperlink from the gridview ir datalist can also function as a save button. the problem is that the list is from the database aswell. and there is a parameter from the table that i do not know how to pass.

Web Development asp.net
Member Avatar for miracle007
0
60
Member Avatar for sanjanaa

Hi, How to convert two datagrids into a single PDF.... Thanks in advance...

Web Development asp.net pdf
Member Avatar for sanjanaa
0
120
Member Avatar for kira4

I can't query my database and cannot update, may I know what is the mistake in my coding? [CODE]<html> <head> <title>Index</title> </head> <div style="position: absolute; width: 1146px; height: 842px; z-index: 1; left:10px; top:1px" id="layer2" align="center"> <body background="E-Filing%20Management%20System%20Picture/Snow.gif"> <p align="center"> <img border="0" src="E-Filing%20Management%20System%20Picture/logo-RR-gif.gif" width="957" height="245"></p> <p align="center"><span lang="zh-cn">&nbsp;</span></p> <p align="center"><span lang="zh-cn"><img …

Web Development php
Member Avatar for SoN9ne
0
157
Member Avatar for j_limboo

While creating a userid the password is saved in type md5 in mysql The below script to change password does not save password in md5 in mysql and hence user after changing password cannot login The script also gives password chaged sucessfully but also says you have typed wrong password …

Web Development mysql php
Member Avatar for sariraj
0
82
Member Avatar for poojasweetgirl

Hello. I wish to create a servlet which checks if the entered username and password are correct.If yes..message hello else go back to page showing error message. I know the settings for tomcat. i know the basic code for servlet.I also know i need http servlet .I will be using …

Web Development java-jsp
Member Avatar for poojasweetgirl
0
782
Member Avatar for niche1

I need to import TEST.TXT (located in the same directory as my script It has 1 Record: "6","Lunch","234" Iget this error message: Warning: mysqli_close() expects exactly 1 parameter, 0 given in C:\wamp\www\test\import.php on line 19 Why? Heres my script: [code=php]<?php // Connect to the MySQL server and select the corporate …

Web Development mysql php
Member Avatar for niche1
0
115
Member Avatar for fumnimda

my problem is with using $_SERVER['HTTP_REFERER'] in IE.it doen't work. what can i do instead ?

Web Development php
Member Avatar for Atli
0
83
Member Avatar for enzo420

Hi all, so I'm looking to make a social network style site, just to help me understand php so please don't say anything about reinventing the wheel. I'm looking for a way that when a user clicks on a name in the member list that it sends them to profile.php?id= …

Web Development php
Member Avatar for ShawnCplus
0
223
Member Avatar for altarek

hello i want to secure my data ,i have link to pdf file when click it give all path to pdf like this [B][url]http://192.167.1.13/data/0000/000/000/0000-000-000-000.pdf[/url][/B] i want to change it to be like this [B][url]http://192.167.1.13/xxxxxx[/url][/B] or any other i want to change it start from /data any help

Web Development javascript pdf
Member Avatar for almostbob
0
84
Member Avatar for sanjanaa

Hi, I have a dataset which is having 5 tables. I want to get only two tables from that dataset and assign into a single datagrid. How can i do this? Thanks in advance...

Web Development asp.net dataset
Member Avatar for reach_yousuf
0
144
Member Avatar for nicklau

Html-structure [code] <html><head></head><body> <!-- START XOXO --> "lots of html and jsp stuff" <!-- STOP XOXO --> "file reading" </body> </html> [/code] The file reading code [code] <%@ page import="java.io.*" %> <% String line = ""; String file = request.getRequestURL().toString(); int print = 0; BufferedReader input = new BufferedReader(new FileReader(file)); …

Web Development file-system java-jsp web-server
Member Avatar for ejosiah
0
188
Member Avatar for just_me

hi there.. I using for loop to increment the column in my page. through this increment, I want it to insert to the database. But what I'm getting is the last value only. can someone help me? this is my supplier_quo.php which when we click submit button, it will go …

Web Development php
Member Avatar for just_me
0
117
Member Avatar for goldy736

hi, am in learning phase of php , am struck here , i try to call method in a class from other class namely display.phtml and displaycall.phtml i was successfull in calling the method but problem is , i have a variable $_productCode with value equal to 'A1001'. The main …

Web Development php
Member Avatar for jomanlk
0
4K
Member Avatar for jino

Dear all, I have a requirement that, when the user click on a radiobutton of a listed module, all its permissions should be toggled down. This section comprises in a div "msg_body". there are more than one module and so more than one msg_body divs. I used jQuery for this …

Web Development php
Member Avatar for jino
0
205
Member Avatar for Skzz

I am 100% new to JavaScript, but I don't want that to be the case for much longer at all. However, what's the best way to go about learning? What books should I purchase, or where is the most [i]accurate[/i], extensive, free online tutorial? Your suggestions are appreciated! :)

Web Development javascript
Member Avatar for rawroro
0
126

The End.