52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rouse

I need to iterate through a JSON object in JavaScript or jQuery that is returned from a PHP file with the a json_encode function call: echo json_encode ($varDump); The beginning of the JSON objects looks like the following: ["date","Rescription",{"date":"1715-05-03","description":"Edmund Halley observes total eclipse phenomenon \"Baily's Beads\""},{"date":"1765-05-03","description":"1st US Medical school opened"},{"date":"1797-05-03","description":"Jamaica …

Member Avatar for rouse
0
358
Member Avatar for andydeans

Hi, I have been using some tools to generate my php code as i have little knowledge of php. the tools are ok but the support is rubbish. everything is generated in US date and time format and i need it to be in UK. anyway to cut a long …

Web Development php
Member Avatar for almostbob
0
81
Member Avatar for reedd5404

I have a php login scripts and the page is secured. But my images on the page can be viewed if you know the direct url. How can i make it to where only logged in users can view images?

Web Development php
Member Avatar for reedd5404
0
108
Member Avatar for capiono

I a method that generates a PDF and the method returns a byte value, but after response.end statement, the shows an error that the "File does not begin with '%PDF-' here is the code: [CODE] private static Byte[] GenerateReports(string templateFilePath, DataTable table, string fileName) { Byte[] Output = null; string …

Web Development asp.net pdf
Member Avatar for Kreadus
0
122
Member Avatar for Stefano Mtangoo

I have done a lot of PHP but never JSP. I have checked tutorial but not gone too far. I see there are Java beans and some servlets which I'm zero brain at. So I have two questions: 1. Where to read a concise tutorial (Not too detailed I mean) …

Web Development java-jsp java-swing php session
Member Avatar for Stefano Mtangoo
0
188
Member Avatar for k2k

i have been using WAMP so never did a real php install... now i am trying to install php on a windows2003 machine... downloaded php5.3 msi file and finished the installation, added the path to the environmental variable. i can run php file in cmd now. however, i used notepad …

Web Development php web-browser web-server
Member Avatar for k2k
0
108
Member Avatar for seularts

How can I change the chmod to 0777 through PhP for a folder with subfolders and all it's content!? Or if I set the chmod for the folder with the subfolders all the subfolders will have 0777 permission as well? Thanks :)

Web Development php
Member Avatar for JRM
0
161
Member Avatar for miweiser

I'm just going to post my pages here if someone will take a look and let me know where to go from here...sorry, I could have attached files if you would prefer. I am not sure what needs to be in my VB page if anything more is required nor …

Web Development asp.net javascript sql vb.net
Member Avatar for miweiser
0
200
Member Avatar for mstatdaniweb

Hello, I'm trying to pass a $counter2 value from php loop to javascript, but $counter2 is incremented so I'm passing the highest value of $counter2, which i not what I want to do. Is there a way to combine values with html identifiers and pass them to js?I would be …

Web Development javascript php
Member Avatar for mstatdaniweb
0
92
Member Avatar for shella

Hi all. I'm new with jsp and i'm just looking for create a login solution. I use a mysql database and what i'm looking for is what follows: Make a query to my sql database and then insert the output of one field in a variable. I need this variable …

Web Development java-jsp mysql
Member Avatar for peter_budo
0
426
Member Avatar for lisles

i have a datalist that displays the titles of events.When i click a title i want to display the event details like date,venue,description... outside the datalist this is my code: [code] <asp:DataList ID="dlEvents" runat="server" HorizontalAlign="Left" GridLines="Both" OnSelectedIndexChanged="SelectedIndexChanged"> <HeaderTemplate> Events </HeaderTemplate> <HeaderStyle Font-Bold="true" Font-Size="16px" /> <ItemTemplate> <table onmouseover="dg_changeBackColor(this, true);" onmouseout="dg_changeBackColor(this, false);"> …

Web Development asp.net
Member Avatar for lisles
0
191
Member Avatar for sonia_demo

Hello friends, I'm creating image slide show. I can isplay images and checked imges (those that i want in slide show). but problem is i want save selectec images so that i can use them in slide show any idea plz help

Web Development php
Member Avatar for rajarajan2017
0
258
Member Avatar for rukshilag

Hi Does Anyone know how to display a table based on user selected fields? In my search box, once the user searches lets say all the female students, all the female students will show with all the fields of that particular table. then if need to print a report i …

Web Development display mysql php
Member Avatar for diafol
0
157
Member Avatar for arranhaceu

Hi there, I have a listview control, on which I have two buttons 1) Wesite 2)Email Me. Note the listview only has the Item and Layout Templates as I will not be editing or inserting. I have assigned both the controls the CommandName="select" so that they both fire the SelectedIndexChanged …

