Studying php

Studying php

am 15.11.2007 03:57:03 von Wings

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

Re: Studying php

am 15.11.2007 05:17:23 von Jerry Stuckle

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@attglobal.net
==================

Re: Studying php

am 15.11.2007 07:51:04 von Wings

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.

Re: Studying php

am 15.11.2007 10:26:16 von Jeff North

On Wed, 14 Nov 2007 18:57:03 -0800, in alt.php Wyngs

<13jndbvd6rqla49@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@yourpantsyahoo.com.au : Remove your pants to reply
-- ------------------------------------------------------------ -

Re: Studying php

am 15.11.2007 16:49:24 von Brendan Gillatt

-----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-----

Re: Studying php

am 16.11.2007 19:36:26 von unknown

Post removed (X-No-Archive: yes)

Re: Studying php

am 24.11.2007 12:52:36 von Floor

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

Re: Studying php

am 24.11.2007 12:53:18 von Floor

Jerry Stuckle:

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

nonsense...
Floor

Re: Studying php

am 24.11.2007 12:54:35 von Floor

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

Re: Studying php

am 24.11.2007 12:55:31 von Floor

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

Re: Studying php

am 24.11.2007 13:44:53 von Jerry Stuckle

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@attglobal.net
==================

Re: Studying php

am 24.11.2007 13:45:11 von Jerry Stuckle

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@attglobal.net
==================