RE: [PHP] secure sockets

2002-07-23 Thread Patrick Lynch
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

[PHP] Specify php.ini location in windows

2002-04-30 Thread Patrick Lynch
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

RE: [PHP] Specify php.ini location in windows

2002-04-30 Thread Patrick Lynch
-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

RE: [PHP] header() -- function failed to due caching.

2002-05-15 Thread Patrick Lynch
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

RE: [PHP] IF Statements

2002-05-16 Thread Patrick Lynch
>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

RE: [PHP] uh, oh errors?

2002-05-16 Thread Patrick Lynch
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

RE: [PHP] Can anyone help me save img from URL?

2002-05-16 Thread Patrick Lynch
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,

RE: [PHP] Problem : track_vars stopped working.

2002-05-22 Thread Patrick Lynch
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

RE: [PHP] Get domain name

2002-05-23 Thread Patrick Lynch
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

RE: [PHP] specifying a different php.ini at webserver start

2002-05-23 Thread Patrick Lynch
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

RE: [PHP] Defining Variables to use with a Function

2002-05-24 Thread Patrick Lynch
(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

RE: [PHP] what's the best way to do redirect within PHP

2002-04-08 Thread Patrick Lynch
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

RE: [PHP] Send variables from php to dll and back.

2001-07-23 Thread Patrick Lynch
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

RE: [PHP] Another how do i question

2001-07-23 Thread 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

RE: [PHP] sleep() function question

2001-07-23 Thread Patrick Lynch
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