Hello,
I have a form with a textarea field, I'm trying to eliminate the keywords that
users write on it, what can I do using php? for instance: the original phrase would
be: "Hello world!"
after using a function php must be: "Hello world!".
Thanks
if you mean remove the new line characters, then a str_replace('\n',
'', $textbody); should be sufficient. If thats not what you mean,
please clarify.
Jason
On Tue, 27 Jul 2004 18:29:42 -0500, Raúl Castro <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a form with a textarea field, I'm trying to
On Tue, 27 Jul 2004 18:29:42 -0500, Raúl Castro <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a form with a textarea field, I'm trying to eliminate the keywords
> that users write on it, what can I do using php? for instance: the original phrase
> would be: "Hello world!"
> after using a func
Anyone have any suggestions as to the best way to keep track of all
users who are logged in at a given time? I thought of writing them to a
temp text file and them deleting the names from the file when a user
logged out, but I think there has to be a better way. Anyone have any
suggestions?
On Tue, 27 Jul 2004 19:55:49 -0400, Jason Giangrande
<[EMAIL PROTECTED]> wrote:
> Anyone have any suggestions as to the best way to keep track of all
> users who are logged in at a given time? I thought of writing them to a
> temp text file and them deleting the names from the file when a user
> l
If you have a users table, you could add a field to it that contains
the last login datetime. and query that table for datetimes that are
less then your session timeout (if one exists). Of coarse, you would
have to update that table when a user logs in.
Jason
On Tue, 27 Jul 2004 19:55:49 -0400,
I did one application where I used the PHP session table to tell who was
logged on, and which area of the application they were most recently in.
One of several flaws, was that I used Kill session to logoff, and that
caused them to disappear from any count of users logged on. Course, if they
had l
Hi,
instead of showing my index.php page located at /
I want to show my index.html page located at /cached/
but I dont want to use javascript as the clients JS
might be off...and I dont want to get blacklisted by
the search engines for redirecting...
I did read somewhere that you can redirect via
Hey,
Dont worry about it, found it:
http://www.thinkhost.com/services/kb/301-redirect.shtml
Thanks,
Mag
=
--
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
___
On Wednesday 28 July 2004 04:51, Vern wrote:
> I get:
>
> # wget -O -q http://www.comp-wiz.com/index.html | lpr -P hp1300n
> --16:49:59-- http://www.comp-wiz.com/index.html
>=> `-q'
> Resolving www.comp-wiz.com... done.
> Connecting to www.comp-wiz.com[207.234.154.95]:80... connected.
please give me a command line to startup MySQL using safe_mysqld
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
It depends on your configuration, OS, etc...
> -Original Message-
> From: Fitra Alfina [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 27, 2004 7:37 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Urgent..my MYSQL dies..
>
> please give me a command line to startup MySQL using safe_mysqld
-
Fitra Alfina wrote:
please give me a command line to startup MySQL using safe_mysqld
try the mysql list
--
Raditha Dissanayake.
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP
how to restart deamon??
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 28 Jul 2004 12:49, Fitra Alfina wrote:
> how to restart deamon??
How to ask questions the smart way
http://www.catb.org/~esr/faqs/smart-questions.html
--
David Robley
Dogs come when you call. Cats have answering machines.
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
I can't figure how could i add +7 more days on the DD (Day) value. My
problem is, when the day is close on the end of the month like
07/29/2004
when i add +7 on 29 = 36, its obvious we dont have 36 on the calendar.
And im creating a program below, to explode it and maybe just add +.
But i think i
On Wed, 28 Jul 2004 11:30:42 +0800, Louie Miranda <[EMAIL PROTECTED]> wrote:
> I can't figure how could i add +7 more days on the DD (Day) value. My
> problem is, when the day is close on the end of the month like
>
> 07/29/2004
>
> when i add +7 on 29 = 36, its obvious we dont have 36 on the cal
On Wednesday 28 July 2004 11:30, Louie Miranda wrote:
> I can't figure how could i add +7 more days on the DD (Day) value. My
> problem is, when the day is close on the end of the month like
>
> 07/29/2004
>
> when i add +7 on 29 = 36, its obvious we dont have 36 on the calendar.
> And im creating
HAHAHAHHAHA
http://ph.php.net/manual/en/function.strtotime.php
:)
--
Louie Miranda
http://www.axishift.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Definately check out strtotime() function, way easier than adding up
the seconds of a timestamp, or breaking apart a getdate array.
Jason
On Wed, 28 Jul 2004 11:30:42 +0800, Louie Miranda <[EMAIL PROTECTED]> wrote:
> I can't figure how could i add +7 more days on the DD (Day) value. My
> problem
Hello all,
I have 3 scripts script1.php and script2.php where both include the same
general.inc file of functions. Then I have script3.php that calls
functions from both scritp1.php and script2.php. As both script1 and
script2 include general.inc when I try to use diferent function on
script3 I
> please give me a command line to startup
> MySQL using safe_mysqld
C:\>
---John Holmes...
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004
--
PHP General Mailing List (htt
Hi Everyone,
I am looking for a tool that lets me do simple data managment ie.
edit,update,insert and delete records in tables of a database.
I am kinda fed up of writing those php scripts for back ends of
websites over and over :). I am looking for some thing generic to
replace that if possible.
I *believe* that include_once will be all that is necessary. However if that
doesn't stop the problem, you can use a DEFINE and at the top of each script:
if (!defined(FILE1)) {
include_once 'file1.php';
}
-- file1.php -
define ('FILE1', TRUE);
--
PHP General Mailing List (
[EMAIL PROTECTED] wrote:
please give me a command line to startup
MySQL using safe_mysqld
C:\>
---John Holmes...
HAHAHA How'd you guess they would have a drive letter for their prompt :)
Oh, us poor, poor windows users. Microsoft has "protected" us from it for so
long that we've forgotten wha
I'm working on a project that makes use of the DOMXPath class in PHP5. I have
some test xml documents / queries, but it would be good to test my project with
other people's documents / xpath queries that do things mine don't. Please
reply off list though, since I doubt most of the people here wan
On Tue, 27 Jul 2004 22:09:35 -0700 (PDT), Jaskirat Singh
<[EMAIL PROTECTED]> wrote:
> Hi Everyone,
> I am looking for a tool that lets me do simple data managment ie.
> edit,update,insert and delete records in tables of a database.
>
> I am kinda fed up of writing those php scripts for back ends o
Hi
I am doing a search in the database and would like to limit the display to x numbers
only. But would like to put two links next and previous. Where they click to goto next
page.
Say there were 28 results returned by query but i want to display 5 on first and
subsequent pages. The way I do t
You can also use an application called CodeCharge. It's very easy to use.
By the way are you living in India or abroad??
Harmeet
"Jaskirat Singh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Everyone,
> I am looking for a tool that lets me do simple data managment ie.
> edit,
Hello all. I have a function that executes the unzip command.
function test_unzip($command) {
$stdout = shell_exec($command);
echo $stdout;
}
This is the content of $stdout after calling it with $command = "unzip
./email/test.zip";
Archive: ./email/test.zip
inflating: ./txt/test.t
Vern wrote:
I get:
# wget -O -q http://www.comp-wiz.com/index.html | lpr -P hp1300n
What I wrote was
wget -O -q - http://www.domain.com/file.php | lpr -P hp1300n
You forgot -
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a special offer available for you at our casino.
$20 to try our internet casino, no deposit is necessary!
At the casino software's cashier enter bonus code: FR93P
$200 bonus on your first deposit!
At the casino software's cashier enter bonus code: FMJKU
Allow us to show you our quali
C.F. Scheidecker Antunes wrote:
Hello all. I have a function that executes the unzip command.
..
What I want to do is to extract the value(s) after inflating, so that
I can check what was extracted from the zip.
You can do so with regular expresson but a more simple aproach may be to
use the spl
101 - 133 of 133 matches
Mail list logo