php-windows Digest 13 Oct 2001 05:48:12 - Issue 802
Topics (messages 9827 through 9831):
can't read binary files containg '0x0' character
9827 by: Roland Divin
9828 by: Roland Divin
9829 by: Mark
9830 by: Roland Divin
running PHP with mod_perl in apache
If I use perl as CGI in my apache server PHP works fine for me.If I use
mod_perl
instead of pure CGI I always got an 'Internal Server Error'.And in the log
it said:
Bareword found where operator expected at (eval 18) line 3, near "#line 1
e:/my documents/my webs/a.php
hello"
(Missing operator be
Thanks, you're right. Now it works even using dll module (not CGI) version.
Anyway it is strange that the behavior of the fread function is conditioned
whether I use dll module or CGI...
Roland
"Mark" <[EMAIL PROTECTED]> píse v diskusním príspevku
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On
On Fri, 12 Oct 2001 21:00:24 +0200, Roland Divin wrote:
>Hi,
>I can'r read binary file that contains '0x0' character. Reading
>process
>stops after reading '0x0' character on windows version of PHP. On
>Linux it
>does not.
>
>That same code gives another result on windows then on linux. Why?
>(Con
This error is included only in sapi/php4apache.dll. If I use CGI (php.exe)
it works perfectly.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTE
Hi,
I can'r read binary file that contains '0x0' character. Reading process
stops after reading '0x0' character on windows version of PHP. On Linux it
does not.
That same code gives another result on windows then on linux. Why?
(Consider file text.txt is contaning '0x0' characters. I'm using PHP4
php-windows Digest 12 Oct 2001 16:05:00 - Issue 801
Topics (messages 9813 through 9826):
php question
9813 by: Brian Feliciano
9814 by: Chen Wei, Lian
9815 by: Brian Feliciano
9816 by: Brian Feliciano
9817 by: Brian Feliciano
9818 by: Chen Wei
Thanks for everybodies replies - we've used the nl2br() function and its
working just fine.
Mark
> --
> ---
> Oliver Robillo replied:
>
> You could try using the replace function of mysql within your query.
>
The error occurs for emails addresses entered into the header field as :
$header="From: $email_required";
NOT in the $recip field. Sorry 'bout that.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Matthew Luchak
Sent:
A script that formats and sends out an email using http vars fails with
certain email addresses.
I couldn't believe it when I saw this (not) happening. Using:
MAIL(
"$recip",
"$subject",
"$message",
"$header"
);
where $recip is passed from an HTML form, fails to mail with certain
email ad
I am currently creating a website that pulls news articles from a mysql
database into a php page. The article is stored as a TEXT function in
the database, and is inserted by a single form field. What do I need to
do in order for the article to be displayed with the proper paragraph
breaks instead
You might try something like:
if (!isset($element1))
{ $element = ""; }
Which would check that the value is set, and if not, initialize it.
At 16:59 12/10/2001 +0800, you wrote:
>my login page (login.php) passes it's form elements to my main page
>(main.php).
>in my main page, i try to call
my login page (login.php) passes it's form elements to my main page
(main.php).
in my main page, i try to call the elements from my login page as $element1;
but if go to my main page directly, without going to the login page, php
tells me that $element is not initialized, which is true because it
im sorry, now it's ok. i just didn't wrong.
instead of header("Location:login.php"); i did header("Location=login.php");
> OK,
> This is first try:
>
> if ($submit) {
> file://checking variable from form
> if (everything OK) {
> include ("go.php");
> exit;
> } else {
> include ("error.php");
>
Just dump the database on your local MySQL server onto a file. Since you
already have the phpmyadmin setup at the remote location, you could just
import your dumped database to the remote MySQL server. Hope that helps.
-Kevin
"Tome" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:
15 matches
Mail list logo