php-windows Digest 15 May 2002 21:37:33 -0000 Issue 1146

Topics (messages 13779 through 13802):

Sendmail.php
        13779 by: Aziz Durmaz
        13780 by: Aziz Durmaz
        13783 by: aleksandar.skodric.com

USERS and thier managment
        13781 by: Mentor Mala

php+apache+interbase
        13782 by: Mauricio

php site: comments welcomed
        13784 by: The FreelancerNetwork Team
        13785 by: The FreelancerNetwork Team
        13786 by: Nicole Amashta
        13789 by: The FreelancerNetwork Team
        13795 by: Nicole Amashta

ASP and PHP
        13787 by: "Spycha³a, Wojciech"

R: [PHP-WIN] ASP and PHP
        13788 by: Alberto. Sartori
        13790 by: Zac Hillier

Return portion of a string
        13791 by: R.S. Herhuth
        13792 by: brother
        13793 by: brother
        13794 by: Nicole Amashta

Re: php_gd.dll and Windows XP
        13796 by: RoboTeddy

Re: Undefined variables (was php_gd.dll and Windows XP)
        13797 by: Alan Hale
        13800 by: Mike Flynn
        13801 by: brother

Re: php 4.2 and database conn
        13798 by: Scott Hurring
        13799 by: Nicole Amashta

file upload and backslashes and $_FILES
        13802 by: BOb Pardoe

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 ---
hi,

i want to make a sendmail.php but i know only some variables (Example: who,
redirect, subject). Others variables is changeable and i dont know its
names. How i can write other variables into mail body????

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

I know only $subject, $redirect, $mailto (who gets the mail),

The other variables (Example: $mailbody, $sender, or $something_else) i dont
know variables name becaues of this i want to use them in the mail-body.

But how can i get them(other variables because i dont know their names)
-----Original Message-----
From: Alberto. Sartori [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 1:42 PM
To: Aziz Durmaz
Subject: R: [PHP-WIN] Sendmail.php


You mean the headers like REPLY-TO, SENDER etc..?

-----Messaggio originale-----
Da: Aziz Durmaz [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 15 maggio 2002 12.39
A: Php Win32 list
Oggetto: [PHP-WIN] Sendmail.php


hi,

i want to make a sendmail.php but i know only some variables (Example: who,
redirect, subject). Others variables is changeable and i dont know its
names. How i can write other variables into mail body????


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



--- End Message ---
--- Begin Message ---
check this, there's quite a long list of contributions and from each one you can get 
some usefull info...

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

Regards,
Alex

>
>I know only $subject, $redirect, $mailto (who gets the mail),
>
>The other variables (Example: $mailbody, $sender, or $something_else) i dont
>know variables name becaues of this i want to use them in the mail-body.
>
>But how can i get them(other variables because i dont know their names)
>-----Original Message-----
>From: Alberto. Sartori [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 15, 2002 1:42 PM
>To: Aziz Durmaz
>Subject: R: [PHP-WIN] Sendmail.php
>
>
>You mean the headers like REPLY-TO, SENDER etc..?
>
>-----Messaggio originale-----
>Da: Aziz Durmaz [mailto:[EMAIL PROTECTED]]
>Inviato: mercoledì 15 maggio 2002 12.39
>A: Php Win32 list
>Oggetto: [PHP-WIN] Sendmail.php
>
>
>hi,
>
>i want to make a sendmail.php but i know only some variables (Example: who,
>redirect, subject). Others variables is changeable and i dont know its
>names. How i can write other variables into mail body????
>
>
>--
>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 ---

Hello all,

I have been recently asked by our company to develop or in some way
modify a script that has the LOGIN function, at the same time the
password that is entered to be transferred automatically to the support
group or in database, as that password will be the identifying "item"
for security purposes. I know this is not the safest way to identify
users, but that is exactly how they have requested it...


Thanks in advance..

Sorry if I am not too clear... I am still trying to understand
completely how to implement it...

Mentor Mala
Senior Web Developer
CITY Group   

--- End Message ---
--- Begin Message ---
Hi for all.
If I try to connect a remote database as:

ip:/path_base

it work well

but if i try to connect a local database as:

path_base

it don't work well.

My local database is in:

DOC_ROOT/path_base.

Can anyone help me?

Thanks in advance.
--
Mauricio
+55 - (041) - 219-5246
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Hi,

we are currently in the process of completing a freelancer portal developed in PHP and 
I'd be interested in see what some of you think.

All comments welcome, but better to mail me direct than posting to the list.

Thanks.
Andrew
--- End Message ---
--- Begin Message ---
D'oh! A link would help...

www.freelancernetwork.com/index.php

thanks again.....

----- Original Message ----- 
From: The FreelancerNetwork Team 
To: [EMAIL PROTECTED] 
Sent: Wednesday, May 15, 2002 3:27 PM
Subject: php site: comments welcomed


Hi,

we are currently in the process of completing a freelancer portal developed in PHP and 
I'd be interested in see what some of you think.

All comments welcome, but better to mail me direct than posting to the list.

Thanks.
Andrew
--- End Message ---
--- Begin Message ---
At first glance, I can say I like the look 'n' feel! :) Very clean and nice.

Good luck with it and may I join? ;)

Nicole
www.aeontrek.com


The Freelancernetwork Team wrote:
> D'oh! A link would help...
> 
> www.freelancernetwork.com/index.php
> 
> thanks again.....
> 
> ----- Original Message ----- 
> From: The FreelancerNetwork Team 
> To: [EMAIL PROTECTED] 
> Sent: Wednesday, May 15, 2002 3:27 PM
> Subject: php site: comments welcomed
> 
> 
> Hi,
> 
> we are currently in the process of completing a freelancer portal developed in PHP 
>and I'd be interested in see what some of you think.
> 
> All comments welcome, but better to mail me direct than posting to the list.
> 
> Thanks.
> Andrew
> 


--- End Message ---
--- Begin Message ---
Of course, those who wish to join the community are more than welcome.



-----Original Message-----
From: Nicole Amashta [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2002 15:38
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Fw: php site: comments welcomed

At first glance, I can say I like the look 'n' feel! :) Very clean and nice.
Good luck with it and may I join? ;)
Nicole

