php-general Digest 9 Oct 2005 09:35:00 -0000 Issue 3727
Topics (messages 223777 through 223780):
Re: per user php.ini
223777 by: Rory Browne
Freetype and JPEG disabled
223778 by: Feris Thia C.
223780 by: cc
Re: Dynamic sub directory listing without redirect
223779 by: Philip Hallstrom
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 ---
why not upload a phpinfo() file and see?
I'm personally not quite sure how this would work, and I'm interested
in finding out.
On 10/8/05, James Benson <[EMAIL PROTECTED]> wrote:
> Hey everyone, probably missed the bit in the manual but my current
> webhost allows uploading of my own php.ini to my home dir, my question
> is how to do this?
>
> My guess would be to set the ./configure line to something like
> --with-config-file-path=/home/*/public_html
>
> but I dont wanna re-compile if im wrong, can anyone tell me?
>
> Using apache-1.3.33, php-4.4.0
>
> Many thanks,
> James Benson.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi All,
I've tried to compile and install PHP with gd and freetype library enabled,
and all PNG and GIF library are loaded. But somehow, JPEG and Freetype still
not recognized..... I installed Freetype 2.0.
Anyone facing these problems before ??? How can I resolved these ?
Regards,
Feris
--- End Message ---
--- Begin Message ---
did you configured php with these option?
--with-freetype-dir=/path/to/freetype
--with-jpeg-dir=/path/to/jpeg
On 10/9/05, Feris Thia C. <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I've tried to compile and install PHP with gd and freetype library enabled,
> and all PNG and GIF library are loaded. But somehow, JPEG and Freetype
> still
> not recognized..... I installed Freetype 2.0.
>
> Anyone facing these problems before ??? How can I resolved these ?
>
> Regards,
>
> Feris
>
>
--- End Message ---
--- Begin Message ---
Hi List,
I am trying to allow dynamic URL's for my users to remember
similiar to:
www.mysite.com/joesoap
So I want to use "joesoap" in a PHP script to pick up the
user's details
from a MySQL database. If the "joesoap" does not exist in the table
I will handle that.
So basically I have one file www.mysite.com/index.php which should do
all the processing.
I have tried with the apache .htaccess mod_rewrite, however
when I echo
$_SERVER['PHP_SELF'] I can't detect the "joesoap". It returns
/index.php.
Of course the easiest way is to do something like
www.mysite.com/index.php?username=joesoap
but that is too long and complicated for our users. As we
have thousands
of users, I don't want to create actual directories.
Furthermore can this be done too (without a joesoap file):
www.mysite.com/joesoap?show_extra_details=yes
Any advice/links would be much appreciated. If I am barking
up the wrong
tree throw me a bone please.
Thanks alot
Terence
Hi Terence,
I would handle this in a custom 404 error script. Essentially, just have
the 404 page parse out the "joesoap", check the database to see if its
valid, and act accordingly.
The only drawback to this is that the request won't appear in the access
log. At least under apache it won't.
Now if that matter to you or not is another issue...
-philip
--- End Message ---