php-general Digest 2 Feb 2004 13:50:31 -0000 Issue 2566

Topics (messages 176539 through 176570):

Re: php version difference - local installation very strict
        176539 by: DvDmanDT
        176543 by: Jason Wong

Re: Nested PHP
        176540 by: Russell Shaw
        176567 by: Jon Bennett

Re: stristr
        176541 by: Russell Shaw

Re: PHP, Windows 2000/IIS  & MySQL
        176542 by: Russell Shaw

Re: VERY URGENT.....
        176544 by: Jason Wong

Pulling unique data from database
        176545 by: Richard Kurth
        176547 by: Jason Wong
        176548 by: Raditha Dissanayake
        176549 by: Jonathan Rosenberg
        176551 by: Adam Bregenzer

Help with files
        176546 by: Mr. Austin
        176550 by: Jason Wong
        176552 by: Mr. Austin
        176554 by: John Nichel
        176555 by: John Nichel
        176556 by: Martin Towell

Re: comparing dates
        176553 by: Ryan A

Re: Sessions not working.
        176557 by: The.Rock

search.php
        176558 by: John Taylor-Johnston
        176559 by: Jason Wong
        176561 by: Raditha Dissanayake
        176562 by: John Taylor-Johnston

Pulling two field from mysql table into an array
        176560 by: Richard Kurth
        176563 by: Toby Irmer

read file only half the file loads ...
        176564 by: Philip J. Newman
        176566 by: DvDmanDT

Re: PHP and XML.
        176565 by: Mark Ackroyd

Print page with default margins
        176568 by: Narcis Florea
        176569 by: Marek Kilimajer

php header information
        176570 by: Angelo Zanetti

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 ---
Once on every page... I include one file once, on each page, and in that one
I have session_start()...

