php-windows Digest 31 Jul 2002 02:22:50 -0000 Issue 1266

Topics (messages 15011 through 15040):

Re: input type=file
        15011 by: Lorne T

Re: Looking for some help with using CDO with PHP
        15012 by: Manuel Lemos
        15013 by: Scott Carr

Re: PhpMyadmin?
        15014 by: Viper1
        15015 by: Xytras
        15016 by: Sandeep Murphy
        15017 by: Steve Bradwell
        15027 by: Luis Ferro

Does System() work?
        15018 by: Kevin Stone
        15038 by: Peter

Re: PHP Integration...
        15019 by: Scott Hurring

Re: pretty simple-but i can't figure it out
        15020 by: Scott Hurring

SESSIONizing Post form vars
        15021 by: R.S. Herhuth
        15022 by: Chris Boget
        15023 by: Scott Hurring

Identifying data types in PHP
        15024 by: R.S. Herhuth
        15025 by: Rasmus Lerdorf
        15026 by: Scott Hurring

getting an image from a database
        15028 by: David Elliott
        15029 by: Scott Carr
        15030 by: David Elliott
        15031 by: Scott Carr
        15032 by: Dash McElroy
        15033 by: Dash McElroy
        15035 by: David Elliott
        15036 by: David Elliott

Re: [PHP-DEV] [CROSS POST] PHP Meetup & Texas PHP Users
        15034 by: Gabriel Ricard

PDF Forms
        15037 by: Flint Doungchak

Re: reading input from a magnetic stripe and then parsing it to a MySQL database for 
querry?
        15039 by: Ross Fleming

WIN2K Linux Dual Boot Question
        15040 by: Sean M. Mayhew

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 ---
For those who kindly replied to my web-mail (which is not working right now)
here is the code requested.

After checking the submit variable is set we do this:
    $the_data = add_microsoft_escapes(fread(fopen($data_blob,"rb"),
filesize($data_blob)));
$data_blob always reports "none"

The form encode type statement:
    <form enctype="multipart/form-data" name="form" action='<? echo
$PHP_SELF ?>' method="post"
   onSubmit="javascript:
      return (checkForm(this));">
checkForm just ensures that required fields are indeed filled.

The input field:
<td><input type="file" onchange="javascript:isChanged=true;"
name="data_blob" size=15></td>

LT




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

On 07/30/2002 11:09 AM, R.S. Herhuth wrote:
> Does anyone have any experience in working with CDO objects in PHP?

For sending e-mail?


-- 

Regards,
Manuel Lemos

--- End Message ---
--- Begin Message ---
Why would you need too???

Try the SMTP routines in PHP-PEAR, they work very good, and are a heck of alot
easier to use.
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting Manuel Lemos <[EMAIL PROTECTED]>:

> Hello,
> 
> On 07/30/2002 11:09 AM, R.S. Herhuth wrote:
> > Does anyone have any experience in working with CDO objects in PHP?
> 
> For sending e-mail?
> 
> 
> -- 
> 
> Regards,
> Manuel Lemos
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--- End Message ---
--- Begin Message ---
Ok I have a hoster for my site that has it where I can use phpmyadmin to
create a db. Is this a solid way to make a db? I am trying to do an online
db for resumes and searching for employers. I heard several different things
about this, that it is hard to do and not stable. I have tried to start one
but having no luck at all. I need some start up help on this please. I
appreciate all the help, thanks.


"Court Shrock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any question in particular that you would like help with?  Please feel
> free to spare us the pleasantries and get right to your question.  We
> are here to help! :-)
>
> Viper1 wrote:
>
> >  Anyone help me out with PHPMyadmin?
> >
> >Thanks
> >
> >
> >
> >
> >
>
>


--- End Message ---
--- Begin Message ---
Ok
usually the hoster gives you access to create certain numbers of DB, usually
it's only one DB but unlimited Tables
With phpMyAdmin isn't hard at all, in fact it's pretty simple, because it's
a web page


Xytras
----- Original Message -----
From: "Viper1" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 12:04 PM
Subject: Re: [PHP-WIN] PhpMyadmin?


