php-windows Digest 27 May 2002 16:21:15 -0000 Issue 1164

Topics (messages 13981 through 13989):

Re: IIS Hates me, read why  :'(
        13981 by: steven

Re: PHP with webservers
        13982 by: Jochem
        13989 by: Woolsey, Fred

Flash + PHP +Mysql
        13983 by: Aziz Durmaz
        13984 by: Svensson, B.A.T. (HKG)
        13985 by: Richard Black
        13986 by: Aziz Durmaz

Flash + PHP How???
        13987 by: Aziz Durmaz
        13988 by: Julie Meloni

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 ---
Thanks... I just realized my friend does in fact use port 81 :-)   *sniff*
my isp hates me!



"Tim Greenleaf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I suspect it is because your ISP is blocking port 80 outside of their
> network.  Many ISP's do and their service agreements often indicate you
are
> not supposed to run any type of server.  I think the easiest way to
> determine this may be to create another web site using another port and
then
> see if you can get to it.  Your URL would then be
> http://24.167.121.204:NewPort#
>
> Seems like I have read ways to get around this so you don't have to
include
> the port in your address but I don't recall where. You would probably have
> to register a domain name and then have a DNS server outside Time Warners
> network point back to your IP:port for your web site.
>
> Here is I just read this:
>
> it seems my provider has blocked port 80 but i've figured a way around it
> though. i've redirected my domain to another page elsewhere on the web and
> set that page to redirect to my webserver ip @ port 8000. i set my gateway
> to redirect port 8000 to the webservers port 80 and it works
> thanks for your reply.
>
> Also take a look at these:
> http://www.zoneedit.com/doc/faq.html#faq21
> http://www.PortDetective.com
>
>
>
> Tim
>
>
>
>
> "Steven" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Ok so I've installed IIS but for some weird reason no one off my IP
block
> > (namely 24.167.*.*) can't view my website.  Which basically means only
> those
> > on my isp.  :-(  If anyone knows why IIS hates me and how I can make it
> love
> > me, please let me know... if it helps I'm on Time Warner Road Runner
> > (although my friend doesn't have this problem on the ISP) and my ip is
> > http://24.167.121.204/
> >
> > -steven
> >
> >
>
>


--- End Message ---
--- Begin Message ---
Try Sambar !
"Xelloss" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OmniHTTPD is also a choice.
>
> > I would like to use php (win32) with other webservers than apache or
IIS.
> > Please send me opinions!
> >
> > Joc
>
>


--- End Message ---
--- Begin Message ---
Also iPlanet (Sun/Netscape) and Xitami...

Cheers,
Fred Woolsey

-----Original Message-----
From: xelloss [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 26, 2002 6:16 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: PHP with webservers


OmniHTTPD is also a choice.

> I would like to use php (win32) with other webservers than apache or IIS.
> Please send me opinions!
>
> Joc



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi,

How we can store swf movies in the mysql database and how we can show
them...

What header needs?

For example in jpeg image we use - header ("Content-type: image/gif"); -
For swf movie what we are use??

--- End Message ---
--- Begin Message ---
> How we can store swf movies in the mysql database and how we can show
> them...

BLOB's..... (but why would you like to do that? Who do you do a select on binary junk?)

> What header needs?

No heads... just brains....

> For example in jpeg image we use - header ("Content-type: image/gif"); -
> For swf movie what we are use??

This is what you should send to the client webbrowser from the webserver, not
to store in the database.

You will find moreinformation at www.w3.org look at the HTML specifications under 
FORMS, somewhere....

Check out: http://www.w3.org/TR/1998/REC-html40-19980424/types.html#type-content-type
to find some suggestion about content types.

Probably the content-type should be video/mpeg or something... god knows....
--- End Message ---
--- Begin Message ---
The header for outputting a Flash movie is:

Content-type: application/x-shockwave-flash

HTH,

Richy
==========================================
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]

-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
Sent: 27 May 2002 10:39
To: Aziz Durmaz
Cc: Php Win32 list
Subject: RE: [PHP-WIN] Flash + PHP +Mysql


> How we can store swf movies in the mysql database and how we can show
> them...

BLOB's..... (but why would you like to do that? Who do you do a select on
binary junk?)

> What header needs?

No heads... just brains....

> For example in jpeg image we use - header ("Content-type: image/gif"); -
> For swf movie what we are use??

This is what you should send to the client webbrowser from the webserver,
not
to store in the database.

You will find moreinformation at www.w3.org look at the HTML specifications
under FORMS, somewhere....

Check out:
http://www.w3.org/TR/1998/REC-html40-19980424/types.html#type-content-type
to find some suggestion about content types.

Probably the content-type should be video/mpeg or something... god knows....

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

--- End Message ---
--- Begin Message ---
I found it but when i run the script it doesnt work

the script is:...................... goster.php (It makes swf)

<?
header ("Content-type: application/x-shockwave-flash");
include ("dblib.php");
$result = $baglan->query($mysql_table1_name, "id", $id);
$row = mysql_fetch_array($result, MYSQL_ASSOC);
ob_start();
echo $row[swfs];
ob_end_flush();
?>


And this script calls the goster.php:..........................

<?php
  if (isset ($id) && $id != "")
  print "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c
ab#version=6,0,0,0\" width=\"1\" height=\"1\">
  <param name=\"movie\" value=\"goster.php?id=$id\">
  <param name=\"quality\" value=\"high\">
  <embed src=\"goster.php?id=$id\" quality=\"high\"
pluginspage=\"http://www.macromedia.com/go/getflashplayer\";
type=\"application/x-shockwave-flash\" width=\"1\"
height=\"1\"></embed></object>";
?>

width and height doesnot important. This swf must play some music. But it
doesn't play any sound

-----Original Message-----
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 27, 2002 1:46 PM
To: Php Win32 list
Subject: RE: [PHP-WIN] Flash + PHP +Mysql


The header for outputting a Flash movie is:

Content-type: application/x-shockwave-flash

HTH,

Richy
==========================================
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]

