52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yande

am getting an error wen i run the following code am saving it as welcome.php and using wammp Welcome <?php echo $_GET["fname"]; ?>!<br /> You are <?php echo $_GET["age"]; ?> years old. ERROR Welcome Notice: Undefined index: fname in C:\wamp\www\welcome.php on line 4 ! You are Notice: Undefined index: age …

Web Development php
Member Avatar for rajarajan2017
0
72
Member Avatar for Lolalola

Hi, On this site I found a lot of cool examples of PHP OOP. Maybe you know where to find complete examples? Guest books, registration forms, blog... When I look at the full model is much easier to understand OOP PHP. As different classes interacting with each other, exchange data …

Web Development oop php
Member Avatar for rajarajan2017
0
102
Member Avatar for vibhaJ

This problem is on AWS linux instance,in local its working perfact. Here is my flow: this file is:test.php [CODE] require_once('system/config.php'); $_SESSION['name']='test'; echo 'session -name- is:'.$_SESSION['name']; exit; [/CODE] Expected Output: session -name- is:test (its coming.OK) here i have set session value to test. so in page session is now live and …

Web Development php session
Member Avatar for vibhaJ
0
152
Member Avatar for tejasluvs

I am working on a PHP application and there is a link by which Invoice Preview can be seen and it is dynamically generated. There will be an option in this preview to convert it into PDF. I am trying to find a php class or script which will easily …

Web Development pdf php
Member Avatar for tejasluvs
0
73
Member Avatar for tejasluvs

Hi, Can we retain multiple checkbox selection upon refresh or using pagination for few hundred records? There is a page where user sees all the items which has search box on the field column to perform searches and select items using checkbox besides those items. While searching the items page …

Web Development javascript php
Member Avatar for tejasluvs
0
129
Member Avatar for maria_mj

i have deploy my .Net web application. i can retrieve the first page that is the login.aspx page. but, when i click the login button, the error has occur. Execute Reader: Connection property has not been initialized. After user click login button from the login page, menu page should be …

Member Avatar for maria_mj
0
960
Member Avatar for Kirtipari

javescript program that adds all even integers between 1 to 100

Web Development javascript
Member Avatar for Kirtipari
0
113
Member Avatar for eswaramoorthy

hi i have developed simple webapplication using JSP and JSF framework Step 1 : I have one login page : (contains username ,password and sumbit button) Step2 : I have one logout page : it has one link ([U]Go to login page[/U]), just u click this link go to login …

Web Development javascript
Member Avatar for eswaramoorthy
0
265
Member Avatar for praveen_dusari

hi all, iam using a php web services from xignite iam not able to use it properly [CODE]$xignite_header = new SoapHeader('http://www.xignite.com/services/', 'Header',"Tracer" => "1")); $wsdl = new soapclient('http://www.xignite.com/xMetals.asmx?WSDL'); // attach SOAP header $wsdl->__setSoapHeaders(array($xignite_header)); // call the service: pass the parameters and name of the operation $input_params = array('Types' => "XAU", …

Web Development api php xml
Member Avatar for eaksin
0
151
Member Avatar for BTW8892

Hey, i was wondering if it was possible to find the sum of all the values in certain row and than find the max value of all of them. I have the following code, but it only grabs the largest value from all the rows, is it possible to sum …

Web Development php
Member Avatar for BTW8892
0
117
Member Avatar for Rambomst