> Ok I have a hoster for my site that has it where I can use phpmyadmin to
> create a db. Is this a solid way to make a db? I am trying to do an online
> db for resumes and searching for employers. I heard several different
things
> about this, that it is hard to do and not stable. I have tried to start
one
> but having no luck at all. I need some start up help on this please. I
> appreciate all the help, thanks.
>
>
> "Court Shrock" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Any question in particular that you would like help with?  Please feel
> > free to spare us the pleasantries and get right to your question.  We
> > are here to help! :-)
> >
> > Viper1 wrote:
> >
> > >  Anyone help me out with PHPMyadmin?
> > >
> > >Thanks
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
hi,


hv been using phpMyAdmin for quite sometime now.. never had any kind of problems... If 
they hv the MySQL running fine and no one messes with the the admin files, its one of 
the best MySQL frontends i hv used...

gud luck,
sands

-----Original Message-----
From: Viper1 [mailto:[EMAIL PROTECTED]]
Sent: terça-feira, 30 de Julho de 2002 19:04
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PhpMyadmin?


Ok I have a hoster for my site that has it where I can use phpmyadmin to
create a db. Is this a solid way to make a db? I am trying to do an online
db for resumes and searching for employers. I heard several different things
about this, that it is hard to do and not stable. I have tried to start one
but having no luck at all. I need some start up help on this please. I
appreciate all the help, thanks.


"Court Shrock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any question in particular that you would like help with?  Please feel
> free to spare us the pleasantries and get right to your question.  We
> are here to help! :-)
>
> Viper1 wrote:
>
> >  Anyone help me out with PHPMyadmin?
> >
> >Thanks
> >
> >
> >
> >
> >
>
>



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

--- End Message ---
--- Begin Message ---
phpMyAdmin is an easy to use, web based administration tool for MySQL. I use
it religiously and would highly recommend it for beginner to advanced level.
It lets you create db's, tables and work with data etc. What I really liked
at the beginning was how it shows you the sql statements each time you do
somthing so your learning while you work.

As far as getting help, let people know where your stuck, if your host has
it installed or if you have to do it yourself etc.

So ya go for it, its one of the easiest tools i've used.

Steve.

-----Original Message-----
From: Viper1 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 2:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] PhpMyadmin?


Ok I have a hoster for my site that has it where I can use phpmyadmin to
create a db. Is this a solid way to make a db? I am trying to do an online
db for resumes and searching for employers. I heard several different things
about this, that it is hard to do and not stable. I have tried to start one
but having no luck at all. I need some start up help on this please. I
appreciate all the help, thanks.


"Court Shrock" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any question in particular that you would like help with?  Please feel
> free to spare us the pleasantries and get right to your question.  We
> are here to help! :-)
>
> Viper1 wrote:
>
> >  Anyone help me out with PHPMyadmin?
> >
> >Thanks
> >
> >
> >
> >
> >
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
In my local network i use MySQL-Front as a gui to create and test 
stuff... It is like SQL Server enterprise manager (ie. a gui application 
that lets you do most of the stuff with the database server) and has 
user management integrated.

There are nice things that i like in MySQL-Front, like designing a table 
and then go to the data grid, add a record and copy/past the sql command 
to my script language of the moment to build quickly a front-end for 
that data... no need to remember all those field names and retype 
everything... (it will rock when the next version of mysql hits the 
street... :-) )

On the other hand, the export/import capabilities are compatible with 
phpMyAdmin which complement very well the tools to make the transition 
from development to production environments...

Cheers...
Luis Ferro
TelaDigital

--- End Message ---
--- Begin Message ---
I'm trying to run a simple script that pings and address and outputs the
results using the system() function.  The script runs without any errors but
there is no output.  In searching the PHP site I found references to a bug
back in 2000 and conflicting answers about whether or not it works in the
current version unders Windows.

-Kevin


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


> -----Original Message-----
> From: Kevin Stone [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 31 July 2002 4:01 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Does System() work?
>
>
> I'm trying to run a simple script that pings and address and outputs the
> results using the system() function.  The script runs without any
> errors but
> there is no output.  In searching the PHP site I found references to a bug
> back in 2000 and conflicting answers about whether or not it works in the
> current version unders Windows.
>
> -Kevin
>
>
yes is does

--- End Message ---
--- Begin Message ---
Well, as a starting point, for Outlook, look at COM,
i've used it to control Excel in the past.

As for credit checking agencies, i have no idea what type of
interface you're dealing with, so i can't really suggest anything.

good luck, though... sounds like a fun project :)

