Studying php

Is there any way to look at the results of my php coding without
installing a web server like Apache or uploading my work to my host? I'm
currently doing the latter with some exercises, and it's very time
consuming.

Thanks in advance

Wings
Wings [ Do, 15 November 2007 03:57 ] [ ID #1871589 ]

Re: Studying php

Wyngs wrote:
> Is there any way to look at the results of my php coding without
> installing a web server like Apache or uploading my work to my host? I'm
> currently doing the latter with some exercises, and it's very time
> consuming.
>
> Thanks in advance
>
> Wings
>

Nope. If you're doing web pages, you need a webserver. But it's not
hard at all to install. Google for WAMP or XAMP - both are easy
installations of Apache, MySQL and PHP on Windows.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex [at] attglobal.net
==================
Jerry Stuckle [ Do, 15 November 2007 05:17 ] [ ID #1871590 ]

Re: Studying php

Jerry Stuckle wrote:

> Wyngs wrote:
> > Is there any way to look at the results of my php coding without
> > installing a web server like Apache or uploading my work to my host? I'm
> > currently doing the latter with some exercises, and it's very time
> > consuming.
> >
> > Thanks in advance
> >
> > Wings
> >
>
> Nope. If you're doing web pages, you need a webserver. But it's not
> hard at all to install. Google for WAMP or XAMP - both are easy
> installations of Apache, MySQL and PHP on Windows.
>
>
Roger that. I served up my web site for a couple of years with XAMP. I
was hoping I could avoid reinstalling it, however.

Thanks much.
Wings [ Do, 15 November 2007 07:51 ] [ ID #1871591 ]

Re: Studying php

On Wed, 14 Nov 2007 18:57:03 -0800, in alt.php Wyngs
<glenn61 [at] earthlink.net>
<13jndbvd6rqla49 [at] corp.supernews.com> wrote:

>| Is there any way to look at the results of my php coding without
>| installing a web server like Apache or uploading my work to my host? I'm
>| currently doing the latter with some exercises, and it's very time
>| consuming.
>|
>| Thanks in advance

PHP needs a server to run on.
You can google for wamp or xamp.
If you are using Windows and don't want a permanently installed
web-server then you could try out:
http://www.chsoftware.net/en/useware/wos/wos.htm

I've installed WOS on my USB hard drive and take the drive along to my
clients sites. This way I don't need to worry if the client's machine
has a web server or PHP installed. Plus no more lugging around the
laptop computer and worrying about battery life, any files that I
need, I just copy to my USB drive.
-- ------------------------------------------------------------ -
jnorthau [at] yourpantsyahoo.com.au : Remove your pants to reply
-- ------------------------------------------------------------ -
Jeff North [ Do, 15 November 2007 10:26 ] [ ID #1871593 ]

Re: Studying php

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wyngs wrote:
> Is there any way to look at the results of my php coding without
> installing a web server like Apache or uploading my work to my host? I'm
> currently doing the latter with some exercises, and it's very time
> consuming.
>
> Thanks in advance
>
> Wings

You can run PHP from the command line, though it's kinda awkward sending
POST and GET variables. Just execute php.exe (or /usr/bin/php) [filename.php]

- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFHPGqDkA9dCbrNdDMRAkhEAKC4LJGtHVV4nLa1wTLeeZfE71/9rwCg 1yMD
dRV4WqfMHP9o35yrwhEuHXE=
=Iaex
-----END PGP SIGNATURE-----
Brendan Gillatt [ Do, 15 November 2007 16:49 ] [ ID #1871597 ]

Re: Studying php

Post removed (X-No-Archive: yes)
Notifier Deamon [ Fr, 16 November 2007 19:36 ] [ ID #1872605 ]

Re: Studying php

Wyngs:

> Is there any way to look at the results of my php coding without
> installing a web server like Apache or uploading my work to my host? I'm
> currently doing the latter with some exercises, and it's very time
> consuming.

Yes, there are php editors that have a built-in php server/emulation mode.
Floor
Floor [ Sa, 24 November 2007 12:52 ] [ ID #1877949 ]

Re: Studying php

Jerry Stuckle:

> Nope. If you're doing web pages, you need a webserver.

nonsense...
Floor
Floor [ Sa, 24 November 2007 12:53 ] [ ID #1877950 ]

Re: Studying php

Wyngs:

>> Nope. If you're doing web pages, you need a webserver.

He didn't ask for that; he was looking for a way of checking his php code
without using a webserver.
And that is possible. Pls read carefully before answering...
Floor
Floor [ Sa, 24 November 2007 12:54 ] [ ID #1877951 ]

Re: Studying php

Jeff North:

> PHP needs a server to run on.

PHP needs at least an emulated server to run on. There are php-editor that
provide such as well.
Floor
Floor [ Sa, 24 November 2007 12:55 ] [ ID #1877952 ]

Re: Studying php

Floor wrote:
> Wyngs:
>
>>> Nope. If you're doing web pages, you need a webserver.
>
> He didn't ask for that; he was looking for a way of checking his php code
> without using a webserver.
> And that is possible. Pls read carefully before answering...
> Floor
>
>
>

And lets see you test sessions, $_GET or $_POST handling or a lot of
other stuff without a webserver.

You need to understand what he's asking.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex [at] attglobal.net
==================
Jerry Stuckle [ Sa, 24 November 2007 13:44 ] [ ID #1877954 ]

Re: Studying php

Floor wrote:
> Jerry Stuckle:
>
>> Nope. If you're doing web pages, you need a webserver.
>
> nonsense...
> Floor
>
>
>

And you're full of it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex [at] attglobal.net
==================
Jerry Stuckle [ Sa, 24 November 2007 13:45 ] [ ID #1877955 ]
PHP » alt.php » Studying php

Vorheriges Thema: html code from folder
Nächstes Thema: PHP kill cron