php-windows Digest 16 Feb 2005 02:47:54 -0000 Issue 2576
Topics (messages 25581 through 25589):
Time limit in the script
25581 by: Veselina Jecheva
I am looking for a PHP editor who has RTL support...
25582 by: Joakim Ling
Header Location pointing to a file
25583 by: Ron.Herhuth.tatumpartners.com
Re: Outputting MS Word document
25584 by: The Disguised Jedi
Looking for PHP development software
25585 by: Jim MacDiarmid
Re: printing
25586 by: Jason Beaver
Parsing a PHP file - Newbie alert
25587 by: Andrew Hargreaves
25588 by: Jason Barnett
25589 by: The Disguised Jedi
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 ---
Hello, everyone,
I have to make a script, that allows the user to solve an online test
(multiple choise). The test has to be solved during the specific period of
time (1 hour).
How can I interrupt the user after the end of the hour and redirect him to
another page with the results, for example?
Thanks in advance
Veselina
--- End Message ---
--- Begin Message ---
Try Editplus 2, you can download a trial version at http://www.editplus.com/
Chears
Jocke
-----Ursprungligt meddelande-----
Fr�n: Amir BD [mailto:]
Skickat: den 15 februari 2005 10:33
Till: [email protected]
�mne: [PHP-WIN] I am looking for a PHP editor who has RTL support...
Does anyone know about a PHP editor(for windows, of course) that has
an RTL support?
It is very important because my Website is in Hebrew.
I know I can use notepad, but it's pretty lame for PHP. Highlighting
is very important for me.
Can anyone help me find such editor?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I am writing a script that does a database check and then based on several
conditions I need to give the user a PDF file to view in the browser. Normally
I would use the header("Location: the_file.pdf") command but this doesn't
work...most likely because it doesn't try to resolve the MIME type. Is there a
way to load the PDF in the users browser?
Thanks,
Ron
--- End Message ---
--- Begin Message ---
use "application/ms-word" and just get the data from the table and
echo it after you have sent the header.
On Sat, 12 Feb 2005 15:38:08 +0200, Dale Attree
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have saved the content of an uploaded MS Word document into a database
> table.
>
> Now I would like to output the content without recreating the file on the
> harddrive.
>
> I believe I will have to use header("application/[what do i put here]").
>
> Any ideas?
>
> Kind Regards,
> Dale
>
>
--
The Disguised Jedi
[EMAIL PROTECTED]
Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm
already internationally compatible!
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored.
This message is Certified Virus Free
--- End Message ---
--- Begin Message ---
Hi everyone,
I'm not sure if the software I'm looking for exists, but I was wondering if
there is a PHP IDE or utility program that has the functionality to
read/index php and html files in a website, and display and/or print a
graphical map or relationship diagram of all files based on include or
require statements?
Any ideas?
Jim
--- End Message ---
--- Begin Message ---
I finally was able to get a list of printers out of it, I was forgetting the
'printer.default_printer = "PHP_INI_ALL"' setting
"Warren Vail" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jason,
>
> It helps to remember how most PHP applications are structured (server
> side/browser side) and the options you want to use depends on where you
> want
> the printing to occur.
>
> Server Side;
>
> the manual for the printer functions
> http://us4.php.net/manual/en/ref.printer.php contains the following
> disclaimer;
>
> These functions are only available under Windows 9.x, ME, NT4 and 2000.
> They
> have been added in PHP 4.0.4.
> which means that your server needs to be a windoz platform.
>
> Client (Browser) Side;
>
> Two solutions come to mind, one is preparing a PDF file on the fly and
> letting the user print via the Adobe interface
> http://us4.php.net/manual/en/ref.pdf.php
>
> the other is accomplished via JavaScript. You should be able to find some
> help with printing a web page at http://www.hotscripts.com
>
> HTH,
>
> Warren Vail
>
>
>
>> -----Original Message-----
>> From: Jason Beaver [mailto:[EMAIL PROTECTED]
>> Sent: Monday, February 14, 2005 4:46 PM
>> To: [email protected]
>> Subject: [PHP-WIN] printing
>>
>>
>> Has anyone ever done any printing from PHP. I have recently been
>> trying to
>> get the printer functions to work with no success. anyone have any hints?
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
--- End Message ---
--- Begin Message ---
First post here so go easy on me please as I have looked in as many
places as possible before resorting to this.
I have installed MySQL, Apache 2.0.52 and PHP 4.3.10 on my XP Pro PC
and have read through the installation docs etc to update httpd.conf
as instructed.
When I tried to run my first PHP file to show the PHP Info (<?php
phpinfo(); ?>) the browser, Firefox 1.0 did nothing.
I have placed the file in the htdocs folder as instructed. When I ran
php -i from the command line, I got a html doc as I should have done,
but still nothing in Firefox or IE6.
Is there anythign else I should be trying to do or I can look at to
try and resolve this?
Many thanks
Andrew H
--- End Message ---
--- Begin Message ---
Andrew Hargreaves wrote:
First post here so go easy on me please as I have looked in as many
places as possible before resorting to this.
I have installed MySQL, Apache 2.0.52 and PHP 4.3.10 on my XP Pro PC
and have read through the installation docs etc to update httpd.conf
as instructed.
You're already ahead of the curve. :)
When I tried to run my first PHP file to show the PHP Info (<?php
phpinfo(); ?>) the browser, Firefox 1.0 did nothing.
Assuming index.php is in the docroot and it contains the phpinfo() call:
Is this a local server and is the server actually running? Try browsing
to http://localhost/index.php if this is the case.
If this is a live server on the web then try browsing to
http://your.ip.address.here/index.php for the server. If that works
then try browsing to http://your.domain.com/index.php
Let us know the results of trying to browse to these web pages. If they
don't work (i.e. you don't see PHP's info screen) then tell us as best
you can what happened.
I have placed the file in the htdocs folder as instructed. When I ran
php -i from the command line, I got a html doc as I should have done,
but still nothing in Firefox or IE6.
If PHP -i works then it's usually a server issue... try the first steps
listed above and report back to us. At ease, soldier. ;)
Is there anythign else I should be trying to do or I can look at to
try and resolve this?
Many thanks
Andrew H
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://www.php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
i could be wrong (been a while since I looked up phpinfo function) but
i do believe you must do
echo phpinfo();
Please feel free to correct me...
On Tue, 15 Feb 2005 19:20:52 -0500, Jason Barnett
<[EMAIL PROTECTED]> wrote:
> Andrew Hargreaves wrote:
> > First post here so go easy on me please as I have looked in as many
> > places as possible before resorting to this.
> >
> > I have installed MySQL, Apache 2.0.52 and PHP 4.3.10 on my XP Pro PC
> > and have read through the installation docs etc to update httpd.conf
> > as instructed.
>
> You're already ahead of the curve. :)
>
> >
> > When I tried to run my first PHP file to show the PHP Info (<?php
> > phpinfo(); ?>) the browser, Firefox 1.0 did nothing.
>
> Assuming index.php is in the docroot and it contains the phpinfo() call:
>
> Is this a local server and is the server actually running? Try browsing
> to http://localhost/index.php if this is the case.
>
> If this is a live server on the web then try browsing to
> http://your.ip.address.here/index.php for the server. If that works
> then try browsing to http://your.domain.com/index.php
>
> Let us know the results of trying to browse to these web pages. If they
> don't work (i.e. you don't see PHP's info screen) then tell us as best
> you can what happened.
>
> >
> > I have placed the file in the htdocs folder as instructed. When I ran
> > php -i from the command line, I got a html doc as I should have done,
> > but still nothing in Firefox or IE6.
>
> If PHP -i works then it's usually a server issue... try the first steps
> listed above and report back to us. At ease, soldier. ;)
>
> >
> > Is there anythign else I should be trying to do or I can look at to
> > try and resolve this?
> >
> > Many thanks
> >
> > Andrew H
>
> --
> Teach a man to fish...
>
> NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
> STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
> STFM | http://www.php.net/manual/en/index.php
> STFW | http://www.google.com/search?q=php
> LAZY |
> http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins
>
>
>
--
The Disguised Jedi
[EMAIL PROTECTED]
Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm
already internationally compatible!
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored.
This message is Certified Virus Free
--- End Message ---