[PHP] Countdown clock?, X days till christmas

2001-12-13 Thread Webleycity



Hello all is it possible to do an interactive countdown clock in MYsql that
can be embeded in emails.




---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: Mehmet Kamil ERISEN <[EMAIL PROTECTED]>
> Date: Wed, 12 Dec 2001 14:25:24 -0800 (PST)
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Date
> 
> what's your raw data. I mean, what is the value of
> $row["mydatafield"];
> 
> --- Max <[EMAIL PROTECTED]> wrote:
>> Hi to all,
>> 
>> I'm using this to get date from mySQL database:
>> 
>> ...
>> $p_datum = $row["mydatefield"];
>> $mydate = getdate($p_datum);
>> $month = $mydate['month'];
>> $mday = $mydate['mday'];
>> $year = $mydate['year'];
>> 
>> ..but I allways get 1/1/1970.
>> 
>> Can anybody help me?
>> 
>> -- 
>> PHP General 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 PROTECTED]
>> 
> 
> 
> =
> Mehmet Erisen
> http://www.erisen.com
> 
> __
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




Re: [PHP] Newbie-student Database PHP Question

2001-12-13 Thread Webleycity





PLAY A GAME HERE ON
http://www.webleycity.co.uk/theblitz.html




| Website design and hosting. |
| Your free website trial including design and webspace, contact: |
[EMAIL PROTECTED]
Visit: http://www.webleycity.co.uk/offers
---

WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
CORPORATE IDENTITY OR CREATE ONE FOR YOU

A treat for Powermac users
click below to download my screensaver
http://www.webleycity.co.uk/mac.zip















---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: [EMAIL PROTECTED]
> Date: Wed, 12 Dec 2001 05:43:30 EST
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie-student Database PHP Question
> 
> I have downloaded Mysql to check out.
> 
> 1) Mysql vs SQL: What is the difference?
> 
> 2} Would a web-based Access database suffice with PHP?
> As I already know Access.
> 
> Appreciate clarification for my newbie questions, thank you.
> 
> Robin
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] CHEEP WEBSPACE OFFERS HERE

2001-12-13 Thread Webleycity

good prices here on
http://www.webleycity.co.uk/offers/index.html

http://www.webleycity.co.uk/mac.zip















---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




--
From: Webleycity <[EMAIL PROTECTED]>
Date: Fri, 14 Dec 2001 07:26:19 +
To: <[EMAIL PROTECTED]>
Subject: Re: [PHP] Newbie-student Database PHP Question





PLAY A GAME HERE ON
http://www.webleycity.co.uk/theblitz.html




| Website design and hosting. |
| Your free website trial including design and webspace, contact: |
[EMAIL PROTECTED]
Visit: http://www.webleycity.co.uk/offers
---

WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
CORPORATE IDENTITY OR CREATE ONE FOR YOU

A treat for Powermac users
click below to download my screensaver
http://www.webleycity.co.uk/mac.zip















---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: [EMAIL PROTECTED]
> Date: Wed, 12 Dec 2001 05:43:30 EST
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie-student Database PHP Question
> 
> I have downloaded Mysql to check out.
> 
> 1) Mysql vs SQL: What is the difference?
> 
> 2} Would a web-based Access database suffice with PHP?
> As I already know Access.
> 
> Appreciate clarification for my newbie questions, thank you.
> 
> Robin
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] Re: CHEEP WEBSPACE OFFERS HERE

2001-12-13 Thread Webleycity


http://www.webleycity.co.uk/mac.zip

Error, the above is a screensaver for macs only.


---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: Webleycity <[EMAIL PROTECTED]>
> Date: Fri, 14 Dec 2001 07:27:20 +
> To: <[EMAIL PROTECTED]>
> Subject: CHEEP WEBSPACE OFFERS HERE
> 
> 
> http://www.webleycity.co.uk/mac.zip


-- 
PHP General 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 PROTECTED]




[PHP] FW: CHEEP WEBSPACE OFFERS HERE

2001-12-13 Thread Webleycity


http://www.webleycity.co.uk/mac.zip

Error, the above is a screensaver for macs only.




---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




--
From: Webleycity <[EMAIL PROTECTED]>
Date: Fri, 14 Dec 2001 07:27:20 +
To: <[EMAIL PROTECTED]>
Subject: CHEEP WEBSPACE OFFERS HERE

good prices here on
http://www.webleycity.co.uk/offers/index.html

http://www.webleycity.co.uk/mac.zip















---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




--
From: Webleycity <[EMAIL PROTECTED]>
Date: Fri, 14 Dec 2001 07:26:19 +
To: <[EMAIL PROTECTED]>
Subject: Re: [PHP] Newbie-student Database PHP Question





