52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jollyyy100

Hi, i have successfully made my registration and login page. Now i need help. When i click on login by using specific username and password that i had created, i want my next page to show details about that person, this details are stored in Mysql when they register and …

Web Development display ide php
Member Avatar for zain10137
0
1K
Member Avatar for ratanji

pls i want how to upload and retrive only pdf files in php and mysql code or any links..

Web Development pdf php
Member Avatar for ratanji
0
148
Member Avatar for dan_code_guru

Hi i am working on a server sent event script to be sent when the user has logged out, but in the network tab the server sent pages are being sent every couple of seconds with no data. Client-Side script var source=new EventSource("include/updates.php"); source.addEventListener('logout',function(event){ $("#notificationsContainer").append(event.data + "<br />"); source.close(); },false); …

Web Development client-server php
Member Avatar for dan_code_guru
0
241
Member Avatar for mrabrar09

Hello Everyone... Am little bit confuse whether this post is come under Jsp or MySQl... but am posting in JSP because am thinking that it jsp..not Mysql query I created one report but the report is not coming perfectly so i need your help My actual report format is like …

Web Development java-jsp mysql
Member Avatar for mrabrar09
0
220
Member Avatar for Mits14

I need help!! What I want is when I add a new teacher, it will search the tblteacher_info. If there is already a record of that teacher, it will just update his/her record. If there is no record of that teacher, it will add his/her info in the tblteacher_info. I …

Web Development php sql
Member Avatar for Mits14
0
145
Member Avatar for paulnamroud

Hello, I'm building an application with asp.net. And I need to send emails to selected customers. What is the best way to send email ? Is it by using System.Net Class or to send it by using MS Sql Server ? Thank you Paul

Member Avatar for aryanverma
0
403
Member Avatar for vijayram

Hai everybody. what is the problem onclick javascript function not working anybody plz help me. function getColor(block) { var s_url=block.href; var pColor=s_url.substr(s_url.indexOf("#")); document.getElementById("colorText").style.backgroundColor=pColor; document.getElementById("colorText").innerHTML=pColor; } <img src="/images/palette.gif" usemap="#color_palette" /> <map name="color_pallete" id="color_pallete" > <area shape="rect" coords="7,7,31,30" href="#003300" onclick="getcolor(this);return false" /> <area shape="rect" coords="35,7,59,30" href="#003366" onclick="getColor(this);" /> <area shape="rect" coords="63,7,87,31" href="#000080" …

Web Development javascript
0
101
Member Avatar for HunainHafeez

i have few pages in asp.net , when a user logs in then i want t give him access to 4 out of 10 pages, mean he can only view 4 pages out of 10, else are for admin + superadmin, so how could i assign him authority to few …

Web Development asp.net
Member Avatar for HunainHafeez
0
432
Member Avatar for poskypozze

Hi friends! i'm currently work on a chatting system that requires me to list all the user friends, so i need a code that will help me navigate throw the freinds list one after the other. thanks!

Web Development php
Member Avatar for diafol
0
162
Member Avatar for Szabi Zsoldos

Hello guys, Working on a stock market table with rates of different currencies. What I would like to achieve is that i have an array of rates and would like the difference of today and the previous day, and it works, but i'm getting an empty value for the first …

Web Development php
Member Avatar for Szabi Zsoldos
0
201
Member Avatar for HunainHafeez

i want to hash my password to SHA1 algo, in asp.net code and then want to compare it with hashed password in sql 2008 db, for login so how to hash it in asp.net code ?

Web Development asp asp.net sql
Member Avatar for HunainHafeez
0
185
Member Avatar for praveen_dusari

Hi all, I have a problem with the date in javascript.I have a date which is in string format Like this: 10/5/2012 6:00 PM and what i need to do is at 5:00 PM on date 10/5/2012, i need to add a class to the td. <table width="100%" border="0" id="datetime"> …

Web Development javascript
Member Avatar for Taywin
0
200
Member Avatar for mmcdonald

I cant use a cron for this task as the script should always be running. I have a loop that does the following: 1) Gets a SQL row 2) Runs the values through some functions 3) stores new values 4) gets the next row and repeats This script has to …