--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> OK, I have undertaken a project which requires...
>
> 1) Integration with Outlook (yes the application will only ever be run on
> windows).
> 2) Integration with Credit Checking agencies (UK).
>
> Has anyone ever done any of the 2 above? If so any insight would be verymuch
> appreciated!!!
>
> Cheers,
>
>     Brian...
>
>


--- End Message ---
--- Begin Message ---
look at your quotes... you have a " inside of your echo statement,
which royally messes up what you'd expect echo to output.

and from a style POV, you might want to put "{}" around your vars,
for example "more{$i}.php".  it will make your vars stick out a bit
more and prevent accidental mis-interpretation (if you use
"$imore.php", it would not use "$i"'s value but "$imore")

--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Tim Blackwell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> thanks a lot, that helped.  now, why doesn't the link below work
>
>
> echo "<a href ='/myweb2/more$i.php'onClick="window.open('/myweb2/more$i.php'
> ,'popup','width=645,height=450,resizable=1,scrollbars=no');return false;">
> more...</a>";
>
>
>
>
> "Peter" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > You could also make a function to simplify things if you have lots of
> links
> >
> > function dolink($href, $text) {
> > $text = "<A HREF=\"$href\">$text</A>";
> > return $text;
> > }
> >
> > then calling
> > echo dolink("page1.php","Link to page 1");
> > would output a link to page1.php with the text Link to page 1
> >
> >
> >
> > "Tim Blackwell" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > how do you make a link using PHP it's very simple in html and
> javascript,
> > > but i can't seem to figure out how to make a simple link?
> > >
> > > i'm making a news site and would like to have enormous articles have a
> > nice
> > > little more...... link at the bottom of the first portion of the
> article.
> > >
> > > any help would be much appreciated,
> > >
> > > thanks,
> > >
> > > tim
> > >
> > >
> >
> >
>
>


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

Is there a quick way to add all of the vars in the $_POST[] array to the 
$HTTP_SESSION_VARS[]?

I suppose a loop would do the trick.

Ron
--- End Message ---
--- Begin Message ---
> Is there a quick way to add all of the vars in the $_POST[] array to
> the $HTTP_SESSION_VARS[]? 
> I suppose a loop would do the trick.

array_merge() might work, too.

Chris


--- End Message ---
--- Begin Message ---
(untested, since i don't use PHP's native sessions -- i wrote my own
wrapper) but this should work:

$HTTP_SESSION_VARS['post'] = $_POST;
or
$HTTP_SESSION_VARS['request'] = $_REQUEST;

if you're trying to get all the POST vars as "first-level" keys of
$HTTP_SESSION_VARS, it doesn't seem like the best thing
in the world (i would keep them separate).    array_merge()
will probably do what you want... or a simple loop:

while (list($k,$v) = each($_POST))
  $HTTP_SESSION_VARS[$k] = $v;

--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Is there a quick way to add all of the vars in the $_POST[] array to the
$HTTP_SESSION_VARS[]?
>
> I suppose a loop would do the trick.
>
> Ron


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

Is there a command in PHP that can identify what datatype a variable
represents?  Specifically I want to know if the variable is an Array.

Thanks
Ron
--- End Message ---
--- Begin Message ---
is_array

On Tue, 30 Jul 2002, R.S. Herhuth wrote:

>
> Is there a command in PHP that can identify what datatype a variable
> represents?  Specifically I want to know if the variable is an Array.
>
> Thanks
> Ron
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
And more generally,
http://www.php.net/manual/en/function.gettype.php

--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> is_array
>
> On Tue, 30 Jul 2002, R.S. Herhuth wrote:
>
> >
> > Is there a command in PHP that can identify what datatype a variable
> > represents?  Specifically I want to know if the variable is an Array.
> >
> > Thanks
> > Ron
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>


--- End Message ---
--- Begin Message ---
hi all

A small bit of php code below will pull an image from a database. My problem
is if the image is large (300 x 200) then it does not get displayed in IE.
smaller images do. It also works properly in Opera, and nutscrape for all
sizes. Any thoughts ?

==========8<=============================================================
@mssql_connect(Server,User,PWord) or die ("Could not connect");
$ExcQry="
select
  structurepng
from
  dbo.Product
where
  ItemId = $SItemId";

$result = @mssql_query($ExcQry) or die ("The Query <hr><pre>".$ExcQry.
"</pre><hr>"."Gave this error<hr><br>".mssql_get_last_message ());

list($structurepng)=mssql_fetch_row($result);

header("content-type: image/x-png");

print $structurepng ;

flush() ;
==========8<=============================================================

-- 
 BFN,                      _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| Life is a dead-end street.                                              |

--- End Message ---
--- Begin Message ---
What field type are you using to store the image?
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting David Elliott <[EMAIL PROTECTED]>:

> hi all
> 
> A small bit of php code below will pull an image from a database. My problem
> is if the image is large (300 x 200) then it does not get displayed in IE.
> smaller images do. It also works properly in Opera, and nutscrape for all
> sizes. Any thoughts ?
> 
> ==========8<=============================================================
> @mssql_connect(Server,User,PWord) or die ("Could not connect");
> $ExcQry="
> select
>   structurepng
> from
>   dbo.Product
> where
>   ItemId = $SItemId";
> 
> $result = @mssql_query($ExcQry) or die ("The Query <hr><pre>".$ExcQry.
> "</pre><hr>"."Gave this error<hr><br>".mssql_get_last_message ());
> 
> list($structurepng)=mssql_fetch_row($result);
> 
> header("content-type: image/x-png");
> 
> print $structurepng ;
> 
> flush() ;
> ==========8<=============================================================
> 
> -- 
>  BFN,                      _______________________________________________
>   David                   |    David  Elliott    |   Software Engineer    |
>  _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
> | Life is a dead-end street.                                              |
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--- End Message ---
--- Begin Message ---
Hi Scott

On 30 July 2002 at 15:10:50 -0500 (which was 21:10 where I live) Scott Carr
emanated these words of wisdom

> What field type are you using to store the image?

DataType of image (on MSSQL 2000). As I said it works for Opera & Nutscrape,
the image can also be pulled out properly by Crystal Reports.

-- 
 Bye,                      _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| Sector Not Found (A)bort, (R)etry, (C)offee?                            |

--- End Message ---
--- Begin Message ---
Sorry, I read it, just didn't register before I wrote the email.  ;-)

In that case, just use Mozilla or Opera.  ;-)  jk...

