[PHP] Using DOM textContent Property

2008-09-05 Thread Nathan Nobbe
bouncing back to the list so that others may benefit from our work... On Fri, Sep 5, 2008 at 3:09 PM, Tim Gustafson <[EMAIL PROTECTED]> wrote: > Nathan, > > Thanks for the suggestion, but it's still not working for me. Here's my > code: > > === > $HTML = new DOMDocument(); > @$HTML->load

Re: [PHP] Sending username/password

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 17:45 -0400, Robert Cummings wrote: > On Fri, 2008-09-05 at 15:39 -0500, Jay Moore wrote: > > > That'll teach you to use Google Chrome. ;) > > > > Pshaw. IE5 4 lyfe, yo. > > I have IE5 running in a vmware appliance. I check sites in it once in a > while for kicks :) > > I

Re: [PHP] Sending username/password

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 15:39 -0500, Jay Moore wrote: > > That'll teach you to use Google Chrome. ;) > > Pshaw. IE5 4 lyfe, yo. I have IE5 running in a vmware appliance. I check sites in it once in a while for kicks :) I also have IE 3 running and Netscape 4. It's amazing how ugly the new tech l

Re: [PHP] Sending username/password

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 15:37 -0500, Jay Moore wrote: > > :) Sorry bout that. However, malformed URL bugs that cause your system > > to crash can't really be attributed to me ;) > > > > Cheers, > > Rob. > > > The prompt that showed before my computer self-destructed referenced you > specifically.

RE: [PHP] Using DOM textContent Property

