php-windows Digest 23 Oct 2002 14:05:19 -0000 Issue 1402
Topics (messages 16486 through 16495):
Re: this one's got me stumped...
16486 by: Dash McElroy
Re: picking files (server side) - need help please
16487 by: Aidal
Re: Subject: PHP and databases? ...without MySQL and such
16488 by: neil smith
hello world script not working
16489 by: Nikolas Galanis
16491 by: Luis Ferro
HTTP_POST_VARS - need help
16490 by: Aidal
16494 by: Asendorf, John
Re: +AFs-PHP-WIN+AF0- HTTP+AF8-POST+AF8-VARS - need help
16492 by: Nino V
Apache - simple question (IndexIgnore)
16493 by: Aidal
Print data
16495 by: José Moreira
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 ---
In that case, I think you might want to figure out a way to have the user
zip the files and then unzip them server side.
That sounds like the least tedious way without requiring a mass file
upload (i.e. other than http access to the web host like ftp or direct).
I think you're running into an HTTP limit here, not a PHP limit.
-Dash
"Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!"
On Tue, 22 Oct 2002, db wrote:
> thanks, Dash. I'm sure that would work, but i'm try to set up a page that
> allow a user to upload pictures for use in a photo gallery that i've
> scripted (i know i'm reinventing the wheel here). a user might have 50 or a
> 100 pics, and to upload one by one may be a bit tedious.
>
> does someone have an alternative approach that accomplishes what i'm trying
> to do? from what i've read, $_FILES seems to contain an associative array.
> i'm not sure what that means, but perhaps that's things off.
>
> i got this from a comment in the docs:
>
> The $_FILES variable is not very well documented. Beware that it contains an
> associative array:
>
> array(1) {
> ["File"]=>
> array(5) {
> ["name"]=>
> string(12) "brahhh.jpg"
> ["type"]=>
> string(11) "image/pjpeg"
> ["tmp_name"]=>
> string(14) "/tmp/php2Uyz0c"
> ["error"]=>
> int(0)
> ["size"]=>
> int(36950)
> }
> }
>
> it seems that $_FILES['userfile'] has a default size of 5. but i'm not sure
> how to...comprehend this. any ideas on how to get around this?
>
> thanks.
>
> --db
>
> "Dash McElroy" <[EMAIL PROTECTED]> wrote in message
> news:ABA3F1F1A223D411BE6C006008A6F7E2604D86@;MSX1-PTON...
> > db;
> >
> > What I would do (and I have not done this...) would be this:
> >
> > Make the page ask for one file, then upload it, then automatically refresh
> > (via header("Location: ".$_SERVER['PHP_SELF']); or something similar, and
> > ask for another file. I think this is how Yahoo's mail program does that.
> >
> > A little cumbersome, but it should work.
> >
> > -Dash
> >
> > -----Original Message-----
> > From: db [mailto:postmaster@;kouryuu.com]
> > Sent: Tuesday, October 22, 2002 5:25 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] this one's got me stumped...
> >
> >
> > ...which isn't that difficult cuz i'm a dunce, but anwyay....
> >
> > i'm trying to upload multiple files at once using the example in the php
> > doc's. i want to be able to upload up to 20 files at once, but less than
> > that at any time.
> >
> > this is what i have (basically):
> >
> > <input class='tbox' type='file' name='userfile[]' size='50'>
> >
> > listed out in a table 20 times and followed by:
> >
> > <input class='button' type='submit' name='submit' value='upload'>
> >
> > "tbox," refers to a style in a css file. anyway, i'm then trying to
> > determine the size of the array with:
> >
> > $size = sizeof($_FILES['userfile']);
> >
> > i would think this would work, however, no matter the number of files i
> > select, $size=5. always!
> >
> > is there something wrong with my syntax here? or is there a better way to
> do
> > this with this type of array? incidentally, i have register_globals
> turned
> > off -- not sure if that would affect anything....
> >
> > thx.
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.406 / Virus Database: 229 - Release Date: 10/21/2002
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.406 / Virus Database: 229 - Release Date: 10/21/2002
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Thanks for your suggestion, I'll try it out.
By the way, couldn't you see my examples or whats with the < ... > ?
"David Elliott" <[EMAIL PROTECTED]> wrote in message
news:1923107396.20021022154647@;elliott.uk.com...
> Hi Aidal
>
> On 22 October 2002 at 15:07:04 +0200 (which was 14:07 where I live) Aidal
> graced us with these comments
>
> < ... >
>
> > I browse my own PC for files.
>
> well you can not browse for them.
>
> < ... >
>
> > Assuming that those pictures have already been uploaded to a certain dir
on
> > the web server, can this be done and if so how would one do this?
>
> Have a look at the code below it might give you a clue.
>
> ==========8<=============================================================
> <table summary="file list" border="1" align="center">
> <?php
> $handle=opendir('.');
> while ($file = readdir( $handle))
> if( $file != ".." && $file != "." && $file != "index.php")
> {
> echo "<tr>\n<td>\n<a href='$file'>$file</a></td>\n".
> "<td align='center'>".sprintf( '%1.3f', filesize( $file) /
(1024*1024)).
> " Mb</td>\n".
> "<td align='right'>\n".date('d-m-Y
H:i',filemtime($file))."</td>\n</tr>\n";
> }
> closedir( $handle);
> ?>
> </table>
> ==========8<=============================================================
> --
> Bye, _______________________________________________
> David | David Elliott | Software Engineer
|
> _________________________| [EMAIL PROTECTED] | PGP Key ID 0x650F4534
|
> | Respect, bah! It's more fun to make people afraid.
|
>
--- End Message ---
--- Begin Message ---
At 01:44 23/10/2002 +0000, you wrote:
From: "Negretti, John (CCI-San Diego)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
Subject: PHP and databases? ...without MySQL and such
Hello All,
I am somewhat new to PHP and I have a question relating to FLAT
FILE databases. First let me give an introduction to my question.
.... But your site states 'powered by MySQL' !!
:-)
Oh, btw dBase support in PHP is effectively read only - its useful just for
getting your data from a dBase file into PHP rather than writing new
records. Rather than flat files (or DBM), stick with a DBMS, which has all
the functionality in it to efficiently retrieve and manage data from the
DB. MySQl, postygres are just fine for the web. MySQL is optimised
primarily for fast queries over data storage which makes is extra good for
medim size web aplications.
Cheers,
Neil Smith.
When I get done with it I'll post it for free at www.ideablue.com (my
personal site). Well, I do give thanks in advance for any help.
NOTE: I think PHP is a great language and I do hope to stick with it.
There are many great resources like www.phpbuilder.com,
www.phpbeginner.com and the extensive documentation at www.php.net. Thanks
to all that help us new PHP developers.
John Negretti
Web Applications Developer
Cox Communications www.cox.com
--- End Message ---
--- Begin Message ---
Hello
On a WIndows XP professional edition I am running Apache 1.3.27 with PHP
4.2.3. I am using this configuration to locally work on web projects
before publishing them.
Although most of the things work ok, there are some times that the
server returns a 500 internal error. It happens with the same scripts
all the time. The simplest script that returns this error is the hello
world script! I can't say this is a rule, but usually it happens when
the part of the script that is actually executed is quite small. For
example, if I have a script that works ok and on the top of it I add:
$dada = '1';
if ($dada) { echo 'Hello world'; }
else {
the rest of the script }
then it returns an internal error again.
I read about a bug in the apache's website. Are there any common
experiences regarding this? Thanks.
--- End Message ---
--- Begin Message ---
a) is the php4ts.dll in a system wide access directory (like
c:\winnt\system32)?
b) can you run this script:
<?php
phpinfo();
?>
c) if so, you have your problem solved, it just need some twicking with
php.in settings (php.ini is in directory c:\winnt)
d) if not, you will have to check apache configuration (normally in the
apache install directory ./conf/httpd.conf)
In it, check if the three lines:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Are present in the correct places in the file (i normally place the
first "LoadMoule" as the last loadmodule to load, the "AddModule" as the
last "AddModule" and the other somewhere after that with some lines like:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
</IfModule>
I normally also change the following:
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.php index.php3 index.php4
</IfModule>
So that all sites will run any of those files as default in that order
(or any other)...
Hope to have been of help,
Cheers...
Luis Ferro
TelaDigital
Nikolas Galanis wrote:
Hello
On a WIndows XP professional edition I am running Apache 1.3.27 with
PHP 4.2.3. I am using this configuration to locally work on web
projects before publishing them.
Although most of the things work ok, there are some times that the
server returns a 500 internal error. It happens with the same scripts
all the time. The simplest script that returns this error is the hello
world script! I can't say this is a rule, but usually it happens when
the part of the script that is actually executed is quite small. For
example, if I have a script that works ok and on the top of it I add:
$dada = '1';
if ($dada) { echo 'Hello world'; }
else {
the rest of the script }
then it returns an internal error again.
I read about a bug in the apache's website. Are there any common
experiences regarding this? Thanks.
---
[This E-mail scanned for viruses by Declude Virus]
--- End Message ---
--- Begin Message ---
I'm trying to make a simple upload script.
The script is suppose to do severel checks after form submition.
The problem is that it seems that I don't have access to HTTP_POST_VARS for
some reason.
In php.ini I have the following definitions (among others of cause):
upload_tmp_dir = "C:\php4\uploadtemp"
file_uploads = On
register_globals = On
The sending FORM looks like this (all HTML removed):
<form method=\"POST\" action=\"$PHSELF\" enctype=\"multipart/form-data\">
<input type=hidden name=AKTION value=upload_img>
<input type=file name=file>
<input type=submit value=Upload>
The receiving script looks like this:
switch($AKTION) {
case upload_img:
echo "upload check started<br>";
echo $GLOBALS['file']."<br>";
if ($HTTP_POST_VARS['submit']) {
print_r($HTTP_POST_FILES);
if (!is_uploaded_file($HTTP_POST_FILES['file']['tmp_name'])) {
echo "The file wasn't uploaded";
unlink($HTTP_POST_FILES['file']['tmp_name']);
} else {
$maxfilesize=10240;
if ($HTTP_POST_FILES['file']['size'] > $maxfilesize) {
echo "The file was too large";
unlink($HTTP_POST_FILES['file']['tmp_name']);
} else {
if ($HTTP_POST_FILES['file']['type'] != "image/gif" AND
$HTTP_POST_FILES['file']['type'] != "image/pjpeg") {
echo "This file type isn't allowed for uploads";
unlink($HTTP_POST_FILES['file']['tmp_name']);
} else {
copy($HTTP_POST_FILES['file']['tmp_name'],"C:\\Program
Files\\Apache\\htdocs\\nef\\images\\".$HTTP_POST_FILES['file']['name']);
unlink($HTTP_POST_FILES['file']['tmp_name']);
print "File has been successfully uploaded!";
exit;
}
}
}
} else {
echo "No form submition was registered";
}
break;
}
This produces the following 3 lines of output:
upload check started
C:\php4\uploadtemp\php9223.TMP
No form submition was registered
Acording to my script this means that the receiving script couldn't
catch/access the HTTP_POST_VARS.
I'm aware that some variable names have changed, like HTTP_POST_FILES =>
$_FILES and so on, but this shouldn't affect this script since it never get
to the part with HTTP_POST_FILES.
If anyone can give me a clue to whats wrong here please let me know.
Also if you need more info about php.ini settings let me know and I'll post
it asap.
Regards
~ Aidal
--- End Message ---
--- Begin Message ---
Your action in the form may be the problem...
I think you need action=\"$PHP_SELF\" instead of action=\"$PHSELF\"
---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit
> -----Original Message-----
> From: Aidal [mailto:aidal@;nospam.dk]
> Sent: Wednesday, October 23, 2002 5:28 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] HTTP_POST_VARS - need help
>
>
> I'm trying to make a simple upload script.
> The script is suppose to do severel checks after form submition.
> The problem is that it seems that I don't have access to
> HTTP_POST_VARS for
> some reason.
> In php.ini I have the following definitions (among others of cause):
>
> upload_tmp_dir = "C:\php4\uploadtemp"
> file_uploads = On
> register_globals = On
>
> The sending FORM looks like this (all HTML removed):
>
> <form method=\"POST\" action=\"$PHSELF\"
> enctype=\"multipart/form-data\">
> <input type=hidden name=AKTION value=upload_img>
> <input type=file name=file>
> <input type=submit value=Upload>
>
> The receiving script looks like this:
>
> switch($AKTION) {
> case upload_img:
> echo "upload check started<br>";
> echo $GLOBALS['file']."<br>";
>
> if ($HTTP_POST_VARS['submit']) {
> print_r($HTTP_POST_FILES);
> if (!is_uploaded_file($HTTP_POST_FILES['file']['tmp_name'])) {
> echo "The file wasn't uploaded";
> unlink($HTTP_POST_FILES['file']['tmp_name']);
> } else {
> $maxfilesize=10240;
> if ($HTTP_POST_FILES['file']['size'] > $maxfilesize) {
> echo "The file was too large";
> unlink($HTTP_POST_FILES['file']['tmp_name']);
> } else {
> if ($HTTP_POST_FILES['file']['type'] != "image/gif" AND
> $HTTP_POST_FILES['file']['type'] != "image/pjpeg") {
> echo "This file type isn't allowed for uploads";
> unlink($HTTP_POST_FILES['file']['tmp_name']);
> } else {
> copy($HTTP_POST_FILES['file']['tmp_name'],"C:\\Program
> Files\\Apache\\htdocs\\nef\\images\\".$HTTP_POST_FILES['file']
> ['name']);
> unlink($HTTP_POST_FILES['file']['tmp_name']);
> print "File has been successfully uploaded!";
> exit;
> }
> }
> }
> } else {
> echo "No form submition was registered";
> }
> break;
> }
>
> This produces the following 3 lines of output:
>
> upload check started
> C:\php4\uploadtemp\php9223.TMP
> No form submition was registered
>
> Acording to my script this means that the receiving script couldn't
> catch/access the HTTP_POST_VARS.
> I'm aware that some variable names have changed, like
> HTTP_POST_FILES =>
> $_FILES and so on, but this shouldn't affect this script
> since it never get
> to the part with HTTP_POST_FILES.
>
> If anyone can give me a clue to whats wrong here please let me know.
> Also if you need more info about php.ini settings let me know
> and I'll post
> it asap.
>
> Regards
> ~ Aidal
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Is that a mistake:
+ADw-form method+AD0AXAAi-POST+AFwAIg- action+AD0AXAAiACQ-PHSELF+AFwAIg-
+enctype+AD0AXAAi-multipart/form-data+AFwAIgA+-
or just a mistyped line: +ACQ-PHSELF instead of +ACQ-PHP+AF8-SELF?
Ciao,
Nino
+AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9AD0APQA9-
http://www.vessella.it (italiano, esperanto, kiswahili, english)
http://www.changamano.org (Iniziative di solidariet+AOA- per la Tanzania)
Corso di lingua swahili: http://corsoswahili.vessella.net
Corso di lingua esperanto: http://esperanto.vessella.net
Jifunze lugha ya Kiesperanto: http://kiesperanto.vessella.net
Kamusi/Vortaro: http://kamusi.vessella.net
Vocabolario esperanto-italiano: http://vortaro.vessella.net
----- Original Message -----
From: +ACI-Aidal+ACI- +ADw-aidal+AEA-nospam.dk+AD4-
To: +ADw-php-windows+AEA-lists.php.net+AD4-
Sent: Wednesday, October 23, 2002 11:27 AM
Subject: +AFs-PHP-WIN+AF0- HTTP+AF8-POST+AF8-VARS - need help
+AD4- I'm trying to make a simple upload script.
+AD4- The script is suppose to do severel checks after form submition.
+AD4- The problem is that it seems that I don't have access to HTTP+AF8-POST+AF8-VARS
for
+AD4- some reason.
+AD4- In php.ini I have the following definitions (among others of cause):
+AD4-
+AD4- upload+AF8-tmp+AF8-dir +AD0- +ACI-C:+AFw-php4+AFw-uploadtemp+ACI-
+AD4- file+AF8-uploads +AD0- On
+AD4- register+AF8-globals +AD0- On
+AD4-
+AD4- The sending FORM looks like this (all HTML removed):
+AD4-
+AD4- +ADw-form method+AD0AXAAi-POST+AFwAIg- action+AD0AXAAiACQ-PHSELF+AFwAIg-
+enctype+AD0AXAAi-multipart/form-data+AFwAIgA+-
+AD4- +ADw-input type+AD0-hidden name+AD0-AKTION value+AD0-upload+AF8-img+AD4-
+AD4- +ADw-input type+AD0-file name+AD0-file+AD4-
+AD4- +ADw-input type+AD0-submit value+AD0-Upload+AD4-
+AD4-
+AD4- The receiving script looks like this:
+AD4-
+AD4- switch(+ACQ-AKTION) +AHs-
+AD4- case upload+AF8-img:
+AD4- echo +ACI-upload check started+ADw-br+AD4AIgA7-
+AD4- echo +ACQ-GLOBALS+AFs-'file'+AF0-.+ACIAPA-br+AD4AIgA7-
+AD4-
+AD4- if (+ACQ-HTTP+AF8-POST+AF8-VARS+AFs-'submit'+AF0-) +AHs-
+AD4- print+AF8-r(+ACQ-HTTP+AF8-POST+AF8-FILES)+ADs-
+AD4- if
+(+ACE-is+AF8-uploaded+AF8-file(+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'tmp+AF8-name'+AF0-))
+ +AHs-
+AD4- echo +ACI-The file wasn't uploaded+ACIAOw-
+AD4-
+unlink(+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'tmp+AF8-name'+AF0-)+ADs-
+AD4- +AH0- else +AHs-
+AD4- +ACQ-maxfilesize+AD0-10240+ADs-
+AD4- if (+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'size'+AF0- +AD4-
++ACQ-maxfilesize) +AHs-
+AD4- echo +ACI-The file was too large+ACIAOw-
+AD4-
+unlink(+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'tmp+AF8-name'+AF0-)+ADs-
+AD4- +AH0- else +AHs-
+AD4- if (+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'type'+AF0-
++ACEAPQ- +ACI-image/gif+ACI- AND
+AD4- +ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'type'+AF0- +ACEAPQ-
++ACI-image/pjpeg+ACI-) +AHs-
+AD4- echo +ACI-This file type isn't allowed for uploads+ACIAOw-
+AD4-
+unlink(+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'tmp+AF8-name'+AF0-)+ADs-
+AD4- +AH0- else +AHs-
+AD4-
+copy(+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'tmp+AF8-name'+AF0-,+ACI-C:+AFwAXA-Program
+AD4-
+Files+AFwAXA-Apache+AFwAXA-htdocs+AFwAXA-nef+AFwAXA-images+AFwAXAAi-.+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'name'+AF0-)+ADs-
+AD4-
+unlink(+ACQ-HTTP+AF8-POST+AF8-FILES+AFs-'file'+AF0AWw-'tmp+AF8-name'+AF0-)+ADs-
+AD4- print +ACI-File has been successfully uploaded+ACEAIgA7-
+AD4- exit+ADs-
+AD4- +AH0-
+AD4- +AH0-
+AD4- +AH0-
+AD4- +AH0- else +AHs-
+AD4- echo +ACI-No form submition was registered+ACIAOw-
+AD4- +AH0-
+AD4- break+ADs-
+AD4- +AH0-
+AD4-
+AD4- This produces the following 3 lines of output:
+AD4-
+AD4- upload check started
+AD4- C:+AFw-php4+AFw-uploadtemp+AFw-php9223.TMP
+AD4- No form submition was registered
+AD4-
+AD4- Acording to my script this means that the receiving script couldn't
+AD4- catch/access the HTTP+AF8-POST+AF8-VARS.
+AD4- I'm aware that some variable names have changed, like HTTP+AF8-POST+AF8-FILES
++AD0APg-
+AD4- +ACQAXw-FILES and so on, but this shouldn't affect this script since it never
get
+AD4- to the part with HTTP+AF8-POST+AF8-FILES.
+AD4-
+AD4- If anyone can give me a clue to whats wrong here please let me know.
+AD4- Also if you need more info about php.ini settings let me know and I'll
post
+AD4- it asap.
+AD4-
+AD4- Regards
+AD4- +AH4- Aidal
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4-
+AD4- --
+AD4- PHP Windows Mailing List (http://www.php.net/)
+AD4- To unsubscribe, visit: http://www.php.net/unsub.php
+AD4-
--- End Message ---
--- Begin Message ---
Hi NG.
I know this NG is suppose to be about PHP but...
Assuming that most of us people reading this NG uses Apache, I have a simple
question concerning 'IndexIgnore' in 'httpd.conf'.
When typing some http-address to a place under htdocs like
http://localhost/somedir/ which does not have an index file to load, the
server will list the files in the dir, but there is of cause some files
which isn't very wise to list.
Say I have some files containing classes or other code in some *.inc files,
I want to server to hide these when listing files in dir.
Apache has the 'IndexIgnore' to set these things from what I've read, but I
can't get this to work properly.
The current setting in my 'httpd.conf' is the folowing:
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
I'm not sure exactly what that means, though I've read the documentation on
IndexIgnore I still dont get the syntax.
Can anyone tell me how I do this?
Do I add a new line with 'IndexIgnore <some parameters>' ?
Or do I add '<some parameters>' to the existing 'IndexIgnore' ?
In any case, what would the syntax be for ignoring *.php and *.inc files
when listing?
Regards
~ Aidal
--- End Message ---
--- Begin Message ---
hello, at my company we have several network printers and i was was
wondering if it's possible to print directly to them using PHP, instead
of showing on the screen or both ...
to gain more control on what is printed, because of the nasty browsers
header and footer ... whom i now how to remove ...
i know that the printer IP is 192.192.1.100 and the port is 9005 ...
--- End Message ---