Web Development asp.net listview
Member Avatar for kvprajapati
0
100
Member Avatar for rs25

Hi, I'm having some requirement where i need to show some value in div tags and latter parse it to save in database. the value which is html escape char are getting translated when in div thus making the input wrong. like some where i'm using & and < they …

Web Development html-amp javascript
Member Avatar for rs25
0
196
Member Avatar for thanlin

Hi all, I have problem with Dataset. I couldn't use dataset in ASP.net editor. I created new object. dim ds as new dataset. I can't write dataset. If somebody know, plz let me know. thanks .

Web Development asp.net dataset
Member Avatar for dnanetwork
0
60
Member Avatar for bhaskarbabar51

I want this code to work as if [flag==0] then set seatcount to 1 else provide me a message that seat is booked but it does not give me proper response it works for seatcount==1 & shows meassage that its booked but for seatcount==0 then also it provide same message …

Web Development asp asp.net
Member Avatar for dnanetwork
0
150
Member Avatar for aks_1

some days back it was working but i don't why suddenly my java program is not compiling. i have set classpath=".;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet.jar". c:\> javac -classpath HowdyServlet.java it shows error in import java.servlet; statement and likewise in all HttpServlet lines too. or i have tried the other way …

Web Development apache java java-jsp
Member Avatar for aks_1
0
61
Member Avatar for rouse

In searching the web I can’t find a clear explanation of how to define an array with a key value combination and then how to reference the elements. I want an array that has a key of date and description, this is for a MySQL result set. This seems to …

Web Development php
Member Avatar for rouse
0
132
Member Avatar for mustafizulallif

i wonder how to do a popup like this daniweb. i mean when your not a member and not login then u click this link. daniweb will display an image to join this forum and lock the page behind it. what is the code? is it using java script? [url]http://www.daniweb.com/forums/thread100886.html#[/url]

Web Development javascript
Member Avatar for sureronald
0
94
Member Avatar for aditya61

Please help me... not able to figure out what is wrong with this code! <?php if($_POST == "submitted") { echo ' <script type="text/javascript"> // Used them both and to my horror, none of them work!!! document.BPC.postback.innerHTML = "postback"; document.getElementById("postback").innerHTML = "postback"; </script> '; } ?> <html> <head> <title> Help me! …

Web Development javascript php
Member Avatar for aditya61
0
84
Member Avatar for freedompeace

Hey everyone, Um, I've been working with PHP and MySQL for a few weeks, and to store text I've always been stripping anything but alphanumeric characters, which has worked fine until now. For my next project [I want to create a simple CMS/forum for my website], I need to store …

Web Development mysql php phpbb vbulletin
Member Avatar for colweb
0
273
Member Avatar for Hypalink

I have a problem with my remember me php function. For some reason it works perfectly in Firefox but not in IE8. I suspect it's something to do with the checkbox? IE seems to automatically remember the user even if the checkbox remains unchecked! So a cookie is set when …

Web Development php web-browser
Member Avatar for genevish
0
189
Member Avatar for ktucker

Hi, I am having a problem getting an old ColdFusion program to a vb.net program. Its a distributor finder and I'm trying to take the existing code and move it into a vb.net enviroment. the problem is that I am almost there and this particular program has this code: [code] …

Web Development asp.net coldfusion
Member Avatar for freshfitz
0
161
Member Avatar for bbxrider

I'm getting schema info but not so far able to bind it into datagrid columns, see code below I can print out the column-name and description and want to bind those into data grid columns [code] Dim schemaTable = dbConn.GetOleDbSchemaTable(OleDbSchemaGuid.Columns, _ New Object() {Nothing, Nothing, "VolDataNew", Nothing}) For i = …

Web Development asp.net
Member Avatar for bbxrider
0
158
Member Avatar for Froger93

Hello all, I am having some real issues with internet explorer. I have created a jQuery image rotator (flick along a selection of images). Everything works on everything but internet explorer. So much so that Internet Explorer doesn't even display the first image even before the transition. Instead I just …

