the IE setting)
Also, have a look at the event viewer and at the IIS log file. Maybe you will
see the error reported by IIS...
Vincent Dupont
Principal Consultant OpenSource Competence Center
Ausy Belgium
http://www.ausy.be
-Original Message-
From: Frank M. Kromann [mailto:[EMAIL
hello,
for translating our web applications, we use to create an XML file with the
labels; one label for each entry; one file for each language.
This let us:
1. create one file (in french) and let someone do the translations
2. provide the 'key users' (admins) of the application a php page that
hi
I'm afraid this is not available by default.
You can try to parse the debug_backtrace() (see
http://be2.php.net/manual/en/function.debug-backtrace.php)
but this is probably too complex for online processing.
if there are some native functions, please tell me !!
Vincent Dupont
Prin
process)
and change the windows security on the oci client directories to allow execute
grants to that user on all files.
Vincent Dupont
Principal Consultant OpenSource Competence Center
Ausy Belgium
http://www.ausy.be
-Original Message-
From: Fahad Pervaiz [mailto:[EMAIL PROTECTED]
Sent
hello,
try with the system constant __FILE__
print(__FILE__);
inside a.php should always return a.php, even though this is included into
index.php.
Vincent Dupont
Principal Consultant OpenSource Competence Center
Ausy Belgium
http://www.ausy.be
-Original Message-
From: clive
more flexible
than simlinks.
Vincent Dupont
Ausy Belgium
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Sat 1/6/2007 0:17
To: Karl Pflästerer
Cc: php-general@lists.php.net
Subject: Re: [PHP] Question regarding include() and symlinks to directories
On Thu
older\\test1.txt";
(note I use " and not '
or
$file_path = "C:/Program Files/XAMPP/xampp/htdocs/test_folder/test1.txt";
and then you should be able to
$data = file_get_contents($file_path);
Vincent Dupont
Ausy Belgium
Message d'origine
De: Richard L
hello,
thanks for this good news for Win poeple.
Do you have any info on what version(s) of IIS/win32 this release soul be used?
thank you
Vincent Dupont
Ausy Belgium
-Original Message-
From: Edin Kadribasic [mailto:[EMAIL PROTECTED]
Sent: Fri 1/5/2007 14:27
To: PHP internals; php
Hello,
As far as I know, the session will use a cookie, and the cookies are linked to
one domain name.
I don't know a way of using a cookie accross multiple domains, but I guess this
should be possible.
The question is : will PHP allow you to do that? I guess no because this could
be a security
hello, could you tell us more about our webserver?
Linux or windows?
vincent
-Original Message-
From: Philipp Schwarz [mailto:[EMAIL PROTECTED]
Sent: Tue 19/12/2006 14:05
To: php-general@lists.php.net
Subject: [PHP] Which PHP-script crashes my server?
Hi guys,
I have a problem with m
Hello,
the Zend Framework, as others, offers a MVC implementation for PHP.
I guess my understanding of this is right, but I still have a question. Maybe
you can help.
Depending on the request, a controller is called. This can do various stuff w/o
model(s), and then a view is displayed.
That
Hello
I use php_ldap (see the php.net/ldap) to authenticate users against a AD
server. However, this is the LDAP interface and I don't know if poeple will be
allowed to change their password that way...
vincent
-Original Message-
From: Saqib Ali [mailto:[EMAIL PROTECTED]
Sent: Thu 7/1
You could look for Apache logs analysers, too
vincent
-Original Message-
From: Rick. [mailto:[EMAIL PROTECTED]
Sent: Wed 6/12/2006 12:48
To: php-general@lists.php.net
Subject: [PHP] PHP analytics
Hello
I am new to php and I would like some guidance from those who have a bit more
ex
hello,
you can use sessions without cookies by asking PHP to ad the sessionid into
every link on your website.
I don't remember how to do this, but there should be a php_ini directive, and
more info on the php.net/manual website.
vincent
-Original Message-
From: blackwater dev [mailto
look at this inside the PHP.INI
; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
; to other person via. email/irc/etc.
; - URL that contains active session ID may be stor
Hi,
do you have any access to the client computers (is it an intranet)? If so,
check yourself the existence of the cookie and check JS and cookie settings on
their browser.From my own experience, you should never truct the user's
comments about their config or actions...
Otherwise, you could m
yes, glob works well.
here is an example to get pictures inside a folder ($path)
foreach(glob($path."/*/{*.gif,*.jpg,*.JPG,*.jpeg,*.JPEG,*.png}", GLOB_BRACE) as
$filename){
$pics[]=$filename;
}
vincent
-Original Message-
From: Jochem Maas [mailto
If you are working in pure PHP5 OOP, you could like to try the new SPL
iterators.
see http://www.phpro.org/tutorials/Introduction-to-SPL.html#12
vincent
-Original Message-
From: Tom Chubb [mailto:[EMAIL PROTECTED]
Sent: Tue 28/11/2006 9:55
To: [php] PHP General List
Subject: [PHP] Read
Well, I would reply that this is probably as easy to read ...
You should think about poeple having digg into your code, or about you in a few
month...
Moreover, having much parameters (more than 4) is not a good idea (for the same
reading and understanding reasons). Functions having more than 4
Hi,
are you sure you did not forget a include of the Article source code ?
You need all sources codes aiavlable (included) when getting the object back
from the session.
vincent
-Original Message-
From: Dave M G [mailto:[EMAIL PROTECTED]
Sent: Fri 24/11/2006 11:22
To: php-general@lists
Hi,
what do you plan to do with XML? Store your adresses, etc?
Then you can create an XML object with simpleXML (see
http://be2.php.net/simplexml/)
This will help you in adding nodes and attributes.
Afterward, you can generate a output with $xml->asXML() and store this into a
file with file_p
in PHP5, you could have a look at objects HTTPRequest and HTTPResponse.
I never used them yet, though...
vincent
-Original Message-
From: Brad Fuller [mailto:[EMAIL PROTECTED]
Sent: Wed 22/11/2006 21:25
To: php-general@lists.php.net
Subject: RE: [PHP] Programmatic POST
> -Original
Hello,
I found the problem about my last message (see below).
This relates to a bug in 4.3.10 release with MSSQL extension
Bug #31372
I downgraded to PHP 4.3.8 and the problem was solved.
Thank you for your attention and replies
Vincent
-Original Message-
From: Vincent DUPONT
Sent
Hi
I try to use PHP with MSSQL on a WINXP station.
Usually, on win32 systems this works very well, but today I can't
understand the problem.
I can connect and execute SELECT statements
When I try to INSERT , DELETE or UPDATE a record, I have a PHP ERROR,
and a MSSQL error "code 15457" in
you should add a iframe into your table cell and load the target page (link)
into that iframe.
maybe some javacsript could create the iframe for you and set its width and
height.
I Never did this, so this is purely a suggestion
Vincent
-Original Message-
From: Tomar Rajeev (ext) [mailt
Hi,
I need to get the LDAP groups a user is member of (memberof). The problem is
that there are multiple levels of groups, and I need to get all levels.
example
userA is member of group A B and C
group A is member of (included in) group D
If I make a simple query on the LDAP server to fetch t
Hi,
could anyone help on this 'by reference' problem.
I have 2 classes. The main class as a child class.
The child class has properties (array)
I would like to be able to manipulate the child's properties even after the child has
been inserted into the main class.
Does this make sense?
I can do
it does REALLY worth it!
Install is easy, download only thoses packages you need,
extendable, stable...
The doc is sometimes a bit poor, but the basic are always easy
Vincent
-Original Message-
From: Will Merrell [mailto:[EMAIL PROTECTED]
Sent: mercredi 30 juin 2004 21:22
To: [EMAIL PROT
Hi,
does anyone knowns of a good PEAR of other free TabPanels container?
I would like to be able to constumize the tabs and insert as many panels as needed.
PHP and/or Javascript is ok
Thank you,
Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Hi,
I have a script that need to run on ISAPI module on one server and on CGI on anther
server.
I would like my code to be able to react differently depending on the CGI/ISAPI mode.
How can I detect the running mode of PHP??
is there a $_SERVER variable or anything??
vincent
--
PHP General M
Hi,
We need to install one windows 203 server with various versions of the same
application.
The versions will be held in disticnt web sites on this server. In order to point to
the different application versions, I need to point the include_path to the right php
scripts (in distinct folder by
Hi,
I beleive that if both servers run the same hostname (www.foo.com) (cookie domain) and
both session files are stored in the same place (/tmp), then the session is unique for
80 and 443 ports.
you could simply test this be adding a $_SESSION['foo']='port80'; on the HTTP server
instance and
Hi,
I need to do a text search on some fileds in a database. I would like the users to be
able to use some syntax like 'AND' 'OR' 'NOT' parentheses () and quotes to make their
search queries more powefull.
I face 2 problems :
1. parse the query
2. execute the search (create the appropriate SQL
Hi,
I would like to extract the quoted text from a string
for example : the translation for beautiful is "beau" and wonderful is "formidable"
I need to get 'beau' and 'formidable' strings into an array.
Any idea??
I can go with strpos and substrings, but maybe there is something more convenient?
ilto:[EMAIL PROTECTED]
Sent: lundi 10 mai 2004 15:21
To: [EMAIL PROTECTED]
Subject: [PHP] Re: readdir and opendir
Vincent Dupont wrote:
> Simple question : do readdir and opendir support opening HTTP urls ??
RTFM ! No it doesn't.
--
PHP General Mailing List (http://www.php.net/)
To unsub
Simple question : do readdir and opendir support opening HTTP urls ??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I need to open files on a remote computer (from windows to windows)
The path is like \\servername\share\file.txt
The SMB protocol is supported in PHP and ususally works very well on simple LAN
networks (see http://be2.php.net/manual/en/wrappers.php)
The default user is the user running the we
Hi,
I can't remember the name of the function to remove the escaping of quotes when
submitting a textarea
example :
becomes :
stripslashes and stripcslashes seem not to work...
vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'd like your opinion on the best way to do a form validation when the form contains a
file upload object ()
When the form does not validate, I try to re-show all values entered by the user.
But, as far as I know, browsers do not allow to set the default value (local file
path) of a FILE co
Hello,
I need to load various php files programatically and I use require_once($file_path)
for this purpose.
My question is : is there a way to know if the file was found or not? if the file
generated an error or not?
thank you
vincent
--
PHP General Mailing List (http://www.php.net/)
To unsub
Hi,
I use to install PHP under IIS as a ISAPI module. So I add a ISAPI filter and define a
new App mapping in 'configure'
When looking at the documentation (see http://be.php.net/manual/en/install.iis.php,
"Windows NT/2000/XP and IIS 4 or newer") I can read :
"If you don't want to perform HTTP
Hi,
I use win2k and IE 6 every day with PHP, and it works fine. I guess your problem comes
from the Internet Options of IE (tools/Internet Options). As Miguel Jiménez suggested,
check the cookie setting in the Internet Options.
Vincent
-Original Message-
From: Sheni R. Meledath [mailto
I would do
script 1 :
$_SESSION['test'] = "hello world";
and in script2 :
print($_SESSION['test']);
vincent
-Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi 20 avril 2004 17:44
To: [EMAIL PROTECTED]
Subject: [PHP] session variables
I have two test files r
Does anyone have a 'good' tutorial about Smarty. The one available on smarty.php.net
is really basic...
Vincent
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: jeudi 8 avril 2004 4:02
To: Kelly Hallman
Cc: PHP-General
Subject: Re: [PHP] smarty
On Wed, 2004-0
Hi,
I have this message in the IIS log file :
Out-of-process+ISAPI+extension+request+failed.
This appeared when I passed my web applicaion from Mysql to Oracle batabase. I guess
this is related to ISAPI module that cannot handle the load or processes needed by
Oracle.
PLease help.
Vincent
DNS error seems to indicate that you have a connection problem, not a storage or file
size restriction problem.
Maybe the IP connection is interrupted. ..
Do you have the same problem when running on Localhost?
Vincent
-Original Message-
From: Schonrock III, Keith H [mailto:[EMAIL PROTEC
Have a look at PEAR::Auth on http://pear.php.net
Vincent
-Original Message-
From: Andre [mailto:[EMAIL PROTECTED]
Sent: mercredi 10 mars 2004 11:35
To: [EMAIL PROTECTED]
Subject: [PHP] Information about security
Hello
I need some information about security in php.
I want to create a ba
Hi,
My script needs to load a config file with DB connection properties, etc.
At the beginning of the session, the ini file is loaded and all values are stored in
$_SESSION
After the loading, a flag is also set in $_SESSION so that the ini loading is no more
executed.
However, all ini properti
"Vincent DUPONT" <[EMAIL PROTECTED]> wrote:
>
> are you using a 'Text' or a 'varchar' column type?
> I guess the max size for varchars is 4000; text should be larger
>
> vincent
>
> -Original Message-
> From: Ben Ramsey [mailto:[E
are you using a 'Text' or a 'varchar' column type?
I guess the max size for varchars is 4000; text should be larger
vincent
-Original Message-
From: Ben Ramsey [mailto:[EMAIL PROTECTED]
Sent: lundi 8 mars 2004 17:30
To: [EMAIL PROTECTED]
Subject: [PHP] Re: php/mssql character limit?
I p
Hi,
do you know if PHP supports the Intersystems 'Caché' database system?
The PHP manual does not cite classes and I found no information at the intersystems
web site.
Thank you ,
Vincent
Hi all,
I use a HTML menu that is created from multiple database queries. This is powerfull
and very extendable.
The problem is that the queries have to be executed on every new page or request.
Moreover, the menu won't change very often for the users.
So I would like to 'cache' the HTML code
Hi all,
I'm developing a web appl. with PHP and PEAR, using mainly PEAR::MDB, PEAR::Config,
and Smarty template engine.
Under Win2000, the system seems to go slower and slower from the morning to the
evening. A quick "Task Manager", and ...
My inetinfo.exe process consumes most of my RAM . I
Maybe a PEAR package do do the trick. Have a look at PEAR_PackageFileManager on
http://pear.php.net/package/PEAR_PackageFileManager
I never used it, but plan to do.
I you use it, please keep me informed
Maybe you could have something more trivial if you just need to download a single file.
Vinc
Hi all,
I would like to simulate sending a form in POST to a specified URL through PHP. I knwo
how to do this from a HTML form :
http://url.com/query";>
blablabla
I would just like to simulate this because I have some processes that will change the
values of the form before sending it to the
Hi,
I want to use the mcrypt module and I followed the instructions to install the dll for
Win32 users :
I copied the libmcrypt.dll file under c:\winnt\system32
I uncommented the "extension=php_mcrypt.dll" in the php.ini
I restarted the computer
I tried many examples available in the Net. The
56 matches
Mail list logo