I am trying to refresh part of my page using ajax and it works fine in FireFox but when I test it IE I get an error at "document.getElementById('ipb_table_reload').innerHTML = response;" which says "Unknown runtime error" the webpage can be found [url=http://www.trident-gaming.net/forums/index.php?app=ccs&module=pages&section=pages&id=22]here[/url]. I have tried googling this error and everything …

Web Development gaming html-css javascript
Member Avatar for Rambomst
0
103
Member Avatar for GLT

Hey Guys! I am having trouble getting my insert and login pages to work and I wondering if any of you had any ideas?? please!!! I need to get this working asap! I have followed directions to get the login page to work and used user authentication server behaviour. When …

Web Development asp
Member Avatar for ArtistScope
0
644
Member Avatar for balaji153

Hi , i am php developer. But plan to learn JSP do i need to learn java for that?.....

Web Development java-jsp
Member Avatar for ~s.o.s~
0
59
Member Avatar for seemsbeautiful

Hello :D i'm new here .. I'm 15 years old and wanna learn for making online shopping website which including like make user database with mysql and make shopping cart . I already installed XAMPP on my comp . But i don't know how to make login form in my …

Web Development ecommerce php
Member Avatar for scaiferw
0
158
Member Avatar for phpboy

Hello Everyone. I am looking for some great ideas to develop something in PHP for my college project. I am interested in developing something in php/mysql. All i am looking for are some good project ideas. I have thinked for a while now and found some ideas like "making a …

Web Development php
Member Avatar for phpboy
0
281
Member Avatar for mexabet

I'm having an issue getting two Javascripts to work on one page. It seems that one disables the other and only one is working when previewed together. I know of a code that can be inserted so that both codes can function on one page, but I just can't lay …

Web Development javascript
Member Avatar for fxm
0
138
Member Avatar for theheretic1984

My code is in the attachment alex.txt. When i press the button for first time it gives me error: 'null' is null or not an object. But when i press it again or refresh the page and press the button it gives me the result that i expect. When i …

Web Development javascript
Member Avatar for fxm
0
109
Member Avatar for rajeesh_rsn

Hi , In one of my web application I want a real visitor count. I am not looking for any third party one. Also I want to know visitors are from which country ? I wrote a code and that will add in database when each page visit. But if …

Web Development php
Member Avatar for rajeesh_rsn
0
74
Member Avatar for diehardfighter

I am new to PHP.I want to include this outing management in my Hostel mgmt. application. A student request to stay out of hostel to the warden - also the administrator. The request is called "outing request". The warden can either accept or reject it. if the warden accepts it, …

Web Development php
Member Avatar for diehardfighter
0
108
Member Avatar for anujmadaan

Hello everyone. I am building a web application having various tables and 4-5option buttons in each table. When user check on one of these option buttons then the option is saved at server. I want whenever user returns the option marked by him earlier should be preloaded. For example if …

Web Development javascript web-server
Member Avatar for SikoSoft
0
165
Member Avatar for samarudge

Hi, I want to get the user and group that APACHE is running in through PHP. Like APACHE normally has the user 'apache' and group 'apache' but it can sometimes be 'httpd' for both or it may have been changed by the server admin. How do I find out the …

Web Development apache php
Member Avatar for SikoSoft
0
191
Member Avatar for wish02

i'm using an iframe for our project. when i run the project, the url will be [url]http://localhost/iset/tech/mainTech.php[/url]. but mainTech is an iframe, so it doesn't show the url of the pages that changes inside the iframe. how do i show the url of the pages inside? cause i need to …

Web Development html-css php
Member Avatar for sDJh
0
317
Member Avatar for Dartz654

Below is my post script. I'm trying to make it have a flood check (or something to stop people from spamming and crashing my servers) and my solution is to make a message appear saying "You've posted" when they hit the Post button. I tried adding Javascript alerts in multiple …

Web Development javascript php
Member Avatar for SikoSoft
0
150
Member Avatar for azegurb

hi all, i have one question around return function for ex. [CODE]<?php class Employee { private $name; // Getter public function getName() { return $this->name; } // Setter public function setName($name){ $this->name = $name; } } $azer=new Employee(); $azer->setName('sahib'); echo $azer->getName(); ?>[/CODE] why here we must declare two functions. one …

Web Development php
Member Avatar for azegurb
0
91
Member Avatar for dan1992

how ca i make a php function to delet a photo this is the file theat show photos .... [CODE] <?php $dir="../SV_uplod/"; if($opendir = opendir($dir)) { while(($file = readdir($opendir)) !==FALSE) { if($file!="."&&$file!="..") echo "<img src='$dir$file' width='200'><br>",$dir,$file; } } ?>[/CODE] Please Help THX !

Web Development php
Member Avatar for shubhamjain1
0
146
Member Avatar for vilasdhobale

I am trying to connect to MySQL database at on host (DBhost) from another host (PROGRAMhost). While I try to connect to the database at DBhost from DBhost itself the next is working fine for me: mysql_connect("localhost","qdbname","dbpassword") Now I am trying to find out what to use instead of localhost? …

Web Development mysql php
Member Avatar for rch1231
0
175
Member Avatar for LloydFarrell

Hi all, I have a pagination script that works great apart from one last thing I require some pointers on please. The help i need is with the SELECT query - currently the select query works, but i am bringing back all records, I am trying to bring only certain …

Web Development mysql php sql ui-ux
Member Avatar for LloydFarrell
0
216
Member Avatar for Virangya

I am trying to upload a file into the server.. but its not working. im coding in mvc and this is the view file which contains the form data. <form id="frm" name="frm" method="get" enctype="multipart/form-data" action=""> <input type="file" name="file" /><input type="hidden" name="MAX_FILE_SIZE" value="2000000"/><input type="submit" name="upload" value="upload" /> </form> this is the …

Member Avatar for shubhamjain1
0
681
Member Avatar for bobbymoir

I have a news website in PHP & MySQL. All News items are generated from the database with a php file (../shownews.php?newsid=39393). Here my problem is that i want to put MOST POPULAR NEWS ITEM and i can't figure out how to do so as its dynamically generated. Someone please …

Web Development php
Member Avatar for bobbymoir
0
131
Member Avatar for am5a03

[COLOR="Red"]Here is an extract of coding from my "main.php"[/COLOR] [CODE=php] if ($_GET["action"]==1){ //Redirected from the login page } else if ($_GET["action"]==2){ //Redirected from other page } else if ($_GET["action"]==3){ //Redirected from other page } else if ($_GET["action"]==4){ print "Test"; } else if ($_GET["action"]==5){ print "Test2"; } [/CODE] [CODE] <a href …

Web Development php
Member Avatar for am5a03
0
166
Member Avatar for karanits

Lets say i have a jsp page which invokes a servlet. Now I want the servlet to forward this request to someother secured jsp page which i have configured to be secured in my web.xml. The problem is the jsp pages opens as secured if I open it directly from …

Web Development java-jsp web-browser xml
Member Avatar for karanits
0
138
Member Avatar for vishantpoeran

Hi everyone, I searched a while on the internet how to work with mvc for a school project. I found a really great tutorial on this site. ([URL="http://www.daniweb.com/forums/thread141776.html"]http://www.daniweb.com/forums/thread141776.html[/URL]) This tutorial has everything that i needed. In this tutorial the connection of the database is made by setting paramaters in de …

Member Avatar for ~s.o.s~
0
293
Member Avatar for tiny7415

Can you put a cf comment inside the cfquery? example: <cfquery name="list" datasource = "#dsn#"> <!--- this is a comment, will this query run ---> SELECT Name, Age FROM studentTable WHERE Age = 20 </cfquery>

Web Development coldfusion
Member Avatar for tiny7415
0
250
Member Avatar for dlannetts

Hello, l want to retrieve information from a database,, l have a section for it to load but there is two entries (for now) l want it to pick a random one and load it, how can l do this? in my html file l have Name: <?php echo $latest_deal_name; …

Web Development php
Member Avatar for nileshgr
0
178
Member Avatar for Lapixx

Hi, I'm using a simple .htaccess file to use a custom 404 error page: ErrorDocument 404 /errors/404.php Inside this 'errors' folder, there is the 404.php file, and an image, which I want to include in the 404 page. Anyway, when I request a non-existing page from the root folder, everything …

Web Development apache file-system php
Member Avatar for bigtalk
0
262
Member Avatar for deeptakshd

my webpage consist of a gridview which displays records from database.....now i wanna add checkboxes in gridview one per row and also want to delete checked row record on clicking event of a button placed outside gridview....... plz help urgent

Web Development asp.net
0
84
Member Avatar for sgriffin

Hey everyone, I literally just started to learn Javascript today and started with a function that takes in a string and tells you the number of vowels (a,e,I,o,u) in it. It works, but when I use document.write(vowel("hello")) in my body, instead of just giving an output of "this string has …

Web Development javascript
Member Avatar for kracko
0
93
Member Avatar for bigtalk

I found this great piece of code for validating URL's. I've been trying to get it to work with preg_match() since eregi() is deprecated with with PHP 5.3: [code=php]// SCHEME $urlregex = "^(https?|ftp)://"; // USER AND PASS (optional) $urlregex .= "([a-z0-9+!*(),;?&=$_.-]+(:[a-z0-9+!*(),;?&=$_.-]+)?@)?"; // HOSTNAME OR IP $urlregex .= "[a-z0-9+$_-]+(.[a-z0-9+$_-]+)*"; // http://x …

Web Development php regex
Member Avatar for bigtalk
0
168
Member Avatar for Jesi523

I need some help. I am currently creating an event caledar. First there is a web page that a person would input information for an event there were holding with the dates and times. This information would be stored in a SQL Server database. Then a link is given to …

Web Development asp asp.net c# web-server
0
71
Member Avatar for MDanz

e.g. [code]<table><tr><td onclick='ChgText()'>test</td></tr></table>[/code] now "test" are results from mysql. So i want all those results to load before onclick on the column can be enabled. This is because if i press onclick too quickly, the function doesn't capture certain information. any help?

Web Development javascript php
Member Avatar for fxm
0
129
Member Avatar for FeralReason

The following code works fine in IE8 and Firefox 3.5. Any idea why it does not work in Chrome ? Tried it both in localhost and on my web server -- no success. In the header: [code = php] <?php if((isset($_COOKIE["unique_id"]))&&isset($_COOKIE["users_resolution"])){ $screen_res = $_COOKIE["users_resolution"]; $unique_id = $_COOKIE["unique_id"]; } else //means …

Member Avatar for fxm
0
205
Member Avatar for kirtan_thakkar

I have a database and will search with that database.. I want to show only first 5 results in the page and generate the "next" button for the next 5 results and on the 6-10 results page generate "next" button for the next results and the "previews" button for the …

Web Development display mysql php
Member Avatar for kirtan_thakkar
0
121
Member Avatar for kirtan_thakkar

If I have a page of 50 lines and I want to run 10-20 lines again if i click on some button.. Is there any way to do this??

Web Development php
Member Avatar for kirtan_thakkar
0
95
Member Avatar for visweswaran28

Hi, I want to prevent multiple user login for same user in asp.net.. How can I achieve. Note: I want to control without database concepts

Web Development asp asp.net
Member Avatar for upstream
0
238
Member Avatar for mcle

I'm interested in learning how to do this. What I'm doing is I'm making a social networking site linked to a game called Habbo, and for the registration page, once they put in their Habbo Username, I want to be able to load the image next to it. [url]http://www.habbo.com/habbo-imaging/avatarimage?user=[/url][[[[TEXTBOX.DATA]]]]&direction=2&head_direction=2&gesture=sml&size=l&img_format=gif That …

Web Development image javascript
Member Avatar for fxm
0
399
Member Avatar for vilasdhobale

I am trying to connect access database on linux server but not connect to database how to solve this problem with dsn or Without DSN please help me

Web Development php
Member Avatar for vilasdhobale
0
78
Member Avatar for Aamit

Hi, I want to add Some text and images into word file as Header and footer. How to create word file through php code. I have uploaded Sample doc file. Plz guide me..

Web Development php
Member Avatar for chrishea
0
86
Member Avatar for laptop545

Hello All, I am working with a web page an d i have a small problem. Presently i have a page, which shows the data in the form of a grid view. basically it shows the schedules for a game. In that gird view, i have a button called recap. …

Web Development asp.net web-server
Member Avatar for kvprajapati
0
145
Member Avatar for sara khan

Hey i m using href for forwarding control to other page but it displays null when i want to get that attribute in other page.. Can any 1 suggest me what to do...

Web Development java-jsp
Member Avatar for kvprajapati
0
110
Member Avatar for smariano77

Hello, this is the web page I'm developing: [URL="http://gtechrosarioco.win-servers.com/"]http://gtechrosarioco.win-servers.com/[/URL] . Problem: In firefox everything it's fine, in Chrome too. But internet exlporer shows the accordion pane in a wrong way and that mess up with the hole page (please check it for yourself and see what I'm talking about). The …

Web Development asp html-css
Member Avatar for smariano77
0
100

The End.