php-windows Digest 2 Sep 2002 09:36:04 -0000 Issue 1319

Topics (messages 15626 through 15630):

Re: mail() I get crazy from this...
        15626 by: Aleksandar Skodric

Re: switch($action) { case "something": ...
        15627 by: Marlene Burckhalter
        15629 by: DL Neil

Compiling php 4.2.2 with Visual Studio .Net (VC++ 7)
        15628 by: David Comeau

hosting co.. help!
        15630 by: Sandeep Murphy

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 ---
yup, from his very first post... So i suppose that he is collecting his mail
or from netscape browser, or from netscape mail program with seted up smtp
and pop from hotmail : )
----- Original Message -----
From: "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]>
To: "'Aleksandar Skodric '" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; "'Peter '" <[EMAIL PROTECTED]>
Sent: Sunday, September 01, 2002 1:37 PM
Subject: RE: [PHP-WIN] mail() I get crazy from this...


> Have it come to your attention that Mr
> Peter-I-have-a-problem-but-no-SMPT-server-nor-an-ISP actually post his
> question from hotmail? ;)
>
> -----Original Message-----
> From: Aleksandar Skodric
> To: [EMAIL PROTECTED]; Peter
> Sent: 31-8-02 11:47
> Subject: Re: [PHP-WIN] mail() I get crazy from this...
>
> the best thing to do then is to install your own mail server. There
> plenty
> of them on the markt. Most of them come with 15-30 day free trial, so
> you
> don't have to spend money on sth you don't like...
>
> Alex
> ----- Original Message -----
> From: "Peter" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 28, 2002 2:50 PM
> Subject: Re: [PHP-WIN] mail() I get crazy from this...
>
>
> > Hello B.A.T.,
> > If so, I must organise. By sheer luck I got a cheap fast ADSL line,
> > guaranteed 115 kilobytes a second. Now, I understand, I must target to
> > be an ISP. I have a fixed IP-address. I have a server and PHP, MYSQL.
> > You tell me that other SMPT servers will not accept my e-mail unless I
> > am an ISP provider.
> > Well than, where/how can I become ISP provider? Because I want to be
> > independent.
> > with friendly greetings,
> > Peter van Summeren
> >
> > B.A.T. Svensson wrote:
> > >>Thanks for this answer. No, I do not have an ISP. I only have a raw
> > >>line: fast ADSL without any whatever, but guaranteed fast.
> > >>I do not understand your kind of english, but it seems to me from
> your
> > >>last sentence that I should give up.
> > >
> > >
> > > You MUST necessarily have an ISP (Internet Service provider),
> > > unless you are an ISP your self, which I doubt. ;)
> > >
> >
> >
> > --
> > 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
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



--- End Message ---
--- Begin Message ---
I am trying to figure out someone else's example to produce code of my own.  In the 
following code, what is the "createcalendar" in the second line? the filename of the 
php document itself? what is case?  The php documentation is not really helping me. I 
AM GETTING ERROR of unexpected T variable here.  What am I doing wrong? I will provide 
more information if needed, but I don't know what to provide.

switch($action) {
   case "createcalendar":
      create_calendar();
   break;
   default:
      html_header();
      entercalendar_form();
      html_footer();
   break;
}


thanks-Marlene
--- End Message ---
--- Begin Message ---
Marlene,

I am trying to figure out someone else's example to produce code of my own.
In the following code, what is the "createcalendar" in the second line? the
filename of the php document itself? what is case?

=if CASE is confusing you then you need to read the manual. If you have
never heard of CASE before then you need to learn programming. The SWITCH
construct allows evaluation of an expression, in this case the value of
$action, and then conditional execution of the ensuing CASE clauses from the
point where the CASE value, eg "createcalendar", is equal to the CASE
expression. Normally there would be several CASE clauses in a single SWITCH
construct.

=Have you given us all the code, because that's what's strange about this
snippet - it would be easier to think/write:

if ( $action == "createcalendar" )
{
   create_calendar();
}
else
{
      html_header();
      entercalendar_form();
      html_footer();
}
[hacked it, haven't checked it]

=so "createcalendar" is (the) one value which can be used to switch the
activity of the script between different logic paths. As to where it comes
from/relationship to the filename we can't comment, because you haven't
given that information. It seems reasonable that the script is processing
results from some form, and what you say then applies.

=if you have not just inherited someone's code, but have inherited code that
is not yet working (and may God have mercy on your soul !) then it would
seem reasonable that the SWITCH construct has been designed to allow all
sorts of new 'instructions' (from the form) to be processing/programmed, in
future, eg load existing calendar.

The php documentation is not really helping me. I AM GETTING ERROR of
unexpected T variable here.  What am I doing wrong? I will provide more
information if needed, but I don't know what to provide.

switch($action) {
   case "createcalendar":
      create_calendar();
   break;
   default:
      html_header();
      entercalendar_form();
      html_footer();
   break;
}


=As to the syntax error, if this isn't a direct and full copy then we're on
a hiding to nothing anyway. Which line is pointed to? Is it possible that an
earlier brace, parenthesis, or double-quotes pair was not properly closed?

=Regards,
=dn


--- End Message ---
--- Begin Message ---
Has anyone had any luck in compiling php 4.2.2 and Apache2 on a Windows
XP with Visual Studio .Net?


Sincerely,
David
[EMAIL PROTECTED]

      _o            /\         ----  __o
   _-< \_          /  \       ----  <  \,
__(_)/_(_)________/    \_______(_) /_(_)__

--- End Message ---
--- Begin Message ---
Hi guys,

First of all my apologies for posting this here.. however as I am running out of 
options, someone here may provide me some respite...

How can/do I start legal proceedings against an Hosting provider?? I had registered a 
domain called www.greatanddear.com with 121host.net based in the UK but after a couple 
of months my site disappeared completely along with all the content.. Inspite of 
dozens of mail these guys simply dont respond...

Is there anyway, I can sue these guys?? I can neither login to the admin section as I 
get an password denied error..

any suggestions??

thnx a bunch,
sands..
--- End Message ---

Reply via email to