PLAY A GAME HERE ON
http://www.webleycity.co.uk/theblitz.html




| Website design and hosting. |
| Your free website trial including design and webspace, contact: |
[EMAIL PROTECTED]
Visit: http://www.webleycity.co.uk/offers
---

WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
CORPORATE IDENTITY OR CREATE ONE FOR YOU

A treat for Powermac users
click below to download my screensaver
http://www.webleycity.co.uk/mac.zip















---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: [EMAIL PROTECTED]
> Date: Wed, 12 Dec 2001 05:43:30 EST
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie-student Database PHP Question
> 
> I have downloaded Mysql to check out.
> 
> 1) Mysql vs SQL: What is the difference?
> 
> 2} Would a web-based Access database suffice with PHP?
> As I already know Access.
> 
> Appreciate clarification for my newbie questions, thank you.
> 
> Robin
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




Re: [PHP] Need high bandwidth provider for my Asian community site

2001-12-15 Thread Webleycity

Hello All

If one creates a file outside the web space on a server. How doe's one
connect to this from a HTML or PHP page?

As I understand it. It is not as simple as normal html link.


---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: Webleycity <[EMAIL PROTECTED]>
> Date: Sat, 15 Dec 2001 21:44:22 +
> To: James Stewart <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> 
> What bandwidth would you like?
> 
> 
> | Website design and hosting. |
> | Your free website trial including design and webspace, contact: |
> [EMAIL PROTECTED]
> Visit: http://www.webleycity.co.uk/offers
> -------
> 
> WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
> CORPORATE IDENTITY OR CREATE ONE FOR YOU
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---
> Mark Webley
> Multimedia design and development
> 
> WebleyCity Limited
> London  United Kingdom
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Mobile: 07980 213 627
> 
> Fax/Tel: 0208 678 1721
> Pager 07654 581816
> http://www.webleycity.co.uk
> ---
> 
> 
> 
> 
>> From: James Stewart <[EMAIL PROTECTED]>
>> Date: Thu, 13 Dec 2001 18:34:31 +
>> To: [EMAIL PROTECTED]
>> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
>> 
>> On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote:
>>> Sunny,
>>> AFAICR,  is for Netscrape, which apparently cant understand
>>> 
>>> for some reason..
>> 
>> It's not a browser thing...
>> 
>>  is the correct syntax for a line break in XHTML. All tags must be
>> closed, hence the / and the white space is necessary to separate the
>> element name from its closure.
>> 
>> All major browsers will recognise  but if you want to be XHTML
>> compliant,  should be used.
>> 
>> James.
>> 
>> --
>> James Stewart
>> http://www.britlinks.co.uk
>> 
>> 
>> -- 
>> PHP General 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 PROTECTED]
>> 
>> 
> 
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] connect to a file outside the web space.

2001-12-15 Thread Webleycity

Hello All

If one creates a file outside the web space on a server. How doe's one
connect to this from a HTML or PHP page?

As I understand it. It is not as simple as normal html link.


---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: Webleycity <[EMAIL PROTECTED]>
> Date: Sat, 15 Dec 2001 21:44:22 +
> To: James Stewart <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> 
> What bandwidth would you like?
> 
> 
> | Website design and hosting. |
> | Your free website trial including design and webspace, contact: |
> [EMAIL PROTECTED]
> Visit: http://www.webleycity.co.uk/offers
> -------
> 
> WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
> CORPORATE IDENTITY OR CREATE ONE FOR YOU
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---
> Mark Webley
> Multimedia design and development
> 
> WebleyCity Limited
> London  United Kingdom
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Mobile: 07980 213 627
> 
> Fax/Tel: 0208 678 1721
> Pager 07654 581816
> http://www.webleycity.co.uk
> ---
> 
> 
> 
> 
>> From: James Stewart <[EMAIL PROTECTED]>
>> Date: Thu, 13 Dec 2001 18:34:31 +
>> To: [EMAIL PROTECTED]
>> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
>> 
>> On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote:
>>> Sunny,
>>> AFAICR,  is for Netscrape, which apparently cant understand
>>> 
>>> for some reason..
>> 
>> It's not a browser thing...
>> 
>>  is the correct syntax for a line break in XHTML. All tags must be
>> closed, hence the / and the white space is necessary to separate the
>> element name from its closure.
>> 
>> All major browsers will recognise  but if you want to be XHTML
>> compliant,  should be used.
>> 
>> James.
>> 
>> --
>> James Stewart
>> http://www.britlinks.co.uk
>> 
>> 
>> -- 
>> PHP General 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 PROTECTED]
>> 
>> 
> 
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




