What I do to control it only by PHP without using the mod_rewrite for
apache is to use URL with this format:
http://sample.com/script.php/param1/param2/param3
Then, work in the script looking at the variable
$_SERVER['REQUEST_URI'] wich will contain, in this sample:
/script.php/param1/param2/para
Hi,
I have an VPS server wich runs cPanel. My PHP version currently
installed is 5.0.3 and had no problems until now.
I've been trying to upgrade my PHP version from 5.0.3 to 5.0.4 with no
success. I've tried doing it with WHM and also tried to do it manually
with ./configure and make.
Always I'
On Apr 1, 2005 8:30 PM, Colin Ross <[EMAIL PROTECTED]> wrote:
> Is PHP 5 ready for production environments? Is it concidered stable,
> or is it just a matter of going a while with no new bugs discovered to
> get to stable..
Yes, it is ready. I've been using on my production servers since
version
Please,
This is an English list. I'll thank if you can write plain english on it.
Thanks.
On Tue, 22 Mar 2005 21:18:06 +0100, Aurélien Cabezon
<[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Mike Johnson wrote:
>
> | Si je lis votre question correctement, vous
Many thanks to all for clarifiying this. Finally I could remember some
things and understand why things go that way.
Thanks again.
Jordi.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 25 Jan 2005 16:29:38 -, Chris Ramsay
<[EMAIL PROTECTED]> wrote:
>
>
> >Hey!
> >I just got this emai lfrom RIPN mail processor at Moscow ?!?!?!?!?
>
>
>
> I have received this also with both my postings today...and probably will
> again...
>
I've just sent ONE message to the list
Hi,
I'm trying to understand how the intval() function works, but I'm
unable to understand how exactly it works.
Take a look at this piece of code (Tested on PHP 5.0.3):
'. $a .' -> '. gettype($a); // Prints: a -> 8 -> double
echo '';
echo 'b -> '. $b .' -> '. gettype($b); // Prints: b -> 7 -
>
> Wish List: PHP 6 uses E_ALL by default install.
>
I wish E_ALL | E_STRICT
Regards,
Jordi.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 21 Jan 2005 09:43:38 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]>
wrote:
> Thus my point remains:
> On a shared server, I don't need to resort to calling this function to
> hijack your Cookie/session. PHP can read the raw session files. I can
> write a PHP script to read the raw sessi
On Thu, 20 Jan 2005 14:04:44 +0200, Rosen <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Can someone recommend me a search engine script in PHP for inside one site?
>
http://www.phpdig.net/
Regards,
Jordi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
On Thu, 20 Jan 2005 00:13:35 -, Mikey <[EMAIL PROTECTED]> wrote:
> Hi NG!
>
> Does anyone here know of a way of getting at the user account information
> from a windows domain controller from a Linux box, specifically in PHP?
>
The Windows domain controllers run LDAP. So, you can use the PHP
On Mon, 27 Dec 2004 08:27:25 -0800, Brian Dunning
<[EMAIL PROTECTED]> wrote:
> Is there a command that will set the include path to the web server
> root?
set_include_path($_SERVER['DOCUMENT_ROOT'];
> I'm trying to set up a directory structure where include files will be
> called from all diffe
On Tue, 21 Dec 2004 14:56:03 -0500, Jerry Swanson <[EMAIL PROTECTED]> wrote:
> I know that "register_globals = on" is not secure. But one program
> requires to use register_globals=on. So in php.ini register_globals is
> set to on.
>
> I have PHP 5.1, is it possible in the code set register_globa
Can use a directive on your .htaccess:
php_value include_path /your/include/path/here
This can also be set on your httd.conf in a virtual server basis. If
you have access to php.ini is better to set the include there.
Regards,
Jordi.
On Mon, 20 Dec 2004 12:41:06 -0800, Anthony Baker
<[EMAIL
Hi, a couple of comments:
> --snip--
> htmlentities(htmlspecialchars($_POST['tentry_body'])) . "'";
> --snip--
Why are you using both htmlentities and htmlspecialchars? Think that
html only converts some entities while htmlentities converts all ...
so, for your purposes, apliying only one could
On Fri, 03 Dec 2004 09:43:10 +0800, Ho!Tech Guy <[EMAIL PROTECTED]> wrote:
> I have a classified ad section on my site which uses a privacy mail
> function so users don't have to make their email address public. Recently
> though, the site has been mined (I assume) and spam is being sent.
>
> I wa
On Fri, 19 Nov 2004 12:01:16 +0100, Sebastian Mendel
<[EMAIL PROTECTED]> wrote:
> Jordi Canals wrote:
> > I'm trying to understand static methods in a test class. Reading the
> > manual, it says: "A member or method declared with static can not be
> > accesse
On Fri, 19 Nov 2004 03:16:14 +0100, Sylvain Girard <[EMAIL PROTECTED]> wrote:
>
> I'm taking a wild guess here, but doesn't that got anything to do with the
> public declaration of the method?
>
If I declare the method without the public declaration it bahaves the same ...
static function TestS
Hi all,
I'm trying to understand static methods in a test class. Reading the
manual, it says: "A member or method declared with static can not be
accessed with a variable that is an instance of the object and cannot
be re-defined in an extending class."
Test code:
str = 'Hello world';
Hi,
Comment inline
On Wed, 17 Nov 2004 20:19:01 -0600, Brent Clements
<[EMAIL PROTECTED]> wrote:
>
>
> class foo {
>
> function foo () {
>
> echo "constructed!";
>
> }
>
> }
>
> class childFoo extends foo {
>
> function childFoo() {
>
/
On Wed, 17 Nov 2004 16:17:44 -0600, Pedro Irán Méndez Pérez
<[EMAIL PROTECTED]> wrote:
> Hello my friends, I need your help in convince to my boss in adopt php for
> development of a tool for intranet in my office, he told me that php is open
> source and we don´t know if will disappear in a year,
On Wed, 17 Nov 2004 19:17:13 -0200, Bruno B B Magalhães
<[EMAIL PROTECTED]> wrote:
> Continuing the classes questions...
>
> I have a class loader called 'load_core_class($class=''), but if $class
> equals to all I would like to load all classes in the core directory,
> include then AND start the
On Tue, 16 Nov 2004 00:17:27 -0800 (PST), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> (on windows) can someone tell me where to define which php.ini gets used?
>
> On my dev box, I installed the zend editor. Now when i do a
> localhost/phpinfo()
> from a normal browser window (ie not from wit
On Tue, 16 Nov 2004 12:33:15 +, Richard Davey <[EMAIL PROTECTED]> wrote:
> G> Is there a function that can automatically escape special characters
> G> before putting them into mySQL?
>
> See magic_quotes to have it done for you. Although this isn't a
> recommend approach if you plan to distr
Hi all,
Something that has taken me some time to debug and wanted to share:
session_set_cookie_params() does not work when the domain param is
just a one level domain, like it was a TLD.
I have a site in an intranet and our internal domain is .local, so
trying to set the cookie session to the .lo
On Sun, 14 Nov 2004 23:42:58 +0700, David Garamond
<[EMAIL PROTECTED]> wrote:
> Greg Donald wrote:
>
>
> > print_r($_ENV);
>
> What should I see in it?
>
RTFM
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.environment
--
PHP General Mailing List (http://www.php.net/)
On Sat, 13 Nov 2004 11:00:08 -0500, Andre Dubuc <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a very annoying problem with pages that re-display using the action tag>. On re-display the banner, which is set absolute position at 0px,
> shifts down by about an inch. I've isolated the cause to the ta
On Fri, 12 Nov 2004 16:46:52 +, pete M <[EMAIL PROTECTED]> wrote:
> Unsetting class objects does take time and is really of no benefit
> unless there are memory problems
>
> as for freeing resuslts - the same applies
>
> pete
Many thanks for comments. I see that if not having memory problems
Hi all,
I was working now in a new site developed with PHP 5.0.2 and a wonder
came to me:
Is usefull and recommended to unset a class instance when not needed?
Specially when the class was instantiated inside a function and the
function ends. In this case, the system should automatically destro
On Sun, 7 Nov 2004 03:52:28 -0800 (PST), Stuart Felenstein
<[EMAIL PROTECTED]> wrote:
> I asked a question yesterday about this but I think my
> question is now more fine tuned:
>
> Right now I have about 50+ session variables that will
> be inserted into my mysql database in a transaction.
> I n
On Sun, 7 Nov 2004 11:44:33 +0100, Reinhart Viane <[EMAIL PROTECTED]> wrote:
> Hope some of you also work on sundays :)
>
> I have a little javascript which displays a images (with previous / next
> thing)
> Now, i populate the javascript array with an php array:
>
>
>
>