17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ryy705

Hello, I can run php scripts on my computer from the command prompt but I can't open it through my web browser. My assumption is that this happens because apache is not configured to use php. Does anyone know what lines(s) I should add to apache's httpd.conf file? I found …

Member Avatar for WebManiac
0
227
Member Avatar for kained

I am making a website to show Londoners where the nearest toilet to them is. I am having problems getting the data into the google maps application. It was working yesterday and now it isn't. Im confused to say the least any help would be much appreciated. [code=php] var markers …

Web Development google php
Member Avatar for kained
0
128
Member Avatar for kings

Is it possible to pass the javascript varible from one php page to another php page. what is the syntax we use.

Web Development javascript php
Member Avatar for kings
0
130
Member Avatar for maydhyam

Hi There, Can anyone explain to me this line of code? What is it used for? etc.. [ICODE]$HTTP_POST_VARS['command'][/ICODE] The text that I saw it in doesn't explain it...

Web Development php
Member Avatar for dgreenhouse
0
142
Member Avatar for sunflowerz

Hi there! :) I am currently creating a website that needs to be editable by the client and have been looking into free online WYSIWYG editors. I have been focusing on FCKeditor, but also looking into TinyMCE. I managed to partly integrate FCKeditor - it saves the text, but doesn't …

Web Development
Member Avatar for MoonKa
0
134
Member Avatar for Free_Man

Hi, I try to take data from mysql and insert into xls. I achieve that but I cannot sort out the char problem. Turkish characters are displayed in a weird shape in the file but everything seems fine when i display them in a web page. I tried ISO-8859-9(which is …

Web Development php
Member Avatar for Free_Man
0
89
Member Avatar for Robtyketto

Greetings, I'm slowly building up code to do the following:- [LIST=1] [*]Display TWO selection option boxes (cascading). [*]If the FIRST selection option box changes then reload the jsp using onchange event (not changing the option box value on relaod i.e. not re-running the SQL query). [*]ONLY on initial entry should …

Web Development apache java-jsp microsoft-access
Member Avatar for Robtyketto
0
237
Member Avatar for sDJh

Hi everyone, I'm now fiddling over a week to fix a problem on my linux-webserver. I have the following code: [CODE] ... $bool=mkdir(trim($semname), 0777, TRUE); //chmod(trim($semname),0777); $f2=fopen(trim($semname)."/index.php","w"); ... [/CODE] it works perfectly when working on my home server under windows but as soon as loaded up on my linux-webserver it …

Web Development php windows-server
Member Avatar for sDJh
0
327
Member Avatar for lydia21

hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the …

Web Development php
Member Avatar for nav33n
0
308
Member Avatar for naju

i need to embed text with different fonts to an image it will be cool if i could use the .ttf font files for writing text Thanks in Advance

Web Development image php
Member Avatar for naju
0
109
Member Avatar for kv79

Hi , I need a solution for my web page [url]www.servisracunara.co.nr[/url] When i click on the Popravka 2 I want to change a iframe to Popravka 2 . Thank you for your effort of reading this .

Web Development
Member Avatar for peter_budo
0
129
Member Avatar for Jogge

Hi just wonder if here are some that can help me with a boxover. Here is the code that i whant boxover in. [code]'Display the subject of the topic Response.Write(vbCrLf & " <a href=""forum_posts.asp?TID= " & lngTopicID & "&PN=" & intRecordPositionPageNum ) If intPriority = 3 Then Response.Write("&FID=" & intForumID …

Web Development javascript
Member Avatar for Jogge
0
118
Member Avatar for soultrav

i have a textbox and a button,like this: [code=php] <form method='post' action=<?php echo $_SERVER["PHP_SELF"]; ?> > <input type='text' name='write'> </input> <input type='submit' name='push'> </input> </form> [/code] , and i want that everytime that i push the button the content to be listed on the page without the previous content being …

Web Development php
Member Avatar for soultrav
0
110
Member Avatar for Goitse

Hi Guys I am a beginner in ASP and Access and need some help. I have a database and an ASP page that I need to connect together. The only problem is that I get an error message saying- [B][U]Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] …

Web Development asp microsoft-access
Member Avatar for zanzo
0
112
Member Avatar for naju