Re: [PHP] Need high bandwidth provider for my Asian community site

2001-12-15 Thread Webleycity

What bandwidth would you like?


| Website design and hosting. |
| Your free website trial including design and webspace, contact: |
[EMAIL PROTECTED]
Visit: http://www.webleycity.co.uk/offers
---

WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
CORPORATE IDENTITY OR CREATE ONE FOR YOU

















---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: James Stewart <[EMAIL PROTECTED]>
> Date: Thu, 13 Dec 2001 18:34:31 +
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Need high bandwidth provider for my Asian community site
> 
> On Thursday, December 13, 2001, at 06:14 PM, l0t3k wrote:
>> Sunny,
>> AFAICR,  is for Netscrape, which apparently cant understand
>> 
>> for some reason..
> 
> It's not a browser thing...
> 
>  is the correct syntax for a line break in XHTML. All tags must be
> closed, hence the / and the white space is necessary to separate the
> element name from its closure.
> 
> All major browsers will recognise  but if you want to be XHTML
> compliant,  should be used.
> 
> James.
> 
> --
> James Stewart
> http://www.britlinks.co.uk
> 
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




Re: [PHP] Newbie-student Database PHP Question

2001-12-15 Thread Webleycity


SQl
Refers to the generic database. Like PostSQl, Oracal etc.

mysql
1) Belongs to a group of people that create that database, specific vender
that distribute that database that runs on a specific form only.

2) Yes 



---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: Webleycity <[EMAIL PROTECTED]>
> Date: Fri, 14 Dec 2001 07:26:19 +
> To: <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Newbie-student Database PHP Question
> 
> 
> 
> 
> 
> PLAY A GAME HERE ON
> http://www.webleycity.co.uk/theblitz.html
> 
> 
> 
> 
> | Website design and hosting. |
> | Your free website trial including design and webspace, contact: |
> [EMAIL PROTECTED]
> Visit: http://www.webleycity.co.uk/offers
> ---
> 
> WEBLEYCITY CAN DESIGN YOUR WEBSITE TO YOUR EXISTING
> CORPORATE IDENTITY OR CREATE ONE FOR YOU
> 
> A treat for Powermac users
> click below to download my screensaver
> http://www.webleycity.co.uk/mac.zip
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---
> Mark Webley
> Multimedia design and development
> 
> WebleyCity Limited
> London  United Kingdom
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Mobile: 07980 213 627
> 
> Fax/Tel: 0208 678 1721
> Pager 07654 581816
> http://www.webleycity.co.uk
> ---
> 
> 
> 
> 
>> From: [EMAIL PROTECTED]
>> Date: Wed, 12 Dec 2001 05:43:30 EST
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] Newbie-student Database PHP Question
>> 
>> I have downloaded Mysql to check out.
>> 
>> 1) Mysql vs SQL: What is the difference?
>> 
>> 2} Would a web-based Access database suffice with PHP?
>> As I already know Access.
>> 
>> Appreciate clarification for my newbie questions, thank you.
>> 
>> Robin
>> 
>> -- 
>> PHP General 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 PROTECTED]
>> 
>> 
> 
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] Webcam on websites? Ugh!!!

2001-12-15 Thread Webleycity


Hello All

A client wants a webcam on his site. Does any body know what script is used
and how it works. 

Is there anyone out there with experience of this.