Web Development php ubuntu
Member Avatar for mmcdonald
0
423
Member Avatar for HunainHafeez

i have a code files in php + mysql database , so now i want to make them online on some free hosting site. i am totalyy blank about this, so how to make it online so the world could see

Web Development php publishing
Member Avatar for HunainHafeez
0
154
Member Avatar for empror9

i'm working on a script and I want to make the links such as www.mysite.com/signup. this link for registration. www.mysite.com/user/username and this link for user's profile. the links without any php extension. also when someone request link such as www.mysite.com/signup.php should redirect him to www.mysite.com/signup what I know is I …

Web Development php session
Member Avatar for empror9
0
144
Member Avatar for david.f.smith.351

Hi, Ive already started a thread similar to this but for a different form format. this one is as follows... Im struggling with the correct code to do the following... probably something simple to many but im new to PHP and learning as I go. I have a simple php …

Web Development email php
Member Avatar for adam.adamski.96155
0
485
Member Avatar for websponge

I have a simple form that uses a bit of jquery, <form action="" method="post" enctype="multipart/form-data"> <label for="file">Upload File:</label> <input type="file" name="userfile" id="userfile" /> <input type="button" value="Submit" onclick="uploadfile()"/> </form> the uploadfile() in my .js file looks like this: function uploadfile(){ var userfile = document.getElementById('userfile').value; var username = document.getElementById('username').value; $.post("php/upload.php", {userfile: userfile,username: …

Member Avatar for websponge
0
612
Member Avatar for HunainHafeez

what are rss feeds ? benefit and scope of it ? and how to integrate it within my asp.net website ?

Web Development asp asp.net
Member Avatar for HunainHafeez
0
212
Member Avatar for david.f.smith.351

Hi, im new to PHP programming and ive tried a few forums on the net with this question and so far no answers. I have a php form that is working fine with a pre-determined email address, part of the code is as follows: $data_email_sender->AddToAddr("name<name@website.com>"); I also have a variable …

Web Development display email php
Member Avatar for adam.adamski.96155
0
462
Member Avatar for branding4you

Hi I read a text file using PHP, the file gets uplaoded, and what I want to do is read the file take some information out of it and post it to mysql. Problem is that when reading the file it removes the spaces, I cannot count where the data …

Web Development file-system mysql php
Member Avatar for branding4you
0
363
Member Avatar for Webville312

Hello, I want to submit multiple records into a mysql database, and I have hit a snag. I am developing a web application that displays student records, and upon displaying student records per class, I want to be able to add marks for beginning of term, mid term and end …

Web Development mysql php
Member Avatar for Webville312
0
1K
Member Avatar for riahc3

Hey I want to do something like this: <script language="javascript"> function calculatesha() { var name = document.getElementById("firstname").value; var last = document.getElementById("lastname").value; var complete = name+last; var hash = <?php echo(sha1(?>complete<?php));?>; } </script> I hope the code is understood even if it is wrong. Thanks.

Web Development javascript php
Member Avatar for riahc3
0
311
Member Avatar for HunainHafeez

check the image or chk Hot Jobs section in this link: http://www.bayrozgar.com/ i am working in asp.net and want to put exactly same thing whitin my website, and all text fields + images should b from database, sql i have all entries in database for advertisement section, but i want …

Web Development asp.net
Member Avatar for HunainHafeez
0
97
Member Avatar for mionazraelmiranda

hi! i'm having a hard time figuring out how to add two values(numbers) retrieved from a table. They should be added and displayed. how can i do this? here's the code snippet: require('connect.php'); $result = mysql_query("SELECT * FROM `order` where date = '$date' "); while ($row = mysql_fetch_array($result)){ echo "The …

Web Development php
Member Avatar for mionazraelmiranda
0
190
Member Avatar for Airshow

Tablesorter (currently v2.0.5) includes an "update" method. This method keeps a Tablesorter object up to date with dynamic changes made to its table(s). Like other Tablesorter methods "update" is implemented in the form of a custom event. A typical method call would be $table.trigger("update"); , where $table is a jQuery …

Web Development javascript javascript-jquery
Member Avatar for punknroll
0
822
Member Avatar for saifali.malik.33

<script> function get_input(id) { var value_id = id.split('_',2); var index = value_id[1]; var input_id = 'input_'+value_id[1]; var value = document.getElementById(id); var input = document.getElementById(input_id); var num = <?php echo $_SESSION['max_num']; ?>; var i= 0; while( i< num) { if(i==index) { // alert(index); //alert(i); // alert(input_id); $("#"+input_id).css({"display":"block" , "width":"106px" , "height":"20px"}); …

Web Development javascript
Member Avatar for stultuske
0
145
Member Avatar for ghenaw

Hi I'm trying to send a request to a my webservice using curl $content = '<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.travelledia.it/XHI" xmlns:ns1="http://localhost/test/soap2/" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> <env:Header/> <env:Body> <ns1:OTA_HotelAvailRQ> <AvailRequestSegments> <AvailRequestSegment AvailReqType = "Room" ResponseType = "RateInfoDetails"> <HotelSearchCriteria> <Criterion> <HotelRef HotelCode="5095">xxx</HotelRef> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </ns1:OTA_HotelAvailRQ> </env:Body> </env:Envelope>'; // Assign headers $headers = array("Content-type: …

Web Development php xml
Member Avatar for ghenaw
0
859
Member Avatar for iamshahz

I have php script that was writtin in 2009, it was working fine on my server even 1 year ago. i have upoloaded same script on server now, main page is seems to working ok and i can do anything in backend. is it due to php4 - php5 or …

Web Development php
Member Avatar for diafol
0
140
Member Avatar for chandbasha

Hi, pls can any one tell me how to configure zf2 on wamp. I have downloaded zf2 minimal package. But there is no zf.bat,zf.php,zf.sh files. And i am getting fatal error as Zend/Application.php not found. Pls can any one explain in detail.......... Thanks in advance

Web Development php
Member Avatar for hareshramani
0
219
Member Avatar for hfiza.amirah

hello all, please help me, how to make email broadcast in our website? ar u can help me to share it`s php source code? i need reference for my homework... please thanks before

Web Development email php
Member Avatar for broj1
0
262
Member Avatar for mahdiyazdani

hi every body i want to show in each row 4 items from my db and go to another row (++row) in each row 4 items until end of items of db instead of in each row 1 item please help me here is the code <?php $sql=mysql_query("SELECT * FROM …

Web Development display php
Member Avatar for Bachu
0
274
Member Avatar for Lilith24

The turotials online all say to access elements in javascript with document.getElementById(id). But I found I could negate this step and just type in id.attribute. I wanted to know why I didn't actually have to document.getElementById(id) my HTML attributes. Any ideas? <!DOCTYPE html> <html> <body> <p id="p1">Hello World!</p> <p id="p2">Hello …

Web Development javascript
Member Avatar for Troy III
0
390
Member Avatar for HunainHafeez

i stored few ads details in sql database & made connection between my asp.net website and sql database , now i want to update my page automatically with ads after every few days, mean if i have 50 ads details in my DB and i only show 10 ads per …

Web Development asp.net
Member Avatar for HunainHafeez
0
118
Member Avatar for kischi

Hi, I'm trying to implement some php code that I have in one document into another document. However when I do that I get this error: Parse error: syntax error, unexpected $end in /home/www/wearecrunch.dk/gammelsjuf/ajax/class/phUploader.php on line 470 I think it has something to do with where I'm placing the code, …

Web Development php
Member Avatar for kischi
0
450
Member Avatar for mahdiyazdani

hi everybody i got this page form some template that shows items in the page with pagination system but i want to keep this method without any pagination i dont want to spilit number of items i just wanna see all of the items that it read from db in …

Web Development display php
Member Avatar for mahdiyazdani
0
369
Member Avatar for hiyatran

I figure out how to write all the entries from my database onto a text file. header("Content-Type: text/plain"); header("Content-Disposition: Attachment; filename=test.txt"); header("Pragma: no-cache"); exit; How do I modify the text file?? Each entries (or row) have 5 elements in it and there are multiple entries in my database. How do …

Web Development php
Member Avatar for LastMitch
0
147
Member Avatar for BleepyE

Im making a top 10 leaderboard and ive added an option to hide yourself from the table if you dont want to be shown. This option removes you from the table completely. What I want to happen is instead of being removed from the table, have your username be replaced …

Web Development php
Member Avatar for BleepyE
0
97
Member Avatar for LastMitch

Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= …

Web Development mathematics php
Member Avatar for LastMitch
0
266
Member Avatar for HunainHafeez

i want to do something exactly like this in ASP.net , i am working on online reqruitment website, developing it for customer so i want to put a part like one mentioned in below link http://www.bayrozgar.com/ and chk the attached image to check that i am talking about . ![Capture54](/attachments/small/3/Capture54.PNG …

Web Development asp.net
Member Avatar for HunainHafeez
0
132
Member Avatar for Dendei

Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to …

Web Development api client-server php
Member Avatar for adam.adamski.96155
0
715
Member Avatar for jtok

Background: I am using Visual Studio 2005 Standard SP1 to create an ASP.NET website that accesses an SQL 2005 database. I am using vb.net as well. I am passing an ID in a query string from one page to the next, where I retrieve it using an SQLDataSource. The data …

Web Development asp asp.net vb.net visual-studio
Member Avatar for G_Waddell
0
2K
Member Avatar for nice_true

Hi! I work in NIC (National Informatics Centre). When I try to send email thorugh my asp.net code, I am not abe to do so, reason most probably being the ports being blocked by our ISP. To confirm, I fired telnet command for ports 25, 465 and 587, but in …

Web Development asp asp.net
Member Avatar for G_Waddell
0
220
Member Avatar for prasenjit_das

Hi All.. This Code Write On aspx file .This Code set the value in hidden field..But This Code Does not Work Properly <html><head></head> <body> <script type= "text/javascript"> function showDialogue() { var a = Screen.Width; var b = Screen.hieght; document.getElementById('HiddenField1').value = a; document.getElementById('HiddenField2').value = b; } </script> <form id="form1" runat="server" > …

Web Development asp.net
Member Avatar for G_Waddell
0
618
Member Avatar for rotten69

Hello everyone, I'm just wondering if there is another of calling functions in a different php file without making the app run strangley. So what I have got are a few forms without specifying their action. <?php 1- checking for the fields 2- if they are not empty and so …

Web Development php
Member Avatar for adam.adamski.96155
0
208
Member Avatar for shhh

( ! ) SCREAM: Error suppression ignored for ( ! ) Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 3 Call Stack # Time Memory Function Location 1 0.0010 183576 {main}( ) ..\admin.php:0 2 0.0015 185696 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:3 <?php session_start(); if( !session_is_registered("ulogin")) { header("Location:login.php?invalid=2"); } …

Web Development php session
Member Avatar for rotten69
0
335
Member Avatar for Boby Smith

I'm trying to add a "checked statement" based upon the users value already entered into the database. I've designed the database side as q1,q2 etc and have a single varchar with an "a","b", or "c". I basically want the code to retrieve the answer and put it into the checkbox …

Web Development php
Member Avatar for Bachu
0
104
Member Avatar for mr-cracker

Hello, I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back > HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; …

Web Development apache file-system php
Member Avatar for sftranna
0
880
Member Avatar for TMD

Ok I have a program that uses HTML to get some values from a user using a form and then it is passed into a javascript function that does some calculations with these numbers and creates a new variable name. What I need help with is that I want to …

Web Development javascript php
Member Avatar for broj1
0
1K
Member Avatar for ak47carbon

i want to give sms sending service through my website plz tell me how to send sms through php tell me in detail

Web Development api php
Member Avatar for JMills330s
0
261
Member Avatar for karin.ohara.98

If you post a status update or share a link on facebook there is an option to tag your friends as being 'with you'. It's not the same as tagging them with @ symbols. here is an example: [http://www.facebook.com/karin.ohara....11246132363889](http://www.facebook.com/karin.ohara.98/posts/111246132363889) I'm trying to code this myself in php. It works for …

Web Development api php social-media
Member Avatar for LastMitch
0
523

The End.