www.aeontrek.com



The Freelancernetwork Team wrote:
> D'oh! A link would help...
> 
> www.freelancernetwork.com/index.php
> 
> thanks again.....
> 
> ----- Original Message ----- 

> From: The FreelancerNetwork Team 
> To: [EMAIL PROTECTED] 
> Sent: Wednesday, May 15, 2002 3:27 PM
> Subject: php site: comments welcomed
> 
> 
> Hi,
> 
> we are currently in the process of completing a freelancer portal developed in PHP 
>and I'd be interested in see what some of you think.
> 
> All comments welcome, but better to mail me direct than posting to the list.
> 
> Thanks.
> Andrew
> 

-- 

PHP Windows Mailing List (http://www.php.net/)

To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Hello, again. And thanks for letting me join ...

I noticed some bugs on the profile form. It doesn't show the saved 
Country. And why does United States of America show up as "United"? And 
why no field for state? (We have states in the US, city alone isn't enough).

Also, is it very necessary to enter the password again (or even twice) 
on the profile to update if we're already logged in?

Just some thoughts on my experience with the site so far. I really love 
the desing. Very clean.


:)
Nicole Amashta
www.aeontrek.com

The Freelancernetwork Team wrote:
> Of course, those who wish to join the community are more than welcome.
> 
> 
> 
> -----Original Message-----
> From: Nicole Amashta [mailto:[EMAIL PROTECTED]]
> Sent: 15 May 2002 15:38
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Fw: php site: comments welcomed
> 
> At first glance, I can say I like the look 'n' feel! :) Very clean and nice.
> Good luck with it and may I join? ;)
> Nicole
> 
> www.aeontrek.com
> 
> 
> 
> The Freelancernetwork Team wrote:
> 
>>D'oh! A link would help...
>>
>>www.freelancernetwork.com/index.php
>>
>>thanks again.....
>>
>>----- Original Message ----- 
> 
> 
>>From: The FreelancerNetwork Team 
>>To: [EMAIL PROTECTED] 
>>Sent: Wednesday, May 15, 2002 3:27 PM
>>Subject: php site: comments welcomed
>>
>>
>>Hi,
>>
>>we are currently in the process of completing a freelancer portal developed in PHP 
>and I'd be interested in see what some of you think.
>>
>>All comments welcome, but better to mail me direct than posting to the list.
>>
>>Thanks.
>>Andrew
>>
> 
> 


--- End Message ---
--- Begin Message ---
is there somebody who can write few points why PHP is better than asp and
why is worse?

Thanks very much

