php-windows Digest 9 Nov 2001 13:41:24 -0000 Issue 845
Topics (messages 10310 through 10319):
Building on Windows without MS Visual C++
10310 by: David Broker
building with msvc
10311 by: Martin Lindhe
10312 by: Martin Lindhe
php 4.0.8dev and apache 1.3.22
10313 by: Martin Lindhe
10314 by: Martin Lindhe
Download System
10315 by: GK
10316 by: Ross Fleming
10319 by: GK
Variables
10317 by: Harry
10318 by: Martin Lindhe
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 would like to know if it is possible to build with Borland C++ Builder,
instead of MS Visual C++.
As I can seem to figure it out i was wonder if it were possible, and if so are
there any detailed instructions anywhere?
Regards,
David
--- End Message ---
--- Begin Message ---
hello!
i've poked around trying to build the latest php4 snapshot from
snaps.php.net with msvc 6, and i've run in some troubles. first i realized i
needed bison, so i installed cygwin. later on in the build it complained
about arpa\inet.h which i realized was in c:\cygwin\usr\include\arpa\inet.h,
so i added c:\cygwin\usr\include to the include path in the msvc options and
got shitloads of errors. Could anyone please point me to any info about how
to build the msvc port please?
Btw i tried to build php4dll.dsp
/Martin
--- End Message ---
--- Begin Message ---
excuse me for my last post, I should of course have looked in the manual at
the first place, I found what I needed at
http://www.php.net/manual/en/install.windows.php#install.windows.build
> -----Original Message-----
> From: Martin Lindhe
> Sent: Friday, November 09, 2001 9:43 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] building with msvc
>
>
> hello!
>
> i've poked around trying to build the latest php4 snapshot
> from snaps.php.net with msvc 6, and i've run in some
> troubles. first i realized i needed bison, so i installed
> cygwin. later on in the build it complained about arpa\inet.h
> which i realized was in c:\cygwin\usr\include\arpa\inet.h,
> so i added c:\cygwin\usr\include to the include path in the
> msvc options and got shitloads of errors. Could anyone please
> point me to any info about how to build the msvc port please?
>
> Btw i tried to build php4dll.dsp
>
> /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'm trying to set up php 4.0.8dev from www.php4win.com under apache 1.3.22,
I have successfully run the php 4.0.8dev under apache 1.3.20 but now when I
switched to apache 1.3.22, errors are showing up. When I start apache (NET
START APACHE) no error ouput, but in logs\error.log I get this:
[Fri Nov 09 11:06:33 2001] [error] Cannot remove module mod_php4.c: not
found in module list
in httpd.conf I have done the usual configuration (that worked for me in
1.3.20):
LoadModule php4_module C:/php408dev/sapi/php4apache2.dll
AddType application/x-httpd-php .php
Anyone have a clue what im doing wrong?
/Martin
--- End Message ---
--- Begin Message ---
hm, a
AddModule mod_php4.c
fixed the problem
> -----Original Message-----
> From: Martin Lindhe
> Sent: Friday, November 09, 2001 11:25 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] php 4.0.8dev and apache 1.3.22
>
>
> I'm trying to set up php 4.0.8dev from www.php4win.com under
> apache 1.3.22, I have successfully run the php 4.0.8dev under
> apache 1.3.20 but now when I switched to apache 1.3.22,
> errors are showing up. When I start apache (NET START APACHE)
> no error ouput, but in logs\error.log I get this:
>
> [Fri Nov 09 11:06:33 2001] [error] Cannot remove module
> mod_php4.c: not found in module list
>
> in httpd.conf I have done the usual configuration (that
> worked for me in
> 1.3.20):
>
> LoadModule php4_module C:/php408dev/sapi/php4apache2.dll
> AddType application/x-httpd-php .php
>
> Anyone have a clue what im doing wrong?
>
> /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 ---
Hello guys,
I'm running PHP on Apache on a Linux system. I would like to check where the
requests come from before allowing users to download a particular file. For
example, if the request comes from http://abc.domain.com/ then allow the
user to download the file, else the user cannot access the file. I wonder if
it can be achieved by PHP?
Thanking you in advance.
Kent
--- End Message ---
--- Begin Message ---
$HTTP_REFERER holds the address that the browser was referred from. This is
an apache variable that PHP has access to.
Be aware though, that this variable should be set by the users browser, and
not all browsers do that...
Ross
-----Original Message-----
From: GK [mailto:[EMAIL PROTECTED]]
Sent: 09 November 2001 11:57
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Download System
Hello guys,
I'm running PHP on Apache on a Linux system. I would like to check where the
requests come from before allowing users to download a particular file. For
example, if the request comes from http://abc.domain.com/ then allow the
user to download the file, else the user cannot access the file. I wonder if
it can be achieved by PHP?
Thanking you in advance.
Kent
--
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 ---
Hi Ross,
I'm sorry, would you please further explain?
Kent
"Ross Fleming" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> $HTTP_REFERER holds the address that the browser was referred from. This
is
> an apache variable that PHP has access to.
>
> Be aware though, that this variable should be set by the users browser,
and
> not all browsers do that...
>
> Ross
>
> -----Original Message-----
> From: GK [mailto:[EMAIL PROTECTED]]
> Sent: 09 November 2001 11:57
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Download System
>
>
> Hello guys,
> I'm running PHP on Apache on a Linux system. I would like to check where
the
> requests come from before allowing users to download a particular file.
For
> example, if the request comes from http://abc.domain.com/ then allow the
> user to download the file, else the user cannot access the file. I wonder
if
> it can be achieved by PHP?
> Thanking you in advance.
>
> Kent
>
>
>
>
> --
> 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 ---
Could anyone tell me, why my variables are not valid anymore in an included
file. They should, or? I tryed anything.
Thanks, Harry
begin 666 Tabelle_vergleichen.php4
M/#]P:' -"B1S97)V97(](")S97)V97(B.R @(" @#0HD=7-E<CT@(G5S97([
M(" @(" @(" @(" @( T*)'!A<W-W;W)T/2 B<&%S<W=O<G0B.R @(" @(" @
M( T*)&1A=&5N8F%N:ST@(F1B(CL@(" @(" @#0HD=&%B96QL93T@(G1A8F5L
M;&4B.R )(" @(" @( T*#0HO*B!A8V-E<W,@=&AE(&1A=&%B87-E("HO( T*
M35E344Q?0T].3D5#5"@D<V5R=F5R+" D=7-E<BP@)'!A<W-W;W)T*2!O<B!D
M:64@*" B/$@S/DYO="!F;W5N9"$\+T@S/B(I.PT*#0H-"B\J(&5X8VAA;F=E
M(%9A;'5E<R J+PT*)$QO9VEN7T5I;F=A8F4](&EM<&QO9&4H(B(L(&9I;&4H
M(FAT=' Z+R]W=W<N861R97-S+F-O;2(I*3L-"@EF;W)E86-H*"1(5%107U!/
M4U1?5D%24R!A<R D:V5Y/3X@)'9A;"D@>R1,;V=I;E]%:6YG86)E/2!S=')?
M<F5P;&%C92@B/"1K97D^(BP@)'9A;"P@)$QO9VEN7T5I;F=A8F4I.WT-"B10
M87-S=V]R=%]%:6YG86)E/2!I;7!L;V1E*"(B+"!F:6QE*")H='1P.B\O=W=W
M+F%D<F5S<R]A;GEF:6QE+FAT="(I*3L-"@EF;W)E86-H*"1(5%107U!/4U1?
M5D%24R!A<R D:V5Y/3X@)'9A;"D@>R1087-S=V]R=%]%:6YG86)E/2!S=')?
M<F5P;&%C92@B/"1K97D^(BP@)'9A;"P@)%!A<W-W;W)T7T5I;F=A8F4I.WT-
M"@T*35E344Q?4T5,14-47T1"*"1D871E;F)A;FLI(&]R(&1I92 H("(\2#,^
M4V5R=F5R(&1O=VXA(%1R>2!L871E<B$\+T@S/B(I.PT*#0HO*B!C:&5C:VEN
M9R!I;G!U=" @*B\@(" @(" @(" @(" @(" @(" @( T*)')E<W5L=#U-65-1
M3%]1545262@@(E-%3$5#5"!L;V=I;BP@<&%S<W=O<G0-"B @(" @(" @(" @
M(" @(" @(" @("!&4D]-("1T86)E;&QE( T*(" @(" @(" @(" @(" @(" @
M(" @(%=(15)%("AL;V=I;B ]("<D3&]G:6Y?16EN9V%B92<@04Y$('!A<W-W
M;W)T(#T@)R1087-S=V]R=%]%:6YG86)E)R I(" -"B @(" @(" @(" @(" @
M(" @(" @("(I($]2($1)12 H)%!A<W-&[EMAIL PROTECTED] -"@T*)&YU;2 ](&UY
M<W%L7VYU;7)O=W,H)')E<W5L="D[#0H-"B\J(&-O;7!A<F4@:6YP=70@*B\-
M"FEF("@D;G5M/#$I('L@:6YC;'5D92@B:'1T<#HO+W=W=RYA9')E<W,O86YY
M9FEL92YH=&TB*3L-"B @(" @(" @(" @(" @(" -"B @(" @(" @?2!E;'-E
M('L@:6YC;'5D92@B:'1T<#HO+W=W=RYA9')E<W,O86YY;W1H97)F:6QE+G!H
G<"(I.PT*(" @(" @("!](" -"@T*35E344Q?0TQ/4T4H*3L-"C\^
`
end
--- End Message ---
--- Begin Message ---
> Could anyone tell me, why my variables are not valid anymore
> in an included file. They should, or? I tryed anything.
>
> Thanks, Harry
What do you mean by anymore? Have you upgraded PHP? What version are you
running, have you changed php.ini configuration?
Can you provide an example?
/Martin
--- End Message ---