php-windows Digest 28 Jun 2002 04:12:06 -0000 Issue 1214

Topics (messages 14440 through 14451):

Anyone who failed inst PHP on Apache2 on Win read this !!
        14440 by: Marcin Królikowski

Upper
        14441 by: Saci
        14442 by: Jesper Brunholm
        14449 by: Saci

Re: cookies in windows
        14443 by: Daniel Berwig
        14444 by: michael

Urgent!!!!
        14445 by: milton.ucol.mx
        14446 by: Asendorf, John

File upload
        14447 by: Daniel Berwig

More sites
        14448 by: Jan - CWIZO
        14450 by: Peter

php templates ??????
        14451 by: toby z

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 ---
It helped !!!

"Steve Parrish" <[EMAIL PROTECTED]> napisa³ w wiadomo¶ci
news:<p05100301b93be18f57b7@[66.136.32.169]>...

> > Are you running Apache 2.0.39? What is the error? It helps to share

> this info when seeking assistance. :)

>

> I'll guess that you need an updated php4apache2.dll.

>

> You can get a replacement php4apache2.dll here:

> <http://ftp.proventum.net/pub/php/win32/php4.2.x-apache2.zip>

>

> That worked for me. Thanks to Matt Parlane, who recently posted a

> message with this info.

>

> HIH,

>

> Steve Parrish

> --

> <mailto:[EMAIL PROTECTED]>



--- End Message ---
--- Begin Message ---
I have one variable with "Abcdef"

And i need a function to convert all characteres  to uppercase

For exemple

$myvar = ""Abcdef";
$myuppedvar = upper($myvar);
echo "$myuppedvar"  // must show ABCDEF

The function upper does not exist in PHP ( This is a Delphi one)  .
I would like to know what is the equivalent function who transforms any
string in uppercase string ?



--- End Message ---
--- Begin Message ---
Saci wrote:
> I have one variable with "Abcdef"
> 
> And i need a function to convert all characteres  to uppercase

try looking at strtoupper() in the manual

regards

Jesper Brunholm

-- 
Phønix - Danish folk music from young musicians - http://www.phonixfolk.dk


--- End Message ---
--- Begin Message ---
Thank you is the rigth one.



--- End Message ---
--- Begin Message ---
Wich of the serers is using which configuration for session.save_path?
I your local sever is using session.save_path - /tmp, then try using an
absolute path, like "C:\Temp", but make sure the directory exists.

And I know it may sound a little obvious, but take a look at your php.ini
file and make sure it is configured like this:
session.use_cookies = 1

Please let me know if you've got to solve the problem.


Best Regards,

Daniel Berwig.



"Michael" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > My guess is that it's register_globals related.
> > Your code is not the only variable when moving from server to server.
> Check the
> > PHP version on the other server and also compare your register_globals
> setting
> > to theirs.
>
> They're all the same. Both are version 4.2.1 and register_blobals is set
to
> On.
> If I look at the Session part of phpinfo() I see 2 differences between the
> servers:
> 1. session.save_path - /tmp and c:\winnt\temp
> 2. session.use_trans_sid - only on localhost
>
> Any other suggestions?
>
> --
> . : . : . : . : . : . : . : . : . : . : . : . : . : .
> michael ericsson
> [EMAIL PROTECTED]
>
>
> "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
> >
> > > I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with
> php
> > > but I can't set a cookie. There is no error message or anything, only
no
> > > cookie. Does anyone have an idea what might be wrong?
> >
> > My guess is that it's register_globals related.
> >
> > > There's nothing wrong in my code cause it works fine on another
server,
> just
> > > not on localhost.
> >
> > Your code is not the only variable when moving from server to server.
> Check the
> > PHP version on the other server and also compare your register_globals
> setting
> > to theirs.
> >
> > --
> > Stuart
> >
>
>