Bitter
--- End Message ---
--- Begin Message ---
PRO PHP:
1) It's free
2) It's multiplatform
3) It's at leat 60% more quick than asp
4) It's open source
5) Not come from Microsoft
6) It's "little"
7) It's C/C++ and PERL sintax like
8) It's easy to learn
9) It can connect to the most used dbms in the world
10) It's cool and you can do also pizza with php!

-----Messaggio originale-----
Da: "Spychala, Wojciech" [mailto:[EMAIL PROTECTED]]
Inviato: mercoledi 15 maggio 2002 15.39
A: [EMAIL PROTECTED]
Oggetto: [PHP-WIN] ASP and PHP


is there somebody who can write few points why PHP is better than asp and
why is worse?

Thanks very much

Bitter

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

--- End Message ---
--- Begin Message ---
PHP contains many precompiled functions which you have to discover and then
create by hand in asp.

eg htmlspecialchars

++++ PLUS Many more ++++

Zac

-----Messaggio originale-----
Da: "Spychala, Wojciech" [mailto:[EMAIL PROTECTED]]
Inviato: mercoledi 15 maggio 2002 15.39
A: [EMAIL PROTECTED]
Oggetto: [PHP-WIN] ASP and PHP


is there somebody who can write few points why PHP is better than asp and
why is worse?

Thanks very much

Bitter

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

I have an instance where I have an article ($article) that may or may
not contain:

<a href="javascript:void(EXTERNALLINK('102'))">

There might be many occurrances of this substring in exactly the same
format but the id's will be unique with each occurance.

Can someone please show me how to extract the id's (in this case the
102) of the above string into an array?  I have been through the
documentation on substrings and regular expressions but I'm just not
getting it.

Thanks,
Ron
--- End Message ---
--- Begin Message ---


> -----Original Message-----
> From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] 
> 
> <a href="javascript:void(EXTERNALLINK('102'))">
> 
> There might be many occurrances of this substring in exactly the same
> format but the id's will be unique with each occurance.
> 
> Can someone please show me how to extract the id's (in this case the
> 102) of the above string into an array?  I have been through the
> documentation on substrings and regular expressions but I'm just not
> getting it.


This may not be the best way but you could use explode to get it into an
array and then use that as an varible.
http://se.php.net/manual/en/function.explode.php


$data =<a href="javascript:void(EXTERNALLINK('102'))">
$var = explode("'",$data);

$var['2'] would then be the id number (I cann't recall the function really
so I hope I didn't make any mistakes now =)

/brother
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: brother [mailto:[EMAIL PROTECTED]] 
> $var['2'] would then be the id number (I cann't recall the 
> function really
> so I hope I didn't make any mistakes now =)

$var['1'] is number two in the index, my bad.

/brother
--- End Message ---
--- Begin Message ---
If you want to use a regex to parse the string:

<a href="javascript:void(EXTERNALLINK('102'))">

and get back the ID portion, try doing this:

$strlink = "<a href=\"javascript:void(EXTERNALLINK('102'))\">";

## note, you may want to double check my regex syntax. but hopefully
## you will get the idea based on the explanation found in the
## <snip> explanation of the eregi function and the 3rd parameter
if ( eregi( "EXTERNALLINK\(\'([0-9]*)\'\)", $strlink, $arr ) )
{
        $ids[] = $arr[1];  ## fill the $ids array with the id
}
============see below for explanation about using the regex function
<snip src="http://www.php.net/manual/en/function.eregi.php";>
<info>
        eregi
        (PHP 3, PHP 4 >= 4.0.0)
        eregi -- case insensitive regular expression match
</info>

<syntax>
        int eregi ( string pattern, string string [, array regs])
</syntax>

<explanation>
If matches are found for parenthesized substrings of pattern and the 
function is called with the third argument regs, the matches will be 
stored in the elements of the array regs. $regs[1] will contain the 
substring which starts at the first left parenthesis; $regs[2] will 
contain the substring starting at the second, and so on. $regs[0] will 
contain a copy of the complete string matched.
</explanation>
<example>
if (ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $date, $regs)) {
     echo "$regs[3].$regs[2].$regs[1]";
} else {
     echo "Invalid date format: $date";
}
</example>
</snip>

Hope this helps somewhat or for other things,

Nicole
www.aeontrek.com
=======================

R.S. Herhuth wrote:
> I have an instance where I have an article ($article) that may or may
> not contain:
> 
> <a href="javascript:void(EXTERNALLINK('102'))">
> 
> There might be many occurrances of this substring in exactly the same
> format but the id's will be unique with each occurance.
> 
> Can someone please show me how to extract the id's (in this case the
> 102) of the above string into an array?  I have been through the
> documentation on substrings and regular expressions but I'm just not
> getting it.
> 
> Thanks,
> Ron