-- 
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
"Phillip Jackson" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> That's great advice... the only questions i have then:
>
> I only need to call session_start ONCE in my entire application per
instance
> of a session? when i published the application months ago to my production
> server i had errors on every page notifying me that a session had not been
> started so i could not call $_SESSION...
>
> ~pj
>
>
> "Justin French" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > On Monday, February 2, 2004, at 10:14  AM, Phillip Jackson wrote:
> >
> > > these errors are foreign to me as i have combed my code 100's of times
> > > before i deployed my app online 3 months ago. do i NEED this
> > > newer,stricter
> > > version or can i install a deprecated one?
> >
> > It's not newer and stricter, and it's not Apache -- it's PHP error
> > notices set to a higher level that your production server.
> >
> > This is really around the wrong way -- your local (dev) server should
> > be set to a high level of warning (mine's set to the highest) to
> > encourage good programming practices, and should be set to none on the
> > production (live) server to keep error messages out of the user
> > experience.
> >
> > The long answer is to fix your application, and hunt down all these
> > notices/warnings, so that your application is of better quality.
> >
> > The short answer is to set the error reporting on the live server to a
> > lower level, so that these messages are suppressed.  You can do this
> > either with ini_set()[1] or error_reporting()[2] at the top of every
> > script (or in a header include for example), or at an application level
> > with a .htaccess file in root directory.
> >
> > A sample of a .htaccess file would be:
> >
> > <IfModule mod_php4.c>
> > php_flag register_globals off
> > php_flag magic_quotes_runtime off
> > php_flag magic_quotes_gpc on
> > php_value url_rewriter.tags 'a=href'
> > php_value error_reporting 'E_ALL & ~E_NOTICE'
> > </IfModule>
> >
> > I'm not 100% sure the last line is correct, because I'v always done it
> > with ini_set() in my PHP application.
> > [1] http://www.php.net/ini_set
> > [2] http://www.php.net/error-reporting
> >
> >
> > I would encourage you to fix your code as well as apply error reporting
> > levels for both the production and live servers.
> >
> >
> > Good luck,
> >
> > Justin French



--- End Message ---
--- Begin Message ---
On Monday 02 February 2004 08:03, Phillip Jackson wrote:
> i don't use register_globals - i have a function that massages data that
> mimics register globals' behaivior via dynamically named variables.
>
> which one should i set it to - E_NOTICE?

error_reporting = E_ALL
display_errors = Off
log_errors = On
error_log = /path/to/php.log

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
QOTD:
        "Lack of planning on your part doesn't consitute an emergency
        on my part."
*/

--- End Message ---
--- Begin Message --- Robby Russell wrote:
Russell Shaw wrote:

Hi,
I have php code embedded in html, that is read by apache.

Is nested php code allowable such as:

<?
  $phpcode="<? echo \"< some html >\" ?>";
?>
...
<html>
...
  <body>
    <? echo "$phpcode" ?>
  </body>
</html>


Not sure what you're trying to do there.

I am generating dozens of rows of a table with entries from a database. Each row has an option selector that has dozens of choices, derived from another database. So, the first php pass generates the table, then the second pass generates the choices list in each row.

You can do this:

<?php
  $phpcode = "<b>hello world!</b>\n";
?>

<html>
  <body>
    <?php echo $phpcode; ?>
  </body>
</html>

I have done that a lot.

--- End Message ---
--- Begin Message --- you can also do stuff like this...

<?php

if ($someVar == true) {

?>

<html>
<title>someVar appears to be true</title>

<?php } else { ?>

<html>
<title>someVar appears to be false</title>

<?php } ?>

Thanks,

Jon


jon bennett | [EMAIL PROTECTED] new media creative _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

J b e n . n e t

91 Gloucester Rd,  Trowbridge,  Wilts,  BA14 0AD
t: +44 (0) 1225 341039 w: http://www.jben.net/
iChat (AIM): jbendotnet


On 1 Feb 2004, at 16:44, John Nichel wrote:


Russell Shaw wrote:

Hi,
I have php code embedded in html, that is read by apache.
Is nested php code allowable such as:
<?
  $phpcode="<? echo \"< some html >\" ?>";
?>
...
<html>
...
  <body>
    <? echo "$phpcode" ?>
  </body>
</html>

Yes.


--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message --- Liam wrote:
I've been trying to make this error logger for hours now,

I get my webserver to forward all errors to error.php?message=404 etc..

The source can be found here
http://the-bronze.me.uk/ID/error.txt

Now Im at my wits end, I want all errors that come internaly eg from the-bronze.me.uk to be put into onserver.txt and all other ones to be put into 404.txt

Unfortuantly I seem to be a little lost and confusded, can anyone see where im going wrong as far as my stristr(); usage is and if so what is the problem?

One useful diagnostic method is:


  $match = stristr($_SERVER['HTTP_REFERER'],'the-bronze');
  echo "$_SERVER['HTTP_REFERER'] <br> $match";

--- End Message ---
--- Begin Message --- S Gex wrote:
I'm trying to install PHP on my system. I know absolutely nothing about it.
I installed MySQL and PHP, (PHP said that it configured IIS) When I attempt
to write a PHP statement and an HTML statement, the HTML statement runs, but
the PHP does not...Any suggestions?

If you embed the php code into an html file, the file should be renamed with .php instead of .html so that the web server parses it for php (unless you set it up to scan .html files too). There's many beginner books on php/mysql.

--- End Message ---
--- Begin Message ---
On Monday 02 February 2004 04:01, Ryan A wrote:
> GREAT! The last time I went for the millions, my turn is over...so whose
> turn is it now?

Please do not respond to spam -- and trim your posts!

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
You may get an opportunity for advancement today.  Watch it!
*/

--- End Message ---
--- Begin Message ---
 I am pulling data from a database that list the Language a person
 speaks. It is in a format like this.

English||Spanish
English
English||Portuguese||Finnish
English||Japanese||German
English
English
German

each time it looks at a new record it list all the languages that that
person speaks with a double pipe in between each language.

What I need to do is find all the unique languages so I can generate a
list of languages that do not have any repeats in it. so the list above
would be   English,Portuguese,Finnish,Japanese,German,Spanish in any
order

How would I go about this. I can not change the format of the database
and there are over 200 people listed in the database.

--- End Message ---
--- Begin Message ---
On Monday 02 February 2004 10:26, Richard Kurth wrote:
> What I need to do is find all the unique languages so I can generate a
> list of languages that do not have any repeats in it. so the list above
> would be   English,Portuguese,Finnish,Japanese,German,Spanish in any
> order

explode() and array_unique() or array_flip() should get you started.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A fool must now and then be right by chance.
*/

--- End Message ---
--- Begin Message --- Hello Richard,

Normally the distinct calause in sql serves this purpose but it seems that the way your DB is designed you cannot make use of it. The bad news is that you might have to read all the rows split them by the pipe symbol and insert them into a list manually. ouch!



Richard Kurth wrote:

I am pulling data from a database that list the Language a person
speaks. It is in a format like this.

English||Spanish
English
English||Portuguese||Finnish
English||Japanese||German
English
English
German

each time it looks at a new record it list all the languages that that
person speaks with a double pipe in between each language.

What I need to do is find all the unique languages so I can generate a
list of languages that do not have any repeats in it. so the list above
would be   English,Portuguese,Finnish,Japanese,German,Spanish in any
order

How would I go about this. I can not change the format of the database
and there are over 200 people listed in the database.





--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

--- End Message ---
--- Begin Message ---
Here's some skeleton code showing one way (untested, no error checking shown):

        $query = 'SELECT Language FROM whatever';
        $result = mysql_query($query);
        $languages = array();
        while ($row=mysql_fetch_object($result))
                $languages = array_merge($languages, explode('||', $row->Language));

        $languages = array_unique($languages);

--
Jonathan Rosenberg
President & Founder, Tabby's Place
http://www.tabbysplace.org/
 

> -----Original Message-----
> From: Richard Kurth [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, February 01, 2004 9:27 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Pulling unique data from database
> 
> 
>  I am pulling data from a database that list the Language a person
>  speaks. It is in a format like this.
> 
> English||Spanish
> English
> English||Portuguese||Finnish
> English||Japanese||German
> English
> English
> German
> 
> each time it looks at a new record it list all the languages that that
> person speaks with a double pipe in between each language.
> 
> What I need to do is find all the unique languages so I can generate a
> list of languages that do not have any repeats in it. so the 
> list above
> would be   English,Portuguese,Finnish,Japanese,German,Spanish in any
> order
> 
> How would I go about this. I can not change the format of the database
> and there are over 200 people listed in the database.
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
On Sun, 2004-02-01 at 21:26, Richard Kurth wrote:
> each time it looks at a new record it list all the languages that that
> person speaks with a double pipe in between each language.
> 
> What I need to do is find all the unique languages so I can generate a
> list of languages that do not have any repeats in it. so the list above
> would be   English,Portuguese,Finnish,Japanese,German,Spanish in any
> order

Use explode (http://www.php.net/explode) to split the string and put it
in an array for each row; joining them together to make one big array. 
Then use array_unique (http://www.php.net/array_unique) to remove the
dupes.

-- 
Adam Bregenzer
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hello all,

I am trying to open a file (successful), then rewrite over the file when it is saved 
via a form on a website.  I have used the following code, yet it simple rewrites from 
the file pointer, but does not clear the file before writing.  Thanks for any help.

<?php

$buff = fopen("sample.txt", "r+");
$text = "This is new text for yay";

if(!fwrite($buff, $text)) {
 print("Unable to write to file");
} else {
 print("File written successfully");
}

?>

--- End Message ---
--- Begin Message ---
On Monday 02 February 2004 10:33, Mr. Austin wrote:

> $buff = fopen("sample.txt", "r+");
                               ^ 
-------------------------------+

RTFM to see what other options you can use.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Give your very best today.  Heaven knows it's little enough.
*/

--- End Message ---
--- Begin Message ---
I'm not entirely sure why it is that you assume I did not read the manual or
the online documentation (which is very thorough).  I'll find my answers
elsewhere.

Thank you,
Mr. Austin

----- Original Message -----
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 01, 2004 8:43 PM
Subject: Re: [PHP] Help with files


> On Monday 02 February 2004 10:33, Mr. Austin wrote:
>
> > $buff = fopen("sample.txt", "r+");
>                                ^
> -------------------------------+
>
> RTFM to see what other options you can use.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> Give your very best today.  Heaven knows it's little enough.
> */
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message --- Mr. Austin wrote:

Hello all,

I am trying to open a file (successful), then rewrite over the file when it is saved via a form on a website. I have used the following code, yet it simple rewrites from the file pointer, but does not clear the file before writing. Thanks for any help.

<?php

$buff = fopen("sample.txt", "r+");
$text = "This is new text for yay";

if(!fwrite($buff, $text)) {
 print("Unable to write to file");
} else {
 print("File written successfully");
}

?>


Use the manual, Luke.


http://us4.php.net/manual/en/function.fopen.php

The word you're looking for here is 'truncate'.

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--- End Message ---
--- Begin Message --- Mr. Austin wrote:

I'm not entirely sure why it is that you assume I did not read the manual or
the online documentation (which is very thorough).

I'm sure Jason has made that assumption because the answer to your question is right there in the manual...under one of the functions you're using.


I'll find my answers elsewhere.

Try the manual.


http://us4.php.net/manual/en/function.fopen.php

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--- End Message ---
--- Begin Message ---
Instead of using "r+", use "w"
This will clear the file for you :)

> -----Original Message-----
> From: Mr. Austin [mailto:[EMAIL PROTECTED]
> Sent: Monday, 2 February 2004 1:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Help with files
> 
> 
> I'm not entirely sure why it is that you assume I did not 
> read the manual or
> the online documentation (which is very thorough).  I'll find 
> my answers
> elsewhere.
> 
> Thank you,
> Mr. Austin
> 
> ----- Original Message -----
> From: "Jason Wong" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, February 01, 2004 8:43 PM
> Subject: Re: [PHP] Help with files
> 
> 
> > On Monday 02 February 2004 10:33, Mr. Austin wrote:
> >
> > > $buff = fopen("sample.txt", "r+");
> >                                ^
> > -------------------------------+
> >
> > RTFM to see what other options you can use.
> >
> > --
> > Jason Wong -> Gremlins Associates -> www.gremlins.biz
> > Open Source Software Systems Integrators
> > * Web Design & Hosting * Internet & Intranet Applications 
> Development *
> > ------------------------------------------
> > Search the list archives before you post
> > http://marc.theaimsgroup.com/?l=php-general
> > ------------------------------------------
> > /*
> > Give your very best today.  Heaven knows it's little enough.
> > */
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
Hey,
Thanks for replying.

I did find an easier way, but only after going through what you sent
me...the way i found was using substr.
I do read the manual, but not the online one, I have a downloaded windows
helpfile copy, its much faster
and easier to access but one disadvantage is...it does not have the user
comments.
Cheers,
-Ryan


http://Bestwebhosters.com


----- Original Message ----- 
From: "Justin French" <[EMAIL PROTECTED]>
To: "Ryan A" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 1:21 AM
Subject: Re: [PHP] comparing dates


> On Monday, February 2, 2004, at 10:04  AM, Ryan A wrote:
>
> > which gives me two 14 numberic characters strings like:
> > 20040202091212
> > 20040201070500
> >
> > How do I compare it to display something like this to the visitor:
> > You have $xdays day/s, $xhours hours and $xmins minutes before your
> > account
> > expires
> >
> > Been hitting the manual, but have either been searching in the wrong
> > places
> > or....?
> > I think I will have to use "explode","strtotime" on this...but am not
> > sure.
>
> Ryan,
>
> explode() won't help (nothing to explode on)
> strtotime() won't help, as it can't work directly with the above date
> format
>
> There's a decent comment on http://php.net/strtotime (RTFM????) by
> 'tobi at schluer dot de'
> "...You can read the db using the UNIX_TIMESTAMP()-function, which
> returns the timestamp from the date(time) field.  So you don't need to
> convert the dates in PHP, but let SQL do that job."
>
> So, you can do it with MySQL.  Otherwise, a function like this in PHP
> would do it:
>
> <?
> function mysqlToUnixStamp($in)
> {
> $y = substr($in,0,4);
> $m = substr($in,4,2);
> $d = substr($in,6,2);
> $h = substr($in,8,2);
> $i = substr($in,10,2);
> $s = substr($in,12,2);
> return mktime($h,$i,$s,$m,$d,$y);
> }
> ?>
>
> So then pass your mysql stamps to it like this:
>
> <?
> $d1 = '20040202091212';
> $d2 = '20040201070500';
>
> $d1 = mysqlToUnixStamp($d1);
> $d2 = mysqlToUnixStamp($d2);
> ?>
>
> An you can then compare them (for example):
>
> <?
> if($d1 >= $d2) { /*something*/ }
> ?>
>
> Or find the difference in seconds:
>
> <?
> $diff = $d1 - $d2;
> ?>
>
> Converting this into a human readable "$xdays day/s, $xhours hours and
> $xmins minutes" is not exactly easy, but here's some hints for you to
> build on:
>
> <?
> function secondsToString($in)
> {
> $secsInDay = (60 * 60) * 24;
> $secsInHour = 60 * 60;
> $secsInMin = 60;
> $ret = '';
>
> if($in > $secsInDay)
> {
> $days = round($in / $secsInDay);
> $remainder = $in % $secsInDay;
> $ret .= "{$days} days, ";
> }
>
> if($remainder > $secsInHour)
> {
> $hours = round($remainder / $secsInHour);
> $remainder = $in % $secsInHour;
> $ret .= "{$hours} hours, ";
> }
>
> if($remainder > $secsInMin)
> {
> $mins = round($remainder / $secsInMin);
> $remainder = $in % $secsInMin;
> $ret .= "{$mins} mins, ";
> }
>
> // strip off last ', '
> $ret = substr($ret,0,-2);
>
> return $ret;
> }
>
> // converting to human readable
> $timeLeft = secondsToString($diff);
>
> // print to screen
> echo "you have {$timeLeft} remain on your membership";
> ?>
>
>
> Out of all this, what you need to look-up in the manual and understand
> is the modulus (%), an arithmetic operator & substr().
>
> http://www.php.net/manual/en/language.operators.arithmetic.php
> http://www.php.net/substr
>
>
> Justin French
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>

--- End Message ---
--- Begin Message ---
If your on IIS, you need to set the session.save_path option in php.ini
file. Then make sure that IIS can actually write to the directory.

"Jeff McKeon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Pulling my hair out here.

I've got an IIS5 webserver running a php website just fine.

I created another web for a dev version of the first website.  Installed
PHP ect...
When I load up the old websites files on the new site sessions won't
work on the new site.

For some reason on the new site's phpinfo.php page, there is no
HTTP_COOKIE variable set under the "environmental" section.

Also, under the PHP Variables section, there is no _REQUEST["PHPSESSID"]
or _COOKIE["PHPSESSID"] variable.

What have I missed!???

Here is a section of the phpinfo() for both sites.

Good Site:

Environment
Variable Value
ALLUSERSPROFILE  C:\Documents and Settings\All Users
CommonProgramFiles  C:\Program Files\Common Files
COMPUTERNAME  WS02TC07927
ComSpec  C:\WINNT\system32\cmd.exe
CONTENT_LENGTH  0
GATEWAY_INTERFACE  CGI/1.1
HTTPS  off
HTTP_ACCEPT  */*
HTTP_ACCEPT_LANGUAGE  en-us
HTTP_CONNECTION  Keep-Alive
HTTP_HOST  opsup.telaurus.net
HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
HTTP_COOKIE  PHPSESSID=ed09aa7b20d4032a3553c16a8f4a782f
HTTP_ACCEPT_ENCODING  gzip, deflate
INSTANCE_ID  3
LOCAL_ADDR  10.16.1.21
NUMBER_OF_PROCESSORS  1
Os2LibPath  C:\WINNT\system32\os2\dll;
OS  Windows_NT
Path  C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
PATHEXT  .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_INFO  /phpinfo.php
PATH_TRANSLATED  C:\Inetpub\wwwOpSup\phpinfo.php
PROCESSOR_ARCHITECTURE  x86
PROCESSOR_IDENTIFIER  x86 Family 6 Model 8 Stepping 10, GenuineIntel
PROCESSOR_LEVEL  6
PROCESSOR_REVISION  080a
ProgramFiles  C:\Program Files
REMOTE_ADDR  10.16.2.55
REMOTE_HOST  10.16.2.55
REQUEST_METHOD  GET
SCRIPT_NAME  /phpinfo.php
SERVER_NAME  opsup.telaurus.net
SERVER_PORT  80
SERVER_PORT_SECURE  0
SERVER_PROTOCOL  HTTP/1.1
SERVER_SOFTWARE  Microsoft-IIS/5.0
SystemDrive  C:
SystemRoot  C:\WINNT
TEMP  C:\WINNT\TEMP
TMP  C:\WINNT\TEMP
USERPROFILE  C:\Documents and Settings\NetShowServices
windir  C:\WINNT


PHP Variables
Variable Value
_REQUEST["PHPSESSID"] ed09aa7b20d4032a3553c16a8f4a782f
_COOKIE["PHPSESSID"] ed09aa7b20d4032a3553c16a8f4a782f
_SERVER["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_SERVER["CommonProgramFiles"] C:\\Program Files\\Common Files
_SERVER["COMPUTERNAME"] WS02TC07927
_SERVER["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_SERVER["CONTENT_LENGTH"] 0
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTPS"] off
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] opsup.telaurus.net
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1)
_SERVER["HTTP_COOKIE"] PHPSESSID=ed09aa7b20d4032a3553c16a8f4a782f
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["INSTANCE_ID"] 3
_SERVER["LOCAL_ADDR"] 10.16.1.21
_SERVER["NUMBER_OF_PROCESSORS"] 1
_SERVER["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_SERVER["OS"] Windows_NT
_SERVER["Path"] C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["PATH_INFO"] /phpinfo.php
_SERVER["PATH_TRANSLATED"] C:\\Inetpub\\wwwOpSup\\phpinfo.php
_SERVER["PROCESSOR_ARCHITECTURE"] x86
_SERVER["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 8 Stepping 10,
GenuineIntel
_SERVER["PROCESSOR_LEVEL"] 6
_SERVER["PROCESSOR_REVISION"] 080a
_SERVER["ProgramFiles"] C:\\Program Files
_SERVER["REMOTE_ADDR"] 10.16.2.55
_SERVER["REMOTE_HOST"] 10.16.2.55
_SERVER["REQUEST_METHOD"] GET
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["SERVER_NAME"] opsup.telaurus.net
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PORT_SECURE"] 0
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_SERVER["SystemDrive"] C:
_SERVER["SystemRoot"] C:\\WINNT
_SERVER["TEMP"] C:\\WINNT\\TEMP
_SERVER["TMP"] C:\\WINNT\\TEMP
_SERVER["USERPROFILE"] C:\\Documents and Settings\\NetShowServices
_SERVER["windir"] C:\\WINNT
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_ENV["CommonProgramFiles"] C:\\Program Files\\Common Files
_ENV["COMPUTERNAME"] WS02TC07927
_ENV["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_ENV["CONTENT_LENGTH"] 0
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["HTTPS"] off
_ENV["HTTP_ACCEPT"] */*
_ENV["HTTP_ACCEPT_LANGUAGE"] en-us
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_HOST"] opsup.telaurus.net
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1)
_ENV["HTTP_COOKIE"] PHPSESSID=ed09aa7b20d4032a3553c16a8f4a782f
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["INSTANCE_ID"] 3
_ENV["LOCAL_ADDR"] 10.16.1.21
_ENV["NUMBER_OF_PROCESSORS"] 1
_ENV["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_ENV["OS"] Windows_NT
_ENV["Path"] C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["PATH_INFO"] /phpinfo.php
_ENV["PATH_TRANSLATED"] C:\\Inetpub\\wwwOpSup\\phpinfo.php
_ENV["PROCESSOR_ARCHITECTURE"] x86
_ENV["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 8 Stepping 10,
GenuineIntel
_ENV["PROCESSOR_LEVEL"] 6
_ENV["PROCESSOR_REVISION"] 080a
_ENV["ProgramFiles"] C:\\Program Files
_ENV["REMOTE_ADDR"] 10.16.2.55
_ENV["REMOTE_HOST"] 10.16.2.55
_ENV["REQUEST_METHOD"] GET
_ENV["SCRIPT_NAME"] /phpinfo.php
_ENV["SERVER_NAME"] opsup.telaurus.net
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PORT_SECURE"] 0
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_ENV["SystemDrive"] C:
_ENV["SystemRoot"] C:\\WINNT
_ENV["TEMP"] C:\\WINNT\\TEMP
_ENV["TMP"] C:\\WINNT\\TEMP
_ENV["USERPROFILE"] C:\\Documents and Settings\\NetShowServices
_ENV["windir"] C:\\WINNT

BAD site:

Environment
Variable Value
ALLUSERSPROFILE  C:\Documents and Settings\All Users
CommonProgramFiles  C:\Program Files\Common Files
COMPUTERNAME  WS02TC07927
ComSpec  C:\WINNT\system32\cmd.exe
CONTENT_LENGTH  0
GATEWAY_INTERFACE  CGI/1.1
HTTPS  off
HTTP_ACCEPT  */*
HTTP_ACCEPT_LANGUAGE  en-us
HTTP_CONNECTION  Keep-Alive
HTTP_HOST  opsup_dev.telaurus.net
HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
HTTP_ACCEPT_ENCODING  gzip, deflate
INSTANCE_ID  6
LOCAL_ADDR  10.16.1.24
NUMBER_OF_PROCESSORS  1
Os2LibPath  C:\WINNT\system32\os2\dll;
OS  Windows_NT
Path  C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
PATHEXT  .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PATH_INFO  /phpinfo.php
PATH_TRANSLATED  C:\Inetpub\wwwOpSupDev\phpinfo.php
PROCESSOR_ARCHITECTURE  x86
PROCESSOR_IDENTIFIER  x86 Family 6 Model 8 Stepping 10, GenuineIntel
PROCESSOR_LEVEL  6
PROCESSOR_REVISION  080a
ProgramFiles  C:\Program Files
REMOTE_ADDR  10.16.2.55
REMOTE_HOST  10.16.2.55
REQUEST_METHOD  GET
SCRIPT_NAME  /phpinfo.php
SERVER_NAME  opsup_dev.telaurus.net
SERVER_PORT  80
SERVER_PORT_SECURE  0
SERVER_PROTOCOL  HTTP/1.1
SERVER_SOFTWARE  Microsoft-IIS/5.0
SystemDrive  C:
SystemRoot  C:\WINNT
TEMP  C:\WINNT\TEMP
TMP  C:\WINNT\TEMP
USERPROFILE  C:\Documents and Settings\NetShowServices
windir  C:\WINNT


PHP Variables
Variable Value
_SERVER["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_SERVER["CommonProgramFiles"] C:\\Program Files\\Common Files
_SERVER["COMPUTERNAME"] WS02TC07927
_SERVER["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_SERVER["CONTENT_LENGTH"] 0
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["HTTPS"] off
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] opsup_dev.telaurus.net
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1)
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["INSTANCE_ID"] 6
_SERVER["LOCAL_ADDR"] 10.16.1.24
_SERVER["NUMBER_OF_PROCESSORS"] 1
_SERVER["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_SERVER["OS"] Windows_NT
_SERVER["Path"] C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["PATH_INFO"] /phpinfo.php
_SERVER["PATH_TRANSLATED"] C:\\Inetpub\\wwwOpSupDev\\phpinfo.php
_SERVER["PROCESSOR_ARCHITECTURE"] x86
_SERVER["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 8 Stepping 10,
GenuineIntel
_SERVER["PROCESSOR_LEVEL"] 6
_SERVER["PROCESSOR_REVISION"] 080a
_SERVER["ProgramFiles"] C:\\Program Files
_SERVER["REMOTE_ADDR"] 10.16.2.55
_SERVER["REMOTE_HOST"] 10.16.2.55
_SERVER["REQUEST_METHOD"] GET
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["SERVER_NAME"] opsup_dev.telaurus.net
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_PORT_SECURE"] 0
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_SERVER["SystemDrive"] C:
_SERVER["SystemRoot"] C:\\WINNT
_SERVER["TEMP"] C:\\WINNT\\TEMP
_SERVER["TMP"] C:\\WINNT\\TEMP
_SERVER["USERPROFILE"] C:\\Documents and Settings\\NetShowServices
_SERVER["windir"] C:\\WINNT
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users
_ENV["CommonProgramFiles"] C:\\Program Files\\Common Files
_ENV["COMPUTERNAME"] WS02TC07927
_ENV["ComSpec"] C:\\WINNT\\system32\\cmd.exe
_ENV["CONTENT_LENGTH"] 0
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["HTTPS"] off
_ENV["HTTP_ACCEPT"] */*
_ENV["HTTP_ACCEPT_LANGUAGE"] en-us
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_HOST"] opsup_dev.telaurus.net
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1)
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["INSTANCE_ID"] 6
_ENV["LOCAL_ADDR"] 10.16.1.24
_ENV["NUMBER_OF_PROCESSORS"] 1
_ENV["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll;
_ENV["OS"] Windows_NT
_ENV["Path"] C:\\WINNT\\system32;C:\\WINNT;C:\\WINNT\\System32\\Wbem
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["PATH_INFO"] /phpinfo.php
_ENV["PATH_TRANSLATED"] C:\\Inetpub\\wwwOpSupDev\\phpinfo.php
_ENV["PROCESSOR_ARCHITECTURE"] x86
_ENV["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 8 Stepping 10,
GenuineIntel
_ENV["PROCESSOR_LEVEL"] 6
_ENV["PROCESSOR_REVISION"] 080a
_ENV["ProgramFiles"] C:\\Program Files
_ENV["REMOTE_ADDR"] 10.16.2.55
_ENV["REMOTE_HOST"] 10.16.2.55
_ENV["REQUEST_METHOD"] GET
_ENV["SCRIPT_NAME"] /phpinfo.php
_ENV["SERVER_NAME"] opsup_dev.telaurus.net
_ENV["SERVER_PORT"] 80
_ENV["SERVER_PORT_SECURE"] 0
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["SERVER_SOFTWARE"] Microsoft-IIS/5.0
_ENV["SystemDrive"] C:
_ENV["SystemRoot"] C:\\WINNT
_ENV["TEMP"] C:\\WINNT\\TEMP
_ENV["TMP"] C:\\WINNT\\TEMP
_ENV["USERPROFILE"] C:\\Documents and Settings\\NetShowServices
_ENV["windir"] C:\\WINNT

Jeff McKeon
IT Manager
Telaurus Communications LLC
[EMAIL PROTECTED]
(973) 889-8990 ex 209

***The information contained in this communication is confidential. It
is intended only for the sole use of the recipient named above and may
be legally privileged. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this communication, or any of its contents or attachments,
is expressly prohibited. If you have received this communication in
error, please re-send it to the sender and delete the original message,
and any copy of it, from your computer system. Thank You.***

--- End Message ---
--- Begin Message ---
Can anyone give me a heads up on how to recurse for sub-directories please? What 
function can I use?
I'm still kind of new at this,
John


> 1) set $which_one to the directory you want to search.
> 2) create a recursive funtion (many on php.net) to get all subdirectories
> under it and build an array with their paths as the elements.
> 3)  now, take that arrary and add a foreach before the line "$directory =
> opendir($which_one);" replacing "$which_one" with your foreach array
> element.
>
<?php
$counter=1;
$not_found=0;
$which_one="."; // use a "." to search in this directory, or type in the folder name
$link = "www.glquebec.org"; // this is your base url
//$search_for="Search for something here!!!"; // comment this whole line out if you 
are using a form to search
$search_for="nice word";
$directory = opendir($which_one);

while($file = readdir( $directory)){$file_ar[] = $file;}
foreach( $file_ar as $file )
{
        $type= strrchr($file,'.');
        $name=$which_one;
        $name.="/";
        $name.=$file;
        $file_name=fopen($name,"r");
        $bleh ="";
#        if ($type==".php" || $type==".txt" || $type==".html")
#        if ($type==".htm" || $type==".txt" || $type==".html")
        if ($type==".htm" || $type==".html")
                {
                while ((!feof($file_name)))
                         {
                                 $bleh .= fgets($file_name , 20000);
                         }
                        $bleh = strtolower($bleh);
                        $bleh = stripslashes($bleh);
                        $bleh = str_replace("<br>"," ", $bleh);
                        if (stristr($bleh,$search_for))
                                {
                                        echo "$counter .) <a 
href=$link".$name.">".$link.$name."</a><br>";
                                        echo "\"...";
                                        $bingo = strstr($bleh, $search_for);
                                        $bingo = explode (" ", $bingo);
                                        echo "<b>$bingo[0]</b>";
                                        for ($x=1;$x<15;$x++)
                                         echo "$bingo[$x] ";
                                        echo "...\"<br><Br>";
                                        $counter++;
                                        $not_found=2;
                                }
                        else{}
                }
        fclose($file_name);
    }

if ($not_found==0)
{
echo "Sorry... $search_for was not found!!!<Br>
<a href=javascript:history.go(-1)>Search Again</a>";
}
?>


--- End Message ---
--- Begin Message ---
On Monday 02 February 2004 13:07, John Taylor-Johnston wrote:
> Can anyone give me a heads up on how to recurse for sub-directories please?
> What function can I use? I'm still kind of new at this,

The user comments in the online manual for the chapter "Directory functions" 
should prove useful.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Time and tide wait for no man.
*/

--- End Message ---
--- Begin Message --- Hi John,
This is the third or fourth thread on this topic that you have started. As jason has pointed out you need to start reading. While people in this list will be happy to help you overcome specific problems no one has the time to code for you.



John Taylor-Johnston wrote:


Can anyone give me a heads up on how to recurse for sub-directories please? What 
function can I use?
I'm still kind of new at this,
John




1) set $which_one to the directory you want to search.
2) create a recursive funtion (many on php.net) to get all subdirectories
under it and build an array with their paths as the elements.
3)  now, take that arrary and add a foreach before the line "$directory =
opendir($which_one);" replacing "$which_one" with your foreach array
element.