2008-09-05 Thread Tim Gustafson
Nathan, Thanks for the suggestion, but it's still not working for me. Here's my code: === $HTML = new DOMDocument(); @$HTML->loadHTML($text); $Elements = $HTML->getElementsByTagName("*"); for ($X = 0; $X < $Elements->length; $X++) { $Element = $Elements->item($X); if ($Element->

Re: [PHP] Sending username/password

2008-09-05 Thread Stut
Robert Cummings wrote: On Fri, 2008-09-05 at 21:24 +0100, Stut wrote: Jay Moore wrote: Stut wrote: On 5 Sep 2008, at 21:05, Robert Cummings wrote: On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: Greetings list! Is it possible (and if so, how) to send username and password information to

Re: [PHP] Sending username/password

2008-09-05 Thread Jay Moore
That'll teach you to use Google Chrome. ;) Pshaw. IE5 4 lyfe, yo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending username/password

2008-09-05 Thread Jay Moore
:) Sorry bout that. However, malformed URL bugs that cause your system to crash can't really be attributed to me ;) Cheers, Rob. The prompt that showed before my computer self-destructed referenced you specifically. Expect the invoice for my new quantum computer to come in the mail shortly

Re: [PHP] Sending username/password

2008-09-05 Thread Jochem Maas
Jay Moore schreef: Wolf wrote: Jay Moore wrote: Greetings list! Is it possible (and if so, how) to send username and password information to a website with PHP? In one word... CURL A couple of people have responded (to me; not the list) with that very same response. I've heard of it,

Re: [PHP] Sending username/password

2008-09-05 Thread Micah Gersten
Jay Moore wrote: > Robert Cummings wrote: >> On Fri, 2008-09-05 at 21:07 +0100, Stut wrote: >>> On 5 Sep 2008, at 21:05, Robert Cummings wrote: On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: > Greetings list! > > Is it possible (and if so, how) to send username and password >

Re: [PHP] Sending username/password

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 15:26 -0500, Jay Moore wrote: > Robert Cummings wrote: > > On Fri, 2008-09-05 at 21:07 +0100, Stut wrote: > >> On 5 Sep 2008, at 21:05, Robert Cummings wrote: > >>> On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: > Greetings list! > > Is it possible (and if

Re: [PHP] Sending username/password

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 21:24 +0100, Stut wrote: > Jay Moore wrote: > > Stut wrote: > >> On 5 Sep 2008, at 21:05, Robert Cummings wrote: > >>> On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: > Greetings list! > > Is it possible (and if so, how) to send username and password >

Re: [PHP] Sending username/password

2008-09-05 Thread Jay Moore
Robert Cummings wrote: On Fri, 2008-09-05 at 21:07 +0100, Stut wrote: On 5 Sep 2008, at 21:05, Robert Cummings wrote: On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: Greetings list! Is it possible (and if so, how) to send username and password information to a website with PHP? I would l

Re: [PHP] Sending username/password

2008-09-05 Thread Stut
Jay Moore wrote: Stut wrote: On 5 Sep 2008, at 21:05, Robert Cummings wrote: On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: Greetings list! Is it possible (and if so, how) to send username and password information to a website with PHP? I would like to submit some information to some ne

Re: [PHP] Sending username/password

2008-09-05 Thread Jay Moore
Wolf wrote: Jay Moore wrote: Greetings list! Is it possible (and if so, how) to send username and password information to a website with PHP? In one word... CURL A couple of people have responded (to me; not the list) with that very same response. I've heard of it, but never used it be

Re: [PHP] Sending username/password

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 21:07 +0100, Stut wrote: > On 5 Sep 2008, at 21:05, Robert Cummings wrote: > > On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: > >> Greetings list! > >> > >> Is it possible (and if so, how) to send username and password > >> information to a website with PHP? > >> > >> I w

Re: [PHP] Sending username/password

2008-09-05 Thread Jay Moore
Stut wrote: On 5 Sep 2008, at 21:05, Robert Cummings wrote: On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: Greetings list! Is it possible (and if so, how) to send username and password information to a website with PHP? I would like to submit some information to some network devices we h

Re: [PHP] Sending username/password

2008-09-05 Thread Stut
On 5 Sep 2008, at 21:05, Robert Cummings wrote: On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: Greetings list! Is it possible (and if so, how) to send username and password information to a website with PHP? I would like to submit some information to some network devices we have, but th

Re: [PHP] Sending username/password

2008-09-05 Thread Wolf
Jay Moore wrote: > Greetings list! > > Is it possible (and if so, how) to send username and password > information to a website with PHP? > In one word... CURL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending username/password

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote: > Greetings list! > > Is it possible (and if so, how) to send username and password > information to a website with PHP? > > I would like to submit some information to some network devices we have, > but they require login credentials to proce

[PHP] Sending username/password

2008-09-05 Thread Jay Moore
Greetings list! Is it possible (and if so, how) to send username and password information to a website with PHP? I would like to submit some information to some network devices we have, but they require login credentials to proceed. I would like to bypass the traditional username/password p

Re: [PHP] Google Chrome

2008-09-05 Thread TG
Under the Options and "Under the Hood" there's an option called: "Use DNS pre-fetching to improve page load performance" I think that's what I was thinking of. That's probably not pre-fetching whole pages so much as just resolving DNS ahead of time. There still could be some pre-caching going

Re: [PHP] Sending POST variables without html code

2008-09-05 Thread Robert Cummings
On Fri, 2008-09-05 at 11:40 -0600, R B wrote: > Hi, > > I need to create a cron job PHP script to access every day the information > of a webpage that is out of my server. This webpage needs POST variables to > display the information. > > How can i send this POST variables from my PHP script wit

[PHP] Sending POST variables without html code

2008-09-05 Thread R B
Hi, I need to create a cron job PHP script to access every day the information of a webpage that is out of my server. This webpage needs POST variables to display the information. How can i send this POST variables from my PHP script without having a html form, and receive the required informatio

Re: [PHP] Header() - POST

2008-09-05 Thread Luke
POST requests in Ajax (or without in js) is straight forward. On the iPod now but I'll POST an example later. Get it? Luke Slater Lead Developer NuVoo On 5 Sep 2008, at 18:14, mike <[EMAIL PROTECTED]> wrote: On Fri, Sep 5, 2008 at 9:20 AM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: On a sid

Re: [PHP] Header() - POST

2008-09-05 Thread mike
On Fri, Sep 5, 2008 at 9:20 AM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: > On a side note... in the future, if you find that a particular process > calls for POSTing to a different page, the cURL library (which I believe > is now included with PHP by default in v5.x+) can accomplish a plethora > o

RE: [PHP] Header() - POST

2008-09-05 Thread Boyd, Todd M.
> -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 11:16 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Header() - POST > > On Fri, Sep 5, 2008 at 12:11 PM, Boyd, Todd M. <[EMAIL PROTECTED]> > wrote: > > > > -Original Message-

Re: [PHP] Header() - POST

2008-09-05 Thread Dan Joseph
On Fri, Sep 5, 2008 at 12:11 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Dan Joseph [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 05, 2008 10:59 AM > > To: PHP General > > Subject: Re: [PHP] Header() - POST > > > > On Fri, Sep 5, 2008 at 11:48 AM,

Re: [PHP] Header() - POST

2008-09-05 Thread Stut
On 5 Sep 2008, at 16:43, Dan Joseph wrote: I am trying to figure out how to build a post string, and then user header to post it. I've done some research and I am not getting very far. Basically what I'm doing is taking POST items, then validating them, scrubbing them, and rebuidling the post

RE: [PHP] Header() - POST

2008-09-05 Thread Boyd, Todd M.
> -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 10:59 AM > To: PHP General > Subject: Re: [PHP] Header() - POST > > On Fri, Sep 5, 2008 at 11:48 AM, Wolf <[EMAIL PROTECTED]> wrote: > > > > > > scrubbing them, and rebuidling the post st

Re: [PHP] Header() - POST

2008-09-05 Thread Dan Joseph
On Fri, Sep 5, 2008 at 11:48 AM, Wolf <[EMAIL PROTECTED]> wrote: > > > scrubbing them, and rebuidling the post string and trying to resubmitt it > > using headers(). I'm getting this error: > > Why do you want to re-submit it? > > Why not just parse it in the same page? > > If not that, then use

Re: [PHP] Header() - POST

2008-09-05 Thread Wolf
> scrubbing them, and rebuidling the post string and trying to resubmitt it > using headers(). I'm getting this error: Why do you want to re-submit it? Why not just parse it in the same page? If not that, then use sessions and set the information, do a meta-refresh to redirect to the processi

[PHP] Header() - POST

2008-09-05 Thread Dan Joseph
Hi everyone, I am trying to figure out how to build a post string, and then user header to post it. I've done some research and I am not getting very far. Basically what I'm doing is taking POST items, then validating them, scrubbing them, and rebuidling the post string and trying to resubmitt i

Re: [PHP] Google Chrome

2008-09-05 Thread Eric Butera
On Thu, Sep 4, 2008 at 9:15 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > rather like someone running off with your girlfriend ... you get denied > service. Burn of the week! :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Google Chrome

2008-09-05 Thread Boyd, Todd M.
> -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 6:53 AM > To: Robert Cummings > Cc: Bastien Koert; Dan Shirah; [EMAIL PROTECTED]; List_PHP_General > Subject: Re: [PHP] Google Chrome > > Robert Cummings schreef: > > On Fri, 2008-09-05 at

Re: [PHP] Google Chrome

2008-09-05 Thread Jochem Maas
Robert Cummings schreef: On Fri, 2008-09-05 at 03:15 +0200, Jochem Maas wrote: Bastien Koert schreef: On Thu, Sep 4, 2008 at 5:22 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: Bastien Koert schreef: On Thu, Sep 4, 2008 at 4:31 PM, Dan Shirah <[EMAIL PROTECTED]> wrote: Yippie, Chrome already

Re: [PHP] Google Chrome

2008-09-05 Thread Yeti
> > I uninstalled it precisely beacause of this behaviour. The disk was > > running crazy every time chrome was started. > > And I don't know how to do "lsof | grep chrome" on Windows to see what's > > going on. LSOF for winblows: http://download.sysinternals.com/Files/ProcessMonitor.zip -- PHP

Re: [PHP] Google Chrome

2008-09-05 Thread Richard Heyes
Hi, > There's an option for pre-buffering things, I believe. Where? -- Richard Heyes HTML5 Graphing for IE7, FF, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Google Chrome

2008-09-05 Thread Peter Ford
Shawn McKenzie wrote: Per Jessen wrote: Stut wrote: On 2 Sep 2008, at 20:23, Diogo Neves wrote: Now is the time ;) Indeed: http://www.google.com/chrome But only for Windows for now :( I guess we'll have to wait a little longer then ... /Per Jessen, Zürich Will somebody volunteer to t