52,566 Archived Topics
Remove Filter ![]() | |
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 ![]() | |
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 … ![]() | |
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 … | |
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 … | |
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 | |
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 … Web Development asp.net open-source session visual-studio | |
javescript program that adds all even integers between 1 to 100 Web Development javascript | |
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 | |
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", … | |
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 | |
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§ion=pages&id=22]here[/url]. I have tried googling this error and everything … Web Development gaming html-css javascript | |
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 | |
Hi , i am php developer. But plan to learn JSP do i need to learn java for that?..... Web Development java-jsp | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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? … | |
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 … | |
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 … Web Development file-system php software-architecture | |
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 | |
[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 | |
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 | |
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 … Web Development java-jsp software-architecture xml | |
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 | |
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 ![]() | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … Web Development javascript web-browser web-server | |
![]() | 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 … ![]() |
![]() | 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 ![]() |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … |
The End.