Member Avatar for kflorida78
0
402
Member Avatar for bsewell

Hi all, I wondered if this was possible. i have a div, which I would like some images to rotate as the background-image so it is a slideshow. In additional, I want a fade in/out effect between the image transition. Basicly, what I'm asking is, how do I do it? …

Member Avatar for pritaeas
0
175
Member Avatar for jenroar

Hello! I have been regularly updating a website for a client, but I really only work in HTML or Flash. The client has a problem with the ASP side of their site, and has asked me for help. I don't really know anything about databases or query languages, and I'm …

Member Avatar for bhartman21
0
231
Member Avatar for jarceri

ASP.NET Web Project... "Not Web Application", though it might not matter. Normal MasterPage - > Site.Master Forms Authentication Enabled in the Web.Config file [CODE] <authentication mode="Forms"> <forms loginUrl="/Account/Login.aspx" name="aspNetForm" cookieless="UseCookies" domain="www.localitgeeks.com" path="/" defaultUrl="Default.aspx" slidingExpiration="true" timeout="30"/> </authentication> <authorization> <allow users="*"/> </authorization> [/CODE] Ok so that is the Web.config goo for ya. …

Member Avatar for jarceri
0
131
Member Avatar for collizz

Hi I have a basic PHP contact form using JS validation for empty fields, format checks, etc, which all work fine. I now need to add a mail() using the user input. I've made a version work, using some basic validation in PHP and comment out the JS, but I …

Web Development javascript php
Member Avatar for Monster Killer
0
658
Member Avatar for tania88

Hello all....i just wanna ask maybe a simple question.....here it is...i have develop one system..using php ,mysql...and have multiple user login to the system..and..what i want is, after the user log in, all the detail about the logged user would be retrieve in another page based on log in detail …

Web Development php
Member Avatar for tania88
0
97
Member Avatar for adam2009

Hello all, I wrote a jsp page. It has a form with a submit button that sends the data to some algorithm. I would like the submit button to load a "please wait" html. After the algorithm is done - that "please wait" page will be auto redirected to a …

Web Development algorithm http-protocol java-jsp
Member Avatar for javaAddict
0
100
Member Avatar for sebastian3

Hi all, I have problem connecting to remote MS Access DB using asp.net. The MS Access DB i have URL , local path and write access. I have used the following connectionstring : [CODE] //con.ConnectionString = "Provider=MS Remote; Remote Server=http://X.X.X.X; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\\yy\\XXX.mdb;Persist Security Info=False"; [/CODE] Error is : …

Web Development asp.net microsoft-access
Member Avatar for kvprajapati
0
101
Member Avatar for rohitmanhas_12

hi i want to convert this jsp code to c#... JSP CODE--------------- [code] ResultSet resultset4; try { Statement statement1 = connection.createStatement(); String strSQL = ("SELECT * FROM IllnessMaster"); resultset4 = statement1.executeQuery(strSQL); while(resultset4.next()) { str2 = resultset4.getString("IllnessId");//Here getting illness ID dd = str2.length();//taking IllnessID length str5 = str2.substring(1,dd);//here making IllnessId into …

Web Development asp.net c#
Member Avatar for kvprajapati
0
375
Member Avatar for alazanski

How can I make a web hosting service? What do I need? What must I do? I wish to offer my clients web hosting service and website design service. Thank you 4 your help,

Web Development web-design web-server xml
Member Avatar for pritaeas
0
176
Member Avatar for coollife

i want to convert HTML page into asp.net , i tried changing the extension and saving it as .aspx . It worked but most of the options didnt work apart from images like submenus, links and other things so i want to know how to fully convert an html page …

Web Development asp asp.net html-css
Member Avatar for kvprajapati
0
241
Member Avatar for smbzleon

I have 3 dropdownlist controls on one web page and these controls get populated from database one after user selects one of the values of previous dropdownlist control. For example, values in 3rd dropdownlist gets populated when user selects value from second dropdownlist. Values in second dropdownlist gets populated when …

Web Development asp.net
Member Avatar for kvprajapati
0
115
Member Avatar for rahul8590