--- End Message ---
--- Begin Message ---
> Wich of the serers is using which configuration for session.save_path?
> I your local sever is using session.save_path - /tmp, then try using an
> absolute path, like "C:\Temp", but make sure the directory exists.
Localhost has c:\winnt\temp and that folder is set for everyone to do
everything
The server that it works on is set to /tmp.

> And I know it may sound a little obvious, but take a look at your php.ini
> file and make sure it is configured like this:
> session.use_cookies = 1
It sound obvious, and it is set to 1. But hey, you'll never know. I've done
worse misstakes than that  ;)

I haven't solved it yet. I don't know what to do anymore. Someone must know
what my problem is... I hope.

Thx anyway. I'll let you know if I solve it.

--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
[EMAIL PROTECTED]


"Daniel Berwig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Wich of the serers is using which configuration for session.save_path?
> I your local sever is using session.save_path - /tmp, then try using an
> absolute path, like "C:\Temp", but make sure the directory exists.
>
> And I know it may sound a little obvious, but take a look at your php.ini
> file and make sure it is configured like this:
> session.use_cookies = 1
>
> Please let me know if you've got to solve the problem.
>
>
> Best Regards,
>
> Daniel Berwig.
>
>
>
> "Michael" <[EMAIL PROTECTED]> escreveu na mensagem
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > My guess is that it's register_globals related.
> > > Your code is not the only variable when moving from server to server.
> > Check the
> > > PHP version on the other server and also compare your register_globals
> > setting
> > > to theirs.
> >
> > They're all the same. Both are version 4.2.1 and register_blobals is set
> to
> > On.
> > If I look at the Session part of phpinfo() I see 2 differences between
the
> > servers:
> > 1. session.save_path - /tmp and c:\winnt\temp
> > 2. session.use_trans_sid - only on localhost
> >
> > Any other suggestions?
> >
> > --
> > . : . : . : . : . : . : . : . : . : . : . : . : . : .
> > michael ericsson
> > [EMAIL PROTECTED]
> >
> >
> > "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
> > >
> > > > I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine
with
> > php
> > > > but I can't set a cookie. There is no error message or anything,
only
> no
> > > > cookie. Does anyone have an idea what might be wrong?
> > >
> > > My guess is that it's register_globals related.
> > >
> > > > There's nothing wrong in my code cause it works fine on another
> server,
> > just
> > > > not on localhost.
> > >
> > > Your code is not the only variable when moving from server to server.
> > Check the
> > > PHP version on the other server and also compare your register_globals
> > setting
> > > to theirs.
> > >
> > > --
> > > Stuart
> > >
> >
> >
>
>


--- End Message ---
--- Begin Message ---
I use :
Server:window 2000 server 
IIS 5.0
PHP version :php-4.2.1-Win32
set DSN in Data Source(ODBC).User DSN =test and point to
Microsoft Access (*.mdb)   when i use this code

 
$con=odbc_connect("ingles","","",SQL_CUR_USE_ODBC);
  
It has error :
Warning: SQL error: [Microsoft][Administrador de controladores ODBC] No se 
encuentra el nombre del origen de datos y no se especificó ningún controlador 
predeterminado, SQL state IM002 in SQLConnect in c:\inetpub\wwwroot\hola.php on

line 2

I DSN Ingles Work Fine, I revice all documentation in the site but, I can't 
make work. Please Help me.
--- End Message ---
--- Begin Message ---
Can you give us "line 2"  My guess is that you either have a bad DSN or a
bad line in the connect string.

