Re: [PHP] image size?

2004-09-09 Thread Jason Wong
On Friday 10 September 2004 06:59, Ed Lazor wrote: > Is there a way to get the size of an image created using the imagecreate > function? Size as in ... ? You do realise that *you* specify the size when using imagecreate()? > The PHP manual section on image functions mentions getimagesize, but t

Re: [PHP] Re: image size?

2004-09-09 Thread Paul Birnstihl
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 and

RE: [PHP] Re: image size?

2004-09-09 Thread Ed Lazor
> -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.n

[PHP] Re: image size?

2004-09-09 Thread Paul Birnstihl
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

Re: [PHP] preg_replace question

2004-09-09 Thread John Holmes
Zoran Lorkovic wrote: Sorry for issuing this again, but I need help with preg_replace. I manage to replace certain text between in text with preg_replace but I want for every other to be replaced by other text. By this I mean when some text between has been found that text is replaced with som

Re: [PHP] Assigning one var to multiple vars

2004-09-09 Thread Curt Zirzow
* 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

[PHP] "no-store" and "no-cache" = no files in browser"s cache ?

2004-09-09 Thread Bart Coninckx
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? I tried it, but the sensitive files I want to avoid from being available on the client's harddrive, still get downloaded and saved in the "Tempora

Re: [PHP] stdin buffering

2004-09-09 Thread Martin Holm
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 php-st

[PHP] preg_replace question

2004-09-09 Thread Zoran Lorkovic
Hi Sorry for issuing this again, but I need help with preg_replace. I manage to replace certain text between in text with preg_replace but I want for every other to be replaced by other text. By this I mean when some text between has been found that text is replaced with some Text, on second

[PHP] image size?

2004-09-09 Thread Ed Lazor
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

RE: [PHP] Assigning one var to multiple vars

2004-09-09 Thread Matthew Sims
> How about: > > $var1 = $var2 = $var3 = 5; > echo $var1 . '' . $var2 . '' . $var3 . ''; > ?> > > 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 --

RE: [PHP] Users of RDBMS

2004-09-09 Thread Mulley, Nikhil
You can create user from mysql prompt by connecting it through first cmd>mysql -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 o

[PHP] Problem with the code

2004-09-09 Thread Mulley, Nikhil
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 sele

[PHP] Problem with the code

2004-09-09 Thread Mulley, Nikhil
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 sele

RE: [PHP] Assigning one var to multiple vars

2004-09-09 Thread Justin Palmer
How about: ' . $var2 . '' . $var3 . ''; ?> 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 vars Just mostly curious but is there a way to as

Re: [PHP] stdin buffering

2004-09-09 Thread Greg Donald
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

Re: [PHP] Assigning one var to multiple vars

2004-09-09 Thread Jason Wong
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 > Ex

Re: [PHP] Assigning one var to multiple vars

