52,566 Archived Topics
Remove Filter ![]() | |
[code=php] include_once('session.php'); include_once('config.php'); $userid = $_SESSION['userid'] ; $uname = $_GET['uname']; $query= "call sp_active('$uname','$userid',@u_active)"; $result = mysql_query($query) or die('query_error'.''.mysql_error()); if($result) { header('location:vagent.php'); } [/code] simple php code.. but still throwing Cannot modify header information - headers already sent by i have also use ob_start(); but of no use | |
I have the following script from a forum that collected data from a form and inserted in the. Mdb These are displayed through a file that reads the database. At this time the display is text, URLs are not active. The script is not so do not really know what … Web Development asp microsoft-access | |
Hi all I've been trying to find a regular expression that checks if input contains any of the following characters only: `~!@#$%^&*()-=+\|/?.>,<;:'"[{]} I want to allow users to input any normal character a-z or any numbers as well as underscores and any special character that resembles a letter such as … Web Development javascript regex | |
Greetings! I'm developing my own wiki and installed v1.6.5. I use MySQL v5.0.83. The wiki itself functions fine but after adding the extension Cite.php and adding the call command [ICODE]require_once( "$IP/extensions/Cite/Cite.php");[/ICODE] it gives me the stubborn fatal error message Fatal error: Class 'Cite' not found in $IP/wiki/extensions/Cite/Cite.php on line 54. … | |
hi every body. i am a new user to this site and i need help from you all regarding installation and running of tomcat3. Can any body give me step by step details of how to install and configar tomcat and then where to save a simple java program containing … Web Development java-jsp | |
my requirement is textarea have 3 keywords. no need to count letters per line. but each keyword separated by commas. forexample: abc is one keyword, defgh is another keyword, kalpana is another keyword. so we are entering like this abc,defgh,kalpana into textarea . there is no need to count no.of … Web Development php | |
Hi, I am using GZip Compression in my ASP.Net application. All of my web pages inhertits from a BasePage Class. In my BasePage I have implemented Gzip Compression. On Page1.aspx on button click I am using Server.Transfer("Page2.aspx"). But unfortunately instead loading Page2.aspx I am getting this error mesaage : Internet … Web Development asp asp.net web-server | |
Hi, I was wondering why the CREATE TABLE query in my code seems to be called automatically, whilst in the example below from w3schools, there is a line which explicitly calls the CREATE TABLE query. Why is that the query in the w3schools example isn't ran twice? My code: [code=php] … Web Development php | |
Today, Tuesday November 10, 2009, [URL="http://www.novell.com"]Novell[/URL] announces a Visual Studio plugin that allows support for non-Microsoft operating systems that use .NET code development on a platform known as [URL="http://go-mono.com"]Mono[/URL] via a new product called [URL="http://go-mono.com/monovs/"]Mono Tools for Visual Studio 1.0[/URL]. This is not a cost free toolset. In fact, it's … Web Development asp.net client-server suse visual-studio | |
Heres one for ya... Lets say you have a mysql database with multiple entries (clients). Each one has a field for name, username ect. There is also one for say storing a doc file for billing. How can I make it so I can upload a file to just a … Web Development php web-browser web-server | |
hiii can u please help me in uploading files in JSP??? I have a code but it can only upload small sized files(only few bytes or kb) , please help me in uploading large files.I tried to upload a large file but it could not, although it didn't show any … Web Development java-jsp | |
How to parse an xml from javascript from code beside page? i have tried [code] var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.onreadystatechange = Readxml; xmlDoc.load("abc.xml"); [/code] but the error is that the xml is not loaded? i am using visual studio 2008.thnks in advance Web Development asp.net javascript xml | |
Hai, I had developed a self forum ( not third party ) for my web site. Working fine... But now I need to filter some words while submitting the form. Ie If I need to filter the word "duck" in forum then if an user type "duck" in any of … Web Development php | |
hai friend's , i am developing one website , in that i placed an image , my question is how to enlarge that image like pop up ?? | |
AOA, i am developing a site, i want that when ever a user signs up on my site, it should get its own folder like youtube........!! i.e [B]youtube.com/user/username[/B] my problem is that i want to get variable wihout adding any .php extension. So how can i get or add when … Web Development php | |
Hi All, I'm looking for a technique how to save image generated from php to png/jpg/gif, save the image to the server. Later, I want to include the image file to a pdf file generated from a php code. I'm referring the image generated php from [URL="http://www.daniweb.com/forums/thread199886.html"]HERE[/URL] | |
Hii... I'm having 2 .aspx page 1) Detected Vulnerabilities Report 2) Missing Patches Summary Report When I'm clicking on Detected Vulnerabilities Report it is executing fine and after when Im clicking on Missing Patches Summary Report it is also executing fine. For both of this report Im passing 2 parameters, … Web Development asp.net | |
Hi all, I've searched for this problem in several forums, and as I couldn't find it in any of them, I decided to start this thread. I am a magnet for weird problems. There's this groupware webapplication that I want to test, and for that, I put it on my … Web Development gui php web-browser web-server | |
i have a class called sqlConn.php within the same directory as hiuser.php how do i call that class. [code] include('sql_Conn.php'); $sql = new sql_Conn; [/code] does not work i get Warning: include(sql_Conn.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/TestSite/hiUser.php on line 10 Warning: include() [function.include]: … Web Development file-stream php | |
I have a simple sqlDataSource that populates a GridView control Nothing out of the ordinary here. [CODE] <asp:SqlDataSource ID="personalInfoSource" runat="server" ConnectionString="<%$ appSettings:Maya%>" SelectCommand="SELECT customerID, lname, fname, dateNow FROM dbo.customers ORDER BY lname ASC"> </asp:SqlDataSource> <asp:GridView ID="names" runat="server" Width="280px" DataSourceID="personalInfoSource" AutoGenerateColumns="False" DataKeyNames="customerID" AllowSorting="True"> <RowStyle BackColor="#FFBA00" Font-Names="arial" ForeColor="#26354a" /> <AlternatingRowStyle BackColor="#D3DCE6" Font-Names="arial" … Web Development asp.net client-server | |
Hi, everybody. I've been a member for a while, but I'm not a coder, so I haven't made any posts. But I get frustrated not knowing how to do things. So I'm taking the plunge. I'm working through a tutorial on PHP and MySQL (here: [url]http://dev.mysql.com/tech-resources/articles/ddws/[/url]), and things have been … | |
I have read several tutorials and 'philosophical' views aon writting PHP codes by either implementing templates or making your own templates. So me says template engines are like learning new language, som e say are good. Good controversy! What do you suggest guys, I mean pros and cons of each … Web Development php | |
I'm not sure if this is the right forum, but i always seem to get redirected here with questions regarding .NET Im using Managed C++ and im trying to edit a registry key. [code] using namespace System; using namespace Microsoft::Win32; int main() { RegistryKey^ rk = Registry::CurrentUser; rk->OpenSubKey(L"Software\\Microsoft\\Command Processor", true); … Web Development asp.net | |
I'm trying to set dynamic titles on my pages with a switch statement, but can't get it to work. Tried ifelse using code gleaned from Google but it didn't work. I'm trying to get it so that all my pages' titles are able to be dynamically used from a value … Web Development php | |
will someone please help me with this. It seems simple enough but I'm very new to asp and vb. I have a datagrid and I want to know how to access the values in a specific column. The dg is bound to a sql query. The column returns integer values … Web Development asp.net | |
Hi! I need a button in php code, that when i click on that button it export's my SELECT to a text file or excell file.. i searched.. there's a lot of program's that make that.. but i don't want that.. i want to make on my webpage a simple … Web Development php | |
How would I go about changing this to grab the sku without making it static as I have it below: [CODE=php]<?php if($this->getProduct()->getSku()=='SKU###'){ $titles=array('Color 1:','Home Color 2:'); $url = Mage::getBaseUrl(); $skinUrl = $this->getSkinUrl('images/catalog/product/placeholder/'); require_once 'app/code/local/Temgra/ColorCustomOptions/colorCustomOptions.php'; colorCustomOptions1($this->getProduct(), $titles, $url, $skinUrl); } ?>[/CODE] What this does is grabs the sku of a product … Web Development php | |
I have a form that get processed by a php page and depending on what the user decides it will get summited to another php form. But the [code = php]<input type="text" name="fname" value="<?php 'echo $tesing';?>"[/code] part does not work inside php. if i try the code outside it works, … Web Development php | |
Hi Everyone, i am really new at this and slowly getting started, to fast track my website i purchased a web template in flash with a php email script. I have tried searching the web for a solution but i am not up o scratch with any code that makes … | |
Is there a code that changes decimal places? Example if you have 333.333333..... can you make it say just 333 Thanks Web Development javascript | |
Hi, I am trying to create a search function on an html page. I have written the page and part of a php page. I trying to get help with the search as there are 3 criteria; So far I have made this search form; (textbox name=searchterm) [B]Brand[/B]: (dropdown name=type) … ![]() | |
hi to all. i have two radio buttons with one name. and also have one text area box. Depending on first radio button is chosen It will allow 2 entries(Enter key words Separate by comers) per line, and at the same second radio button chosen it will allow 4 entries(Enter … Web Development php | |
ok so i am an avid php developer and i am starting to get into ajax so i can keep file sizes and code down to a minimum. i am looking in the w3schools ajax examples but i am a little lost at how to send through a variable to … Web Development javascript | |
Hi How can i count number of times user viewed a specific page in my application. Also i want to use Session or something else because if a user refreshes that page it should be icremented once. Any ideas how can i do it | |
Hi If anyone knows some opensource api or tutorials.. [url]http://buysellads.com/buy/detail/108[/url] Look on the right- it says "Public stats" how do you display that information for a domain - how do buysellads do that domain api? | |
Hi Everyone I've Installed Myeclipse and Tomcat 6.x , Everythings fine , the Server starts in 60 ms time which is not usual , I mean it'll take loger time. Eclipse shows that server is started , but when I run the project , There's nothing happens , not a … Web Development java-jsp | |
Hi to all, I have table student in which I inserting first name,middle name, last name in 3 different columns. but when i want to show it in gridview I want to join three columns into only one heading "Name". Is it possible...? or any other way to show it..? Web Development asp.net | |
hey, can any one tell me whether i can write methods other than getxm or put xml in restful web services.If yes then which will be the first function to be called Web Development xml | |
Hello, all: I'm trying to sanitize/secure my query, and it all seems ok when I test it with most special-characters... but when I try to test the single quote (') like this... [url]www.mysite.com/page.php?category=[/url]' Then it gives me this error: "You have an error in your SQL syntax; check the manual … Web Development php | |
Hi all, I am rather new to PHP, but have a fairly ok grasp of software design. My question arises from the fact that I'm getting ready to deploy some scripts etc. to my website which is hosted on a *nix type server. My home / work computer that I'm … | |
How to handle UTF-8 characters in HTML, JavaScript, PHP and MySQL ... | |
Hello Guys I am working on a website I am not getting the forget password can u please help me in solving problem please Thanks in advance Web Development php | |
Hi all, Please I'm a newbie in PHP and MySQL, I have results from a GROUP BY (grouped by col2) query in the format. col1 | col2 ----------- a1 | a a2 | a a3 | a a4 | a b1 | b b2 | b b3 | b I … | |
Hello ! I'm New to ASP.NET, I want to use it with C++. I installed Microsoft Visual C++ 2008 Express Edition, And installed IIS ,When i've Written my First code to Test, I got this message: [QUOTE]An unhandled exception was generated during the execution of the current web request. Information … | |
Ok so I created a small page using smarty, now what I need to do is create a link to the page(s). The set the page up so that it will display information for the individual user and not to everyone, also the pages are created dynamically. So I need … Web Development php | |
Hi all, i am new to AJAX, so need some help I want to create simple feedback (comment) form, base on AJAX. So, I have my HTML form, and even have my SQL database, and PHP script. All is working quite ok, but I need to make it AJAX - … Web Development javascript | |
Hey guys, I'm currently learning JSP and Java using Netbeans, and I was wondering if there was an easy way to create a web template layout. For example, using a single header, footer, and navigation bar for all pages. In Ruby on Rails, there is a "layouts" view, which you … Web Development java-jsp java-netbeans ruby | |
How do you declare your select menu in the PHP? Does it have to be an array of variables? One single variable? Something else? Let's say this one: [CODE] <select name="search" title="Search Criteria"> <option value="id">ID Status</option> <option value="ip">IP Status</option> <option value="pd">PD Status</option> <option value="nva">NVA Status</option> </select> [/CODE] Thank you! Web Development php | |
HI .. any one of you people can help me in asp paging.. Its actually a knowledge base link in which i am displaying the records based on the filtering we want.it dispalys the records but where to include the paging code... i got some code from net.. but its … Web Development asp |
The End.