--- End Message ---
--- Begin Message ---
Check the error reporting directive in your php.ini configuration file
----- Original Message -----
From: "Alan Hale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Jeff Waldock" <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 1:58 AM
Subject: Re: [PHP-WIN] php_gd.dll and Windows XP


> I think this problem has been to do with configuration of the server
rather
> than PHP as such - phpinfo() was showing the extensions as installed.
>
> I've  downloaded the 4.2.1 Windows installer and run this. I also
downloaded
> the 4.2.1 zip file (which includes the extenion modules) and copied these
> out. Edited php.ini. Now extensions work  fine. But....
>
> I'm now getting "undefined variable" errors from my scripts, which I've
> never seen before.
>
> Alan
>
>
> ----- Original Message -----
> From: "Jeff Waldock" <[EMAIL PROTECTED]>
> To: "'Alan Hale'" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 14, 2002 10:23 PM
> Subject: RE: [PHP-WIN] php_gd.dll and Windows XP
>
>
> > Alan
> >
> > OK - Have you tried installing the new PHP 4.2.1 that has just been
> > released?  I note from the set of files included that this now does have
> > a php_gd.dll included.
> >
> > Jeff
> > |-----Original Message-----
> > |From: Alan Hale [mailto:[EMAIL PROTECTED]]
> > |Sent: 14 May 2002 19:46
> > |To: [EMAIL PROTECTED]
> > |Subject: Re: [PHP-WIN] php_gd.dll and Windows XP
> > |
> > |
> > |Thanks Jeff, but that's not it - php_gd2.dll did not come with
> > |the installation (I did in fact try downloading a copy into my
> > |extensions dir, and editing php.ini accordingly, but this
> > |worked no better).
> > |
> > |
> > |----- Original Message -----
> > |From: "Jeff Waldock" <[EMAIL PROTECTED]>
> > |To: "'Alan Hale'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > |Sent: Monday, May 13, 2002 7:33 PM
> > |Subject: RE: [PHP-WIN] php_gd.dll and Windows XP
> > |
> > |
> > |> Alan
> > |> I think the dll has been re-named to php_gd2.dll.  Just rename the
> > |> extension in your php.ini to this and re-start the web
> > |server and you
> > |> should find it works. Jeff
> > |>
> > |> |-----Original Message-----
> > |> |From: Alan Hale [mailto:[EMAIL PROTECTED]]
> > |> |Sent: 13 May 2002 18:24
> > |> |To: [EMAIL PROTECTED]
> > |> |Subject: [PHP-WIN] php_gd.dll and Windows XP
> > |> |
> > |> |
> > |> |I've recently upgraded to XP Pro from Windows Me. I previously had
> > |> |PHP running with the gd extension on Omnihttpd server, but
> > |found with
> > |> |the same configuration gd would not work (Error
> > |> |messages: First: " The procedure entry point add_assoc_long
> > |could not
> > |> |be located in the dll php4ts.dll" Then: "Unable to locate dll
> > |> |'c:\httpd\php\php_gd.dll' - the specified procedure could not be
> > |> |found".
> > |> |
> > |> |I've also tried installing with Easywindows on IIS - again, gd does
> > |> |not work (though no helpful error messages).
> > |> |
> > |> |So I'm coming to the conclusion there some incompatability
> > |between XP
> > |> |and the php_gd.dll. Does anyone have this working on XP? Can anyone
> > |> |suggest how I can fix this?
> > |> |
> > |> |Many thanks
> > |> |
> > |> |Alan Hale
> > |> |
> > |> |
> > |>
> > |
> > |
> > |--
> > |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 ---
Currently set to report all errors.

This seems to be a problem now with variables passed in query strings or
from forms not being sent (hence undefined). Other variables OK. So I guess
again it's something to do with the server settings, but I don't know how

----- Original Message -----
From: "RoboTeddy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 8:14 PM
Subject: Re: [PHP-WIN] php_gd.dll and Windows XP


> Check the error reporting directive in your php.ini configuration file
> ----- Original Message -----
> From: "Alan Hale" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; "Jeff Waldock" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 15, 2002 1:58 AM
> Subject: Re: [PHP-WIN] php_gd.dll and Windows XP
>
>
> > I think this problem has been to do with configuration of the server
> rather
> > than PHP as such - phpinfo() was showing the extensions as installed.
> >
> > I've  downloaded the 4.2.1 Windows installer and run this. I also
> downloaded
> > the 4.2.1 zip file (which includes the extenion modules) and copied
these
> > out. Edited php.ini. Now extensions work  fine. But....
> >
> > I'm now getting "undefined variable" errors from my scripts, which I've
> > never seen before.
> >
> > Alan
> >
> >
> > ----- Original Message -----
> > From: "Jeff Waldock" <[EMAIL PROTECTED]>
> > To: "'Alan Hale'" <[EMAIL PROTECTED]>
> > Sent: Tuesday, May 14, 2002 10:23 PM
> > Subject: RE: [PHP-WIN] php_gd.dll and Windows XP
> >
> >
> > > Alan
> > >
> > > OK - Have you tried installing the new PHP 4.2.1 that has just been
> > > released?  I note from the set of files included that this now does
have
> > > a php_gd.dll included.
> > >
> > > Jeff
> > > |-----Original Message-----
> > > |From: Alan Hale [mailto:[EMAIL PROTECTED]]
> > > |Sent: 14 May 2002 19:46
> > > |To: [EMAIL PROTECTED]
> > > |Subject: Re: [PHP-WIN] php_gd.dll and Windows XP
> > > |
> > > |
> > > |Thanks Jeff, but that's not it - php_gd2.dll did not come with
> > > |the installation (I did in fact try downloading a copy into my
> > > |extensions dir, and editing php.ini accordingly, but this
> > > |worked no better).
> > > |
> > > |
> > > |----- Original Message -----
> > > |From: "Jeff Waldock" <[EMAIL PROTECTED]>
> > > |To: "'Alan Hale'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
> > > |Sent: Monday, May 13, 2002 7:33 PM
> > > |Subject: RE: [PHP-WIN] php_gd.dll and Windows XP
> > > |
> > > |
> > > |> Alan
> > > |> I think the dll has been re-named to php_gd2.dll.  Just rename the
> > > |> extension in your php.ini to this and re-start the web
> > > |server and you
> > > |> should find it works. Jeff
> > > |>
> > > |> |-----Original Message-----
> > > |> |From: Alan Hale [mailto:[EMAIL PROTECTED]]
> > > |> |Sent: 13 May 2002 18:24
> > > |> |To: [EMAIL PROTECTED]
> > > |> |Subject: [PHP-WIN] php_gd.dll and Windows XP
> > > |> |
> > > |> |
> > > |> |I've recently upgraded to XP Pro from Windows Me. I previously had
> > > |> |PHP running with the gd extension on Omnihttpd server, but
> > > |found with
> > > |> |the same configuration gd would not work (Error
> > > |> |messages: First: " The procedure entry point add_assoc_long
> > > |could not
> > > |> |be located in the dll php4ts.dll" Then: "Unable to locate dll
> > > |> |'c:\httpd\php\php_gd.dll' - the specified procedure could not be
> > > |> |found".
> > > |> |
> > > |> |I've also tried installing with Easywindows on IIS - again, gd
does
> > > |> |not work (though no helpful error messages).
> > > |> |
> > > |> |So I'm coming to the conclusion there some incompatability
> > > |between XP
> > > |> |and the php_gd.dll. Does anyone have this working on XP? Can
anyone
> > > |> |suggest how I can fix this?
> > > |> |
> > > |> |Many thanks
> > > |> |
> > > |> |Alan Hale
> > > |> |
> > > |> |
> > > |>
> > > |
> > > |
> > > |--
> > > |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
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Blah, blah, blah, for the zillionth time, 4.2 turns register_globals off in 
the php.ini.  If you want to access the variables directly, turn on 
register_globals in your php.ini.  Otherwise, access them via one of the 
global arrays ($GLOBALS, $GET, $POST, etc).

At 09:16 PM 5/15/02 +0100, Alan Hale wrote:
>Currently set to report all errors.
>
>This seems to be a problem now with variables passed in query strings or
>from forms not being sent (hence undefined). Other variables OK. So I guess
>again it's something to do with the server settings, but I don't know how
>
>----- Original Message -----
>From: "RoboTeddy" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, May 15, 2002 8:14 PM
>Subject: Re: [PHP-WIN] php_gd.dll and Windows XP
>
>
> > Check the error reporting directive in your php.ini configuration file
> > ----- Original Message -----
> > From: "Alan Hale" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; "Jeff Waldock" <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 15, 2002 1:58 AM
> > Subject: Re: [PHP-WIN] php_gd.dll and Windows XP
> >
> >
> > > I think this problem has been to do with configuration of the server
> > rather
> > > than PHP as such - phpinfo() was showing the extensions as installed.
> > >
> > > I've  downloaded the 4.2.1 Windows installer and run this. I also
> > downloaded
> > > the 4.2.1 zip file (which includes the extenion modules) and copied
>these
> > > out. Edited php.ini. Now extensions work  fine. But....
> > >
> > > I'm now getting "undefined variable" errors from my scripts, which I've
> > > never seen before.
> > >
> > > Alan
> > >
> > >
> > > ----- Original Message -----
> > > From: "Jeff Waldock" <[EMAIL PROTECTED]>
> > > To: "'Alan Hale'" <[EMAIL PROTECTED]>
> > > Sent: Tuesday, May 14, 2002 10:23 PM
> > > Subject: RE: [PHP-WIN] php_gd.dll and Windows XP
> > >
> > >
> > > > Alan
> > > >
> > > > OK - Have you tried installing the new PHP 4.2.1 that has just been
> > > > released?  I note from the set of files included that this now does
>have
> > > > a php_gd.dll included.
> > > >
> > > > Jeff
> > > > |-----Original Message-----
> > > > |From: Alan Hale [mailto:[EMAIL PROTECTED]]
> > > > |Sent: 14 May 2002 19:46
> > > > |To: [EMAIL PROTECTED]
> > > > |Subject: Re: [PHP-WIN] php_gd.dll and Windows XP
> > > > |
> > > > |
> > > > |Thanks Jeff, but that's not it - php_gd2.dll did not come with
> > > > |the installation (I did in fact try downloading a copy into my
> > > > |extensions dir, and editing php.ini accordingly, but this
> > > > |worked no better).
> > > > |
> > > > |
> > > > |----- Original Message -----
> > > > |From: "Jeff Waldock" <[EMAIL PROTECTED]>
> > > > |To: "'Alan Hale'" <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>
> > > > |Sent: Monday, May 13, 2002 7:33 PM
> > > > |Subject: RE: [PHP-WIN] php_gd.dll and Windows XP
> > > > |
> > > > |
> > > > |> Alan
> > > > |> I think the dll has been re-named to php_gd2.dll.  Just rename the
> > > > |> extension in your php.ini to this and re-start the web
> > > > |server and you
> > > > |> should find it works. Jeff
> > > > |>
> > > > |> |-----Original Message-----
> > > > |> |From: Alan Hale [mailto:[EMAIL PROTECTED]]
> > > > |> |Sent: 13 May 2002 18:24
> > > > |> |To: [EMAIL PROTECTED]
> > > > |> |Subject: [PHP-WIN] php_gd.dll and Windows XP
> > > > |> |
> > > > |> |
> > > > |> |I've recently upgraded to XP Pro from Windows Me. I previously had
> > > > |> |PHP running with the gd extension on Omnihttpd server, but
> > > > |found with
> > > > |> |the same configuration gd would not work (Error
> > > > |> |messages: First: " The procedure entry point add_assoc_long
> > > > |could not
> > > > |> |be located in the dll php4ts.dll" Then: "Unable to locate dll
> > > > |> |'c:\httpd\php\php_gd.dll' - the specified procedure could not be
> > > > |> |found".
> > > > |> |
> > > > |> |I've also tried installing with Easywindows on IIS - again, gd
>does
> > > > |> |not work (though no helpful error messages).
> > > > |> |
> > > > |> |So I'm coming to the conclusion there some incompatability
> > > > |between XP
> > > > |> |and the php_gd.dll. Does anyone have this working on XP? Can
>anyone
> > > > |> |suggest how I can fix this?
> > > > |> |
> > > > |> |Many thanks
> > > > |> |
> > > > |> |Alan Hale
> > > > |> |
> > > > |> |
> > > > |>
> > > > |
> > > > |
> > > > |--
> > > > |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
> > >
> >
> >
> > --
> > 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


-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]

--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Mike Flynn [mailto:[EMAIL PROTECTED]] 
> Sent: den 15 maj 2002 22:59
> To: Alan Hale; RoboTeddy; [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] Undefined variables (was php_gd.dll 
> and Windows XP)
> 
> 
> Blah, blah, blah, for the zillionth time, 4.2 turns 
> register_globals off in 
> the php.ini.  If you want to access the variables directly, turn on 
> register_globals in your php.ini.  Otherwise, access them via 
> one of the 
> global arrays ($GLOBALS, $GET, $POST, etc).

$_GLOBALS, $_GET, $_POST, etc

/brother
--- End Message ---
--- Begin Message ---
If you don't want to install that god-awful MS SQL thing,
MySQL is free, open-source, and runs on Win32 platforms
(and is a snap to install)

Just have it running as a service on whatever computer
you need to access it on... plug in the IP, name,
password, and you're good to go.  I do all my development
locally using PHP+Mysql on a windows machine before
uploading to a linux server.

> -----Original Message-----
> From: Nicole Amashta [mailto:[EMAIL PROTECTED]]
> Subject: [PHP-WIN] php 4.2 and database conn
> 
> I have recently installed PHP 4.2 on a server running win2k. 
> There is no 
> SQL Server database running on this particular machine. I want to 
> connect to an SQL Server DB on another machine on the same network.
> 
> Now, do I need to have atleast the client tools installed in 
> order to do 
> this? Or, can I just setup an ODBC source? Because they (my 
> coworkers) 
> don't want to install SQLServer2k on the machine (running the 
> PHP). (I 
> have the php_mssql.dll enabled).
> 
> Any suggestions to get around not having to install any 
> additional files 
> in order to connect to an SQLServer2k database?
> 
> I notice I am also having trouble connecting to MySQL which is on the 
> same machine as PHP4.2.  I have register globals on.
> 
> I'm used to PHP 4.0.6. But I need to get up to speed with the 
> last PHP. 
> I just need to know if I am overlooking something in the PHP.ini file.
> 
> Thanks in advance for any ideas!
> 
> Nicole
> www.aeontrek.com
--- End Message ---
--- Begin Message ---
Thanks, I'm set.

I use both MySQL and SQL Server.

-nicole
www.aeontrek.com

Scott Hurring wrote:
> If you don't want to install that god-awful MS SQL thing,
> MySQL is free, open-source, and runs on Win32 platforms
> (and is a snap to install)
> 
> Just have it running as a service on whatever computer
> you need to access it on... plug in the IP, name,
> password, and you're good to go.  I do all my development
> locally using PHP+Mysql on a windows machine before
> uploading to a linux server.
> 
> 
>>-----Original Message-----
>>From: Nicole Amashta [mailto:[EMAIL PROTECTED]]
>>Subject: [PHP-WIN] php 4.2 and database conn
>>
>>I have recently installed PHP 4.2 on a server running win2k. 
>>There is no 
>>SQL Server database running on this particular machine. I want to 
>>connect to an SQL Server DB on another machine on the same network.
>>
>>Now, do I need to have atleast the client tools installed in 
>>order to do 
>>this? Or, can I just setup an ODBC source? Because they (my 
>>coworkers) 
>>don't want to install SQLServer2k on the machine (running the 
>>PHP). (I 
>>have the php_mssql.dll enabled).
>>
>>Any suggestions to get around not having to install any 
>>additional files 
>>in order to connect to an SQLServer2k database?
>>
>>I notice I am also having trouble connecting to MySQL which is on the 
>>same machine as PHP4.2.  I have register globals on.
>>
>>I'm used to PHP 4.0.6. But I need to get up to speed with the 
>>last PHP. 
>>I just need to know if I am overlooking something in the PHP.ini file.
>>
>>Thanks in advance for any ideas!
>>
>>Nicole
>>www.aeontrek.com
> 


--- End Message ---
--- Begin Message ---
Please can anyone tell me how to cope with IE6 showing files after browsing
with <input type="file" ....

The files are always shown with backslashes.

On the next page $_FILES["file"]["name"] will only have the full
drive\dir\file path if the backslashes are converted manually to forward
slashes.

The input field is read only as far a javascript is concerned, so I cannot
do anything there.

Does anyone have any ideas please.

Thanks

BOb



--- End Message ---

Reply via email to