[PHP-DB] Re: Dreamweaver as PHP editor

2003-12-02 Thread Philippe Saladin
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

[PHP-DB] Fake BDD

2003-12-02 Thread BENARD Jean-philippe
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

[PHP-DB] Re: Downloading PHP source from a PHP

2003-12-02 Thread JeRRy
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

[PHP-DB] phpMyAdmin produces error on PHP

2003-12-02 Thread Andy Levy
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.

[PHP-DB] Re: Extra blank lines bomb fgetcsv function

2003-12-02 Thread David Robley
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

[PHP-DB] Re: Go to detail page...problem

2003-12-02 Thread David Robley
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

Re: [PHP-DB] Fake BDD

2003-12-02 Thread Gary Every
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

Re: [PHP-DB] multiple queries

2003-12-02 Thread Gary Every
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

Re: [PHP-DB] Fake BDD

2003-12-02 Thread John Krewson
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

[PHP-DB] MS Access, FoxPro and PHP

2003-12-02 Thread Robert Twitty
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

[PHP-DB] Fonction timer

2003-12-02 Thread Michel GUIRAUDOU
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

[PHP-DB] FW: Fonction timer

2003-12-02 Thread Michel GUIRAUDOU
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

RE: [PHP-DB] MS Access, FoxPro and PHP

2003-12-02 Thread howard gramer
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

[PHP-DB] user input killing code

2003-12-02 Thread redhat
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

RE: [PHP-DB] user input killing code

2003-12-02 Thread Hutchins, Richard
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

Re: [PHP-DB] Fonction timer

2003-12-02 Thread Ignatius Reilly
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

[PHP-DB] Re: user input killing code

2003-12-02 Thread Peter
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

Re: [PHP-DB] Fonction timer

2003-12-02 Thread Ivan Fomitchev
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

[PHP-DB] Redirect.

2003-12-02 Thread gfmb
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]

Re: [PHP-DB] Redirect.

2003-12-02 Thread Richard Davey
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

Re: [PHP-DB] Fonction timer

2003-12-02 Thread Ignatius Reilly
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]

Re: [PHP-DB] Redirect.

2003-12-02 Thread Ignatius Reilly
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

RE: [PHP-DB] Redirect.

2003-12-02 Thread Hutchins, Richard
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

[PHP-DB] Great PHP Book i've come across

2003-12-02 Thread Chris Payne
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

[PHP-DB] Annoying Server Responses

2003-12-02 Thread Hutchins, Richard
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

Re: [PHP-DB] Annoying Server Responses

2003-12-02 Thread Richard Davey
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

[PHP-DB] Uploading files

2003-12-02 Thread Hugh Dickinson
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:

Re: [PHP-DB] Uploading files

2003-12-02 Thread Matt Matijevich
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

Re: [PHP-DB] Uploading files

2003-12-02 Thread jeffrey_n_Dyke
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

[PHP-DB] Killing MSSQL Query

2003-12-02 Thread Michael Lewis
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

[PHP-DB] IFRAME sound question!

2003-12-02 Thread JeRRy
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

[PHP-DB] Selecting every 50th row

2003-12-02 Thread Richard Davey
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.

[PHP-DB] Function Problem

2003-12-02 Thread Chris Payne
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

[PHP-DB] Re: Selecting every 50th row

2003-12-02 Thread David Robley
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