you could name your files *.inc.php
- DW would see them as php files
- and it can be safer (look if an internaut asks for the url
www.yoursite.com/config.inc : he will see the source code...)
Regards,
Philippe
Susi Sloan [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]
I'm
Hi,
We use ORACLE DataBase for all our projects and we can't install
mysql/postgresql on our server. A new project needs a little database (only
1 table). I heard about something like an API in order to use text files in
place of real database system and that we could use SQL query to
To: [EMAIL PROTECTED]
From: Kim Steinhaug [EMAIL PROTECTED]
Date: Mon, 1 Dec 2003 22:48:00 +0100
Subject: Re: Downloading PHP source from a PHP
filename, possible?
What you do is, if my logic is correct...
Read the entire file in to a variable and send it back
to
the browser with another
I am using Red Hat 9 which comes with PHP.
I have installed mySQL and tested it from terminal - it seems to be working fine. I
am very new to Linux though.
phpMyAdmin is producing the following error message from the browser
cannot load MySQL extension,
please check PHP configuration.
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Here is the beginning of a big loop that loads a line at a time from an uploaded
textfile and then runs validation on each field:
//loop through the rows
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Hi,
I'm doing a PHP MySQL website with Dreamweaver MX, and I'm not much of a
coder myself.
The problem that I have is that when I create the recordset for the detail
page, all the elements in the master page link to the same field in
Check out SQLite
BENARD Jean-philippe wrote:
Hi,
We use ORACLE DataBase for all our projects and we can't install
mysql/postgresql on our server. A new project needs a little database (only
1 table). I heard about something like an API in order to use text files in
place of real
Or do the same with the BETWEEN keyword:
SELECT * FROM dates WHERE store='$store' AND date BETWEEN DATE_SUB(now(),
interval 3 day) AND DATE_ADD(now(), interval 3 day)
Richard Davey wrote:
Hello Cameron,
Tuesday, December 2, 2003, 1:08:19 AM, you wrote:
CS $sql = SELECT * from dates where
Perhaps this is what you were referring to?
http://www.c-worker.ch/txtdbapi/index_eng.php
Then there is SQLite, http://php.net/manual/en/ref.sqlite.php. I've
seen several tutorials out there regarding using SQLite, and it will
probably become quite popular after PHP 5+ becomes everyone's
Is anyone using MS Access, FoxPro or any other file-based database via
ODBC with PHP?
-- bob
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bonjoour la liste,
J'ai regardé la doc php, et je n'ai pas trouvé de fonction timer.
Je souhaite lancer un timer à l'expiration duquel j'exécuterai un programme.
Est ce possible? Y a t'il des fonctions ou des morceaux de programme
facileme à reprendre
pour faire ça?
Merci pour
Bonjour la liste,
J'ai regardé la doc php, et je n'ai pas trouvé de fonction timer.
Je souhaite lancer un timer à l'expiration duquel j'exécuterai un programme.
Est ce possible? Y a t'il des fonctions ou des morceaux de programme
facileme à reprendre
pour faire ça?
Merci pour
Robert,
I can not help directly but until you get a helpful response here you could
try a Google Groups search.
http://groups.google.com/groups?safe=imagesie=UTF-8oe=UTF-8as_ugroup=*access*as_usubject=php%20odbclr=hl=en
Go to http://groups.google.com
click on Advanced search
for Newsgroup
I am still working on this DB entry page. I have a sort of content mgt
page that I have built where certain company people input data to be
displayed on a web page to be viewed by the public. Everything is
working great except, when someone enters an ' or into the form field
it will not update
addslashes($userInput)
Rich
-Original Message-
From: redhat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 10:49 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] user input killing code
I am still working on this DB entry page. I have a sort of
content mgt
page that I
PHP est un langage de programmation, pas un daemon.
Le plus simple est de créer des tâches automatisées qui exécutent des
scripts PHP.
Sous Windows 2000 c'est très facile: Scheduled Task Command prompt
(terminer)
Ensuite tu édites la scheduled task: Properties Run c:/php/php.exe
You can use the function addslash() before you insert the input in the
database.
When you read data from de database, you can use the function
stripslashes(), to display the text correctly.
see also:
http://www.php.net/manual/nl/function.addslashes.php
and
Hello Michel,
MG J'ai regard la doc php, et je n'ai pas trouv de fonction timer.
MG Je souhaite lancer un timer l'expiration duquel j'excuterai un programme.
MG Est ce possible? Y a t'il des fonctions ou des morceaux de programme
MG facileme reprendre
MG pour faire a?
! , , .
time
Hi all,
I have a problem.How can I redirect from a PHP script to another script in asp, php or
a HTML page?
This script redirect to another script in function of the values of a variable.
Thanks in advance
Francesco
[EMAIL PROTECTED]
Hello gfmb,
Tuesday, December 2, 2003, 11:18:40 AM, you wrote:
gli I have a problem.How can I redirect from a PHP script to
gli another script in asp, php or a HTML page?
gli This script redirect to another script in function of the values of a variable.
This isn't really a database related
Dear friend, you're besides the point and needlessly condescending.
Michel was asking about something very different: PHP cron jobs, not time
intervals.
Ignatius
_
- Original Message -
From: Ivan Fomitchev [EMAIL PROTECTED]
To: Michel GUIRAUDOU [EMAIL PROTECTED]
header( Location: http://...; ) ;
_
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 12:18
Subject: [PHP-DB] Redirect.
Hi all,
I have a problem.How can I redirect from a PHP script to another script in
asp, php
Don't know if I fully understand your question, but, in general, you can
handle redirects with the header() function, e.g.,
header(Location:
http://www.yoursite.com/yourscript.php?msg=0storyID=.$newstory.;);
As you can see, you can include variable=value pairs at the end of the URL
as well (msg
Hey there everyone,
Just found a great PHP/MySQL/Apache book, it's not as comprehensive as some books, but
the topics it covers it covers VERY well, and i'm learning alot from it.
It's called:
Sams: Teach Yourself PHP, MySQL and Apache in 24 hours and it's by SAMS PUBLISHING.
While it's not
Sorry to bother all of you with this, but are any of you still getting
either of these responses each time you post to this list?
response1
Il nuovo indirizzo è: [EMAIL PROTECTED]
La mail è stata comunque inoltrata entro 60 minuti al nuovo indirizzo di
posta.
Si consiglia sin da subito l'utilizzo
Hello Richard,
Tuesday, December 2, 2003, 6:51:40 PM, you wrote:
HR Sorry to bother all of you with this, but are any of you still getting
HR either of these responses each time you post to this list?
Yes (he says waiting for another to arrive).
--
Best regards,
Richard
I'm trying to upload image files to the server using http file upload. The
files seem to make it to the sever okay, but once they're ther and I try to
move them to where I want them, I get the following error:
Warning: move_uploaded_file(./images/exec/Editor.jpg): failed to open
stream:
snip
Warning: move_uploaded_file(./images/exec/Editor.jpg): failed to open
stream: Permission denied in
/home/hudson/misc/dtr8hcj/public_html/changeexec.php on line 24
/snip
php needs permission to write to that directory. Check the permissons
on ./images/exec/.
--
PHP Database Mailing List
the web process does not have access to write the directory that oyu're
moving the file to. in this case ./images/exec/. most likely you'll need
to either chmod o+w ./images/exec (give the world the write right) or
change the owner of that directoyr to be the web process. both come with
their
I am looking for a way to kill my current MSSQY query from an PHP script.
For example, I have a page where the user picks some selection criteria, the
script then constructs aa MSSQL query and executes it, 5 minutes into it the
user decides, Forget about it and presses a button (ideally) to kill
Hi,
I know this is a bit off-topic but I find to get
faster answers from this Mailing List (generally
within a few minutes) than any other list. I find it
quicker to post here and get an answer than trying to
even search it on the web. And besides most of the
search results on the web are not
Hi php-db,
I have a table with approx. 250,000 rows in it. The primary key is an
ID field. All I am wondering is - is there any way at all from MySQL
to directly select every 50th row in this table?
I.e. row 1, 50, 100, 150, etc and return the ID of each row, ideally
with some kind of limit.
Hi there everyone,
This code works fine until I put it into my function, then it still works BUT however
many lines are in the file are multiplied. For example, if I have 3 lines with the
following:
[EMAIL PROTECTED], myname
[EMAIL PROTECTED], yourname
[EMAIL PROTECTED], ourname
In THEORY
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Hi php-db,
I have a table with approx. 250,000 rows in it. The primary key is an
ID field. All I am wondering is - is there any way at all from MySQL
to directly select every 50th row in this table?
I.e. row 1, 50, 100, 150, etc and
34 matches
Mail list logo