php-windows Digest 6 Oct 2003 13:07:55 -0000 Issue 1943

Topics (messages 21685 through 21690):

Re: newbie problem
        21685 by: Rahman Haqparast
        21688 by: manon

forms question
        21686 by: Gareth Thomas
        21687 by: Duane Lakoduk

Characters missingin mail source???
        21689 by: Disko_kex

Re: weird random parse errors on PHP 4.1.x / Win2k
        21690 by: Charles P. Killmer

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 ---
Dear Peter.
It seems that you have not completely set your PHP.INI and your httpd.conf
files.

"Peter Gerwing" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I use windows XP
>
> I installed apache it works fine or at least boots in a console windaw and
> tests fine
>
> I installed Mysql and it works fine i've been in and setup databases etc
>
> I installed PHP and it tests fine with the php -i giving me  all the html
> stuff
>
> I know my host name, I know my user name I even know my password .
>
> QUESTION?
>
> I can't seem to get a html file with the PHP code to work. ?
> any ideas
> Peter

--- End Message ---
--- Begin Message ---
Did you add

In the series 'LoadModule'

LoadModule php4_module c:/php/sapi/php4apache2.dll  (or wherever this
dll resides on your system)

And in the series  'AddType '

AddType application/x-httpd-php .php .phtml 

to your apache config?

-----Oorspronkelijk bericht-----
Van: Peter Gerwing [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 6 oktober 2003 0:59
Aan: [EMAIL PROTECTED]
Onderwerp: newbie problem


I use windows XP

I installed apache it works fine or at least boots in a console windaw
and tests fine

I installed Mysql and it works fine i've been in and setup databases etc

I installed PHP and it tests fine with the php -i giving me  all the
html stuff

I know my host name, I know my user name I even know my password .

QUESTION?

I can't seem to get a html file with the PHP code to work. ? any ideas
Peter

--- End Message ---
--- Begin Message ---
I'll start by saying that I know forms are 'bad'. However in this particular instance 
they suit the purpose very well for a utility that I need to write to enable a user to 
view one record and scroll through others while keeping the first in view. I've 
written lots of PHP, but none using frames. What I need to do is split the screen and 
display one record from a table in the top half and a number of records from the same 
table in the bottom half to scroll through. I have defined the initial html file that 
sets the frame parameters and source files for each frame which I have pointed to a 
seperate PHP file. Problem is nothing happens, almost as if its not calling the other 
PHP files. I am sure I am doing something really stupid, but since everybody advises 
against using frames I cant find a good example out there of how to do this. My 
initial HTML file look as follows:


<FRAMESET rows="100, 200">
      <FRAME name="ref" src="srcdisplay.php">
      <FRAME name="dups" src="dupsdisplay.php">
  </FRAMESET>

Can anyone help with this?

G.

--- End Message ---
--- Begin Message ---
> Problem is nothing happens, almost as if
> its not calling the other PHP files. I am sure I am doing
> something really stupid, but since everybody advises against
> using frames I cant find a good example out there of how to
> do this. My initial HTML file look as follows:
>
>
> <FRAMESET rows="100, 200">
>       <FRAME name="ref" src="srcdisplay.php">
>       <FRAME name="dups" src="dupsdisplay.php">
>   </FRAMESET>
>
> Can anyone help with this?
>
> G.
>

Have you verified that the individual files (srcdisplay.php) and
(dupdisplay.php) do what they are supposed to do if called individually?
Can you post the applicable code for each file.>

--- End Message ---
--- Begin Message ---
Hi again.

I've got this annoying problem. I made a program that sends mail to my
customers, like a newsletter. The mail is in HTML and each mail is about
2000 chars, depends on the customers info. The problem I have is that
there is a lot of characters missing in the mail source when the mail is
delivered.

Ex:
"<tr><td>2003-03-03</td></tr>"

shows like this in the email source "tr><td>203-03-03</td/tr>"   there
is no logical structure for which characters is missing, it's different
everytime. Im running apache 1.3.28 and PHP 4.3.3, I tried IIS with PHP
4 and 5 with the same result.

The source for the mail is stored in a normal $message = array(); where
$message[$id]; is the mail source for the specific customer. If I print
$message[$id] from the program everything show correctly.

mail($mail_to, $subject, $message_head.$message[$key].$message_foot,
                         "From: Redaktionen
<[EMAIL PROTECTED]>\r\n"
                        ."MIME-Version: 1.0\r\n"
                        ."Content-type: text/html;
charset=iso-8859-1\r\n"
                        ."Reply-To: [EMAIL PROTECTED]"
                        ."X-Mailer: PHP/" . phpversion());      
Should I change something?


Any idea what I should do??

--- End Message ---
--- Begin Message ---
Between the client and the server?  I am not quite sure if I am logging
what I think I am logging.  Here is the scenario.

I have a prepend script that records the current time into a variable.  
I also have an append script that calculates the difference and writes
that time to a file.
I am running PHP 4.3.2 as CGI under IIS 5.0.
The piece of code that I pasted is the first line of the file after the
<?

Now does the CGI only process the script as fast as the connection?  I
am using the output buffer so I wouldn't expect that.

Charles

-----Original Message-----
From: Mark [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 05, 2003 7:17 AM
To: Charles P. Killmer
Subject: Re: [PHP-WIN] weird random parse errors on PHP 4.1.x / Win2k


Is it possible that the connection is timed out?



----------------------------------------------
It's Not God That Created Us,  It's Us That Created God!
----- Original Message ----- 
From: "Charles P. Killmer" <[EMAIL PROTECTED]>
Newsgroups: php.windows
To: <[EMAIL PROTECTED]>
Sent: Friday, October 03, 2003 5:36 PM
Subject: RE: [PHP-WIN] weird random parse errors on PHP 4.1.x / Win2k


I don't know if this is related but every once in a while I get timeout
issues.  A script that usually runs just fine will timeout on line 2 or
3.  

A few times it has been on a line like this.

If (isset($REMOTE_ADDR)) {
   //stuff
}

The if statement is the line that times out.

Just a weird thing that I havent solved yet.

Charles Killmer

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2003 9:56 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP-WIN] weird random parse errors on PHP 4.1.x / Win2k


Hi Geoff, I've seen your message on the PHP/Windows list, and I'm
writing because I get the **exact** same problem on my box:

HP Proliant dual Xeon 2,8Mhz - 1GB RAM
PHP 4.2.2
Apache 1.3.22

On myne it happens even if just one user is accessing the pages. On
another server -- it is a little bit older dual Pentium 1.1GHZ -- but
with exactly the same software, the problem does not appear.

Have you any clue to give me? Did you solve your problem?

Thanks
Francesco

--- End Message ---

Reply via email to