---------------------
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 2:18 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Urgent!!!!
> 
> 
> I use :
> Server:window 2000 server 
> IIS 5.0
> PHP version :php-4.2.1-Win32
> set DSN in Data Source(ODBC).User DSN =test and point to
> Microsoft Access (*.mdb)   when i use this code
> 
>  
> $con=odbc_connect("ingles","","",SQL_CUR_USE_ODBC);
>   
> It has error :
> Warning: SQL error: [Microsoft][Administrador de 
> controladores ODBC] No se 
> encuentra el nombre del origen de datos y no se especificó 
> ningún controlador 
> predeterminado, SQL state IM002 in SQLConnect in 
> c:\inetpub\wwwroot\hola.php on
> 
> line 2
> 
> I DSN Ingles Work Fine, I revice all documentation in the 
> site but, I can't 
> make work. Please Help me.
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
--- End Message ---
--- Begin Message ---
I'm trying to make an upload trough a html form to a php script, but if the
file is bigger than 1024k, when I submit the form, the borwser simply goes
instantly to a page like:

res://C:\WINNT\System32\shdoclc.dll/dnserror.htm#http://192.168.0.15/test.ph
p

I've found out that the problem is not with my php or my config. It happens
anywhere, even in, for example, Hotmail.
I'm expiriencing this in Internet Explorer 5, 5.5 and 6.
When using Netscape, I get this error message:


ERROR
The requested URL could not be retrieved

----------------------------------------------------------------------------
----

While trying to retrieve the URL: http://192.168.0.15/teste.php

The following error was encountered:

  a.. The request or reply is too large.
  If you are making a POST or PUT request, then your request body (the thing
you are trying to upload) is too large. If you are making a GET request,
then the reply body (what you are trying to download) is too large. These
limits have been established by the Internet Service Provider who operates
this cache. Please contact them directly if you feel this is an error.

Your cache administrator is webmaster.



----------------------------------------------------------------------------
----
Generated Thu, 27 Jun 2002 19:35:05 GMT by www.hitec.com.br
(Squid/2.4.STABLE1)



Any ideas?

Thanks in advance and Best regards,

Daniel Berwig


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



I have apache installeted on my computer.
And I am using the www.dns2go.com software, so I have a domain 
(www.cwizo.d2g.com)

Is there any wey that I woudl have 2 difrent domains pointing to my adress, 
so one would display one page, and the other domain woudl display the other 
page.


IS this posible ?



LP
JaN
www.3delavnica.com
www.ks-con.si

--- End Message ---
--- Begin Message ---
It depends.
If you have a domain linked to your IP address then you're only going to be
able to see what's at that IP.
If you use some kind of domain forwarding (i.e frames, meta refresh tag or
PHP header(Location: xxx)) then you could have each domain linking to a
redirection page, and each redirection page linking to a different page on
your server, just type in the full URL.
Alternatively, I'm sure you could cook up a script that detects what domain
was typed in, and have the script redirect you to the appropriate page.


"Jan - Cwizo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
>
>
> I have apache installeted on my computer.
> And I am using the www.dns2go.com software, so I have a domain
> (www.cwizo.d2g.com)
>
> Is there any wey that I woudl have 2 difrent domains pointing to my
adress,
> so one would display one page, and the other domain woudl display the
other
> page.
>
>
> IS this posible ?
>
>
>
> LP
> JaN
> www.3delavnica.com
> www.ks-con.si
>


--- End Message ---
--- Begin Message ---
hi guyz 

i just read something about templates
& im trying to make this example in professional php
programming (wrox)

but i keep getting these errors:


Warning: Failed opening 'class.FastTemplate.php' for
inclusion
(include_path='C:\WINDOWS\system32\inetsrv\php\pear')
in e:\final project\zroot\temptry.php on line 4

Fatal error: Cannot instantiate non-existent class:
fasttemplate in e:\final project\zroot\temptry.php on
line 6

the code is :



<?php
        include "class.FastTemplate.php";

        $tpl = new FastTemplate(" . ");

        $tpl->define (array(
        
                        "toplevel" => "toplevel.tpl"));

        $tpl->assign("TITLE","zzz");

        $tpl->assign("CONTENT","fill it up ");

        $tpl->parse("MAIN","toplevel");

        $tpl->FastPrint();



?>



i ve just a littlt bit of programming experience
so pardon me for my ignorence


thnx a million in advance ....

toby .....

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--- End Message ---

Reply via email to