Joking aside:

What version of IE?  Can you send an image file directly from your file system
to IE and have the image rendered properly?  I.E.  Have an image file on the c
drive, and use readfile to pass the file to the system.
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting David Elliott <[EMAIL PROTECTED]>:

> Hi Scott
> 
> On 30 July 2002 at 15:10:50 -0500 (which was 21:10 where I live) Scott Carr
> emanated these words of wisdom
> 
> > What field type are you using to store the image?
> 
> DataType of image (on MSSQL 2000). As I said it works for Opera & Nutscrape,
> the image can also be pulled out properly by Crystal Reports.
> 
> -- 
>  Bye,                      _______________________________________________
>   David                   |    David  Elliott    |   Software Engineer    |
>  _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
> | Sector Not Found (A)bort, (R)etry, (C)offee?                            |
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--- End Message ---
--- Begin Message ---
I think that IE chokes when you don't give it more header information. You
may have to give it a Content-Disposition: "filename.png" as well in the
header command.

http://www.php.net/manual/en/function.header.php

Good luck.

-Dash

p.s. stupid IE

-----Original Message-----
From: Scott Carr [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 30, 2002 1:39 PM
To: PHP Windows
Subject: Re: [PHP-WIN] Re: getting an image from a database


Sorry, I read it, just didn't register before I wrote the email.  ;-)

In that case, just use Mozilla or Opera.  ;-)  jk...

Joking aside:

What version of IE?  Can you send an image file directly from your file
system
to IE and have the image rendered properly?  I.E.  Have an image file on the
c
drive, and use readfile to pass the file to the system.
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting David Elliott <[EMAIL PROTECTED]>:

> Hi Scott
> 
> On 30 July 2002 at 15:10:50 -0500 (which was 21:10 where I live) Scott
Carr
> emanated these words of wisdom
> 
> > What field type are you using to store the image?
> 
> DataType of image (on MSSQL 2000). As I said it works for Opera &
Nutscrape,
> the image can also be pulled out properly by Crystal Reports.
> 
> -- 
>  Bye,                      _______________________________________________
>   David                   |    David  Elliott    |   Software Engineer
|
>  _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534
|
> | Sector Not Found (A)bort, (R)etry, (C)offee?
|
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Oops. It looks like it has to be "inline". See this comment on PHP.net:

