php-windows Digest 3 Feb 2004 00:25:32 -0000 Issue 2105

Topics (messages 22695 through 22711):

Re: imitating browser
        22695 by: Svensson, B.A.T. (HKG)
        22696 by: Meteorlet
        22700 by: Justin Patrin

PHP Programmer
        22697 by: Cesar Cordovez

tutorial
        22698 by: Cyrus Misthalin
        22699 by: Svensson, B.A.T. (HKG)
        22701 by: jon roig
        22710 by: Svensson, B.A.T. (HKG)
        22711 by: Trystano.aol.com

How have you learned PHP?
        22702 by: Cyrus Misthalin
        22704 by: Charles P. Killmer
        22705 by: Ignatius Reilly
        22707 by: Svensson, B.A.T. (HKG)
        22709 by: Svensson, B.A.T. (HKG)

Online-php-games
        22703 by: Cyrus Misthalin
        22708 by: Svensson, B.A.T. (HKG)

Converting from ASP to PHP
        22706 by: Duane Lakoduk

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
OF course it possible, otherwise it would not be possible
to write a web browser in the first instance. ;)

Check out the HTTP protocol at www.w3.org, and then start out
by making a manual telnet connection to port 80, that should
make you familary with the principles. After that it should
be fairly easy to automate the procedure with php or whatever
(proper) languages you like to use. 

-----Original Message-----
From: Donatas
To: [EMAIL PROTECTED]
Sent: 2004-02-02 11:47
Subject: [PHP-WIN] imitating browser

Has anyone ever tried to imitate a browser with PHP or seen code 
snippets that could help?
Scenario would be (everything via PHP):
-login to the page sending username and password and all other necessary

fields via POST
-now that the script is "logged in (session started)" we my use a search

form to search anything we need by sending POST queries to ex. search 
page (search doesn't work if you are not logged in)
-save those pages (trivial part)

I am pretty sure that has to be possible with sockets and things alike.
Any help is appreciated!

/Donatas

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Svensson, B.A.T. (HKG),Hello!

        I agree with what Svensson said.I can give you some details.
You MUST know how to REMEMBER your link state and information
for a browser.It's related with cookie,that's to say,Set-Cookie & Cookie 
field of HTTP header.such as:
        Set-Cookie: PHPSESSID=akjadflkwjeoidfalkjlk34kjadfl;path=/  
All that you can do is to access the wegpage you need by this PHPSESSID. 

        Addtionally,since via POST method,you can send POST command.its details
are listed in RFC1945(HTTP/1.0) and RFC2068(HTTP/1.1).

        If you have some software that can capture the data package during the 
communication between a server and a client,that'll be better for you to 
understand it.                                   

======= 2004-02-02 21:21:18 =======

>OF course it possible, otherwise it would not be possible
>to write a web browser in the first instance. ;)
>
>Check out the HTTP protocol at www.w3.org, and then start out
>by making a manual telnet connection to port 80, that should
>make you familary with the principles. After that it should
>be fairly easy to automate the procedure with php or whatever
>(proper) languages you like to use. 
>
>-----Original Message-----
>From: Donatas
>To: [EMAIL PROTECTED]
>Sent: 2004-02-02 11:47
>Subject: [PHP-WIN] imitating browser
>
>Has anyone ever tried to imitate a browser with PHP or seen code 
>snippets that could help?
>Scenario would be (everything via PHP):
>-login to the page sending username and password and all other necessary
>
>fields via POST
>-now that the script is "logged in (session started)" we my use a search
>
>form to search anything we need by sending POST queries to ex. search 
>page (search doesn't work if you are not logged in)
>-save those pages (trivial part)
>
>I am pretty sure that has to be possible with sockets and things alike.
>Any help is appreciated!
>
>/Donatas
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>-- 
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>

= = = = = = = = = = = = = = = = = = = =
                                 
        Meteorlet
[EMAIL PROTECTED]
          2004-02-02

--- End Message ---
--- Begin Message --- Donatas wrote:

Has anyone ever tried to imitate a browser with PHP or seen code snippets that could help?
Scenario would be (everything via PHP):
-login to the page sending username and password and all other necessary fields via POST
-now that the script is "logged in (session started)" we my use a search form to search anything we need by sending POST queries to ex. search page (search doesn't work if you are not logged in)
-save those pages (trivial part)


I am pretty sure that has to be possible with sockets and things alike.
Any help is appreciated!

/Donatas

See http://pear.php.net/package/HTTP_Client


--
paperCrane <Justin Patrin>

--- End Message ---
--- Begin Message --- PHP Programmer needed badly in the Miami/Dade Area. eMail me off line to get some details. =)

Cesar
--- End Message ---
--- Begin Message ---
What is the best tutorial for PHP?

Best online-course?
And Best book?

--- End Message ---
--- Begin Message ---
In my oppinion, the online manual. 

-----Original Message-----
From: Cyrus Misthalin
To: [EMAIL PROTECTED]
Sent: 2004-02-02 18:27
Subject: [PHP-WIN] tutorial

What is the best tutorial for PHP?

Best online-course?
And Best book?

--- End Message ---
--- Begin Message ---
The manual is indispensible, but personally, I've found the Sams "Learn
in 24 Hours" tutorial to be the best. Basically, it breaks learning
PHP/Mysql in 24 bite-sized chunks, letting you learn at your own pace...

At any rate, that's how I picked it up... (I program in PHP for a living
now... So it must've worked.)

        -- jon

-------------------
jon roig
web developer
email: [EMAIL PROTECTED]
phone: 888.230.7557



-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 10:29 AM
To: '[EMAIL PROTECTED] '
Subject: RE: [PHP-WIN] tutorial


In my oppinion, the online manual. 

-----Original Message-----
From: Cyrus Misthalin
To: [EMAIL PROTECTED]
Sent: 2004-02-02 18:27
Subject: [PHP-WIN] tutorial

What is the best tutorial for PHP?

Best online-course?
And Best book?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
 

--- End Message ---
--- Begin Message ---
"Learn in 24 hours"... Oh dear.... 

-----Original Message-----
From: jon roig
To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED]
Sent: 2004-02-02 20:01
Subject: RE: [PHP-WIN] tutorial

