Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for lonestar23

How would I go about uploading and resizing a transparent PNG, GIF image using PHP? I have a script but it only works with JPG images and of course JPG images do not support transparent images. The image also needs to maintain it's transparency when resized. Thanks in Advance!

Member Avatar for selular88
0
1K
Member Avatar for lonestar23

Trying to figure out how to parse the attribute value from an RSS feed which contains namespaces? Need to retrieve value "CA" from 'ac:country="CA"' in the code below. Thanks In Advance! [CODE]<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:ac="http://palm.com/app.catalog.rss.extensions"> <channel> <link>http://www.palm.com</link> <title>Device Apps for US</title> <description>Complete list of US Device channel applications …

Member Avatar for lonestar23
0
277
Member Avatar for lonestar23

Hello, I am trying to resize an external website in an iframe using javascript, but have not found code that works very well. Anyone know how to go about it? Thanks in Advance!

Member Avatar for agfucious
0
209
Member Avatar for lonestar23

How would I go about passing a user agent when requesting an external xml feed from a 3rd party web service. Need to pass the user agent or else the feed produces an error. I am using DOM [code] <?php $request1 = 'http://www.abc123.com/webservice/this.xml'; $requestIT1 = $request1; $response1 = new DOMDocument(); …

Member Avatar for lonestar23
0
277
Member Avatar for lonestar23

I have file 123.php which produces dynamic information upon excecution and need 123.php to copy it's output to file "abc.txt" How would I go about this in a unix environment? Thanks in Advance!

Member Avatar for lonestar23
0
166
Member Avatar for lonestar23

Hello, I am retrieving results from a RSS feed, but not all results have a title. I would like to run something like the below code which, lets me know how many times a title is empty. If three "titles" are empty, then X code would dynamically echo "3" etc.... …

Member Avatar for darkagn
0
158
Member Avatar for lonestar23

I am trying to parse a XML document but can not seem to parse both Childnodes and Attributes in the same Foreach statement. ===================== PHP CODE ===================== [CODE] <?PHP $webResults = $response->getElementsByTagName($prnt0); if ($webResults->length<>0) { foreach($webResults as $value){ $title = $value->childNodes->item($child1)->nodeValue; } } ?> [/CODE] Need the title childnode and …

Member Avatar for ShawnCplus
0
2K
Member Avatar for lonestar23

I am trying to merge two different RSS sources with the same structure into a single list concurrently. I have two foreach statements but would like to combine them. Problem I can not turn a DOM Method into an array... Thanks in Advance. ###### CODE BELOW Using DOM METHOD ##### …

Member Avatar for lonestar23
0
115
Member Avatar for lonestar23

How would I go about combining two seperate rss feeds to appear as one list in PHP? example: abc.com/horse/rss monty.com/cow/rss === results === 1.) lovely horses 2.) great looking cows 3.) my pony is sick 4.) cows make good steaks etc.... Thanks in Advance!

0
80
Member Avatar for lonestar23

Have been trying to figure this one out for some time, but still can not get this AJAX script to work with Internet Explorer. It works with all other browsers. Thanks in Advance! FORM CODE [CODE] <script language="JavaScript" type="text/javascript" src="aj.js"> </script> <input type="text" value="#CCC" id="paints" size="7"> <input type="button" value="submit" id="gColor" …

Member Avatar for essential
0
152
Member Avatar for lonestar23

I am trying to parse the the following xml code below, I need to retrieve only totalhits="376719" in the "resultset_web" child. I also need to use code similar to the following: [CODE]<?php $doc = DOMDocument::loadXML($information); $result_node = $doc->getElementsByTagName('resultset_web'); $tHits = $result_node->item(0)->getAttribute('totalhits); ?>[/CODE] /* XML TO BE PARSED */ [CODE]$information = …

Member Avatar for lonestar23
0
194
Member Avatar for lonestar23

I have the following Iframe. <iframe id="result" style="width:400px;overflow:-moz-scrollbars-none;overflow:hidden" scrolling="0" frameborder="0"></iframe> Want to disable the scroll-bars while the url finishes completely loading in the iframe. The above seems to work with Firefox, but not with Safari, Opera, and not sure IE. I am looking for javascript to disable all scrolling until …

Member Avatar for Drew
0
100
Member Avatar for lonestar23

I am having problems retrieving distinct records from a XML record. I am using the following code but seem to have the same image in an entire row. Thanks in Advance! view demo [URL="http://www.buildasearch.com/_B/fotos/fotos.php?start=0&paginas=10&e=kites"]code demo[/URL] [code] <?php $display_number = 15; $tmp .= '<table width="100%" border="1" cellspacing="1" cellpadding="1">'; for ($i = …

Member Avatar for lonestar23
0
123
Member Avatar for lonestar23

Hello, I need to resize an I-fame according to the height of an external page. I have found some google code that does what I need but it is way bloated. Anyone how to do what this code does but with less bloat? Thanks in Advance! [CODE] ( function(){ var …

0
52
Member Avatar for lonestar23

I have two pages 1.) form page 2.) I-frame page. What I am trying to do is: Once the form page is submitted, javascript in the second page would retrieve the values and place them into a an I-frame with a given url. Example: === Page One === <form action="page123.html"> …

Member Avatar for lonestar23
0
90
Member Avatar for lonestar23

Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …

Member Avatar for lonestar23
0
500
Member Avatar for lonestar23

Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …

Member Avatar for essential
0
1K
Member Avatar for lonestar23

Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …

Member Avatar for lonestar23
0
109
Member Avatar for lonestar23

Can not get the following code to delete Jack.... What is wrong with the code? <?php ===QueryString=== delete.php?q=169|170|171| $arr = explode('|', $q); for ($i = 0; $i < count($arr); $i++) { $query .= "DELETE FROM aCar WHERE aID = '".$arr[i]."'"; $result =mysql_query($query); } ?> Thanks in Advance!

Member Avatar for somedude3488
0
76