Search found 7 matches

by deostroll
Sun Jan 24, 2010 3:27 am
Forum: PHP - Code
Topic: Xml processing...traversing the xml document
Replies: 0
Views: 61

Xml processing...traversing the xml document

I am trying to traverse an xml document with the following php code:   <?php $r ="http://twitter.com/statuses/user_timeline/deostroll.xml";   $res = file_get_contents( $r ); $d = new DOMDocument();   $d->loadXML($res); if ($d == null) {     echo('document is null'); } $e = $d->documentElem...
by deostroll
Wed Dec 16, 2009 10:59 am
Forum: PHP - Code
Topic: getting query string values
Replies: 8
Views: 745

Re: getting query string values

wht if I want runtime errors occurs? Even if you don't use the init_set() this won't show?
by deostroll
Wed Dec 16, 2009 7:40 am
Forum: PHP - Code
Topic: getting query string values
Replies: 8
Views: 745

Re: getting query string values

why don't parse errors show up...?
by deostroll
Tue Dec 15, 2009 4:28 am
Forum: PHP - Code
Topic: getting query string values
Replies: 8
Views: 745

getting query string values

Hi, I am a novice with php. We r doing php on lamp. The link below goes to an article which shows how to use the query string, but unfortunately my script does not work: http://ditio.net/2008/06/12/php-query-string/ this is the code i've used:   //This file is qstr.php <?php echo 'Query string obtai...
by deostroll
Mon Dec 14, 2009 2:51 pm
Forum: PHP - Code
Topic: make http request to another url...
Replies: 5
Views: 338

Re: make http request to another url...

okay the issue is resolved...it is with the way the java application is actually supposed to execute...
by deostroll
Mon Dec 14, 2009 6:31 am
Forum: PHP - Code
Topic: make http request to another url...
Replies: 5
Views: 338

Re: make http request to another url...

okay, the file_get_contents() seems to do the job. However we have a local java based app running on the web server. It accepts a url like this: http://localhost:8081/?language=en&text=this%20is%20an%20test you'll most probably see this in the browser appearing without the url escapes like this:...
by deostroll
Sat Dec 12, 2009 8:19 am
Forum: PHP - Code
Topic: make http request to another url...
Replies: 5
Views: 338

make http request to another url...

hi, totally new to php. Need to know how to download a web page via php, and display the response onto the screen. I've tried the following thread, but it didn't work... http://forums.devnetwork.net/viewtopic.php?f=1&t=104054&p=556715 Here is my php code: <?php /* $handle = fopen("http:...