Le Thu, 17 Apr 2008 10:19:10 +0100,
Stut <[EMAIL PROTECTED]> a écrit :
> On 17 Apr 2008, at 10:05, David BERCOT wrote:
> > I've got a problem with DateTime. I have a short code which gives an
> > error :
> >
> >
> > $date = new DateTime
Hi again,
Le Thu, 17 Apr 2008 21:10:44 +1200,
Simon Welsh <[EMAIL PROTECTED]> a écrit :
> On 17/04/2008, at 9:05, David BERCOT wrote:
> > Hi,
> >
> > I've got a problem with DateTime. I have a short code which gives an
> > error :
> >
> >
Hi,
I've got a problem with DateTime. I have a short code which gives an
error :
$date = new DateTime(date("d/m/Y"));
$date->modify("-1 month");
$mois_en_cours1 = $date->format("Y-m");
$date->modify("-1 month");
$mois_en_cours2 = $date->format("Y-m");
$date->modify("-1 month");
$mois_en_cours3 =
Le Tue, 22 May 2007 14:18:31 +0200,
Tijnema <[EMAIL PROTECTED]> a écrit :
> On 5/22/07, David BERCOT <[EMAIL PROTECTED]> wrote:
> > Hi Mike,
> >
> > And thank you for your help...
> >
> > Le Mon, 21 May 2007 13:21:35 -0400,
> > "Mike Smit
Hi Mike,
And thank you for your help...
Le Mon, 21 May 2007 13:21:35 -0400,
"Mike Smith" <[EMAIL PROTECTED]> a écrit :
> On 5/21/07, David BERCOT <[EMAIL PROTECTED]> wrote:
> > Hi Mike,
> >
> > Le Mon, 21 May 2007 10:24:52 -0400,
> > "
Hi,
I'd like to connect to SQL Server (it is MSDE from SQL Server 2000) from
PHP.
My system is Debian.
I've installed FreeTDS and some dependencies...
Here is my /etc/freetds/freetds.conf :
[global]
# TDS protocol version
tds version = 4.2
[etemptation]
host = 10.21.2.203
Everything is OK !!!
Thank you very much.
David.
Le Thu, 15 Mar 2007 13:39:33 -,
"Edward Kay" <[EMAIL PROTECTED]> a écrit :
> > Yes, great... Now, I have another problem ;-)
> > In Debian, everything is ok. I put my variable
> > in /etc/apache2/httpd.conf.
> >
> > But on RedHat, I don't kno
w which is the equivalent of /etc/apache2/httpd.conf on
RedHat ?
And is it possible (and how ;-)) to put variables in the php.ini ?
Thank you very much.
David.
> On Wed, March 14, 2007 9:32 am, David BERCOT wrote:
> > Hi,
> >
> > I'd like to read an environme
or $_SESSION
superglobals...
David.
> On Mar 14, 2007, at 9:32 AM, David BERCOT wrote:
>
> > Hi,
> >
> > I'd like to read an environment variable with PHP.
> > I've tried with :
> > exec ('echo $CONTEXTE_D_EXECUTION',$result);
> > $resu
Le Wed, 14 Mar 2007 15:40:28 +0100,
"Tijnema !" <[EMAIL PROTECTED]> a écrit :
> On 3/14/07, David BERCOT <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'd like to read an environment variable with PHP.
> > I've tried with :
> >
Hi,
I'd like to read an environment variable with PHP.
I've tried with :
exec ('echo $CONTEXTE_D_EXECUTION',$result);
$result is empty !!!
I've put the variable in /etc/environment, in /etc/profile,
in /etc/bash.bashrc but nothing worked...
Do you have any idea ?
If it is not possible,
erci.
David.
> hope this'll help / bon courage
>
> N F
>
> David BERCOT a écrit :
> > Hi,
> >
> > I am blocked on this problem since so a long time that I prefer asking here
> > my question...
> > I'd like, if the data isn't correct, t
Hi,
I am blocked on this problem since so a long time that I prefer asking here my
question...
I'd like, if the data isn't correct, that the user stay in the input zone.
Everything is ok with IE but not with Firefox.
Here is my code :
// Validation des données.
function demarrage_controles() {
Hi,
I have a server with Apache 2, PHP 5.1.1 and Oracle Instant Client
10.2.0.1.
As I have a little bug [http://bugs.php.net/bug.php?id=29779], I've
tried the solution (in oci8.c) and recompiled ! But then, everything was
broken. So, I get the source of PHP 5.1.2 and recompiled again.
Everything s
> > I have a big problem with my Debian server (Apache 2, PHP 5, Oracle
> > Instant Client). I've modified the environment variable NLS_LANG and,
> > with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a
> > value with accent (ex: Irène). I can read data with accent, but not
> > in
Hi,
I have a big problem with my Debian server (Apache 2, PHP 5, Oracle
Instant Client). I've modified the environment variable NLS_LANG and,
with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a
value with accent (ex: Irène). I can read data with accent, but not
inserting !!!
I s
Hi,
> Finally, I discovered that I need to have PHP and Apache on my computer
> > in order than Eclipse may give me auto-complete...
>
> No you don't. Eclipse does code completion out-of-the-box w/out
> installing additional software. Check your Preferences.
If I check 'Preferences', then 'PHP
Finally, I discovered that I need to have PHP and Apache on my computer
in order than Eclipse may give me auto-complete...
I'll install them tomorrow !!!
Thank you.
David.
Le lundi 13 février 2006 à 15:42 -0600, Jay Blanchard a écrit :
> [snip]
> I'm looking for a good IDE on Linux to code my ph
Hi,
I'm looking for a good IDE on Linux to code my php files... I'd like
auto-completion (in php and html) and a file explorer...
I've tested Eclipse (with PHP Eclipse) and Komodo but I couldn't have
auto-completion on php commands !!!
Do you have any idea ?
Thank you very much.
David.
signatu
> >Hi,
> >
> >I have to rewrite an application from ASP. In this application, I
> >receive DBase files which may be saved into Oracle.
> >In ASP, I used a generic driver and I made SQL requests on these files.
> >It is possible with PHP on Linux ?
> >Do you have some examples ?
> >
> >Thank you ver
Hi,
I have to rewrite an application from ASP. In this application, I
receive DBase files which may be saved into Oracle.
In ASP, I used a generic driver and I made SQL requests on these files.
It is possible with PHP on Linux ?
Do you have some examples ?
Thank you very much.
David.
signature
> > But, finally, I wonder if I shouldn't use XML files instead ?
> > Is it possible, directly, to make a SQL request on a XML file ?
>
> How much data are you storing and how fast do you need it?
>
> If you're doing heavy "database" type queries, then just use mySQL.
Yes, I use Oracle for my "r
> > > > Hi,
> > > >
> > > > I'd like to connect to DBase files (.dbf) in order to do SQL requests.
> > > > Do you know if it is possible ?
> > > > If yes, do you have an example ?
> > > > I'm working on Debian with PHP5.
> > > >
> > > > Thank you very much.
> > > >
> > > > David.
> > > Blind?
> > >
> > Hi,
> >
> > I'd like to connect to DBase files (.dbf) in order to do SQL requests.
> > Do you know if it is possible ?
> > If yes, do you have an example ?
> > I'm working on Debian with PHP5.
> >
> > Thank you very much.
> >
> > David.
> Blind?
>
> http://de.php.net/dbase
OK. I should hav
Hi,
I'd like to connect to DBase files (.dbf) in order to do SQL requests.
Do you know if it is possible ?
If yes, do you have an example ?
I'm working on Debian with PHP5.
Thank you very much.
David.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Hi,
OK. I have many answers about managing sessions and I thank everyone.
The best solution seems to be the inclusion of a file...
But, I have just another question about all the options I have to put in
this file... Is it necessary to do all of this (sorry for my
commentaries which are in French)
Hi again,
Ok, it's probably not the first time you have a question about sessions
with PHP ;-)
I've tried to read mails, documentation, searching on Internet but,
finally, I think everything is not clear !!!
First of all, I understand that, if session.auto_start is not on '1', I
have to write ses
> David BERCOT wrote:
> > I've tried :
> > $_SERVER["PHP_AUTH_USER"] = NULL;
> > without succes...
>
> http://www.php.net/unset
>
> e.g. unset($_SERVER['PHP_AUTH_USER']);
>
> It might, however, be better practice to used an au
Hi,
I use this program to force a user to authenticate :
if (!isset($_SERVER["PHP_AUTH_USER"])) {
header("WWW-Authenticate: Basic realm=\"Intranet SDSED\"");
header("HTTP/1.1 401 Unauthorized");
}
Everything is ok except a detail : if the user makes a mistake (for
example, a bad pa
o adapt the script because I have different domains and,
so, different servers...
Thank you very much for this help !
David.
> Ade
>
> David BERCOT wrote:
>
> >Hi,
> >
> >I'm new on this list and with PHP. But I am a old web developer (with
> >ASP).
Hi,
I'm new on this list and with PHP. But I am a old web developer (with
ASP).
I'm looking for verifying a username/password in Active Directory with a
LDAP request...
I have this error :
Warning: ldap_search() [function.ldap-search]: Search: Operations error
in /var/www/ldap.html on line 69
I t
31 matches
Mail list logo