--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.

--- End Message ---
--- Begin Message ---
Second actually. Thanks for the answer Jason,
John

Raditha Dissanayake wrote:

> Hi John,
> This is the third or fourth thread on this topic that you have started.
> As jason has pointed out you need to start reading.  While people in
> this list will be happy to help you overcome specific problems no one
> has the time to code for you.
>
> John Taylor-Johnston wrote:
>
> >Can anyone give me a heads up on how to recurse for sub-directories please? What 
> >function can I use?
> >I'm still kind of new at this,
> >John
> >
> >
> >
> >
> >>1) set $which_one to the directory you want to search.
> >>2) create a recursive funtion (many on php.net) to get all subdirectories
> >>under it and build an array with their paths as the elements.
> >>3)  now, take that arrary and add a foreach before the line "$directory =
> >>opendir($which_one);" replacing "$which_one" with your foreach array
> >>element.
> >>
> >>
> >>

--- End Message ---
--- Begin Message ---
What is the best way to pull two fields from a mysql database and add
the two fields to an array for each record in the table
field_name  user_id

I need it so iI can access the array with $key and $value

--- End Message ---
--- Begin Message ---
How 'bout

<?
$query = "    SELECT field_name, user_id FROM table";
$result = mysql_query($query);
while($line = mysql_fetch_assoc($result)
{
    $array[$line["user_id"]] = $line["field_name"];
}
?>
             
----- Original Message ----- 
From: "Richard Kurth" <[EMAIL PROTECTED]>
To: "Richard Kurth" <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 7:00 AM
Subject: [PHP] Pulling two field from mysql table into an array


> 
> What is the best way to pull two fields from a mysql database and add
> the two fields to an array for each record in the table
> field_name  user_id
> 
> I need it so iI can access the array with $key and $value
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
loadimage.php has the following code in it.


<?php 
  $myimage="d:/website/images/no_access_php.jpg";
    // above is the file and the location is verified.
  header("Content-type: image/jpeg");  
  readfile("$myimage") ;
?>

Only half the image is shown ... it stops loading the image or the image wont' load at 
all.

Any Ideas what the problem could be?


---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
The server or the connection seems to be the problem.. :s
-- 
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
"Philip J. Newman" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> loadimage.php has the following code in it.
>
>
> <?php
>   $myimage="d:/website/images/no_access_php.jpg";
>     // above is the file and the location is verified.
>   header("Content-type: image/jpeg");
>   readfile("$myimage") ;
> ?>
>
> Only half the image is shown ... it stops loading the image or the image
wont' load at all.
>
> Any Ideas what the problem could be?
>
>
> ---
> Philip J. Newman
> Master Developer
> PhilipNZ.com [NZ] Ltd.
> [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---

Rolf Brusletto wrote:

The only thing I can think of is apache/you_webserver_here is limiting the amount of memory.. still an odd problem though, depending on the size of the xml..

The XML is tiny, 12 lines. I got round the problem by chopping up someone elses PHP XML parser script, so that it wasn`t using expat.


Wich I had time to look into all of these little things :-)


-- Mark Ackroyd

--- End Message ---
--- Begin Message ---
Hi,

I'm using Apache/PHP/MySQL in my business project
My big problem now is: How can I print a page on a standard page format,
like "Letter, left margin: 0.25 inch, etc.)
When I print, I must every time set page margin manually, and I want this
being made by php or javascript automatically on load page

I appreciate much any suggestion or ideaa or links to examples similars or
documentation can help me.

--- End Message ---
--- Begin Message --- Narcis Florea wrote:
Hi,
Hello,

I'm using Apache/PHP/MySQL in my business project
Thank you for using php!

My big problem now is: How can I print a page on a standard page format,
like "Letter, left margin: 0.25 inch, etc.)
When I print, I must every time set page margin manually, and I want this
being made by php or javascript automatically on load page

Unfortunately, this is not php question. Try another list, likely css. I can help you only with this:


<style type="text/css" media="screen">
<!--
        @import url("screen.css");
//-->
</style>
<style type="text/css" media="print">
<!--
        @import url("print.css");
//-->
</style>

--- End Message ---
--- Begin Message ---
HI all

I have a page that has been written by someone else and when I run it and
click on a button to valid the username and password to login it sends me
back the same page with the following:

Warning: Cannot modify header information - headers already sent by (output
started at c:\program files\apache group\apache\htdocs\zero\db_class.inc:1)
in c:\program files\apache group\apache\htdocs\zero\login.php on line 26

on line 26 I have the following info:

                header("Location: clientmenu.php?".SID);

Is the problem session related? or what would cause the above header?
thanx in advanec

--------------------------------------------------------------------
Disclaimer 
This e-mail transmission contains confidential information,
which is the property of the sender.
The information in this e-mail or attachments thereto is 
intended for the attention and use only of the addressee. 
Should you have received this e-mail in error, please delete 
and destroy it and any attachments thereto immediately. 
Under no circumstances will the Cape Technikon or the sender 
of this e-mail be liable to any party for any direct, indirect, 
special or other consequential damages for any use of this e-mail.
For the detailed e-mail disclaimer please refer to 
http://www.ctech.ac.za/polic or call +27 (0)21 460 3911

--- End Message ---

Reply via email to