Just want to add to this with a little more info
my text file is a list of email addresses with a "%" separating them.
For example:
[EMAIL PROTECTED]@[EMAIL PROTECTED]
Now sometimes I end up with a "%" at the beginning. For example:
[EMAIL PROTECTED]@[EMAIL PROTECTED]
Or:
[EMAIL PROTECTED]@[E
-Original Message-
From: Dustin Krysak [mailto:[EMAIL PROTECTED]
Sent: 24 November 2004 09:53
To: PHP
Subject: Re: [PHP] remove first character in text file
Just want to add to this with a little more info
my text file is a list of email addresses with a "%" separating them.
For
Hi All, im new to classes in PHP. Im trying to create
several instances of a very basic class but i want
each name to be based on number values in an array and
im not sure if it is allowed and if so how to do it. I
assume that im not allow to have a var starting with a
number so what i am trying to
Hi
I use fpdf to generate pdf on the fly. It should display pdf in the browser
and it's ok withou mod_gzip.
Actually the problem is mod_gzip.
It seems IE doesn't work very well with this combination. No problems with
Firefox.
Anyone had this problem too?
Greetings
pt2002
--
PHP General Mailing
Guess its something like
$pref = "case";
for($i=0;$i<$numnames;$i++){
${$pref.$names[$i]} = new Test($name[$i]);
}
__
Stefan
> -Ursprüngliche Nachricht-
> Von: bob pilly [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 24. November 2004 12:52
> An: [EMAIL PROTECTED]
> Betreff: [
Can I get the information about paly time of the RM file by PHP?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In the phpinfo() output, the MySQL client API version is shown as 3.23.49.
Shouldn't this be upgraded to 4.1 (generally available/stable)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HI all,
Does anyone know of a decent spell checker for an HTML textarea?
Thanks in advance
Angelo
Disclaimer
This e-mail transmission contains confidential information,
which is the property of the sender.
The information in
[snip]
Does anyone know of a decent spell checker for an HTML textarea?
[/snip]
Google is your friend.at least he/she/it is mine...
http://www.google.com/search?hl=en&lr=&q=PHP+spell+checker+for+text+area
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Angelo Zanetti wrote:
HI all,
Does anyone know of a decent spell checker for an HTML textarea?
http://us4.php.net/manual/en/ref.pspell.php
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Jay Blanchard wrote:
Google is your friend.at least he/she/it is mine...
You lie!!! You have no friends!!! ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
> Google is your friend.at least he/she/it is mine...
You lie!!! You have no friends!!! ;)
[/snip]
*sniff* yes I do have friendsjust not losers like you
;) j/k of course
Happy Holidays All!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
On 25/11/2004, at 1:13 AM, Angelo Zanetti wrote:
HI all,
Does anyone know of a decent spell checker for an HTML textarea?
most decent browsers (firefox, safari, etc) have one built in :)
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have set up a record grid, where the user may see a
list of their "records". Repeat region, etc.
There is a button next to each record the user may
click to allow them to update the particular record.
This all worked fine with $_GET where I did a link on
the button to send the PrimaryID over.
[snip]
I have set up a record grid, where the user may see a
list of their "records". Repeat region, etc.
There is a button next to each record the user may
click to allow them to update the particular record.
This all worked fine with $_GET where I did a link on
the button to send the PrimaryID
On Thursday 25 November 2004 00:28, Stuart Felenstein wrote:
> Since the grid only is echos of the recordset fields,
> how does it know the correct PrimaryID to send when I
> hit the submit button. I'm thinking this is perhaps my
> problem.
Hidden fields, or give the submit button a name that's b
At 07:38 AM 11/24/2004, you wrote:
In the phpinfo() output, the MySQL client API version is shown as 3.23.49.
Shouldn't this be upgraded to 4.1 (generally available/stable)?
To do so, you would need to upgrade it. I know I am being a smartaleck
when I say this, but it won't upgrade on its own an
Steve Buehler wrote:
To do so, you would need to upgrade it. I know I am being a smartaleck
when I say this, but it won't upgrade on its own and it won't upgrade
just because you upgraded "just" PHP itself. PHP only reads what the
version is from what you have installed, not something that is
On Wed, 24 Nov 2004 10:37:19 -0600, Steve Buehler <[EMAIL PROTECTED]> wrote:
> At 07:38 AM 11/24/2004, you wrote:
>
> >In the phpinfo() output, the MySQL client API version is shown as 3.23.49.
> >Shouldn't this be upgraded to 4.1 (generally available/stable)?
>
> To do so, you would need to upgr
John Nichel wrote:
Steve Buehler wrote:
My phpinfo client API shows: 3.23.58
Which would be because that is the version of mysql that I am
running. My mysql, mysql-server and mysql-devel are all 3.23.58.
Only my php-mysql module is 4.3.2-14
No, this is not the case. If you install with RPM, o
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> > Since the grid only is echos of the recordset
> fields,
> > how does it know the correct PrimaryID to send
> when I
> > hit the submit button. I'm thinking this is
> perhaps my
> > problem.
>
> Hidden fields, or give the submit button a name
> that's
Olaf van der Spek wrote:
But why is the bundled client not upgraded?
Aren't 4.0 and 4.1 clients backwards compatible with 3.23 server?
Why they didn't upgrade the bundle to include the 4.0 release, I don't
know. However with the password 'issues' between 4.1 and earlier
versions, I'm sure that's
Hi List,
I have done some searching on Google and the Archives for what I am
trying to do, but it seems I am searching up the wrong avenues. Here is
my situation:
I generate pdf files with fpdf (fpdf.org) and I would like to catch the
output of the pdf stream into a variable so that I can attach
At 10:59 AM 11/24/2004, you wrote:
On Wed, 24 Nov 2004 10:37:19 -0600, Steve Buehler <[EMAIL PROTECTED]> wrote:
> At 07:38 AM 11/24/2004, you wrote:
>
> >In the phpinfo() output, the MySQL client API version is shown as 3.23.49.
> >Shouldn't this be upgraded to 4.1 (generally available/stable)?
>
>
--- Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> Without a lick of code or a pointer to the grid on
> the web we would be
> hard pressed to offer solutions or advice. Arrays
> maybe? Hidden form
> fields?
>
Jay, fine - I thought I could spare you the code but
address what the problem might be.
In
John Nichel wrote:
Olaf van der Spek wrote:
But why is the bundled client not upgraded?
Aren't 4.0 and 4.1 clients backwards compatible with 3.23 server?
Why they didn't upgrade the bundle to include the 4.0 release, I don't
know. However with the password 'issues' between 4.1 and earlier
versio
I have a server running RH 8, Apache 1.3.27, PHP 4.3.9. I tried to
recompile PHP with Curl support.
Everything seemed to compile correctly. However, when I restarted apache
I got the following error:
"Cannot load /etc/httpd/modules/libssl.so into server:
/etc/httpd/modules/libssl.so: undefined sym
Perhaps. I always use the same phrase to open up an array.
foreach($myarray as $var=>$val) { $$var= $val; }
You can also nest it into another foreach statement to extract from an
associative array.
Alberto
__
Renovamos el Correo Yahoo
Hi,
This is quite simpal problem that i want to made regular expression which can
read this kind of structure...
a,b,c
not like this
1. ,a,a,a
2. a,,,aa,,
3. a,a,a,,,
means simpal structure with comma (a,b,c...)
Thnx
Ankur
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Is there a way, *other than using debug_backtrace(), which has a bug*,
to determine from inside what class and method the current function was
called? For example:
class Foo {
function fubar() {
// I want to be able to determine that the function from which this
// method was cal
Olaf van der Spek wrote:
Isn't that only an issue for < 4.1 clients and >= 4.1 servers and not
for the 'other way around'?
I was actually asking because I have a 4.1 server and I couldn't use PHP
to connect, because it doesn't support new passwords.
It works both ways. You can make your 4.1 cli
Hi there...
I need to get a procedure able to do this:
1) Receive a string. For example: "name age address location".
2) Process that string, inserting "comas" between the words in the middle. For
example: "name,age,address,location". It´s important that the comas must be
inserted after the first
On Thursday 25 November 2004 01:27, Justin Palmer wrote:
> //Get the output and send the email send_mail.php
> //uses the class MIME_mail (http://www.cetusa.org/temp/MIME.class.phps)
> //WARNING I know that this is not how it is intended to be used,
> //but this is the what I want to accomplish.
John Nichel wrote:
Olaf van der Spek wrote:
Isn't that only an issue for < 4.1 clients and >= 4.1 servers and not
for the 'other way around'?
I was actually asking because I have a 4.1 server and I couldn't use
PHP to connect, because it doesn't support new passwords.
It works both ways. You c
Hi,
Is there a way to store MySQL (or other sensitive data) that will be
passed to a library in such a way that scripts itself can't access this?
A per-vhost store would be ideal.
If not, would this be a good idea to implement?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Hi All
I use sample code from PHPFreaks i.e.
mail($email_address, $subject, $message, "From: realcorp.net
Webmaster<[EMAIL PROTECTED]>\nX-Mailer: PHP/" . phpversion());
When the e-mail address is [EMAIL PROTECTED] (hosted by my telco/isp) it
works.
When I try [EMAIL PROTECTED] (via godaddy) it do
On Wed, 24 Nov 2004 15:26:44 -0300, Pablo D Marotta
<[EMAIL PROTECTED]> wrote:
> 1) Receive a string. For example: "name age address location".
>
> 2) Process that string, inserting "comas" between the words in the middle. For
> example: "name,age,address,location". It´s important that the comas m
Pablo D Marotta wrote:
Hi there...
I need to get a procedure able to do this:
1) Receive a string. For example: "name age address location".
2) Process that string, inserting "comas" between the words in the middle. For
example: "name,age,address,location". It´s important that the comas must be
ins
On Wed, 24 Nov 2004 15:26:44 -0300, Pablo D Marotta
<[EMAIL PROTECTED]> wrote:
> Hi there...
> I need to get a procedure able to do this:
>
> 1) Receive a string. For example: "name age address location".
>
> 2) Process that string, inserting "comas" between the words in the middle. For
> example
$string = str_replace(' ', ',', $string);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I need to get a procedure able to do this:
1) Receive a string. For example: "name age address location".
2) Process that string, inserting "comas" between the words in the middle. For
example: "name,age,address,location". It´s important that the comas must be
inserted after the first wor
Stuart Felenstein wrote:
I have set up a record grid, where the user may see a
list of their "records". Repeat region, etc.
There is a button next to each record the user may
click to allow them to update the particular record.
This all worked fine with $_GET where I did a link on
the button to se
My server is running PHP 5.0.2 and GD2 with full gif support. I'm having
troubles with animated gifs when I use imagecreatefromgif() and
imagegif(), in that I'm only getting the first frame. I could live with
this if I have to, but I'd like to get animation working if possible.
According t
I am running a system with PHP 5 and IIS 4. If I enable error display
in php.ini, errors get displayed. If I turn error display off, they go
away.
However, if I have them off in php.ini but I put this code on a page:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
I still get no error d
Jesse Castro wrote:
[snip]
I need to get a procedure able to do this:
1) Receive a string. For example: "name age address location".
2) Process that string, inserting "comas" between the words in the middle. For
example: "name,age,address,location". It´s important that the comas must be
inserted a
John Nichel wrote:
Pablo D Marotta wrote:
Hi there...
I need to get a procedure able to do this:
1) Receive a string. For example: "name age address location".
2) Process that string, inserting "comas" between the words in the
middle. For
example: "name,age,address,location". It´s important that t
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> How can I stick phpinfo() at the bottom of a page in such a way that
> it doesn't display the data in the page, but instead creates a log file
> and dumps everything in there) The log file should either be app
--- Daniel Schierbeck <[EMAIL PROTECTED]> wrote:
> I'd go with a POST form and a JavaScript
>
>
>
> onclick="document.grid['hidden'].value='123'"
> value="foobar" />
>
>
Yes , that is exactly what I'm doing but it's
returning only the last record.
So here below is an example of
Hi,
I have very wierd situation. The ISP is running in SAFE MODE.
I use PHP to create a directory with mkdir("something", 0777), it works
great!
However, if I try to create a sub-directory (e.g. "something2") in the
"something" directory, I get the following:
Warning: SAFE MODE Restriction in e
On Thursday 25 November 2004 04:29, Stuart Felenstein wrote:
> Yes , that is exactly what I'm doing but it's
> returning only the last record.
>
> So here below is an example of the grid results.
> with $_GET I click on one of the returns under
> primaryID, if I choose 1stRecord, 1stRecord comes u
On November 24, 2004 11:28, Stuart Felenstein wrote:
> I have set up a record grid, where the user may see a
> list of their "records". Repeat region, etc.
> There is a button next to each record the user may
> click to allow them to update the particular record.
>
> Since the grid only is echos o
Hy David,
well here is my code... I use smarty templating system for parsing
values, but should give you a very clear idea of what must to be done.
== MODULES LISTING TEMPLATE
==
{include file="$controllerTemplates/head.tpl"}
{#head_name#}
{#he
Hi there,
I am trying to get a class running which requires pear:DB.
I downloaded the package and executed:
# pear install DB-1.6.8.tgz
DB already installed
The system tells me that the package is already installed?!
That is strange, because the app says:
Fatal error: Call to undefined function: fe
Merlin wrote:
Hi there,
I am trying to get a class running which requires pear:DB.
I downloaded the package and executed:
# pear install DB-1.6.8.tgz
DB already installed
pear upgrade DB-1.6.8.tgz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Thx Helen for another non-hostile, and as usual, very informative response!
We newbie's are having a though time, well at least in THIS forum! At least
I am!
You (me) apparently have to RTFM or FO
And thx to all the other POSITIVE responses I have had!
It is REALLY appreciated. It is not easy b
Greg Beaver wrote:
Merlin wrote:
Hi there,
I am trying to get a class running which requires pear:DB.
I downloaded the package and executed:
# pear install DB-1.6.8.tgz
DB already installed
pear upgrade DB-1.6.8.tgz
Hi,
I successfully upgraded with this command. However the system still says:
Fata
Merlin wrote:
Greg Beaver wrote:
Merlin wrote:
Hi there,
I am trying to get a class running which requires pear:DB.
I downloaded the package and executed:
# pear install DB-1.6.8.tgz
DB already installed
pear upgrade DB-1.6.8.tgz
Hi,
I successfully upgraded with this command. However the system s
On November 24, 2004 16:35, Stuart Felenstein wrote:
> To get to the grid I'm passing over
> the userID . Then basic a select statement in the
> results grid with a while loop the returns all the
> records related to the userID.
>
> It's just odd - because in Dreamweaver I build the
> grid with o
On Thu, 25 Nov 2004 00:47:10 +0200, Johan van Zyl <[EMAIL PROTECTED]> wrote:
> If I am supposed to study ALL manuals in great detail before I am allowed to
> ask a question here.?
It's not about "allowed" ( your post made it to my inbox without
issue) or not, but please do consider the high-tr
Johan van Zyl wrote:
Hi All
I use sample code from PHPFreaks i.e.
mail($email_address, $subject, $message, "From: realcorp.net
Webmaster<[EMAIL PROTECTED]>\nX-Mailer: PHP/" . phpversion());
When the e-mail address is [EMAIL PROTECTED] (hosted by my telco/isp) it
works.
When I try [EMAIL PROTECTED]
On November 24, 2004 17:47, Johan van Zyl wrote:
> It is not easy being a PHP newbie!
> If I am supposed to study ALL manuals in great detail before I am allowed
> to ask a question here.?
>
Its not that you have to read all of the manuals and books. You just need to
take some time to figure
SED wrote:
Hi,
I have very wierd situation. The ISP is running in SAFE MODE.
I use PHP to create a directory with mkdir("something", 0777), it works
great!
However, if I try to create a sub-directory (e.g. "something2") in the
"something" directory, I get the following:
Warning: SAFE MODE Restricti
--- David Bevan <[EMAIL PROTECTED]> wrote:
> Would it be possible to see the code that generates
> the grid?
> Both the php and HTML.
> --
I'm preferring not to post the code solely becasue I
don't want to expose all my database fields here. Of
course this may cost me the help I need.
I'm do
Then, shouldn't the owner be able to handle the new directory?
In my case, the owner creates the directory X but can't create a
subdirectory inside the directory X! nor save a file into it!
Can you explain that?
Is the PHP not always running as the same user? Or is it base on type of the
functio
Luis Lebron wrote:
I have a server running RH 8, Apache 1.3.27, PHP 4.3.9. I tried to
recompile PHP with Curl support.
that's a very old version of red hat that is no longer supported you
might want to upgrade at least to RH 9 if not to fedora
Everything seemed to compile correctly. However, w
Thomas Peri wrote:
Is there a way, *other than using debug_backtrace(), which has a bug*,
to determine from inside what class and method the current function
was called? For example:
you could try xdebug.
--
Raditha Dissanayake.
Hi there
I was making a script that had a loop, and ended up with a endless loop
by accident. Now if that script is executed on the server - does the
script die as soon as the browser is closed? Or does it keep running as
a process on the server?
Thanks!
d
--
PHP General Mailing List (http:
SED wrote:
Then, shouldn't the owner be able to handle the new directory?
In my case, the owner creates the directory X but can't create a
subdirectory inside the directory X! nor save a file into it!
Can you explain that?
Is the PHP not always running as the same user? Or is it base on type of the
I think it depends on whether or not someone is watching it.
On Nov 24, 2004, at 5:10 PM, Dustin Krysak wrote:
Hi there
I was making a script that had a loop, and ended up with a endless
loop by accident. Now if that script is executed on the server - does
the script die as soon as the browse
On Wed, 24 Nov 2004 17:10:01 -0800, Dustin Krysak
<[EMAIL PROTECTED]> wrote:
Hi there
I was making a script that had a loop, and ended up with a endless loop
by accident. Now if that script is executed on the server - does the
script die as soon as the browser is closed? Or does it keep
It just seems not making sence. I have read the manual and it does not
explain this specially.
If the user owns this folder: "www\myfolders"
And runs a PHP-script in safe mode that creates the folder
"www\myfolders\who".
Who owns the "who" folder?
I assume the owner. If so, why can't the PHP-sc
Hi sed,
which version of PHP you using? may not be just Safe Mode. is it
the script working well before the safe mode is on?
yours,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Johan van Zyl wrote:
Hi
Thx Helen for another non-hostile, and as usual, very informative response!
We newbie's are having a though time, well at least in THIS forum! At least
I am!
You (me) apparently have to RTFM or FO
many people in this list believe that people who do not RTFM are lazy
and
Olaf van der Spek wrote:
Hi,
Is there a way to store MySQL (or other sensitive data) that will be
passed to a library in such a way that scripts itself can't access this?
A per-vhost store would be ideal.
If not, would this be a good idea to implement?
Your question is not very clear but if you w
The PHP Version is 4.2.3 on Apache/1.3.27.
I'm not the admin on this server. However, I have done this often on other
servers, both in safe mode and not, with good success. This is the first
time I try this on this server. The ISP-admin is also trying to solve this
but with not luck at this time.
On Thu, 25 Nov 2004 09:33:41 +0600, Raditha Dissanayake
<[EMAIL PROTECTED]> wrote:
> many people in this list believe that people who do not RTFM are lazy
> and do not deserve help.
That's because people who expect free help without RTFM are lazy and
do not deserve help. How else do you plan to l
Hi,
I have faced the same problem after the upgrade my server from php
4.2.2 to php 5.0.2. I tested mkdir() in both in safe_mode on and off.
I have posted this to php-bug.
yours,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greg Donald wrote:
On Thu, 25 Nov 2004 09:33:41 +0600, Raditha Dissanayake
<[EMAIL PROTECTED]> wrote:
many people in this list believe that people who do not RTFM are lazy
and do not deserve help.
That's because people who expect free help without RTFM are lazy and
do not deserve help. How
Alexander Kleshchevnikov wrote:
Can I get the information about paly time of the RM file by PHP?
IIRC, the getID3 library has support for reading RealAudio/Video. You
can find it here: http://getid3.sourceforge.net/
--Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
By default, I believe, it stops executing when the user hits the stop
button. You can control this with the ignore_user_abort function
http://www.php.net/ignore_user_abort
Chris
Dustin Krysak wrote:
Hi there
I was making a script that had a loop, and ended up with a endless
loop by accident.
Jeffery Fernandez wrote:
Merlin wrote:
Greg Beaver wrote:
Merlin wrote:
Hi there,
I am trying to get a class running which requires pear:DB.
I downloaded the package and executed:
# pear install DB-1.6.8.tgz
DB already installed
pear upgrade DB-1.6.8.tgz
Hi,pear list
I successfully upgraded wit
81 matches
Mail list logo