6,049 Topics

Member Avatar for
Member Avatar for simplyit

I am doing a final year project titled TRAVEL PLANNER using google map API. This website allows the user to add and manipulate the map to create and define new routes. I need to get data of those routes created by the user, update our database and display the resulting …

Member Avatar for peter_budo
0
84
Member Avatar for debasishgang7

I am using a XXS filter function to filter unwanted code.Here is my function xxs.php [CODE]<?php function clean($data) { // Fix &entity\n; $data = str_replace(array('&amp;','&lt;','&gt;'), array('&amp;amp;','&amp;lt;','&amp;gt;'), $data); $data = preg_replace('/(&#*\w+)[\x00-\x20]+;/u', '$1;', $data); $data = preg_replace('/(&#x*[0-9A-F]+);*/iu', '$1;', $data); $data = html_entity_decode($data, ENT_COMPAT, 'UTF-8'); // Remove any attribute starting with "on" or …

Member Avatar for debasishgang7
0
1K
Member Avatar for agam360

Hello, I have a php code that can find a child node in my xml file, And my problem is that I want to delete the specific user when I find the child node. How can I implement it here? [B]mail-list.xml:[/B] [CODE]<maillist><user><time>2011</time><email>MUBnLmNvbQ==</email></user><user><time>2011</time><email>M0BnLmNvbQ==</email></user></maillist>[/CODE] [B]And here is the php:[/B] [CODE]$xml = simplexml_load_file('mail-list.xml'); …

0
83
Member Avatar for ubi_ct83

first of all,i'm sorry if my topic shouldnt be here.i dont know which forum suite with this. currently im using xampp where i can use apache and sql automatically.but, xampp seems not support jscript and i need to code sumthing using jscript.any other software that i can use other than …

Member Avatar for Sarama2030
0
52
Member Avatar for brandonm

Hi all, I'm having an issue with updating an XML that already exists. I have no problem creating an XML but when it comes appending to the end an existing xml nothing happens. I dont get any error messages so I'm not sure what I'm missing, the first part where …

Member Avatar for brandonm
0
159
Member Avatar for jonow

I currently have am using Google Calendar for a website but I am creating a CMS system and want to be able to edit the calendar straight from my CMS system without having to go login to Google. Is there a way to do this? If not is there an …

Member Avatar for diafol
0
76
Member Avatar for Bazal

I am currently nearing the end of the final unit in my A - Level computing course in which we are developing a system for a company. My choice of system is a KML generator which creates placemarks with details on rescues. I have developed a working KML and GUI …

Member Avatar for Bazal
0
273
Member Avatar for gaboo

I have an xml output file that I want to check that a directory exists: [CODE] <row_element column="6" property_name="TEST">file_name = sample.txt ~ parent_file = main.txt ~ root_directory = c:\main\sample</row_element> <row_element column="6" property_name="TEST">file_name = sample2.txt ~ parent_file = main.txt ~ root_directory = c:\main\sample2</row_element> [/CODE] I tried the code below, but noticed …

Member Avatar for xml_looser
0
162
Member Avatar for nevergone

Hello, I have a website which sells like 5 digital products,and the transactions are made only via PayPal.After the user purchases a product he can login to download. Also affiliates can be created.That's all that it does. I was wondering if a SSL/TSL certificate would be usefull and which type …

Member Avatar for Ramesh.KR
0
85
Member Avatar for aldm

Hi, I want to create rss file in php. Everything works fine except one thing: Link of rss <item> is [url]http://www[/url].[first_part]listingID=BC7486705&idxID=089 . Link is OK, but items are not shown when xml is open. I looked at source code of created xml and part idxID of every link in marked …

Member Avatar for pritaeas
0
115
Member Avatar for dornaled

hi can any body tell me about SimpleXML function i don't know about this so help me. thanks and advanced.

Member Avatar for cwarn23
-1
63
Member Avatar for mikecronauer

Hi, I am trying to use AJAX to pull back mysql table information. I tried to alter an example I found (w3 schools) where they showed how use a selection table to pull a specific line out of a mysql table, using the "q" (not really sure if the "q" …

Member Avatar for mikecronauer
0
157
Member Avatar for imso

Is there any way to get the play button to stay hidden in the background during recording until the user intervene to click the screen to allow the button to resurface the play button to stop the recording process?? Is the code coded in the .xml file or somewhere else.. …

Member Avatar for peter_budo
0
108
Member Avatar for scrapple

Upon booting up my laptop today, Avast started showing me an alert for a "Malicious URL" even though I had no applications started and had not yet performed any actions. The popup message indicated that the site trying to be reached was 68.178.232.99/wpad.dat and the process trying to reach it …

Member Avatar for jholland1964
0
469
Member Avatar for eltonpiko

hi can someone help me iv never done any programming for standalone or desktop before.web is my domain but i have a task im trying to figure out how i can go about this. iv got a php site were you can search for shops and you get there categories,address,country …

0
51
Member Avatar for crankyslap

Hey guys, I got my application working fine but it's using a constant 50%-ish of my CPU power, which is way too much I believe. Can any of you figure out what's causing this, or tell me how I can find out myself? :) What we're doing is reading a …

0
105
Member Avatar for bufospro

Hi, I use a command with awk in bash shell so as to extract info from a file. [CODE]awk -F'[=,: ]' '{print /uid=/?$4:(/^telephoneN/)?$2:$3}' 1.txt[/CODE] the output is something like aaaa bbbb cccc dddd eeee ffff gggg tttt I would like to write this output in a file 2.xml [CODE]<xml> <name>aaaa</name> …

Member Avatar for bufospro
0
104
Member Avatar for aldm

Hi, I want to put xml file to yahoo API and bing API? How can I do this? I want something similar to google base. I have e-commerce site and want my products to be displayed on search on yahoo, so I can set this file is updated daily, weekly, …

0
71
Member Avatar for Joshua Kidd

Hello all, I am very new to PHP about 2 weeks on it now, and I was wondering if there would be any possible way to 1. Write Text to an XML File via FTP(or other way) 2. Delete certain lines, or Delete certain childs in the XML file. (IK …

0
64
Member Avatar for saifi007

hi friends. I m not able to open yahoo weather on my website by fopen() function and server gave me this error:- Warning: fopen([url]http://xml.weather.yahoo.com/forecastrss?u=c&p=98908[/url]) [function.fopen]: failed to open stream: no suitable wrapper could be found so plz give me another way to add yahoo weather on my website

Member Avatar for diafol
0
45
Member Avatar for smandape

Hello experts, I am trying to extract the abstract from the following XML code that appears as follow; [CODE] <abstract> <p> In eukaryotes, glutathione S-transferases (GSTs) participate in the detoxification of reactive electrophillic compounds by catalysing their conjugation to glutathione. GST is found as a domain in S-crystallins from squid, …

Member Avatar for iceandrews
0
113
Member Avatar for nip

Hi all, I need to translate my xml data to a new XML file wuth XSLT. I thought I had it, but I only got first row. Need help to write the XSLT. I have XML data exported from access: (using XSLT - to get my file) - <dataroot xmlns:od="urn:schemas-microsoft-com:officedata" …

Member Avatar for downey214
0
114
Member Avatar for jkaplan

Hi, I have a program that goes out and fetches an XML daily and then parses it. Sometimes it does not get the latest version. When I put the URL into my browser, it too does not show the latest version. Then when I do a Shift-Refresh, it updates and …

0
61
Member Avatar for MaddTechwf

I know that I can populate a menu using a .INI file but I was wondering if it can be done using an XML file. I would like to be able to add parent and children menu items. Below is a sample of what I want my XML to look …

0
66
Member Avatar for shack99

Hey everyone, I've got a problem. Say I've got two xml files, a student file and a class file. The class file displays all the students in a class; eg- [CODE] <Class> <Student> a </Student> <Student> b </Student> <Student> c </Student> </Class> [/CODE] And the student file stores the details …

Member Avatar for ddanbe
0
113
Member Avatar for chalasesha

hi friends i want to develop a site which uses the google search results and modifies them on some conditions. now i need to know which API to use to get google search response. is there any way to get XML/JSON response from the google for user search. please guide …

Member Avatar for edith135
0
105
Member Avatar for shruwin

Hi, I have to insert data into a database table using jsp and jdbc, query the table data and convert it into an xml file. I am using NetBeans IDE. I'm really stuck and i have a project due. Please do help:'(. Thanks in advance.

Member Avatar for Dean_Grobler
0
266
Member Avatar for f_atencia

Hi all, I'm fairly new to XML and XPath. I was wondering if someone could help me in understanding the following line of code and what element(s) it is pointing to: [CODE]<xsl:variable name="EmpPos" select="[COLOR="Green"]count(preceding-sibling::Employment)+1[/COLOR]"/>[/CODE] Any help is greatly appreciated.

Member Avatar for xml_looser
0
146
Member Avatar for anirban1087

Hi, I am working on some php based job. When I am accessing the pages from the same system (localhost) using IE, its work fine. But when I am trying to open the pages from a remote system using IE, the php part is not displaying. But Firefox is giving …

Member Avatar for diafol
0
135
Member Avatar for flizbert

Hi, I'm new to these forums and have been working with xslt for about a month. So far I've been able to do just about everything I need with it, but my most recent task has me confused. I have a relatively flat xml structure that I'm using XSLT to …

Member Avatar for xml_looser
0
672
Member Avatar for MaddTechwf

I want to load a Menu based on an XML document. I'm including an example from BartPE that does the same thing. I'm hoping that someone will have some experience with this before. [CODE] <?xml version="1.0"?> <NU2MENU> <MENU ID="Startmenu"> <!--==--> <MITEM TYPE="POPUP" DISABLED="@SetMenuPos( 'L','B' )0" MENUID="Programs">Programs</MITEM> <MITEM TYPE="SEPARATOR"></MITEM> <MITEM TYPE="POPUP" …

0
107
Member Avatar for CJdamaster

Hi there, I'm calling a function which reads XML and holds results in this kind of format: Item 1: Name="", Category="", InstallerURI="" Item 2: Name="", Category="", InstallerURI="" etc. I need some kind of return variable which will be able to hold this data. So far, I have tried: [CODE]// Create …

Member Avatar for CJdamaster
0
103
Member Avatar for mrbungle

I have an app that writes to XML. If a text box is filled, then I write that value to the XML doc. [CODE] writer.WriteStartElement("VEHICLE_LICENSE_NUMBER") '10-28 writer.WriteString(frmCitation.txtPlate.Text.ToString) writer.WriteEndElement()[/CODE] If TEST123 is the value in the text box, this is the result. [CODE]<VEHICLE_LICENSE_NUMBER>TEST123</VEHICLE_LICENSE_NUMBER>[/CODE] Question is, if that value in the textbox …

Member Avatar for mrbungle
0
141
Member Avatar for smandape

Hello experts, I am trying to extract the abstract from the following XML code that appears as follow; [CODE] <abstract> <p> In eukaryotes, glutathione S-transferases (GSTs) participate in the detoxification of reactive electrophillic compounds by catalysing their conjugation to glutathione. GST is found as a domain in S-crystallins from squid, …

Member Avatar for smandape
0
133
Member Avatar for DarkLightning7

I am trying to use the java XOM libraries but I am having trouble getting them to work the way I want them to. I want to get each element and its attributes from an xml file then use that information to create folders and files on the users computer …

Member Avatar for DarkLightning7
0
326
Member Avatar for prakash_05

Guys, right now i am posting xml to a service running on certain port. my sample code is [CODE] Quote: $XPost = fread($handle, filesize($xmlfile)); fclose($handle); $ch = curl_init(); // initialize curl handle curl_setopt($ch, CURLOPT_VERBOSE, 1); // set url to post to curl_setopt($ch, CURLOPT_URL, $URL); // set url to post to …

Member Avatar for aafasihah
0
92
Member Avatar for XxPKMNxX

getting the problem ~ mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /studhome/1/0803087/public_html/RSS.php on line 14 trying to create a RSS feed no idea what is wrong, so can anyone help [CODE] <? // Connect to database DEFINE ('DB_USER', '******'); DEFINE ('DB_PASSWORD', '********'); DEFINE ('DB_HOST', '*****'); DEFINE …

Member Avatar for XxPKMNxX
0
250
Member Avatar for gwong

Hi all, I am having issues with the sendfile command in mod_per2. I am getting the following errors in the error_log: [Thu Mar 24 11:38:50 2011] [info] [client 10.199.122.122] (32)Broken pipe: core_output_filter: writing data to the network [Thu Mar 24 11:38:50 2011] [error] [client 10.199.122.122] Apache2::RequestIO::sendfile: (130) Software caused connection …

0
66
Member Avatar for dhudnall

Hello All, I currently have a situation in which I need to dynamically populate a new row in a repeating table on an InfoPath form. I need to copy a field that is an external field into the newly created field in the repeating table. I was directed to an …

0
63
Member Avatar for smandape

Hello experts, I am trying to extract data from XML file using XSLT. I am trying to code a general XSLT code that can handle similar XML files that may differ a bit from each other. the XML code I am working on can have the following 4 scenarios for …

Member Avatar for xml_looser
0
370
Member Avatar for java_programmer

I am trying to write a simple servlet program. But getting the error The requested resource (/servletexam/LoginServlet) is not available. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, …

Member Avatar for java_programmer
0
309
Member Avatar for puvi

Hi ppl, I have a dynamic form, where user can add/remove rows and enter data. This form is basically a invoice. On clicking save button, the data should get saved into db, also a pdf file containing the details of the invoice should be generated. I came across this [CODE] …

Member Avatar for puvi
0
2K
Member Avatar for Climber Ty

So I am working on this XML project to create a small list of favorite DVDs, etc. Maybe I missed it (or that I may have not gotten this far in my reading) but in my DTD I want to restrict movie_review to only allow (G | PG | PG-13 …

Member Avatar for Climber Ty
0
289
Member Avatar for ChaosCoder

What I'm trying to do is parse a CSV file that has column headers, and map those headers - ideally to a class. The tricky part is that I need to be able to support various mappings because it will be interacting with different systems that give the headers different …

Member Avatar for ChaosCoder
0
2K
Member Avatar for DarkLightning7

I can't find anything wrong with this document. I am using the xom libraries to parse this doc and they keep giving me an error. If someone could point out my errors that would be great. [CODE] <?xml version = "1.0" encoding = "UTF-8"?> <update version = "0" date = …

Member Avatar for xml_looser
0
187
Member Avatar for chriselectrix

Hi All I have an XML output that looks similar to the below ... [CODE]<ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[60]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[70]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[INSP A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[INSP ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[80]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[GET F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET FITTING LID]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[90]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[KIT F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[KIT FITTING …

Member Avatar for xml_looser
0
235
Member Avatar for theighost

Hello, I want to write xml with php and Im using the code in this tutorial: [url]http://www.ibm.com/developerworks/library/os-xmldomphp/[/url] I've made the php page and everything looks fine when I access the PHP file, I get the XML structure and all. the problem is, it works only if the file in in …

Member Avatar for kokoro90
0
180
Member Avatar for ibakir

lately i have did a nice idea , that i have a lot of course programs inside my XML file <?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title>Training Programs</title> <link></link> <description>NA</description> <language>en</language> <copyright>NA</copyright> <lastBuildDate>Wed, 19 Apr 2006 16:26:12 -0800</lastBuildDate> <generator>text</generator> <docs>http://blogs.law.harvard.edu/tech/rss</docs> <item> <title>HR</title> <link>data/feed1/article_1.html</link> <pubDate>Wed, 19 Apr 2006 16:26:12 -0800</pubDate> </item> …

Member Avatar for ibakir
0
245
Member Avatar for hamburger_lover

Hy! A friend of mine recently told me that, now, in 2011, [I]Ajax [/I]is a [B]pure [/B]synonym of [I]DHTML[/I], and that DHTML is an old world that we should not use anymore. He told me that it is called "Ajax" as long as you use standard technologies (XHTML, JavaScript, XML, …

Member Avatar for ivatanako
0
113
Member Avatar for jrotunda85

I have a question regarding Google Maps integration I am planning for my site. Right now I have a list of approximately 5,000 addresses (Street Address, City, and Zip Code). I would like to add two columns to the table these address are stored in for Longitude & Latitude so …

Member Avatar for mschroeder
0
274

The End.