[EMAIL PROTECTED]
23-May-2002 05:34

For inline images (JPEG for example):

header('Content-Type: image/jpeg');
header('Content-Disposition: inline; filename=file.jpg);

For attachments (Adobe PDF for example):

header('Content-Type: application/pdf');
header('Content-Disposition: attachment; filename=file.pdf);

NOTE: In Internet Explorer, the Content-Disposition header is important,
otherwise it will be inline. 'Content-Disposition: attachment' will ALWAYS
make IE download it.

NOTE: In Netscape, if you want to force it to be a download (i.e. not
inline), use header('Content-Type: application/octet-stream').
Netscape doesn't appear to care about the Content-Disposition header apart
from when it's in an email message, then the header controls behaviour as
expected.

It's best to be specific about the file you're sending. Don't rely on the
interpretation of the browsers in the face of missing or default headers.

Content-Length is good to set for downloads, since it will allow the
browser to show a progress meter. It has to be accurate otherwise the
browser will stall in downloading.

-----Original Message-----
From: Dash McElroy [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 30, 2002 1:41 PM
To: PHP Windows
Subject: RE: [PHP-WIN] Re: getting an image from a database


I think that IE chokes when you don't give it more header information. You
may have to give it a Content-Disposition: "filename.png" as well in the
header command.

http://www.php.net/manual/en/function.header.php

Good luck.

-Dash

p.s. stupid IE

-----Original Message-----
From: Scott Carr [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 30, 2002 1:39 PM
To: PHP Windows
Subject: Re: [PHP-WIN] Re: getting an image from a database


Sorry, I read it, just didn't register before I wrote the email.  ;-)

In that case, just use Mozilla or Opera.  ;-)  jk...

Joking aside:

What version of IE?  Can you send an image file directly from your file
system
to IE and have the image rendered properly?  I.E.  Have an image file on the
c
drive, and use readfile to pass the file to the system.
-- 
Scott Carr
OpenOffice.org
Documentation Maintainer
http://documentation.openoffice.org/


Quoting David Elliott <[EMAIL PROTECTED]>:

> Hi Scott
> 
> On 30 July 2002 at 15:10:50 -0500 (which was 21:10 where I live) Scott
Carr
> emanated these words of wisdom
> 
> > What field type are you using to store the image?
> 
> DataType of image (on MSSQL 2000). As I said it works for Opera &
Nutscrape,
> the image can also be pulled out properly by Crystal Reports.
> 
> -- 
>  Bye,                      _______________________________________________
>   David                   |    David  Elliott    |   Software Engineer
|
>  _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534
|
> | Sector Not Found (A)bort, (R)etry, (C)offee?
|
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
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 ---
Salutation Scott

On 30 July 2002 at 15:38:53 -0500 (which was 21:38 where I live) Scott Carr
rearranged electrons to get

> What version of IE?

5, 5.5, 6,

> Can you send an image file directly from your file system to IE and have
> the image rendered properly? I.E. Have an image file on the c drive, and
> use readfile to pass the file to the system.

Yes (At least I think so, I am about to retire for the night I will have a
go in the morning)

-- 
 Thanks,                   _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| Oh, hell!  My mood ring just exploded!                                  |

--- End Message ---
--- Begin Message ---
Hi Dash

On 30 July 2002 at 13:42:51 -0700 (which was 21:42 where I live) Dash
McElroy wrote

< ... >

> header('Content-Disposition: inline; filename=file.jpg);

does not make any difference.

> header('Content-Disposition: attachment; filename=file.pdf);

does not make any difference.

< ... >

> Content-Length is good to set for downloads, since it will allow the
> browser to show a progress meter. It has to be accurate otherwise the
> browser will stall in downloading.

This could be the key I will have a go tomorrow. ( Now all I have to do is
work out how to send the length)

-- 
 Ti2GO,                    _______________________________________________
  David                   |    David  Elliott    |   Software Engineer    |
 _________________________|  [EMAIL PROTECTED] | PGP Key ID 0x650F4534  |
| Janier's Diner - Turkey $2.35; Chicken $2.25; Children $1.50!           |

--- End Message ---
--- Begin Message ---
Jay Blanchard wrote:
> Howdy all!
> 
> Just wanted to remind everyone that sign-up for the PHP Meetup is still in
> progress at http://php.meetup.com . At latest count there are 289 folks
> signed up world-wide with the top 10 cities being;
> 
> Washington DC (9 members)
> Toronto (9 members)
> Leeds, UK (8 members)
> London, England (8 members)
> Amsterdam (7 members)
> Melbourne (6 members)
> Atlanta (5 members)
> Oakland-Alameda, CA (5 members)
> Manhattan (below 42nd St) (5 members)
> Montréal (4 members)
> 
> Why do something like this? Meet other developers, networking (you can never
> tell when you're going to need another pair of hands for a project),
> networking (you can never tell when someone is going to need to hire extra
> hands for a project), and networking (you get the idea). Sign up soon! There
> are thousands of PHP folks out there, spread the word.
> 

First of all, sorry for the additional cross post. MeetUp.com lacks the 
ability to let you contact other folks who have signed up. In my general 
area, Massachusetts, there are a bunch of tiny groups scattered about, 
and I'd like a chance to get all of them to converge in one place to 
make the meetup worth it for all of us. I know there's only a few days 
before the meetup is to take place, but if folks from the following 
areas could email me, then we can try and work out somewhere we can all 
meet, instead of there being 5 groups of 2 or 3 people.


Boston, Ma
Hyannis, Ma
North Boston Suburbs
Springfield, Ma
Manchester, NH

(heck, even people in RI and CT who don't mind driving)

Meetup.com cancels meetups for groups less than 5 also, so I'd like to 
see if we can just get one or two big groups.

Also, anyone else in this area... I've been looking for user groups in 
the Massachusetts area, and the only one that did exist, was PHPUG New 
England, which doesn't seem to exist anymore. Anyone interested in 
getting one going around here?


Again, sorry for the cross post.

-- 
Gabriel Ricard
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Fellow PHPers,

We've been working on various dynamic PDF generation things and now, we want to take 
things step further and place form fields in the PDF dynamically. Does anyone know if 
we can actually do this? I know that once a PDF is created with form fields (such as 
with Acrobat), we can populate those fields via the FDF forms and the FDF toolkit 
available through PHP. 

I've search the list, and as far as I can tell, and it's hard to believe, no one has 
really even asked the question.

Anyway, if it's possible, could someone let me know.

Thanks,

-Flint 
--- End Message ---
--- Begin Message ---
Eh??  Well first off I wouldn't be using php to do it... I'd use a language
such as C++ or VB to do it, given you're probably wanting to communicate
with a serial/parallel/usb port to drive the reader and extract the
(probably) binary data from a card swipe, I don't know how well (if at all)
PHP would do this.  Then you just parse it using either a pattern matching
(Perl-like?) parser if it's a complicated pattern, or a simpler bit by bit
analysis if it's something simple (such as an ID number).  Then insert the
data to whatever DB you like.  Don't know the in's and out's of DB access
from C++ etc but I'd imagine there will be a dll or something that already
takes the hard work out of this.

Sorry if this is a bit vague, but it matches the question! :)  All I'm
saying is, choose a programming language that is more suited to this.  Are
you trying to secure a website with a card swipe or something?...  That
would likely involve the PHP script running at the same time as the card
swipe happening.  And having the card swipe attached to the web-server.
More details are really needed.

Ross

> -----Original Message-----
> From: Mentor Mala [mailto:[EMAIL PROTECTED]]
> Sent: 24 July 2002 17:05
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] reading input from a magnetic stripe and then parsing
> it to a MySQL database for querry?
>
>
> Hi all...
>
> I have just been asked to try and develop a system which will read the
> input from a magnetic stripe reader, and then parse the information onto
> a MySQL database for searching/matching number/information. Then
> displaying the info onto the screen.
>
> In other words, what I am trying to accomplish or asking is how can I
> grab the input from a magnetic stripe reader, and then parse it to a
> MySQL database? Not sure if I am making any sense.. Hope I am...
>
> Thanks for all your help in advance...
>
>
> Mentor Mala
> Senior Network Administrator
> CITY Group, LTD
> Executive Vice President,
> LartaVista, Inc.
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.lartavista.com/
> http://www.city-group.org/
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Anybody point me in the direction of a good tutorial or book on installing
Linux on a Win2k machine as a dual boot system.

Thanks in advance,
Sean M. Mayhew


--- End Message ---

Reply via email to