---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: "Stephen VanDyke" <[EMAIL PROTECTED]>
> Date: Thu, 13 Dec 2001 12:07:38 -0500
> To: <[EMAIL PROTECTED]>
> Cc: "Stephen VanDyke [NN]" <[EMAIL PROTECTED]>
> Subject: [PHP] streaming media via php
> 
> Hello PHP people :)
> 
> I have a tough one here, I wrote a content script that plays media files,
> but I can't seem to get things to actually buffer and stream as they should.
> Here's the conundrum:
> 
> http://server/media/file.asf - Media player will buffer and start playing
> before download completes
> http://server/content.php?f=media/file.asf - Media player has to download
> entire file before it starts trying to play
> 
> Here's the source of content.php, anyone see anything obvious that I'm
> missing? I've been all over the HTTP/1.1 spec and media RFCs trying to
> figure out what the heck I'm missing. Windows Media Player interprets the
> media name as "content" if that's any help. Alse, the mime types are all
> correct so that's not the issue, I'm just trying to figure out how to make
> the players buffer+play instead of download+play.
> 
>  $mime_type = strtolower(strrchr($f,'.'));
> $mime_type_array = array(
> '.asf'  => 'application/vnd.ms-asf',
> '.avi'  => 'video/x-msvideo',
> '.gif'  => 'image/gif',
> '.jpg'  => 'image/jpeg',
> '.mov'  => 'video/quicktime',
> '.mpe'  => 'video/mpeg',
> '.mpeg' => 'video/mpeg',
> '.mpg'  => 'video/mpeg',
> '.ra'   => 'audio/x-pn-realaudio',
> '.ram'  => 'audio/x-pn-realaudio',
> '.rm'   => 'audio/x-pn-realaudio',
> '.wmv'  => 'audio/x-ms-wmv'
> );
> 
> // this is our security, bleh
> if(!in_array($mime_type,array_keys($mime_type_array)))
> {
> header("Location: /error.php");
> }
> $filename = '/path/to/'.$f;
> $dlname = substr(strrchr($filename,'/'),1);
> $offset = (isset($nocache)?0:(86400 * 3));
> header("Accept-Ranges: bytes");
> header("Expires: ".gmdate("D, d M Y H:i:s \G\M\T", time() + $offset));
> header("Cache-Control: max-age=".$offset);
> header("Last-modified : ".gmdate("D, d M Y H:i:s \G\M\T",
> filemtime($filename)));
> header("Content-Length: ".filesize($filename));
> header("Content-Disposition: filename=$dlname");
> if($debugx==1)
> {
> phpinfo();
> }
> else
> {
> header("Content-Type: ".$mime_type_array[$mime_type]);
> @readfile($filename);
> }
> ?>
> 
> Thanks in advance for any help,
> Please cc me on any replies since I am not on this mailing list.
> 
> Stephen VanDyke
> 
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] CHEEP WEBSPACE OFFERS HERE

2001-12-16 Thread Webleycity

good prices here on
http://www.webleycity.co.uk/offers/index.html



-- 
PHP General 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 PROTECTED]




Re: [PHP] How to save the "result page" generated by a Form?

2001-12-20 Thread Webleycity

When one sends an email to an address in PHP, does any one out there no how
to send to two or more email addresses.




---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: "Stefan Rusterholz" <[EMAIL PROTECTED]>
> Organization: interaktion
> Reply-To: "Stefan Rusterholz" <[EMAIL PROTECTED]>
> Date: Thu, 20 Dec 2001 11:11:28 +0100
> To: "Joe" <[EMAIL PROTECTED]>
> Cc: "PHP" <[EMAIL PROTECTED]>
> Subject: Re: [PHP] How to save the "result page" generated by a Form?
> 
> I don't know if it matches your needs but perhaps it helps:
> http://www.php.net/manual/en/ref.outcontrol.php
> http://www.php.net/manual/it/ref.outcontrol.php this page isn't translated,
> but perhaps some subpages...
> 
> good luck
> Stefan Rusterholz
> 
> - Original Message -
> From: "Joe" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, December 20, 2001 10:38 AM
> Subject: [PHP] How to save the "result page" generated by a Form?
> 
> 
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>> 
>> I have a simple question.
>> My Scenario:
>> Page a.php - The Form
>> The user insert his data (ie name, address, city and so on...)Then he
>> submit the $ to b.php.
>> 
>> Page b.php now shows :
>> Hello Mr. $name , etc etc ...
>> I nedd now to save what I see on the sreen as .txt or .rft or .html 
>> How can I do that?
>> I try many ways ...(using no session) ..but I can only save the empty
>> b.php page ...with no varialbles showed at all.
>> 
>> Thanx for your help and Marry XMas from Italy.
>> 
>> BR
>> Joe
>> 
>> -BEGIN PGP SIGNATURE-
>> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
>> Comment: ID: 0x0A17124F - DH/DSS 2048/1024 - Joe Athena Webmaster
>> 
>> iQA/AwUBPCGxOET82/4KFxJPEQK+yQCfdrsJMV6YXUxsqUxmgsTrVguHotUAn1pA
>> tF+VwCUw1Cdv4k70aWtvrynp
>> =GI2/
>> -END PGP SIGNATURE-
>> 
>> 
>> 
>> 
>> --
>> PHP General 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 PROTECTED]
>> 
>> 
>> 
> 
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] COMEDY FORUM

2001-12-20 Thread Webleycity


DOES ANY BODY OUT THERE KNOW OF A GOOD COMEDY FORUM? OR A FREE REAL PLAYER
COMEDY CHANNE.L ALL THIS WORK CAN DRIVE A MAN MAD.