I did all the process as specified in [TEX]http://wiki.script.aculo.us/scriptaculous/show/Ajax.In+Place+Collection+Editor[/TEX] But when i select a value from the combo .... it hangs at "saving..." there is no return .. . i did tried with just putting echoing the value with validity checking even thought there is no return i m using …

Web Development javascript
Member Avatar for naju
0
105
Member Avatar for onetwothree

Apologies if this is a really basic question, but i am quite new to coldfusion. I have a database where i have some stored standard data in. i can search this database for the data I want, (eg 10 specific records of data), and output it to a form with …

Web Development coldfusion
Member Avatar for onetwothree
0
196
Member Avatar for naju

i am using scriptaculous.js and prototype.js my ajax is returning following tags (text) [CODE]<p id="tobeedited4">one</p> (should manually select "two")[/CODE] and while calling the ajax it has [CODE] new Ajax.Updater('contact_div_edit',"./doit.php", {asynchronous:true, parameters:poststr,onComplete: showResponse, evalScripts:true}); onComplete: showResponse[/CODE] my showResponse function goes like this [CODE] function showResponse() { new Ajax.InPlaceCollectionEditor( 'tobeedited4', '_ajax_inplaceeditor_result.html', { …

Web Development javascript
Member Avatar for naju
0
109
Member Avatar for mikki2

hi, i am trying to display a random product from my database along with its description, price and image. but i am having a little trouble. i can display a random product and its info by directly inputting it into an array, but i can't call it from the database …

Web Development display image php
Member Avatar for mikki2
0
209
Member Avatar for TobbeK

I have a small problem with this select box. This one loops out [year-month] in 12 month periods starting from the current month. When a selection has been done, a month value is sended back to this select box so that the selected month then stays selected. That works, as …

Web Development asp session
0
115
Member Avatar for smartness

hi, im getting these 4 (or 5) errors when i validate my page at w3.org [URL="http://validator.w3.org/check?uri=http%3A%2F%2Fhome.sprit.org%2Fdonrow%2Fforum%2F&charset=%28detect+automatically%29&doctype=Inline&group=0"]click here to see the errors![/URL] what can the problem be?! plz help...

Web Development php
Member Avatar for smartness
0
105
Member Avatar for JRSofty

Hi everyone, I'm a lazy programmer and when I want to create an array that I can store serialized in a database I don't feel like typing out all the array stuff rather I want to use a delimited string something like this: [code]access.read=1,2,3:: access.write=1,2:: access.modify=1,2:: access.manage=1:: somethingelse=10101[/code] So I …

Web Development php
Member Avatar for JRSofty
0
175
Member Avatar for stalk

Please, where is the problem? Unable to jump to row 0 on MySQL result index 3 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 1041 function zrataj_cenu($kosik) //funkcia pocitajuca vyslednu sumu vsetkych poloziek v nakupnom kosiku { $cena = 0.0; if(is_array($kosik)) { $conn = db_connect(); foreach($kosik as $EAN_kod => $qty) { $query = "select …

Web Development apache php
Member Avatar for JRSofty
0
329
Member Avatar for nandhinijp

I want to use google search in site.they give some code <form> ......................... </form> I want to use this code in my web page.if i placed this code before of my normal <form></form> code it changes design that means it has some space in top. if i placed this code …

Web Development asp.net google web-design
Member Avatar for nandhinijp
0
82
Member Avatar for mikki2

hi, i am trying to make a simple catalog website without checkout. the user clicks on a product he want and it's displaced on another page...simple. the first page (the one with the product list) has the following code... [code] <?php $sql = "SELECT * FROM products"; $result = mysql_query($sql); …

Web Development php
Member Avatar for mikki2
0
158
Member Avatar for davelandon

Hello, I moved my website from one server to another and want to use the mass mailing feature and it is not currently working. Here is the current script. The variables are pulled from the SQL database beforehand. open SENDMAIL, "|$sendmail -t"; print SENDMAIL "To: \"$toname\" \<$toemail\>\n"; print SENDMAIL "From: …

Web Development cpanel php
Member Avatar for davelandon
0
133
Member Avatar for coffeepot!

Hi all, Can anyone shed any light on this really simple problem please? I need to read a list of files in a directory on a server. I am using PHP to do something like this... [code="PHP"] $counter=0; if ($handle = opendir($dir)) { while (false !== ($file = readdir($handle))) { …

Web Development file-system php
Member Avatar for petr.pavel
0
120
Member Avatar for Designer_101

hi Im sure this is an easy problem to resolve. Basicly for my log-in script, im retreiving the results from a database, storing them in variables but i would like the redirection to be in flash (better looking). Is there a way for me to load two variables called $username …

Web Development actionscript flash php
Member Avatar for desicoder
0
79
Member Avatar for kevin wood

i am working on a file upload system and i need the user to be able to upload images onto the server with the page reloading. the page reloading causes all the other information to be lost and the user having a lot of unwanted windows open. what is the …

Web Development file-system php windows-server
Member Avatar for kevin wood
0
66
Member Avatar for kevin wood

I am fixing an e-mailing system using php and mysql and have hit a stumbling block. i have recently had to take on someone elses work and have fixed most of the problems they had created. I need to upload images and then display them on the newsletters that will …

Web Development file-system javascript
Member Avatar for kevin wood
0
89
Member Avatar for jeffasbrand

I have a need to force all items in a listbox to become selected before I force a submit. I need something to select everything in a listbox called SpacesServed: $("#form1").submit( function() { . . . code goes here . . . } ); Any ideas?

Web Development javascript
Member Avatar for jeffasbrand
0
106
Member Avatar for kevin wood

hello i am trying to get uploaded to a server using a hidden iframe so the page does not reload. i have a upload.php page which resizes the file and remanes the file. What i thiink should happen is that the php file should be in the iframe and the …

Web Development file-system javascript
0
92
Member Avatar for drorb

I need help with parsing XML. I put an XML doc into a hidden input for an HTML FORM... -------------- <html> <head> <title>TEST TEST</title> </head> <body> <form method=POST action="http://nflnfl.com/mash.php"> <input type=SUBMIT> <input type=hidden name=xdoc value='<?xml version="1.0" encoding="UTF-8" ?> <!--OPN 2001 Proof Of Concept--> <ScannerData> <Device>0000000000002561</Device> <UploadDate>3/6/2008 3:49:09 PM</UploadDate> <BarCode> <Symbol>8</Symbol> …

Member Avatar for drorb
0
123
Member Avatar for Thirusha

Hi I am using ajax and jsp in my web application. The user is required to fill out a few forms, for this i am using ajax to go through the forms, on one of the forms i need to set the session bean value and i am unsure as …

Web Development java-jsp session
Member Avatar for ~s.o.s~
-1
85
Member Avatar for majestic0110

hi all, hope you are well. Just a quick question, been googling this one for a while but not found anything yet: How does IIS deal with session state? Many thanks for your time.

Web Development asp.net session
Member Avatar for majestic0110
0
133
Member Avatar for serkan sendur

function SplitText(text,count) { if(text.length > count) { var _temps = text.substring(0,count); return _temps + "..."; } else { return text; } } Example : var s = SplitText("serkansendur",5); s will be "serka".

Web Development javascript
Member Avatar for DangerDev
0
64
Member Avatar for Thirusha

I have looked around this site but have not found anything to help me. I have a jsp page which takes user input, the page is then posted to a servlet using ajax, the servlet then sets a bean value. My problem is that when i go back to the …

Web Development java-jsp session
Member Avatar for Thirusha
0
113
Member Avatar for aravindkishore

Hi every one, Why I am getting wrong time when I am using date('H:i:s').I am working on localhost. Please help how to get correct time. Thanks and Regards, Aravind Kishore.P

Web Development php
Member Avatar for aravindkishore
0
85
Member Avatar for kings

[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!="none") { window.location="http://jesus.freehyperspace2.com/desc.php"; } } --> </script> </head> <body> <form method="get" target="frameright" action="http://jesus.freehyperspace2.com/desc.php"> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from career"); if($result) { print "<select name='IndustryType' language='javascript' onChange='view(this);' size='15' tyle='width:250px'>"; print "<option value='none' selected>Choose Industry …

Web Development career javascript php
Member Avatar for silviuks
0
74
Member Avatar for TobbeK

Anyone having experience in MySQL and REGEXP ? I have 1 input field, "what" Now, the value from the "what" field can contain several substrings and I like each of them to be searched. Can this be done by using REGEXP or do I need to split the "what" input …

Web Development asp
Member Avatar for TobbeK
0
409
Member Avatar for serkan sendur

I have searched for a tab menu script for a long time but none of them was flexible enough,then i created one for me. The algorithm is nice so the script is not too long although being flexible. your tab menu is in an html table row as follows : …

Web Development algorithm javascript
0
64
Member Avatar for serkan sendur

Menu is about three things : 1) Position 2) Show-hide 3) Content the Positining function is this : function elementPosition(obj) { var curleft = 0, curtop = 0; if (obj.offsetParent) { curleft = obj.offsetLeft; curtop = obj.offsetTop; while (obj = obj.offsetParent) { curleft += obj.offsetLeft; curtop += obj.offsetTop; } } …

Web Development javascript
0
70
Member Avatar for serkan sendur

When you assign a source to an image via javascript, it will take sometime to load the image. To get around this problem you can preload the images creating virtual images via javascript as follows : if(document.images) { // create a virtual image var img1 = new Image(); // preload …

Web Development javascript
0
81
Member Avatar for serkan sendur

private DataTable CategoryNames(DataTable myTable) { DataTable dt = new DataTable(); dt.Columns.Add("ColumnName"); foreach (DataRow row in myTable.Rows) { string s = row["ColumnName"].ToString(); DataRow[] drx = dt.Select("ColumnName= '" + s + "'"); if (drx.Length == 0) { dt.Rows.Add(new object[] { s }); } } return dt; }

Web Development asp.net
0
64
Member Avatar for serkan sendur

Create Ajax Enabled WebSite. Set EnablePageMethods property of the ScriptManager to true : <asp: ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" /> In the CodeBehind of the page, register System.Web.Services namespace. Create a Method as follows : [WebMethod] public static void DoSome() { } the method must be static and tagged as WebMethod. …

Web Development asp.net c# javascript
0
163
Member Avatar for serkan sendur

protected void gridview1_RowDataBound(object sender, GridViewRowEventArgs e) { if(e.Row.RowType == DataControlRowType.DataRow) { LinkButton db = (LinkButton)e.Row.Cells[0].Controls[0]; db.OnClientClick = "return confirm('Are you certain you want to delete the item?');" } }

Web Development asp.net
0
45
Member Avatar for serkan sendur

I created 5 .aspx pages with Response.Write(DateTime.Now.ToString()); in the Page_Load event handler, and with <%@ OutputCache Duration="300" Location="Any" VaryByParam="none" %> added after the @ page directive with different versions of location. When i refreshed the page, client and downstream locationed ones refreshed the time as well, this proves that output …

Web Development asp.net caching
0
55
Member Avatar for serkan sendur

I havent tried the EnableSortingAndPagingCallbacks property of the GridView before. Appearantly it doesnt do anything different than the updatepanel. It only reduces the mark up used to create the updatepanel, in other words, it encapsulates the functionality.

Web Development asp.net
0
54
Member Avatar for serkan sendur

Markup : <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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" > <head runat="server"> <title>Server Info</title> </head> <body> <form id="form1" runat="server"> <div> <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" Caption="Environment Variables"> <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <RowStyle BackColor="#EFF3FB" /> <EditRowStyle BackColor="#2461BF" /> <SelectedRowStyle …

Web Development asp.net web-server
0
68
Member Avatar for serkan sendur

Modify the web.config as follows : <configuration> <system.web> <authentication mode="Forms" /> </system.web> <location path="myRestrictedPage.aspx"> <system.web> <authorization> <deny users="?"/> <allow users="*" /> </authorization> </system.web> </location> </configuration>

Web Development asp.net
0
95
Member Avatar for serkan sendur

Create a Web form : <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkerProcessInfo.aspx.cs" Inherits="WorkerProcessInfo" %> <!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" > <head runat="server"> <title>WorkerProcessInfo</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager runat="server" ID="scrpt"></asp:ScriptManager> <asp:UpdateProgress runat="server" ID="uptPrg" AssociatedUpdatePanelID="upt"> <ProgressTemplate> Loading... </ProgressTemplate> </asp:UpdateProgress> <asp:UpdatePanel runat="server" ID="upt"> <ContentTemplate> <asp:GridView AutoGenerateColumns="false" ID="GridView1" …

Web Development asp asp.net web-server
0
70

The End.