php-windows Digest 5 Oct 2001 23:16:19 -0000 Issue 790
Topics (messages 9705 through 9719):
Re: RTF Conversion
9705 by: David Elliott
Re: Large File Uploads
9706 by: Leon
9715 by: Mark Hope
9716 by: Mike Flynn
9717 by: Mike Flynn
function/extension help
9707 by: Chevalier, Arthur
9708 by: Philippe Saladin
9709 by: Charles Butler
removing PHP from system
9710 by: Chevalier, Arthur
9713 by: Charles Butler
Re: Setting up MySQL for PHP
9711 by: Mark Hope
Re: mpeg size
9712 by: Pierre Marceau
php hosting
9714 by: Afan Pasalic
Win2000 Apache2 Woes (Server Variables Won't Appear)
9718 by: Kyt Aspen
Propuesta
9719 by: Alfonso Vidales
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 ---
Greetings John
On 04 October 2001 at 12:55:36 -0400 (which was 17:55 where I live)
Asendorf, John might have written
JA> Does anyone know if there is a project to convert RTF to HTML with PHP?
JA> If not, does anyone want to get into it with me?
I don't actually know of a project but I will need this functionality as a
small part of a business re-engineering job that I am in the middle of. To
this ends I found an RTF class at phpclasses
URL: http://phpclasses.upperdesign.com/browse.html/package/119
Author: Markus Fischer <[EMAIL PROTECTED]>
Description:
A simple php based rtf to html converter. At the moment only understands a
few RichTextBox - Control rtf control words.
I have contacted the author on a different e-mail address. See below.
DE>>> Just to say that I will be having a go at using your PHP based RTF
DE>>> parser class at some time. If I make any changes to it I will post it
DE>>> back to you.
MF>> hey!
MF>> Kewl :)
MF>> I was abonding the project already but have thought about continuing.
MF>> What you write seems enthusiastic to me. Would you be interested
MF>> designed the PHP implemenation of an RTF parser from scratch for better
MF>> efficiency and more flexibility still going with the latest standard by
MF>> microsoft?
DE> My PHP is not that good at the moment I have not used it in anger for well
DE> over a year. I keep getting work in ASP for web stuff or Delphi for
DE> client/server applications.
MF>> Ideally it should be a PEAR compliant class.
MF>> No steps has been done yet.
MF>> What do you think about it?
DE> I will however keep this in mind.
DE> I just thought that it would be a good idea to contact you and just say that
DE> I was using this bit of PHP
So contact me and we shall see what happens.
--
HAND, _______________________________________________
David | David Elliott | Software Engineer |
_________________________| [EMAIL PROTECTED] | PGP Key ID 0x650F4534 |
| Wikkid, wanton and wonderful.. |
--- End Message ---
--- Begin Message ---
Hi all
If any of you have php-nuke running somewhere:
Please edit the admin.php file
Do the following
Search for if($upload) {
and replace it with
if($upload) && ($admintest) {
There is a serious security issue with admin.php - so bad that I have decided to
rewrite all of the php.
Cheers
Leon
Martin Lindhe wrote:
> > Is there any chance large file uploads now work? They may
> > in the 4.0.6
> > patch, but I can't find a way to patch the windows version. I
> > really need
> > this to work...I don't want to switch my code over to ASP *shudder*.
> >
>
> Just download the full zip from www.zend.com and unzip it in your PHP
> directory, make sure to copy php4ts.dll to the windows/system or
> winnt/system32 dir (if you use apache), and go through the new php.ini and
> add your old configuration, so you dont miss any new settings.
> Doesnt take long to upgraded to 4.0.6 in this way. Anyway, what about large
> file uploads? Large as in how large? Isn't the problem that you have this
> set in your php.ini:
>
> post_max_size = 8M
>
> (it's the default)
>
> /Martin
>
> --
> PHP Windows 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]
--- End Message ---
--- Begin Message ---
I did this and now the admin page is returning a parse error?
Has anybody been able to upload images via phpnuke?
> ----------
> From: Leon
> Sent: Friday, October 5, 2001 10:26 AM
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [PHP-WIN] Large File Uploads
>
> Hi all
>
> If any of you have php-nuke running somewhere:
> Please edit the admin.php file
>
> Do the following
> Search for if($upload) {
> and replace it with
> if($upload) && ($admintest) {
>
> There is a serious security issue with admin.php - so bad that I have
> decided to rewrite all of the php.
>
> Cheers
> Leon
--- End Message ---
--- Begin Message ---
At 05:17 PM 10/5/01 +0100, you wrote:
>I did this and now the admin page is returning a parse error?
>
>Has anybody been able to upload images via phpnuke?
>
>> if($upload) && ($admintest) {
Uhh.. look at the code.
if ($upload && $admintest) {
-Mike
--- End Message ---
--- Begin Message ---
At 05:17 PM 10/5/01 +0100, you wrote:
>I did this and now the admin page is returning a parse error?
>
>Has anybody been able to upload images via phpnuke?
>
>> if($upload) && ($admintest) {
Uhh.. look at the code.
if ($upload && $admintest) {
-Mike
--- End Message ---
--- Begin Message ---
Hi,
I am very new to PHP. I installed it on a box with Win 2K and IIS. I am
trying to utilize the Sybase functions, but I keep getting the following
error:
Fatal error: Call to undefined function: sybase_connect() in
c:\inetpub\wwwroot\sybase.php on line 2
Can anyone possible tell me how to get/install the Sybase
functions/extensions?????
Thanks,
Art Chevalier
Sybase Replication Administrator
Space and Naval Warfare Center, Chesapeake
1-757-523-8303
--- End Message ---
--- Begin Message ---
I *think* you need php_sybase_ct.dll. You would find it in
c:\php\extensions, and need to copy it into windows\system32. After that,
modify your php.ini as follows :
; windows extension
extension=php_sybase_ct.dll (remove the ';')
Regards,
Philippe
"Arthur Chevalier" <[EMAIL PROTECTED]> a écrit dans le message
news:
[EMAIL PROTECTED]
> Hi,
>
> I am very new to PHP. I installed it on a box with Win 2K and IIS. I am
> trying to utilize the Sybase functions, but I keep getting the following
> error:
>
> Fatal error: Call to undefined function: sybase_connect() in
> c:\inetpub\wwwroot\sybase.php on line 2
>
>
> Can anyone possible tell me how to get/install the Sybase
> functions/extensions?????
>
> Thanks,
>
> Art Chevalier
> Sybase Replication Administrator
> Space and Naval Warfare Center, Chesapeake
> 1-757-523-8303
>
>
--- End Message ---
--- Begin Message ---
Exactly my thoughts :)
Remember, when reading the documentation follow it correctly, only MySQL
support is enabled by default, I sent myself through loops trying to get
mssql working in php, simple solution is edit the php.ini and set your
modules dir to C:\path\to\php\extentions
:)
--
Charles Butler
[EMAIL PROTECTED]
Research and Development
American Telanet Corp.
-----Original Message-----
From: Philippe Saladin [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 8:54 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: function/extension help
I *think* you need php_sybase_ct.dll. You would find it in
c:\php\extensions, and need to copy it into windows\system32. After
that, modify your php.ini as follows : ; windows extension
extension=php_sybase_ct.dll (remove the ';')
Regards,
Philippe
"Arthur Chevalier" <[EMAIL PROTECTED]> a écrit dans le message
news:
[EMAIL PROTECTED]
> Hi,
>
> I am very new to PHP. I installed it on a box with Win 2K and IIS. I
> am trying to utilize the Sybase functions, but I keep getting the
> following
> error:
>
> Fatal error: Call to undefined function: sybase_connect() in
> c:\inetpub\wwwroot\sybase.php on line 2
>
>
> Can anyone possible tell me how to get/install the Sybase
> functions/extensions?????
>
> Thanks,
>
> Art Chevalier
> Sybase Replication Administrator
> Space and Naval Warfare Center, Chesapeake
> 1-757-523-8303
>
>
--
PHP Windows 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]
--- End Message ---
--- Begin Message ---
Hello,
I am looking to remove PHP from my system so that I can perform a fresh
install. What is the easiest way to go about this?
Thanks,
Art Chevalier
Sybase Replication Administrator
Space and Naval Warfare Center, Chesapeake
1-757-523-8303
--- End Message ---
--- Begin Message ---
Since PHP is not installed with an installer if you used the full zip,
just delete the directories and files. Even with the win32 installer
this is the same way to do so.
--
Charles Butler
[EMAIL PROTECTED]
Research and Development
American Telanet Corp.
-----Original Message-----
From: Chevalier, Arthur [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 9:53 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-WIN] removing PHP from system
Hello,
I am looking to remove PHP from my system so that I can perform a fresh
install. What is the easiest way to go about this?
Thanks,
Art Chevalier
Sybase Replication Administrator
Space and Naval Warfare Center, Chesapeake
1-757-523-8303
--
PHP Windows 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]
--- End Message ---
--- Begin Message ---
http://www.net-language.com/workshops/Default.asp?workshop=21
This helped me step by step - and I'm 'only a designer'
I did have some trouble with php 4.06 on win2000, but reverting to 4.04
worked fine.
Mark
> > > I've been looking to and fro for a "setting up MySQL to work with
> PHP"
> > > article. I can't seem to find one though. Could someone point me
> to one.
> > > I'm trying to set up PHPGroupware and I'm installing MySQL for the
> first
> > > time...
--- End Message ---
--- Begin Message ---
Have you explored the the GetImageSize() function?
Pierre
----- Original Message -----
From: "Sichta Daniel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 6:53 AM
Subject: [PHP-WIN] mpeg size
> Hi,
>
> Is there any way to get size (WxH) of mpeg file in php ?
>
> Dan
>
>
--- End Message ---
--- Begin Message ---
Does anybody have any info about www.pair.com as php
hosting co.? Good? Bad?
thanks
ammtar
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--- End Message ---
--- Begin Message ---
Hails All, I thought that I'd bring this up to see if anyone could help:
I went to www.php4win.org and downloaded the latest versions of PHP4Win and
Apache2.0 that were available on the site; Apache 2.0.26-dev and PHP
4.0.8-dev (I believe.) They both installed together nicely, just like
Apache 1.3.20 did with the same PHP release.
However, an odd problem started happening with my PHP scripts: the Server
Variables weren't coming through. I use $DOCUMENT_ROOT a lot and it wasn't
there anymore, nor was $SERVER_NAME, etc... I looked at phpinfo(); and they
weren't showing up there either, only $PHP_SELF was available.
I do have register_globals and track_vars On, and the same php.ini
configuration does give me the correct variables when used with Apache; when
it is applied to Apache2 they dissapear.
Any suggestions?
Kyt.
--- End Message ---
--- Begin Message ---
Hola como estas
estamos interesados en comprar publicidad en tu página mediante nuestro sistema de
banners online.
El cual consiste en que pongas un banner de MercadoLibre en tu site, y nosotros te
pagamos 50 pesos por cada usuario que se registre de tu página a la nuestra
activamente, ademas de un 20% de comisiones al hacer transacciones por medio de tu
site.
Si te resulta de interés la propuesta espero podamos profundizar en detalles para
comenzar a trabajar juntos, te anexo un manual para que puedas bajar el banner así
como el link para que lo cheques mas a fondo.
saludos, Alfonso Vidales.
http://www.mercadolibre.com.mx/mexico/ml/p_frameset?as_url=p_affiliate?as_html_id=PG_AFIL1$as_menu=AFILIADOS
PD: muy bueno el site, felicitaciones!
--- End Message ---