-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
Sent: 27 May 2002 10:39
To: Aziz Durmaz
Cc: Php Win32 list
Subject: RE: [PHP-WIN] Flash + PHP +Mysql


> How we can store swf movies in the mysql database and how we can show
> them...

BLOB's..... (but why would you like to do that? Who do you do a select on
binary junk?)

> What header needs?

No heads... just brains....

> For example in jpeg image we use - header ("Content-type: image/gif"); -
> For swf movie what we are use??

This is what you should send to the client webbrowser from the webserver,
not
to store in the database.

You will find moreinformation at www.w3.org look at the HTML specifications
under FORMS, somewhere....

Check out:
http://www.w3.org/TR/1998/REC-html40-19980424/types.html#type-content-type
to find some suggestion about content types.

Probably the content-type should be video/mpeg or something... god knows....

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


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



--- End Message ---
--- Begin Message ---
How we can use PHP codes or variables in flash???
--- End Message ---
--- Begin Message ---
AD> How we can use PHP codes or variables in flash???

Depends on your version of Flash. If Flash 4/5, use LoadVariables in
actionscript to get and send variables.  If Flash MX, use
LoadVars in actionscript.

There are plenty of tutorials out there. I have 2 simplistic, old ones
Flash 4/5 (http://www.thickbook.com/extra/index.html?t=fla), and there
are plenty more out there. The Macromedia Flash MX Dev Center has some
kick ass ones for MX: http://www.macromedia.com/desdev/mx/flash/

There's also the whole Flash-on-the-fly thing, which I've never tried,
but the functions are in the PHP Manual.


- Julie

--> Julie Meloni
--> [EMAIL PROTECTED]
--> www.thickbook.com

Find "Sams Teach Yourself MySQL in 24 Hours" at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20

--- End Message ---

Reply via email to