I have php4 and Apache running on Windows 2000, and Im not able to get the
mail-function to work. The mailsystem is on an other PC, and so I added
SMTP= in the php.ini file. But still I get "Failed
to connect" when I run mail().
I have heard that there can be a problem if the mailserver is separat
Hi
What I would like to do is save a news
item as a html or text file. Then place it into
a MySQL database. Afterwards I would like
to display the fist paragraph of each news
posting on a site in a summary format.
If the user would like to see more all
he has to do is click on the corresponding
Hello,
I've been seeing quite a few e-mails about the mail() function not
working...well mine worked fine until today i believe, but it looks like it
has to do with the php ini setting, althoug Ive changed my ini, it still
didnt work, so heres a workaround I found on php.net that works great.
Perhaps try creating 25 uniq random numbers which correspond to the row
numbers, with upper limit tied to the number of rows.
- Original Message -
From: "Robin Bolton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2001 6:52 AM
Subject: [PHP-WIN] Help!
> Ok, I'v
What exactly is the error message? I know this sounds stupid, but are you
sure it isn't just a warning? By default, PHP will output all warnings and
errors to standard output (e.g. the browser).
Olivier
>Can PHP deal with variables that are not initialized? It is kicking out an
>error when it
Can PHP deal with variables that are not initialized? It is kicking out an
error when it runs into something that is not defined yet.
mysql_select_db("mydb",$db);
if ($id) { <=Not initialized and PHP
kicks an error?
// query the DB
Thanks!
Dwight
--
I am very new to php, but i tried to install it and i followed the
directions i think... But everytime i try to view a .php document in IE it
prompts me to download the file instead of viewing it in the browser. And
when I do download the file and run it, it opens it up in a "Command Prompt"
and r
Check:
http://www.phpbuilder.com/columns/alain20001003.php3
Author should be updating it somedays ;)
Alain
On Wed, Mar 14, 2001 at 10:07:55PM -, Thomas wrote:
> Hi all again,
>
> i' am a very bloody greenhorne with php and maybe i have many questions.
> Heres one another:
>
> Who can e
Oops, I just realized that range() doesn't even work in PHP 4.0b2. Ack!
> -Original Message-
> From: Robin Bolton [mailto:[EMAIL PROTECTED]]
> Sent: March 14, 2001 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Help!
>
>
> Ok, I've managed to get pretty far stuck using MySQL 3.22 an
Ok, I've managed to get pretty far stuck using MySQL 3.22 and PHP 4.0b2
for a project I'm working on, however I was hoping someone could help me
with a problem that's probably really simple to fix, just can't get my
head around it right now.
I need to pull 25 items out of a database randomly with
Tried all that -- still no go. Thanks.
--
Gaylen
[EMAIL PROTECTED]
http://home.earthlink.net/~gfraley5/
"Fernando Madruga" <[EMAIL PROTECTED]> wrote in message
3685A91F554BD411BA310008C759B6CC02527B34@MAIL_CBR">news:3685A91F554BD411BA310008C759B6CC02527B34@MAIL_CBR...
You need to use mod_php:
Actually the manual is a bit off. In order to instantiate a COM object you
need to do:
$object = new COM("adodb.recordset");
Then you should be able to call the corresponding methods and properties:
$object->property = $sumvar;
or what have you.
You might check out http://php.net/manual/en/ref.c
php-windows Digest 14 Mar 2001 21:06:12 - Issue 491
Topics (messages 6007 through 6033):
Re: Mail/PHP/Apache
6007 by: Fernando Madruga
6012 by: Gaylen Fraley
6013 by: Fernando Madruga
PHP405 Install
6008 by: Antonio Lopez
6009 by: Tom Mathews
Re: CO
Hi all again,
i' am a very bloody greenhorne with php and maybe i have many questions.
Heres one another:
Who can exlpain to use com in php.
How can i execute methods and read attributes?
I only know how i can craete an object:
$object = new ("adodb.recordset") for exsample, is it not
Mostly the email address and smtp server: if you don't use the mail()
function, you can probably leave it as is...
You may also want to uncomment some of the extension= lines to load some
extensions (if you have them installed).
Bye,
Madruga
-Original Message-
From: Marco Laponder [mai
What should I change in the php.ini ?
Marco
"Fernando Madruga" <[EMAIL PROTECTED]> schreef in bericht
3685A91F554BD411BA310008C759B6CC02527B85@MAIL_CBR">news:3685A91F554BD411BA310008C759B6CC02527B85@MAIL_CBR...
>
> > I have some problems installing php on apache on win85.
>
use the object's native close function, and then unset the variable, eg
$microsoft_word->quit();
$microsoft_word=null;
mal
-Original Message-
From: James Q. Stansfield [mailto:[EMAIL PROTECTED]]
Sent: 14 March 2001 02:17
To: php-windows
Subject: [PHP-WIN] COM Question
Alrigh
I have fallen in love with the new Visual Studio.NET from Microsoft. I've
used the Visual Perl and Visual Python additions to the editor, and have
been very impressed.
Has anyone begun developing PHP syntax highlighting and tools for Visual
Studio? If not, I'd love to have a coup
In PHP COM, you do not need to close the instance of your object, you can
unset it if you want but it's not even necessary.
Alain
On Tue, Mar 13, 2001 at 09:16:36PM -0500, James Q. Stansfield wrote:
>
> Alright, I've gotten COM to work under PHP with the following:
>
> <%
> $com = new com(
>i has downloaded the latest version of php4.
>I want to run php with IIS4 but i don't know how can i do that.
Assuming you are running NT4 and already have IIS4...
If you downloaded the windows installer, run it.
If you downloaded the full binary zip, read the installation instructions
and foll
> I have some problems installing php on apache on win85.
^
First, upgrade your windows 85 to a newer version!!! :)
Seriously, you should copy php4tsdll.dll or something like that into the
apache/modules directory and make sure that you ch
Hi All,
I have some problems installing php on apache on win85. The apache server is
running fine before adding the loadmodule in the conf file. After adding
load module I get the message the the 'c:/php4/sapi/php4apache.dll' could
not be loaded. The dll is present in the given directory. ANy hin
Have a look at:
http://www.phpbuilder.com/columns/timuckun20001207.php3
Alain
On Wed, Mar 14, 2001 at 02:22:02PM +0100, Daniel Sichta wrote:
> Hi everybody,
> config: linux rh7, php 4.0.4
> I have problem. My client wants to use Access database and PHP script on
> linux server.
> How can I conne
On Wed, Mar 14, 2001 at 04:01:44PM +0100, Antonio Lopez wrote:
>
> Why you can not find Php405 in the "www.php.net" page?
>
> is Php405 an official version of Php ?
Not yet, but soon!
Alain
>
>
> Thankyou.
>
> ===
> Antonio López Luna
> In
Hi all,
i has downloaded the latest version of php4.
I want to run php with IIS4 but i don't know how can i do that.
Have anybody an idea ?
Thanks,
Thomas
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Why you can not find Php405 in the "www.php.net" page?
is Php405 an official version of Php ?
Thankyou.
===
Antonio López Luna
Ingeniería e Integración Avanzadas (Ingenia), S.A.
Parque Tecnológico de Andalucía
29590 - Málaga (Spain)
Tel. 34-
Alright, I've gotten COM to work under PHP with the following:
<%
$com = new com("iUtil.iTemplate");
%>
Now, looking at the documentation I can't find any function to close the
object when I don't need it any longer. Am I missing anything here? If PHP
autocloses objects that wou
Hi everybody,
config: linux rh7, php 4.0.4
I have problem. My client wants to use Access database and PHP script on
linux server.
How can I connect from PHP to Access on Linux ?
Thank you
Ing. Daniel Šichta
CUSTOM.web s.r.o.
Hodžova 13
01001 Žilina, SLOVAKIA
++421 89 564 3474
mobile ++421 905 83
This one may be easy to explain, not so easy to fix...
According to mktime documentation:
'Year may be a two or four digit value, with values between 0-69 mapping
to 2000-2069 and 70-99 to 1970-1999 (on systems where time_t is a 32bit
signed integer, as most common today, the valid range for ye
Hi,
I'm running PHP 4.0.2 with Xitami on Windows NT.
Strange bugs have been occurring and I think I've narrowed it down to real
values being involved near the problem area. I've figured out a workaround but I
thought I'd ask here anyway.
I say the bug is strange because its effect is very ind
Using Windows 2000 IIS php4 mysql,
I get this error
Warning: unexpected error in date() in
C:\Websites\tepcart\catalog\account.php on line 112
when I
Any help gratefully recieved
Thanks
Regards
Tony Ayling
Brisbane Australia
--
PHP Windows Mailing List (http://www.php.net/)
To unsubsc
> SMTP: mail.hosthere.com
Is this the EXACT contents of your ini? If it is, that's the error: you
should have changed to something like:
SMTP: xs4all.nl
Also, try to use the IP address instead of the name (do a PING xs4all.nl to
find out the IP address).
HTH,
Fernando Madruga
--
PHP Windows
Hi,
If I use the mail command it does not work, it seems to going to
a black hole.
mail('[EMAIL PROTECTED]', 'Test from php/windows95', 'bla bla bla');
I can telnet on port 25 to the smtp server and then I get a 220 ready,
so the PC is alowed to talk to the smtp server.
If I do a phpinfo the
You need to use mod_php:
uncomment the line on your httpd.conf that refers to LoadModule
php4_module; on my setup is
'LoadModule php4_module modules/ApacheModulePHP4.dll'
then add the following lines to your httpd.conf inside the so as to register .php files with the module:
I have placed my answers beneath your questions. The answers to all are YES
except the module vs. executable. How do I control that? In Apache the PHP
file that is called is php.exe.
--
Gaylen
[EMAIL PROTECTED]
"Fernando Madruga" <[EMAIL PROTECTED]> wrote in message
3685A91F554BD411BA310008C7
Is it possible to use the localhost on a w2k computer by specifying the
localhost as smtp. I am running with is server and it should have an inbuild
smtp server ,but i am unable to use the mail function. I have tried this
with apache as well, but as it comes with no smtp server i thought it would
There is no "syntax error" it works for me.
$word = new COM("word.application") or die("Unable to instantiate Word");
It's maybe a "configuration error".
I have PHP 4.0.5-dev, Apache 1.3.17 and Windows 98 SE
Yoann
- Original Message -
From: "Patrice Mora" <[EMAIL PROTECTED]>
To: <[EM
It sounds an obvious question, but is it a new script you are trying to run, or
is it one that could be sitting in the browser cache and you aren't refreshing
it properly?
Antonio Lopez wrote:
> I installed PHP404pl1 with the automatic installer, and all works right.
>
> Now, i want to install P
I installed PHP404pl1 with the automatic installer, and all works right.
Now, i want to install PHP405, and i have done the follow:
- I've modified the Windows registry:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Scrip
t Map]
".php"="c:\\php405\\sapi\\php.exe"
I'm also running Apache+PHP4+xtras on a Win98SE machine and have NO problems
sending mail; in fact, I use it on my 404.php error generator to send an
email to the webmaster (me!) whenever a broken link is requested and it
works absolutely fine!
Hints:
- Have you tried using the IP of your ISP's
php-windows Digest 14 Mar 2001 08:14:29 - Issue 490
Topics (messages 6003 through 6006):
Re: Apache Modules
6003 by: Ignatius Teo
Mail/PHP/Apache
6004 by: Gaylen Fraley
6005 by: Gaylen Fraley
Re: [PHP-WINDOWS] PHP don't capture variables
6006 by: wes currie
So how do you fix variables not being passed to other files. For example
I have a form (form.htm) that calls form_parse.php.
The echo(); method should print them to the screen. It does not. I know
the files are good because I have tried them on another server. PHP is
running because phpinfo(); wo
42 matches
Mail list logo