---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: Michael Sims <[EMAIL PROTECTED]>
> Date: Thu, 20 Dec 2001 22:42:34 -0600
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Re:  Mommy, is it true that...?
> 
> At 11:28 PM 12/20/2001 -0500, Billy Harvey wrote:
>>> Freshmeat.net is a very popular database of linux software and includes a
>>> wide variety of PHP scripts.  My point was that if you downloaded an
>>> insecure script from such a popular site then you are asking for trouble
>>> because chances are thousands of would-be hackers have ALSO downloaded the
>>> same script and have familiarized themselves with ways that it can be
>>> exploited...
>> 
>> So would you rather just use pre-compiled binaries from some company
>> that says "trust me"?
> 
> Sigh.  No.  The thread has meandered quite a bit, and you'd have to read
> the whole thing to see how we got to this point.  To summarize:
> 
> Someone made the point that you should always carefully check user
> submitted data, and provided an example using an poorly secured fopen()
> statement whereby a hacker could gain access to /etc/passwd.  I responded
> by saying that to do such a thing the hacker would have to know exactly how
> your code is written.  Someone else responded saying that this was indeed
> likely in shared hosting environments or open source software.  The above
> is me agreeing and saying "oh I didn't think of that"  Nowhere did I say
> that I think this is a disadvantage of OSS.
> 
> If you wish to extrapolate an argument from what I wrote above then here's
> a good one:  When you install software that could be a potential security
> risk then you should attempt to use well established, peer-reviewed OPEN
> SOURCE software and ideally review at the code yourself to make sure it
> meets your standards of security and doesn't contain any nasty exploits.
> 
> See, I'm one of the good guys...a dot communist, just like you. ;-)
> 
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] PRINT FROM A DATABASE to a printer?

2001-12-20 Thread Webleycity

HELLO ALL

I have a client who wishes to print the contents of a database to a printer.
Does anybody out there know how the command, tables at the click of a button
on a content management tool.

---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: Mehmet Kamil ERISEN <[EMAIL PROTECTED]>
> Date: Thu, 20 Dec 2001 13:59:48 -0800 (PST)
> To: php <[EMAIL PROTECTED]>
> Subject: [PHP] Translate question
> 
> Hello,
> I am trying to transalte entry in Turkish Characters to
> English Characters.
> 
> I wrote the following code.
> 
> function translate_turkish($string) {
> $estring = strtr($string, "?", "c");
> $estring = strtr($string, "?", "c");
> 
> $estring = strtr($estring, "?", "g");
> $estring = strtr($estring, "G", "G");
> 
> $estring = strtr($estring, "?", "s");
> $estring = strtr($estring, "S", "S");
> 
> $estring = strtr($estring, "?", "i");
> $estring = strtr($estring, "I", "XX");  *
> 
> 
> $estring = strtr($estring, "?", "u");
> $estring = strtr($estring, "?", "U");
> 
> $estring = strtr($estring, "?", "o");
> $estring = strtr($estring, "?", "O");
> 
> return ($estring)  ;
> }
> 
> Capital i (not I but it shows at the line where you see the
> XX) is causing a problem. I can not translate. from cap i
> to I.
> 
> Can you please suggest any help?
> 
> =
> Mehmet Erisen
> http://www.erisen.com
> 
> __
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> 
> -- 
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]




[PHP] embed pdf.

2001-12-20 Thread Webleycity

Does anybody out there know how to embed pdf in a web page

---
Mark Webley
Multimedia design and development

WebleyCity Limited 
London  United Kingdom

[EMAIL PROTECTED]
[EMAIL PROTECTED]
Mobile: 07980 213 627

Fax/Tel: 0208 678 1721
Pager 07654 581816
http://www.webleycity.co.uk
---




> From: "Lancashire, Pete" <[EMAIL PROTECTED]>
> Date: Thu, 20 Dec 2001 09:28:58 -0800
> To: <[EMAIL PROTECTED]>
> Subject: [PHP] rrd tool's graphing and png
> 
> I must be doing something wrong that is really simple
> hence I can't figure out what I'm doing wrong.
> 
> I'm using a package called rrd tool, one of its (unix)
> command line programs has the option to output to stdout
> a png image.
> 
> I'm trying to get that output feed in to ImagePNG to
> display the image within an HTML page.
> 
> the png lib is running ok, tested by one of the examples
> from the Image function doc's.
> 
> Any suggestions ...
> 
> Thanks
> 
> -pete
> 
> Pete Lancashire
> Unix Systems Administration
> Columbia Sportswear Co. Inc.
> [EMAIL PROTECTED]
> (503) 985-4173
> 
> 
> --
> PHP General 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 PROTECTED]
> 
> 


-- 
PHP General 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 PROTECTED]