BlueShoes: PHP Framework and CMS
http://www.blueshoes.org/en/javascript/
Regards,
Nadim Attari
Alienworkers.com
Blackwater Dev [EMAIL PROTECTED] a écrit dans le message de
news:[EMAIL PROTECTED]
Does anyone have a nice clean way to provide data grids with php short
of simply creating a bunch
John Nichel wrote:
M. Sokolewicz wrote:
John Nichel wrote:
Joshua D. Drake wrote:
PHP != MySQL
MySQL != RDBMS
Please tell me you're kidding.
that's a funny one... could've sworn it actually was one...
All this time the MySQL AB people have been lying to us. It's actually
an Excel spreadsheet. ;)
Howdy,
I've written some, kinda coolish, class that reads directories
recursively with some simple calls. Yihaaa, .. (but I'm not the only
one who has done that, I guess :P). Anyway, during the process of
traversing a directory it checks to see if the something that was
found is either a
You can try directoryIterator and recursiveDirectoryIterator in php5.
I don't know if they are more faster than your solution (it seems to me
that these extension are written in php, not in C, but portage to C is
in todo list), but they do exactly the same thing than your class.
Is it really a
Wouter van Vliet wrote:
Howdy,
I've written some, kinda coolish, class that reads directories
recursively with some simple calls. Yihaaa, .. (but I'm not the only
one who has done that, I guess :P). Anyway, during the process of
traversing a directory it checks to see if the something that was
Wouter van Vliet wrote:
Howdy,
I've written some, kinda coolish, class that reads directories
recursively with some simple calls. Yihaaa, .. (but I'm not the only
one who has done that, I guess :P). Anyway, during the process of
traversing a directory it checks to see if the something that was
Hello there,
could anyone tell me if PHP supports these OS?
I wasnt able to find anything on the net.
LynxOS
MVS
OS390
QNX
VMS
Windows CE
Xenix
Thanks,
FireSnake
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
In conection.php I have written.
SESSION_ START();
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
on login failure I am redirecting to home page.
Header(Location: home.php);
the following error occuring in above line.
Warning: Cannot
Hello,
In conection.php I have written.
SESSION_ START();
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
on login failure I am redirecting to home page.
Header(Location: home.php);
the following error occuring in above line.
Warning: Cannot
the following error occuring in above line.
Warning: Cannot modify header information - headers already sent by
(output started at E:\PHPMySql scripts\bugtrack\connection.php:3)
in E:\PHPMySql scripts\bugtrack\index.php on line 117
Have you got any space before you output anything to the
On Thursday 12 August 2004 07:48 pm, CBharadwaj wrote:
Hello,
In conection.php I have written.
SESSION_ START();
^
Get rid of extra space and it should work
Hth,
Andre
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
on
I'm trying to replace all occurances of the X character in a text
with Y, but only those X's that occur between bold tags (b/b).
--
Romanian Web Developers - http://ROWD.ORG
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
could anyone tell me if PHP supports these OS?
I wasnt able to find anything on the net.
LynxOS
MVS
OS390
QNX
VMS
Windows CE
Xenix
Thanks,
FireSnake
www.php.net
You should be able to find builds for Windows and Linux (as far as
server...). If you are
Hello NG
Please excuse my bad english because I come from austria. I hope you
understand me...
I have searched in the NG and in internet and don't found an answer to my
php problem:
When I use the imap functions with php all looks like good but when I will
get the body or structure from an
From: Skippy [EMAIL PROTECTED]
I'm trying to replace all occurances of the X character in a text
with Y, but only those X's that occur between bold tags (b/b).
?php
$str = 'This X and this X will not be fixed, but bthis X
and/b and hopefully this bX/b should be, along b with
this X also. /b, but
From: Markus H [EMAIL PROTECTED]
$structure = imap_fetchstructure($mbox, msgnum );
Warning: imap_fetchstructure(): Bad message number in (...) on line (...)
Is msgnum a constant or do you mean to have $msgnum, i.e. a variable?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To
From: Aaron Voisine [EMAIL PROTECTED]
I read in the docs several comments that $_SESSION is slower that other
arrays. One
comment even had benchmarking info indicating it was about half as
fast. I don't understand
why this should be. Isn't $_SESSION just a normal super global array
like any other,
John Holmes wrote:
From: Markus H [EMAIL PROTECTED]
$structure = imap_fetchstructure($mbox, msgnum );
Warning: imap_fetchstructure(): Bad message number in (...) on line (...)
Is msgnum a constant or do you mean to have $msgnum, i.e. a variable?
---John Holmes...
Yes, I mean thats
The piece of code you have submitted (see under) is interesting,
although there is one thing I don't find meaning to, even after RTFM,
and STFG(Searching The Funky Google). In your regular expression
pattern '#b.*/b#Uis', what does this do : #...#Uis
Thank you very much
Piece of code :
[snip]
John Holmes wrote:
From: Aaron Voisine [EMAIL PROTECTED]
I read in the docs several comments that $_SESSION is slower that other
arrays. One
comment even had benchmarking info indicating it was about half as
fast. I don't understand
why this should be. Isn't $_SESSION just a normal super global
From: François Moreau [EMAIL PROTECTED]
The piece of code you have submitted (see under) is interesting, although
there is one thing I don't find meaning to, even after RTFM, and
STFG(Searching The Funky Google). In your regular expression pattern
'#b.*/b#Uis', what does this do : #...#Uis
From: raditha dissanayake [EMAIL PROTECTED]
The following code gives me this:
Normal $val: 9.4890594482422E-05
Session var: 1.1920928955078E-05
The key here is the 'to the power of -05' bit.
Yeah?
0.948
0.112
Which one is larger?
---John Holmes...
--
PHP General Mailing List
Thank you very much for your quick answer!
Le 04-09-09, à 10:10, John Holmes a écrit :
From: François Moreau [EMAIL PROTECTED]
The piece of code you have submitted (see under) is interesting,
although there is one thing I don't find meaning to, even after RTFM,
and STFG(Searching The Funky
the connection file I have included in every page.
why this error is occuring?
check E:\PHPMySql scripts\bugtrack\connection.php for white space
before or after ?php ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Holmes wrote:
From: Aaron Voisine [EMAIL PROTECTED]
I read in the docs several comments that $_SESSION is slower that other
arrays. One
comment even had benchmarking info indicating it was about half as
fast. I don't understand
why this should be. Isn't $_SESSION just a normal super global
John Holmes wrote:
From: raditha dissanayake [EMAIL PROTECTED]
The following code gives me this:
Normal $val: 9.4890594482422E-05
Session var: 1.1920928955078E-05
The key here is the 'to the power of -05' bit.
Yeah?
0.948
0.112
Which one is larger?
The answer is that for such small
Quoting John Holmes [EMAIL PROTECTED]:
From: Skippy [EMAIL PROTECTED]
I'm trying to replace all occurances of the X character in a text
with Y, but only those X's that occur between bold tags (b/b).
?php
$str = 'This X and this X will not be fixed, but bthis X
and/b and hopefully this
On Thu, 2004-09-09 at 10:57, raditha dissanayake wrote:
John Holmes wrote:
From: raditha dissanayake [EMAIL PROTECTED]
The following code gives me this:
Normal $val: 9.4890594482422E-05
Session var: 1.1920928955078E-05
The key here is the 'to the power of -05' bit.
Yeah?
Chris Dowell wrote:
Entirely off the top of my head, I would imagine it has to do with the
scope of the variables in question.
When assigning a value to a variable, there must be some time spent
resolving the scope in which that variable is valid, to see if the new
value overwrites any
wang dang wrote:
Hey John, I just read your post in the php mailing list regarding rsync
+ ssh and rdbms. I wish you would keep your stupid remarks to
yourself. I try and read each and every post to help people. And post
like yours waste more time than the OT posts. In other words if you
Lizet Peña de Sola wrote:
Hi all,
I need to use tidy for cleaning up html in my project, our hosting company
has php 4.3.8, so we need to install tidy and make the installation again.
After several times, the configure and make commands replied no error,
however, the phpinfo() doesn't show the
look the line 3 of connection.php
Good luck
On Wed, 8 Sep 2004 16:43:54 -0700, CBharadwaj
[EMAIL PROTECTED] wrote:
Hello,
In conection.php I have written.
SESSION_ START();
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
on login failure I am
In any case, it would appear the comments in the session section of the
online docs are wrong or just out of date, and I don't need to worry
about it. I'll go ahead and add a comment to that effect on the
ref.session page.
l8r
Aaron
--- Marek Kilimajer [EMAIL PROTECTED] wrote:
Chris Dowell
Hello Marek, thanks for your reply.
It was the hosting company support and I the ones installing, yes they have
they have the loading extensions disabled.
However in the package I downloaded from
http://pecl.php.net/package/tidy/1.1 there's no .dll file in it...
Lemme try that script and I'll let
*
* Do not Cc: me, because I am on THIS list, if I write here *
* Keine Cc: am mich senden, bin auf DIESER Liste wenn ich hier schreibe *
*
Lizet Peña de Sola wrote:
Hello Marek, thanks for your reply.
It was the hosting company support and I the ones installing, yes they have
they have the loading extensions disabled.
However in the package I downloaded from
http://pecl.php.net/package/tidy/1.1 there's no .dll file in it...
Lemme try
Not necessarily outside of php, but outside of webserver. You need to
setup a cron job that will execute the phpmailer script.
Gotcha..,
My webserver is a windows box, so I can just run a task schedule and give it;
php.exe myfile.php
and that should do it?
Would it be more efficient
Hello Marek, our webserver is a Unix one, and yes we want to make the
extension available for all users.
Please explain where I need to put the line extension=tidy.so, in the
php.ini file?
I checked that the tidy folder is in the extensions folder...
Thanks in advance,
lizet
At the root level
Another reply...
lizet
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 1:12 PM
To: Lizet Peña de Sola
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Tidy installation problem in php 4.3.8
Lizet Peña de Sola wrote:
Hello Marek, thanks for
Hi all!
I am creating a function that will remove punctuation from a string,
however, I am wondering if PHP has a function somewhere that will do the
same.
Right now my approach is to cycle through an array of punctuation and remove
the items.
Anything already exist?
Thanks!
--
PHP
http://ca3.php.net/manual/en/function.str-replace.php
if you have the array of puncuation already, i think that is your
solution.
Jason
Jed R. Brubaker [EMAIL PROTECTED] wrote:
Hi all!
I am creating a function that will remove punctuation from a string,
however, I am wondering if PHP
[snip]
I am creating a function that will remove punctuation from a string,
however, I am wondering if PHP has a function somewhere that will do the
same.
Right now my approach is to cycle through an array of punctuation and
remove
the items.
Anything already exist?
[/snip]
Have you looked
Jed R. Brubaker wrote:
Hi all!
I am creating a function that will remove punctuation from a string,
however, I am wondering if PHP has a function somewhere that will do the
same.
Right now my approach is to cycle through an array of punctuation and remove
the items.
Anything already exist?
Anybody got php_printer running?
If I give printer_open an invalid printer name, error. Give it a valid
(shared) printer name, not error, but using the $handle in
printer_set_option gives an 'invalid printer handle error'
What do I need to do next to check this out?
--
Lester Caine
i think str_replace is faster that ereg_replace
Jason
John Nichel [EMAIL PROTECTED] wrote:
Jed R. Brubaker wrote:
Hi all!
I am creating a function that will remove punctuation from a string,
however, I am wondering if PHP has a function somewhere that will do the
same.
Jason Davidson wrote:
i think str_replace is faster that ereg_replace
Jason
We tested that theory a while back on here (I don't remember the subject
of the emails, so finding it would be kind of hard), and it came out to
be almost exactally the same speed.
--
John C. Nichel
ÜberGeek
Hi All,
I have a problem...with my code ,can any one please guide or correct me.
[BLUE]
My main aim is to develop a php(or php in html) ,in which Login is there ,after
appropriate login ,User must get the
Option of selecting available databases ,Upon selecting databases,user must get to
I'm currently working on some stuff with php-cli and got a few problem.
I want to be able to read one single character from stdin via keyboard,
ie. pressing a button.
It works fine if I use enter as newline afterwards, but I would like to
do it without pressing enter.
Thus, I have to turn off
John Nichel wrote:
Jason Davidson wrote:
i think str_replace is faster that ereg_replace
Jason
We tested that theory a while back on here (I don't remember the subject
of the emails, so finding it would be kind of hard), and it came out to
be almost exactally the same speed.
Around 1/10th of a
Does anyone know if a workflow suite/engine written in
PHP exists?
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: John Nichel [EMAIL PROTECTED]
i think str_replace is faster that ereg_replace
We tested that theory a while back on here (I don't remember the subject
of the emails, so finding it would be kind of hard), and it came out to be
almost exactally the same speed.
Not that speed tests like this
Warning: Cannot modify header information - headers already sent by
(output started at E:\PHPMySql scripts\bugtrack\connection.php:3)
in E:\PHPMySql scripts\bugtrack\index.php on line 117
the connection file I have included in every page.
why this error is occuring?
You are getting this
John Holmes wrote:
From: John Nichel [EMAIL PROTECTED]
i think str_replace is faster that ereg_replace
We tested that theory a while back on here (I don't remember the
subject of the emails, so finding it would be kind of hard), and it
came out to be almost exactally the same speed.
Not that
Martin Holm wrote:
I'm currently working on some stuff with php-cli and got a few problem.
I want to be able to read one single character from stdin via keyboard,
ie. pressing a button.
It works fine if I use enter as newline afterwards, but I would like to
do it without pressing enter.
Thus, I
On Thu, 2004-09-09 at 14:10, Martin Holm wrote:
I'm currently working on some stuff with php-cli and got a few problem.
I want to be able to read one single character from stdin via keyboard,
ie. pressing a button.
It works fine if I use enter as newline afterwards, but I would like to
do
From: John Nichel [EMAIL PROTECTED]
Not worth losing sleep over...whatever yer comfortable with I
say.
I agree... people love stats like that, though. :)
---John Holmes..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ya, no doubt, i was going to repost my message, i should have said, that
manual suggests using str_replace over ereg_replace... without reason..
i just assumed it was speed and resources..
eitherway, both would work, try em both. :)
Jason
John Nichel [EMAIL PROTECTED] wrote:
Jason Davidson
On Thu, 2004-09-09 at 14:10, Martin Holm wrote:
I'm currently working on some stuff with php-cli and got a few problem.
I want to be able to read one single character from stdin via keyboard,
ie. pressing a button.
It works fine if I use enter as newline afterwards, but I would like to
Just mostly curious but is there a way to assign one variable to multiple
variables in one single line?
Rather than do this:
$var2 = $var1;
$var3 = $var1;
Is there a method to perform a:
($var2,$var3) = $var1;
--
--Matthew Sims
--http://killermookie.org
--
PHP General Mailing List
Hello,
To put it bluntly, has anyone here been able to get the PHP5 DOM
extension to validate using an xsd schema worth a rat's ass? I'm
finding that it doesn't enforce required attributes, dies on any global
complex types, has uninformative validation warnings, and basically sucks.
Any
* Thus wrote John Holmes:
From: John Nichel [EMAIL PROTECTED]
i think str_replace is faster that ereg_replace
We tested that theory a while back on here (I don't remember the subject
of the emails, so finding it would be kind of hard), and it came out to be
almost exactally the same
From: Matthew Sims [EMAIL PROTECTED]
Just mostly curious but is there a way to assign one variable to multiple
variables in one single line?
$a = $b = $c = $d = 1;
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$var2 = $var3 = $var5 = all the same;
Jason
Matthew Sims [EMAIL PROTECTED] wrote:
Just mostly curious but is there a way to assign one variable to multiple
variables in one single line?
Rather than do this:
$var2 = $var1;
$var3 = $var1;
Is there a method to perform a:
Matthew Sims wrote:
Just mostly curious but is there a way to assign one variable to multiple
variables in one single line?
Rather than do this:
$var2 = $var1;
$var3 = $var1;
Is there a method to perform a:
($var2,$var3) = $var1;
$var1 = $var2 = $var3 = 'some_value';
--
PHP General Mailing List
On Friday 10 September 2004 04:38, Matthew Sims wrote:
Just mostly curious but is there a way to assign one variable to multiple
variables in one single line?
Rather than do this:
$var2 = $var1;
$var3 = $var1;
Is there a method to perform a:
($var2,$var3) = $var1;
manual Expressions
On Thu, 2004-09-09 at 15:25, Jim Grill wrote:
exec(stty -icanon min 0 time 0);
Nice.
I suspect 'phpSnake' will appear on freshmeat in a couple days.
:)
--
Greg Donald
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How about:
?
$var1 = $var2 = $var3 = 5;
echo $var1 . 'br/' . $var2 . 'br/' . $var3 . 'br/';
?
Regards,
Justin
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 1:39 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Assigning one var to multiple
Hi All,
I have a problem...with my code ,can any one please guide or correct me.
[BLUE]
My main aim is to develop a php(or php in html) ,in which Login is there ,after
appropriate login ,User must get the
Option of selecting available databases ,Upon selecting databases,user must get to
Hi All,
I have a problem...with my code ,can any one please guide or correct me.
[BLUE]
My main aim is to develop a php(or php in html) ,in which Login is there ,after
appropriate login ,User must get the
Option of selecting available databases ,Upon selecting databases,user must get to
You can create user from mysql prompt by connecting it through first
cmdmysql -h host -u userid -p instance
password : **
then type
GRANT ALL PRIVILGES ON *.* TO 'newuser'@'host'
IDENTIFIED BY 'password' with GRANT OPTION;
where newuser is new users id and host may be either localhost or any
How about:
?
$var1 = $var2 = $var3 = 5;
echo $var1 . 'br/' . $var2 . 'br/' . $var3 . 'br/';
?
Regards,
Justin
I had something stuck in my head between what Python does and PHP's list
function. Not sure why I couldn't figure this one out. Thanks all.
--
--Matthew Sims
Is there a way to get the size of an image created using the imagecreate
function?
The PHP manual section on image functions mentions getimagesize, but that
only works on remote or local files.
Thanks,
Ed
Hi
Sorry for issuing this again, but I need help with preg_replace. I manage to replace
certain text between b/b in text with preg_replace but I want for every other
b/b to be replaced by other text.
By this I mean when some text between b/b has been found that text is replaced
with some Text,
Greg Donald wrote:
On Thu, 2004-09-09 at 15:25, Jim Grill wrote:
exec(stty -icanon min 0 time 0);
Nice.
I suspect 'phpSnake' will appear on freshmeat in a couple days.
:)
thats more or less what we are trying to do. =)
pong as a start at least.
doing it all over again, this time
Hi!
Am I assuming correctly that if you add this in the beginning of a PHP
page
that the browser will not store files for that page to its cache?
?php
header('Cache-Control: no-store, no-cache, must-revalidate'); //
HTTP/1.1
header('Cache-Control: post-check=0, pre-check=0'); //
* Thus wrote Jason Davidson:
$var2 = $var3 = $var5 = all the same;
or
$var2 =
$var3
= $var5
=
all the same;
Curt
--
The above comments may offend you. flame at will.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zoran Lorkovic wrote:
Sorry for issuing this again, but I need help with preg_replace. I manage to replace certain text between
b/b in text with preg_replace but I want for every other b/b to be replaced by
other text.
By this I mean when some text between b/b has been found that text is
Ed Lazor wrote:
Is there a way to get the size of an image created using the imagecreate
function?
I'm guessing it would be xsize x ysize x colour depth = size in bits ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
Ed Lazor wrote:
Is there a way to get the size of an image created using the imagecreate
function?
I'm guessing it would be xsize x ysize x colour depth = size in bits ?
What's the default color depth?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To
Ed Lazor wrote:
-Original Message-
Ed Lazor wrote:
Is there a way to get the size of an image created using the imagecreate
function?
I'm guessing it would be xsize x ysize x colour depth = size in bits ?
What's the default color depth?
-Ed
It looks to me like it's 8bit for imagecreate
80 matches
Mail list logo