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,
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 thi
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. Even
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 wh
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
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 o
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
php needs permission to write to that directory. Check the permissons
on ./images/exec/.
--
PHP Database Mailing List (http://www.
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: Permission
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
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?
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 del nuovo
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 t
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=0&storyID=".$newstory."";);
As you can see, you can include variable=value pairs at the end of the URL
as well
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,
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 PROTECT
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
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 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'exйcuterai un programme.
MG> Est ce possible? Y a t'il des fonctions ou des morceaux de programme
MG> facileme а reprendre
MG> pour faire зa?
Дорогой друг! Т
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
http://www.php.net/manual/nl/function.str
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
c:/tasks/m
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
> pa
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
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=images&ie=UTF-8&oe=UTF-8&as_ugroup=*access*&as_usubject=php%20odbc&lr=&hl=en
Go to http://groups.google.com
click on Advanced search
for Newsgroup
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 v
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 v
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
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 favorit
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 st
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 databa
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 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
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.
DOCU
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
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 re
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'
34 matches
Mail list logo