2004-09-09 Thread Gerard Samuel
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 (ht

Re: [PHP] Assigning one var to multiple vars

2004-09-09 Thread Jason Davidson
$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 perfo

Re: [PHP] Assigning one var to multiple vars

2004-09-09 Thread John Holmes
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

Re: [PHP] Remove punctuation

2004-09-09 Thread Curt Zirzow
* 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

[PHP] crap-ass DOM xsd schema validation?

2004-09-09 Thread Greg Beaver
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 commen

[PHP] Assigning one var to multiple vars

2004-09-09 Thread Matthew Sims
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 -- -- PHP General Mailing List (http:

Re: [PHP] stdin buffering

2004-09-09 Thread Jim Grill
> 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 woul

Re: [PHP] Remove punctuation

2004-09-09 Thread Jason Davidson
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 David

Re: [PHP] Remove punctuation

2004-09-09 Thread John Holmes
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

Re: [PHP] stdin buffering

2004-09-09 Thread Greg Donald
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

Re: [PHP] stdin buffering

2004-09-09 Thread Marek Kilimajer
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 h

Re: [PHP] Remove punctuation

2004-09-09 Thread John Nichel
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 tha

Re: [PHP] problem with header("Location:home.php")

2004-09-09 Thread Alex Hogan
> 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 th

Re: [PHP] Remove punctuation

2004-09-09 Thread 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 speed. Not that speed tests like th

[PHP] PHP Workflow Suite

2004-09-09 Thread Chris Boget
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

Re: [PHP] Remove punctuation

2004-09-09 Thread John Nichel
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

[PHP] stdin buffering

2004-09-09 Thread Martin Holm
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 buf

[PHP] My problem with the code

2004-09-09 Thread Mulley, Nikhil
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 sele

Re: [PHP] Remove punctuation

2004-09-09 Thread John Nichel
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 KegWorks.com

Re: [PHP] Remove punctuation

2004-09-09 Thread Jason Davidson
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 > > sa

[PHP] php_printer

2004-09-09 Thread Lester Caine
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 -

Re: [PHP] Remove punctuation

2004-09-09 Thread John Nichel
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? Tha

RE: [PHP] Remove punctuation

2004-09-09 Thread Jay Blanchard
[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 at

Re: [PHP] Remove punctuation

2004-09-09 Thread Jason Davidson
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

[PHP] Remove punctuation

2004-09-09 Thread Jed R. Brubaker
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 Genera

FW: [PHP] Tidy installation problem in php 4.3.8

2004-09-09 Thread Lizet Peña de Sola
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

RE: [PHP] Tidy installation problem in php 4.3.8

2004-09-09 Thread Lizet Peña de Sola
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 y

Re: [PHP] Timing on an internal email

2004-09-09 Thread Wouter van Vliet
> > 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 mor

Re: [PHP] Tidy installation problem in php 4.3.8

2004-09-09 Thread Marek Kilimajer
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

[PHP] Re: php lists

2004-09-09 Thread Michelle Konzack
* * 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 * * H

RE: [PHP] Tidy installation problem in php 4.3.8

2004-09-09 Thread Lizet Peña de Sola
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 y

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread Aaron Voisine
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 w

Re: [PHP] problem with header("Location:home.php")

2004-09-09 Thread Pablo M. Rivas
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 f

Re: [PHP] Tidy installation problem in php 4.3.8

2004-09-09 Thread Marek Kilimajer
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 pack

[PHP] Re: php lists

2004-09-09 Thread John Nichel
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 do

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread Marek Kilimajer
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 existing

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread Robert Cummings
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 po

Re: [PHP] Regular expression help

2004-09-09 Thread Skippy
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 (). > > > $str = 'This X and this X will not be fixed, but this X > and and hopefully t

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread raditha dissanayake
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 me

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread Marek Kilimajer
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

Re: [PHP] problem with header("Location:home.php")

2004-09-09 Thread Matt M.
> 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace_callback clarification

2004-09-09 Thread François Moreau
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 Go

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread John Holmes
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 (http://www

Re: [PHP] preg_replace_callback clarification

2004-09-09 Thread John Holmes
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 '#.*#Uis', what does this do : #...#Uis [sni

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread raditha dissanayake
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

[PHP] preg_replace_callback clarification

2004-09-09 Thread François Moreau
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 '#.*#Uis', what does this do : #...#Uis Thank you very much Piece of code : [snip] $st

Re: [PHP] php imap functions problem

2004-09-09 Thread Markus H
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,

Re: [PHP] why should $_SESSION be slower than other arrays?

2004-09-09 Thread John Holmes
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 oth

Re: [PHP] php imap functions problem

2004-09-09 Thread John Holmes
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.ne

Re: [PHP] Regular expression help

2004-09-09 Thread John Holmes
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 (). $str = 'This X and this X will not be fixed, but this X and and hopefully this X should be, along with this X also. , but not this X.';

[PHP] php imap functions problem

2004-09-09 Thread Markus H
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 em

RE: [PHP] PHP: Supported OS

2004-09-09 Thread Dan Joseph
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

[PHP] Regular expression help

2004-09-09 Thread Skippy
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 (). -- Romanian Web Developers - http://ROWD.ORG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with Header("Location: home.php");

2004-09-09 Thread Andre Dubuc
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");

Re: [PHP] problem with Header("Location: home.php");

2004-09-09 Thread Paul Waring
> 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

[PHP] problem with Header("Location: home.php");

2004-09-09 Thread CBharadwaj
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: Canno

[PHP] problem with header("Location:home.php")

2004-09-09 Thread CBharadwaj
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: Canno

[PHP] PHP: Supported OS

2004-09-09 Thread FireSnake
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

Re: [PHP] A somewhat faster alternative to is_dir and is_file?

2004-09-09 Thread raditha dissanayake
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 fo

Re: [PHP] A somewhat faster alternative to is_dir and is_file?

2004-09-09 Thread Marek Kilimajer
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 fo

Re: [PHP] A somewhat faster alternative to is_dir and is_file?

2004-09-09 Thread Frédéric Hardy
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 g

[PHP] A somewhat faster alternative to is_dir and is_file?

2004-09-09 Thread Wouter van Vliet
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 directo

Re: [PHP] Users of RDBMS

2004-09-09 Thread Lester Caine
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. ;)