i have written a small code to store the checkbox values into the db. But its showing me a parse error . Unable to figure out what it could be . [CODE] <?php $dbc = mysqli_connect('localhost', 'root', '', 'test') or die('Error connecting to MySQL server.'); if(isset($_POST['language'])) { $language = $_POST['language']; …

Web Development php web-server
Member Avatar for rahul8590
0
195
Member Avatar for Shanny Chong

can anyone tell me how to print out datagrid to paper using web control? i am using asp.net in vb.net.... is it need to use javascript to write at the html part? can someone kindly teach me pls? i need to know the print function....thanks...

Web Development asp asp.net javascript vb.net
Member Avatar for arrowgunz
0
89
Member Avatar for bobgodwin

I need to get a file name from a jpg without the extension to use as id in a span tag. Here's the code I'm using: [CODE] <?php $result = mysql_query("SELECT * FROM $data_sales_earrings ORDER BY id ASC"); while($row = mysql_fetch_array($result)) echo " <span id=\"need file name from jpg front\"><img …

Web Development file-system php
Member Avatar for bobgodwin
0
227
Member Avatar for tuukie

Want to make a pulldown for hours and I want it to be on the hour now (it is now 22:40 so the pulldown should be on 22). Here is the code: [CODE=php] <?php $hour_now= date(G); $minute_now=date(i); ?> <form action="index.php" method="post" id="schedule_form"> <p> <label>Hour</label> <select name="send_hour"> <?php for($i = 0; …

Web Development php
Member Avatar for tuukie
0
140
Member Avatar for gymangel812

I need to add a new sandwich name, description, origin, price and picture to a database. These are to be added to multiple tables. Ignore the drop down menu, it doesn't have anything to do with the query. The problem I'm having is getting the new product_id which is auto …

Web Development data-structure gui php
Member Avatar for LethargicCoder
0
234
Member Avatar for sendilkumar06

Please let me know how to fix this. description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:599) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:141) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) root cause java.lang.ClassNotFoundException: org.apache.jsp.one1_jsp java.net.URLClassLoader$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(Unknown Source) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:597) …

Web Development apache java-jsp
Member Avatar for peter_budo
0
614
Member Avatar for meganmink

Hello guys, i'm having an issue with updating the record in my database. everything seems to work well except that whenever i try updating the record via the mysql update procedure, it just returns with no errors and the record is not update. i tried echo'ing the $result to see …

Web Development mysql php
Member Avatar for LethargicCoder
0
149
Member Avatar for kingben

Hi. Please refer the code. I am having trouble in the 3 times nested loop (at the end) [code="php"] <?php error_reporting(E_ALL); ini_set('display_errors', true); ini_set('html_errors', true); function remove_blank_spaces($strWhite) { trim($strWhite); $string = ""; for($i=0; $i<strlen($strWhite); $i++) { if($strWhite[$i]!=" ") { $string .= $strWhite[$i]; } } return $string; } function get_all_substrings($input, $delim='') …

Web Development algorithm php
Member Avatar for kingben
0
244
Member Avatar for bidbul

hello, can you please help me? i wanted some clickable texts which opens not 1 but 2 urls in 2 different iframes. this code works on ie and opera but not on ff. i don't know what to do. thanks! [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> …

Web Development javascript
Member Avatar for bidbul
0
173
Member Avatar for seularts

So lets say i have this url: $url = $_POST['site']; I would like to remove the [url]http://,[/url] the www. and the last "/". The trick is that the $url can be witten like this: $url = 'http://site.com/' like this: $url = 'www.site.com/' or even like this: $url = 'site.com/'. And …

Web Development php
Member Avatar for seularts
0
314
Member Avatar for nonshatter

Hey, I have been trying to devise a way to insert a formatted PHP date() variable ($expires) into a publicly available javascript countdown clock. Obviously, this is made difficult because PHP is server-side and Javascript is client-side. This first piece of code is me adding a number of days to …

Member Avatar for BeachyUK
0
238
Member Avatar for vitroblue

i'm not quite sure this is the right forum to post this... please forgive me... i'm making a servlet it takes info from an html form and uploads it to a data base using jdbc that works just fine each time i run it, i get a console report that …

Web Development java-jsp
Member Avatar for javaAddict
0
89
Member Avatar for shd64

Hello, I have two cfselects set up so that selecting an option in one populates the options of the 2nd select. It works perfectly on my local environment, but when I test it on our QA server, it gives the error: "Bind failed, element not found: sltBiz" where sltBiz is …

Web Development coldfusion javascript
Member Avatar for arrgh
0
309

The End.