The manual is indispensible, but personally, I've found the Sams "Learn
in 24 Hours" tutorial to be the best. Basically, it breaks learning
PHP/Mysql in 24 bite-sized chunks, letting you learn at your own pace...

At any rate, that's how I picked it up... (I program in PHP for a living
now... So it must've worked.)

        -- jon

-------------------
jon roig
web developer
email: [EMAIL PROTECTED]
phone: 888.230.7557



-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 10:29 AM
To: '[EMAIL PROTECTED] '
Subject: RE: [PHP-WIN] tutorial


In my oppinion, the online manual. 

-----Original Message-----
From: Cyrus Misthalin
To: [EMAIL PROTECTED]
Sent: 2004-02-02 18:27
Subject: [PHP-WIN] tutorial

What is the best tutorial for PHP?

Best online-course?
And Best book?

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.572 / Virus Database: 362 - Release Date: 1/27/2004
 

--- End Message ---
--- Begin Message ---
If you a beginner, then the online manual might not be a good start. I still 
find the maual quite complex (must just be me :s). Got to HotScripts.com, theu 
have some tasty scrripts there, with some actual hands on implementations of 
PHP and MySQL.

Tryst

--- End Message ---
--- Begin Message ---
How have you learned PHP?

--- End Message ---
--- Begin Message ---
Mainly the php.net documentation and this forum.  

-----Original Message-----
From: Cyrus Misthalin [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 02, 2004 1:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] How have you learned PHP?

How have you learned PHP?

--- End Message ---
--- Begin Message ---
I haven't.

Ignatius
_________________________
----- Original Message ----- 
From: "Cyrus Misthalin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 20:03
Subject: [PHP-WIN] How have you learned PHP?


How have you learned PHP?

--- End Message ---
--- Begin Message ---
-----Original Message-----
From: Cyrus Misthalin

> How have you learned PHP?

How do you mean? 

To learn the syntax and sematics of php, one just need to read the online
manual. 

To learn to write php code, one only have to learn the principles of
programming, the the rest is just a matter of reading the manual mentioned
above.

Of course it can be a great advantage to understand data and computer
comminucation in general and HTML and HTTP in particular, database systems
as well as basic of operating system architectures wont kill you either.

--- End Message ---
--- Begin Message ---
LOL!

(It's rare to see such humble self critisism.)

-----Original Message-----
From: Ignatius Reilly

I haven't.

Ignatius
_________________________
----- Original Message ----- 
From: "Cyrus Misthalin" 

How have you learned PHP?

--- End Message ---
--- Begin Message ---
Does someone of you own a php-online-game?

--- End Message ---
--- Begin Message ---
> Does someone of you own a php-online-game?

No, but I own a two materia transporters (read: bicycles),
it's almost as cool.

--- End Message ---
--- Begin Message ---
Hello all,

I have been developing ASP sites and applications for about 7 years.
Recently, I have been considering doing some of my new development projects
in PHP.  Depending on the learning curve, I will have to support and
continue ASP for some time.  I know there a lots of resources available for
PHP and I have a few of the recommeded books, documentation, etc.

My environment is Windows 2000 AS, IIS 5.0 and SQL Server 2000. Support is
for I.E. 5.5+.

I need to be able to perform programming tasks like:

- LDAP queries against Exchange 5.5 database
- Remote Scripting (Microsoft - MSRS)
- Typical database SELECTS, INSERTS, UPDATES, DELETES and execute Stored
Procedures

I have not seen any examples of performing LDAP queries or remote scripting.
I know there are many examples of database access.

I am interesting in hearing from anyone who also made the switch to PHP.
What problems or challenges were met, what limitations or advantages were
discovered.  If any of the above (LDAP or MSRS) were particularly
troublesome in conversion or development in PHP.

Thanks for any and all input.

Duane

--- End Message ---

Reply via email to