[PHP] Re: website tree
Alain Roger escreveu: Hi, let's imaging we have the following thing : www.mywebsite.com/company/index.php www.mywebsite.com/company/profile.php www.mywebsite.com/services/index.php how can i detect in which address am i ? for example how to retrieve www.mywebsite.com/services or www.mywebsite.com/company There are many methods like using the $_SERVER variable (auto generated) $_SERVER['REQUEST_URI'] or $_SERVER['SCRIPT_NAME'] Try this and tell us :) Breno -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Compile with GD TTF FREETYPE
Hello, I am trying compile my php-4.2.3 with FreeType Support enabled FreeType Linkage with TTF library ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-mysql =/usr/local/mysql --with-gd --enable-gd-native-ttf --with-ttf --disable-mbs tr-enc-trans --with-freetype-dir=/usr But, with the directives that I put I only have getting: FreeType Support enabled FreeType Linkage with freetype I need the FreeType with support TTFLibrary What did I make wrong in the compilation? Breno Cardoso perucchi [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Png Could not find/open font
How I can resolve this ? This is my configuration of php (phpinfo) Somebody can help me ? This is very important GD GD Support enabled GD Version bundled (2.0 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled PNG Support enabled WBMP Support enabled Warning: Could not find/open font in /usr/home/hosting/b4u/public_html/congressos/fenasoft/ProgramacaoListar.php on line 5 ?PNG IHDRj+¹¦ËPLTEÎÁ´Ï¿ÊÈÈTÌÁ_%Y)IDATxocP"0(" ~" "I×e¨Ä@º&cãQ]£ºFuê¢".*Y"â@uPIEND®B`, Breno [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] True type font errors . Help me
Hello, I am one week recompiling source of php-4.2.3 to put support TTF I am having problem with gd true type font . I've been trying execute this php. But, always show me this error Warning: Could not find/open font in /usr/home/hosting/b4u/public_html/congressos/fenasoft/ProgramacaoListar.php on line 5 ?PNG IHDRj+¹¦ËPLTEÎÁ´Ï¿ÊÈÈTÌÁ_%Y)IDATxocP"0(" ~" "I×e¨Ä@º&cãQ]£ºFuê¢".*Y"â@uPIEND®B`, This is my phpinfo GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with freetype I found a webhosting that function my php.This is php configuration of webhosting GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with TTF library Thanks for help me. Breno [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Which is the difference
I am using the first example in my config file. I would like to know the difference between both ? php_admin_value open_basedir "/home/test" php_admin_value safe_mode_include_dir "/home/test" Respectfully Breno Cardoso Perucchi [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Two version of php in the same system
It have some order for installation of the versions of PHP? First 4.03 Second 4.22 or First install 4.22 Second 4.03 You showed as installing version of php for Windows ? That go work with system Linux and FreeBSD ? Below this configuration of systems Linux and FreeBSD AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps Thanks for your help again "Breno Cardoso Perucchi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > You think what exist a order for to install versions of php ? > > Thanks for your help > > "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]... > > Hi Breno: > > > > On Tue, Aug 06, 2002 at 02:20:19AM -0300, Breno Cardoso Perucchi wrote: > > > Exists some way of to have 2 different versions in the same system ? > > > I am trying to running the version 4.2.2 and 4.0.3 . > > > > Sure. Install them in separate directories. In this example, > > /usr/local/bin/php has two sub directories, ver403 and ver422. > > > > Then, in httpd.conf, put: > > > >Action application/x-httpd-php403 "/php403/php.exe" > >ScriptAlias /php403/ "/usr/local/bin/php/ver403" > > > >Action application/x-httpd-php "/php422/php.exe" > >ScriptAlias /php422/ "/usr/local/bin/php/ver422" > > > > > > Now, in your various directories, use .htaccess files to control which > > version is to be called: > > > >AddType application/x-httpd-php403 .html > >AddType application/x-httpd-php .php > > > > Modify everything above to suit your real needs. > > > > --Dan > > > > -- > >PHP classes that make web design easier > > SQL Solution | Layout Solution | Form Solution > > sqlsolution.info | layoutsolution.info | formsolution.info > > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > > 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Two version of php in the same system
This It is command for installing in another directory. You think this is correct ? ./configure --prefix=/usr/local/php/ver403 --with-config-file-path=/usr/loca l/php/ver403/etc --with-exec-dir=/usr/local/php/ver403 --with-mysql --with-m ysql=/usr/local/mysql Sorry to inconveniencing "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sat, Aug 10, 2002 at 02:34:30AM -0300, Breno Cardoso Perucchi wrote: > > It have some order for installation of the versions of PHP? > > First 4.03 > > Second 4.22 > > > > or > > > > First install 4.22 > > Second 4.03 > > Does not matter. > > > > You showed as installing version of php for Windows ? > > That go work with system Linux and FreeBSD ? > > Does not matter. > > > > Below this configuration of systems Linux and FreeBSD > > > > AddType application/x-httpd-php .php .php4 .php3 .phtml > > So, change that, and the other things I said, to what I said in my first > email. > > --Dan > > -- >PHP classes that make web design easier > SQL Solution | Layout Solution | Form Solution > sqlsolution.info | layoutsolution.info | formsolution.info > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Two version of php in the same system
I did all things that you talked. I put below in my httpd.conf those lines. Thanks AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Action application/x-httpd-php403 "/ver403/php" ScriptAlias /ver403/ "/usr/local/php/ver403/bin" AddType application/x-httpd-php403 .php3 AddType application/x-httpd-php .php Not Found The requested URL /ver403/php/index.php3 was not found on this server. Apache/1.3.26 Server at "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hi Breno: > > On Tue, Aug 06, 2002 at 02:20:19AM -0300, Breno Cardoso Perucchi wrote: > > Exists some way of to have 2 different versions in the same system ? > > I am trying to running the version 4.2.2 and 4.0.3 . > > Sure. Install them in separate directories. In this example, > /usr/local/bin/php has two sub directories, ver403 and ver422. > > Then, in httpd.conf, put: > >Action application/x-httpd-php403 "/php403/php.exe" >ScriptAlias /php403/ "/usr/local/bin/php/ver403" > >Action application/x-httpd-php "/php422/php.exe" >ScriptAlias /php422/ "/usr/local/bin/php/ver422" > > > Now, in your various directories, use .htaccess files to control which > version is to be called: > >AddType application/x-httpd-php403 .html >AddType application/x-httpd-php .php > > Modify everything above to suit your real needs. > > --Dan > > -- >PHP classes that make web design easier > SQL Solution | Layout Solution | Form Solution > sqlsolution.info | layoutsolution.info | formsolution.info > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] LIB PHP V4.0.3 - Construction of GIF that the versions recent PHP doesn't have
Hello, In the version 4.0.3 a library that made construction gif existed. You were able to to manipulate or to create a gif. In them version superiors that Lib stopped doing part of PHP. Somebody could tell me that could do to solve my problem with the version of most recent Php. thanks Breno Cardoso Perucchi [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Session 4.2.2
I would like to know if there are any changes on session of PHP between the version 4.1.0 and 4.2.2? Thanks. Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Session 4.2.2
Hi, Do you have an example? Thanks. "Breno Cardoso Perucchi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to know if there are any changes on session of PHP between the > version 4.1.0 and 4.2.2? > > Thanks. > > Breno Cardoso Perucchi > [EMAIL PROTECTED] > Consultor - Omega Tecnologia > http://www.omegatec.net/ > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PERMISSIONS
HI, I am trying to use a script php with the command: system("mkdir /home/hosting/test"); but the PERMISSION IS DENIED and I am the root on my server. How I change the user to root? Thanks -- Atenciosamente Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PERMISSIONS
I know, but how I change to root user? -- Atenciosamente Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ "Adam Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > you don't. php/apache run as the user nobody for security purposes. > > Adam > > On Thu, 12 Sep 2002, Breno Cardoso Perucchi wrote: > > > HI, > > I am trying to use a script php with the command: > > system("mkdir /home/hosting/test"); > > but the PERMISSION IS DENIED and I am the root on my server. > > > > How I change the user to root? > > > > Thanks > > > > -- > > Atenciosamente > > > > Breno Cardoso Perucchi > > [EMAIL PROTECTED] > > Consultor - Omega Tecnologia > > http://www.omegatec.net/ > > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Execution
Somebody knows as doing an execution of a program in real time, in the moment what this being executed in the system? []s Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General 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]
[PHP] Execution
Somebody knows as doing an execution of a program in real time, in the moment what this being executed in the system? []s Breno Cardoso Perucchi [EMAIL PROTECTED] Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General 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]