php-windows Digest 7 Jan 2002 16:37:35 -0000 Issue 941
Topics (messages 11328 through 11338):
R: [PHP-WIN] Re: $PHP_SELF
11328 by: Darvin Andrioli
Binary PHP 4.1.1 for Mandrake - WHERE?
11329 by: Programmers
11335 by: Jerry
Array within a Class?
11330 by: FPU.WHITES1.FRIENDSPROVIDENT.CO.UK
Re: NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!
11331 by: Freddy Vulto
session_set_save_handler crashes
11332 by: Kjartan Mannes
REAL NEWBIE QUESTION!!!
11333 by: Jack Cazes
11334 by: Michael Sims
Re: How to download PHP files URGENT !!!
11336 by: gaouzief
help with phpmyadmin db connection
11337 by: pasupathy
PHP/SQL search engine help (newbie)
11338 by: Keith Hughes
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 ---
Try $_SERVER["PHP_SELF"]
Darvin
> -----Messaggio originale-----
> Da: David [mailto:[EMAIL PROTECTED]]
> Inviato: domenica 6 gennaio 2002 3.12
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] Re: $PHP_SELF
>
>
> Steve Yates said something on 05 Jan 2002, in php.windows:
>
> > "David" <[EMAIL PROTECTED]> wrote:
> >> Gregory Hart said something on 05 Jan 2002, in php.windows:
> >> > I understand that the variable $PHP_SELF doesn't always work.
> >> > I'm using Windows 98 SE with PHP 4.1.1. Is there any way to get
> >
> > I think I have seen $PHP_SELF not work on PWS...is that what you
> > have? You might try $PATH_INFO or $SCRIPT_URL.
> >
> >> $SCRIPT_NAME usually works for me on most servers.
> >
> > I think this returns the program or CGI name. At least is does on
> > the versions of Apache that I've tried.
> >
>
> True, on Apache, PHP_SELF work, on others, (IIS, Xitami) it will not, but
> SCRIPT_NAME does.
>
> If you put a little bit of code at the beginning of your script like:
> if(isset($PHP_SELF)) $THIS_SCRIPT = $PHP_SELF;
> else $THIS_SCRIPT = $SCRIPT_NAME;
>
> Then there is $PATH_INFO, which is even less consistant.
>
> Regards,
> David
>
>
> --
> 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 am looking for with compiled version of the newest PHP 4.1.1 for
Linux Mandrake 8.1.
--
Jaroslaw
--- End Message ---
--- Begin Message ---
Have a look at http://d-srv.com/sw/rpm/Mandrake/RPMS/
I didn't try any of those links but it could be what you are looking for...
Jerry
"Programmers" <[EMAIL PROTECTED]> wrote:
> I am looking for with compiled version of the newest PHP 4.1.1 for
> Linux Mandrake 8.1.
> Jaroslaw
--- End Message ---
--- Begin Message ---
--- Received from FPU.WHITES1 799 3703 07-01-02 10:34
-> [EMAIL PROTECTED]
-> [EMAIL PROTECTED]
Yes, works fine. I use them often.
-Steve
------------------------------------------------------------------------
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sat, 5 Jan 2002 15:04:07 -0800
Subject: [PHP-WIN] Array within a Class?
Just a quicky --
I have yet to see anyone define an array within a class, yet if it is
possible, would i be able to access that array with
$this->array["variable"];?
Thanks in advance.
----------------------------------
Chris Hall
Web Application Developer
----------------------------------
hardwired industries
--
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]
This e-mail may contain confidential information and/or copyright
material. This e-mail is intended for the use of the addressee
only. Any unauthorised use may be unlawful.
If you receive this e-mail by mistake please advise the sender
immediately by using the reply facility in your e-mail software.
Friends Provident Marketing Group consists of the following
companies:
Friends Provident Life and Pensions Limited.
Registered number 4096141.
Friends' Provident Unit Trust Managers Limited.
Registered number 970641
FP Life Assurance Limited.
Registered number 782698
Friends Provident Pensions Limited.
Registered number 475201
Friends Ivory & Sime Managed Pensions Funds Limited.
Registered number 1020044
Registered and Head Office of each of the above companies is at Pixham End,
Dorking, Surrey RH4 1QA.
Registered in England. Incorporated companies limited by shares.
Ivory & Sime Trustlink Limited. Registered number 151198
Registered and Head Office: One Charlotte Square, Edinburgh EH2
4DZ. Registered in Scotland. Incorporated company limited by
shares.
Companies within this Group transact life assurance, pension,
permanent health, unit trust and investment trust business
All are regulated by the Financial Services Authority.
--- End Message ---
--- Begin Message ---
My module configuration (Win98, Apache 1.3.22, PHP 4.1.1) started working
after I added the line:
AddModule mod_php4.c
to httpd.conf. This seems to be an omission from the install.txt as stated
in the php.windows thread "Apache 1.3.22 and PHP 4.1.0" d.d. Jan 3, 2002.
It's added as note to the on-line manual
(http://www.php.net/manual/en/install.apache.php):
"Note: In Apache 1.3.22 for Windows, the default configuration file
(httpd.conf-dist-win) has a ClearModuleList directive included by default.
If this directive is used, it is required to put an AddModule mod_php4.c to
the AddModule list, as else PHP will not be registered as an Apache module."
HTH, Freddy Vulto
Mark <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I apologize if the title of this post sounds overly aggresive, but I have
> followed the instructions to a 'T' and got nowhere!! I have tried the
> "auto" install version of PHP and manual instructions for installing PHP
> 4.1.1. Neither of them work. I added the lines to my httpd.conf file for
> both types of installs (not at the same time) as discribed in the
> Install.txt file, along with the instructions on the website, and can get
no
> "test" scripts to run or PHP for that matter. All I get is a blank screen
> when running the CGI version or can not even get apache to load when I try
> the Module version (Get a "Requested Operation Failed" message). can
> someone please help????? My system is as follows:
>
> Windows 2000 SP2
> Apache 2.0.28 (I have also tried version 1.3.22 with same results as
> mentioned above)
> PHP 4.1.1
> MDAC 2.7
> MySQL 3.23.46a
>
> Thanks in advance!!
>
> Mark
>
>
--- End Message ---
--- Begin Message ---
Windows 2000 Apache/1.3.22 (Win32) PHP/4.1.1
Whenever I use session_set_save_handler() PHP will crash when
session_start is called. session.save_handler is set to 'user' as
specified in the docs.
Anyone have a working example of session_set_save_handler?
--
Kjartan <[EMAIL PROTECTED]>
:: "Smash forehead on keyboard to continue."
--- End Message ---
--- Begin Message ---
I'm just starting out with PHP and Mysql....the problem I have is this.
I have php 4.11 loaded and it works fine...I now want to create a
database...so I use Winsqladm and create the database...however there is no
mention of username and password....do I have to then define and FSN in
Windows ODBC administrator (even though I thought PHP access mysql
directly?)?
You see all I want to do is set up Mysql with a database so that my users
can access it with a username and password.
Any help would be greatly appreciated..
Jack
--- End Message ---
--- Begin Message ---
At 06:20 PM 1/3/2002 -0500, Jack Cazes wrote:
>I have php 4.11 loaded and it works fine...I now want to create a
>database...so I use Winsqladm and create the database...however there is no
>mention of username and password....do I have to then define and FSN in
>Windows ODBC administrator (even though I thought PHP access mysql
>directly?)?
No, all user account information is stored in the "mysql" database. I've
never used Winsqladm but surely it has a utility to create MySQL users. If
not then I suggest reading:
http://www.mysql.com/doc/U/s/User_Account_Management.html
Or maybe you want to look into another tool that DOES have user account
management functions. But if PHP is accessing MySQL directly (which it
should be) then you shouldn't have to do anything with DSN's or ODBC...
--- End Message ---
--- Begin Message ---
hi
has anybody tried to use sockets with php 4.1.1 undew win 2000?
the extension loaded just fine the script looks like it was started (from the console)
but the server is not working
can anybody help?
regards,
hassan el forkani
http://WarmAfrica.com EveryOne's Africa
--- End Message ---
--- Begin Message ---
hello,
any phpMyAdmin guru here who can help?
the config file in it is straightforward that all I have to do is fill
up as follows:
$cfgServers[1]['host'] = 'localhost'; // i tried localhost and
all other //possibilities
$cfgServers[1]['port'] = '';
$cfgServers[1]['adv_auth'] = false;
$cfgServers[1]['stduser'] = 'myusername';
$cfgServers[1]['stdpass'] = 'mypasswd';
$cfgServers[1]['user'] = 'myusername';
$cfgServers[1]['password'] = 'mypasswd';
$cfgServers[1]['only_db'] = '';
$cfgServers[1]['verbose'] = '';
$cfgServers[1]['socket'] = '/tmp/mysql.sock';
with that I can log on to the phpmyadmin right page, but cannot access
the left page,
once it took about 10mins to load but nothing is listed. Perhaps the
free host is playing hide n seek ? what went wrong with my script here.
The free host themselves either not responding or refuse to answer my
inquiry. pls help
--- End Message ---
--- Begin Message ---
Hi,
Completely new at this, so don't be too harsh.
I'm trying to create a help file system for a programme (much like the help
files that you get with macromedia flash).
All the help files will be in HTML format and will be in an access database.
I need to search through the database with a search engine, and I assumed
that the best way to do this would be to use a combination of SQL and PHP.
Unfortunately I'm very very new to both. I have a basic grasp of SQL but
hardly any for PHP.
Could anybody give me any tips on how to get started or a link to any good
tutorials?
Thanks for any help
Keith
--- End Message ---