Hi Josh,
I have not done this myself but afaik, you can use curl to so this.
http://www.php.net/manual/en/ref.curl.php
Best Regards,
Patrick Lynch.
Optip Ltd, Internet & Mobile Development
Co. Clare, Ireland.
http://www.optip.com/
-Original Message-
From: Josh Levine [mailto:[E
Hi,
I am having a small problem with PHP/Windows.
[config]
Windows 2000 Server
IIS 5
PHP 4.0.6
I have a server with a php.ini in the c:\winnt directory and a site
running fine with that configuration.
I need to set up a new site, using a different php.ini. The new site is
set up in IIS but
-Original Message-
From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2002 17:20
To: Patrick Lynch
Subject: RE: [PHP] Specify php.ini location in windows
sorry ;)
hit send by accident ;)
the command line for it is:
php.exe -c c:\anotherfolder\php.ini
or even:
php.exe -c c
e time?
Regards,
Patrick Lynch
http://www.optip.com/
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2002 18:31
To: [EMAIL PROTECTED]
Subject: [PHP] header() -- function failed to due caching.
I tried to use this script but it failed due to the c
>checkLocation($this->post, "W")) &&
(!empty($this->childDOB)) ||
($this->checkPregnancy($this->benefitRef, $this->benefitNo))
)
Best Regards,
Patrick Lynch.
Optip Ltd, Internet & Mobile Development
http://www.optip.com/
-Or
Hi Jas,
I normally output can output a JaveScript
document.location.href="XXX.XXX"; command
Plan B is to do your processing before there is any output and then
decide whether or not to do a redirect using the header() function.
Best Regards,
Patrick Lynch.
Optip Ltd, Interne
As fas as I know, the only way to do this is to give somebody
instructions to right click on the file and so "Save As".
Plan B is to put the GIF in a ZIP file and let it be downloaded like
that.
Best Regards,
Patrick Lynch.
Optip Ltd, Internet & Mobile Development
Co. Clare,
Hi Johan,
The globals that PHP sets up have changed since since PHP 4.2.x
See: http://www.php.net/release_4_2_0.php
You can turn on register_globals in the php.ini file but it is
recommended to use the more secure $_GET['test'] type variables.
Best Regards,
Patrick Lynch.
Optip Ltd
Hi David,
$HTTP_HOST is the variable you are looking for.
Best Regards,
Patrick Lynch.
Optip Ltd, Internet & Mobile Development
Co. Clare, Ireland.
http://www.optip.com/
-Original Message-
From: David Orn Johannsson [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 15:00
To: [E
You could just use a .htaccess file instead of a virtualhost.
Best Regards,
Patrick Lynch.
Optip Ltd, Internet & Mobile Development
Co. Clare, Ireland.
http://www.optip.com/
-Original Message-
From: Jeff Bearer [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 15:24
To: Jeff Beare
(strlen($to)<=0)
return $this->Error(1, '"to" too short');
if (strlen($to)>=129)
return $this->Error(1, '"to" too long');
$this->mailto[]=$to;
return true;
}
Best Regards,
Patri
This is really simple:
header("Location: .php");
/Patrick
www.optip.com
-Original Message-
From: Wo Chang [mailto:[EMAIL PROTECTED]]
Sent: 08 April 2002 15:00
To: [EMAIL PROTECTED]
Subject: [PHP] what's the best way to do redirect within PHP
Dear All,
Another simple question:
Wh
What you are probably looking for is:
http://www.php.net/manual/en/class.com.php
Make a COM object out of your VB DLL (more info on this is available on a VB
faq). You can use the functions on the page above to access the
functionality of the COM object.
Best Regards,
Patrick Lynch
Unless you are sending HTML mail, you need to use newline - not BR
Best Regards,
Patrick Lynch.
==
Eirco
==
-Original Message-
From: Kyle Smith [mailto
Is
output_buffering = On
set in the php.ini file?
If it is set to on, no content or headers are sent back to the browser until
the whole page has been processed by PHP.
Best Regards,
Patrick Lynch.
Eirco
Web: http://www.eirco.com
-Original Message-
From: Andrew Brampton [mailto
15 matches
Mail list logo