Re: [PHP] do I need a database

2003-10-08 Thread Justin French
Your options for permanent, server-side storage is pretty much either a flat file or a database. Ultimately, your choice is dependant on what you need to do with the data later on. Personally, since my host includes a free MySQL db with every account, I tend not to bother with flat files for

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content. as for applying the variables to the style sheet it depends on what youre trying to do. what are the variables for? to request a specific

[PHP] session expire

2003-10-08 Thread redips
I know that if I set a session, by default it will expire when the browser closes. Can I also set a timeout? For example, if the session is idle for 30 minutes it will expire or if the user closes the browser, it will also expire. I know I can do one or the other, but what about both? Thanks.

Re: [PHP] dynamic - static

2003-10-08 Thread Ryan Thompson
Do you mean something like taking a snapshot of the CMS every 24 hours or so?? If I understand you right you might want to look at a different language like perl or shell scripting. I would think they'd be more useful for that sort of thing. On Wednesday 08 October 2003 03:56, Veniamin Goldin

Re: [PHP] dynamic - static

2003-10-08 Thread Veniamin Goldin
The problem is actually that search engines poorly indexes dynamic content sites, so I looking for solution to produce static pages with static links from all dynamic content being formed on the fly. - Original Message - From: Ryan Thompson [EMAIL PROTECTED] To: Veniamin Goldin [EMAIL

[PHP] excuting a shell command in linux as root

2003-10-08 Thread Michael P. Carel
Hi, Is there any way to execute a shell command line in PHP as root? I want to execute it using a web browser, i'm using apache and it runs as nobody. Any idea/help/suggestions? Thanks in advance mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] excuting a shell command in linux as root

2003-10-08 Thread Ryan Thompson
First off a warning repeated many times over I'm sure. You sure you want to do that? It's very insecure Now that my butts covered you might want to take a look at sudo On Wednesday 08 October 2003 03:14, Michael P. Carel wrote: Hi, Is there any way to execute a shell command line in

[PHP] convert \ to /

2003-10-08 Thread Diana Castillo
I am receiving some data in which the sender has mistakenly sent urls with \ instead of / to separate directories. e.g. http://www.anysite.com\page.htm I need to convert this string to http://www.anysite.com/page.htm but str replace (\,/,$var) doesnt work. any ideas as to how to convert it. --

Re: [PHP] convert \ to /

2003-10-08 Thread Veniamin Goldin
\ - is an escape symbol, so you should write it twice in order to escape it self. str_replace (\\,/,$var) Diana Castillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am receiving some data in which the sender has mistakenly sent urls with \ instead of / to separate directories.

[PHP] smtp mail sending on unix

2003-10-08 Thread Jaanus Torp
Hi, I am running apache in a chrooted enviorment on solaris and trying to get mail() to work over smtp rather than sendmail, but unsuccessfully. php.ini states that this is for win32 only. Is there any solution to that? It seems quite awkward to have the code for smtp but no option to run it.

RE: [PHP] smtp mail sending on unix

2003-10-08 Thread Javier Tacon
Try a class to send emails by smtps, like phpmailer: http://phpmailer.sourceforge.net/ -Mensaje original- De: Jaanus Torp [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 08 de octubre de 2003 11:29 Para: [EMAIL PROTECTED] Asunto: [PHP] smtp mail sending on unix Importancia: Baja Hi,

RE: [PHP] or return problem

2003-10-08 Thread Ford, Mike [LSS]
On 07 October 2003 18:15, Pat Carmody contributed these pearls of wisdom: So far everyone is telling me that it won't work, but no one is telling me why. (btw I did search extensively for the answer to this question but so far have found nothing). Robert, could you be more specific in your

Re: [PHP] excuting a shell command in linux as root

2003-10-08 Thread Marek Kilimajer
It is questionable if it is really insecure. sudo allows great control over what commands it can run with what parameters. If you combine it with php input checks it gets pretty secure. But that means you HAVE TO know what you are doing. Ryan Thompson wrote: First off a warning repeated many

Re: [PHP] session expire

2003-10-08 Thread Marek Kilimajer
Start here: www.php.net/session You should read it from the main heading to the last line of the last comment. redips wrote: I know that if I set a session, by default it will expire when the browser closes. Can I also set a timeout? For example, if the session is idle for 30 minutes it will

Re: [PHP] dynamic - static

2003-10-08 Thread Didier McGillis
Quick way to do it would be to spider your site with an offline browser and then put that site up in a subdirectory, change your index file to redirect to your site via javascript and place the static html page hidden from browsers, but not from spiders. Completely legal as long as you follow

[PHP] trailing carriage return in file

2003-10-08 Thread Alex Ciurea
hello guys, I don't know how can I eliminate from a file the trailing cr? \n I have a file that ends-up with one ore more cr it looks like this: BeginOfFile data here [] end of data EndOfFile after data I have one or more cr (the file don't ends immediately) i don't know how to

[PHP] shell_exec question

2003-10-08 Thread Chris Blake
Greetings learned PHP(eople); I`m using a shell_exec to get a list of files from a specified directory. When I run it locally on my machine i works. When I run it on the other machine I get = Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in

[PHP] SESSION SSL : Missing $_SESSION value

2003-10-08 Thread [-^-!-%-
Hello everyone, I'm having the following errors and hope that someone can help. Please advise. I have an authentication script that uses session to authenticate and track the user. Every was working fine under HTTP, but when I move the application to a secure server (HTTPS), my session

Re: [PHP] trailing carriage return in file

2003-10-08 Thread Marek Kilimajer
trim() Alex Ciurea wrote: hello guys, I don't know how can I eliminate from a file the trailing cr? \n I have a file that ends-up with one ore more cr it looks like this: BeginOfFile data here [] end of data EndOfFile after data I have one or more cr (the file don't ends

Re: [PHP] shell_exec question

2003-10-08 Thread Marek Kilimajer
safe mode is on, turn it off and restart webserver. Then you can check directory permissions. Chris Blake wrote: Greetings learned PHP(eople); I`m using a shell_exec to get a list of files from a specified directory. When I run it locally on my machine i works. When I run it on the other

Re: [PHP] dynamic - static

2003-10-08 Thread Ben Edwards
On Wed, 2003-10-08 at 08:56, Veniamin Goldin wrote: Dear All, Does anybody have any solutions, which makes possible to produce static pages of all dynamic cms once a day and can be easily integrated into already made site? Thank you. I have been thinking of doing such thing for a

Re: [PHP] shell_exec question

2003-10-08 Thread David Otton
On 08 Oct 2003 13:25:51 +0200, you wrote: I`m using a shell_exec to get a list of files from a specified directory. When I run it locally on my machine i works. When I run it on the other machine I get What Marek said. However, is there any reason you're not using readdir()?

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
On Wed, 2003-10-08 at 13:56, David Otton wrote: However, is there any reason you're not using readdir()? http://uk.php.net/manual/en/function.readdir.php I`ve got a whole bunch of other stuff happening using shell_exec, eg file searches etc I changed php.ini entry for safemode=on ,

Re: [PHP] shell_exec question

2003-10-08 Thread Marek Kilimajer
Did you edit the right php.ini? Check out phpinfo() output for Configuration File (php.ini) Path Chris Blake wrote: On Wed, 2003-10-08 at 13:56, David Otton wrote: However, is there any reason you're not using readdir()? http://uk.php.net/manual/en/function.readdir.php I`ve got a whole

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
On Wed, 2003-10-08 at 14:51, Marek Kilimajer wrote: Did you edit the right php.ini? Check out phpinfo() output for Configuration File (php.ini) Path Yep, tried that...it states /etc/php.ini, and lists other location of /etc/php/, but that directory doesn`t contain a php.ini file --

Re: [PHP] shell_exec question

2003-10-08 Thread Marek Kilimajer
I think that ALL files in other location are parsed, it does not need to be named php.ini Chris Blake wrote: On Wed, 2003-10-08 at 14:51, Marek Kilimajer wrote: Did you edit the right php.ini? Check out phpinfo() output for Configuration File (php.ini) Path Yep, tried that...it states

[PHP] RE: HTML Printing problem.

2003-10-08 Thread Rob A. Brahier
If you are using PHP on a Windows server then this might be an option: http://us4.php.net/manual/en/ref.printer.php -Rob -Original Message- From: php coder [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 4:13 PM To: [EMAIL PROTECTED] Subject: HTML Printing problem. Issue:

Re: [PHP] killing server process online

2003-10-08 Thread Nitin
for that u need to connect to your server as the owner of that server process or 'root'. to do this you may want to look at the idea of sudo. but remember, it's only as secure as you make it. you need to know, what exactly are you doing with sudo. Enjoy Nitin - Original Message - From:

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
On Wed, 2003-10-08 at 15:02, Marek Kilimajer wrote: I think that ALL files in other location are parsed, it does not need to be named php.ini I checked in /etc/php/ and it lists the following files : 23_gid.ini 26_imap.ini 27_ldap.ini 34_mysql.ini and 41_readline.ini All these files

[PHP] Using hash

2003-10-08 Thread Robert Covell
Is there a way to make the dba_open call use hash instead of btree when using db3? By default when opening a database for writing it seems that dba_open uses btree. We have existing db3 databases that utilize hash and not btree. Not sure if sendmail can utilize btree for aliases, but I will

Re: [PHP] shell_exec question

2003-10-08 Thread Marek Kilimajer
Then check your httpd.conf for php_(admin_)?(flag|value) Chris Blake wrote: On Wed, 2003-10-08 at 15:02, Marek Kilimajer wrote: I think that ALL files in other location are parsed, it does not need to be named php.ini I checked in /etc/php/ and it lists the following files : 23_gid.ini

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote: Then check your httpd.conf for php_(admin_)?(flag|value) I checked it but there is nothing for php whatsoever. -- Chris Blake Support Consultant Office : (011) 782-0840 Fax: (011) 782-0841 Mobile : 083 985 0379 Website:

[PHP] Smarty problem

2003-10-08 Thread Webmaster
Hi, I already posted this question in the Smarty group, without success. I have a problem with Smarty. I wrote the following function that gets data from a mysql database: function showHeadlines() { global $db; $entry_events = array(); if ($this-showold == true) {

RE: [PHP] File upload meter

2003-10-08 Thread Steve Murphy
David Enderson also developed an upload meter and contacted PHP about including it. http://www.mail-archive.com/[EMAIL PROTECTED]/msg02155.html Long and short, PHP never included it. This functionality is requested and can be included easily. I'm in the process of developing documentation and rpm

[PHP] A DATE Question

2003-10-08 Thread Shaun
Hi, is there a function in PHP that will work out the amount of time(hours) beween two different dates / times? Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Smarty problem

2003-10-08 Thread Javier Tacon
What do you mean with garbage? What's that garbage? What's the content from $entry_events ? You should debug your own code, we can't do it with a few lines from your code -Mensaje original- De: Webmaster [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 08 de octubre de 2003 15:57

Re: [PHP] Cleaning up my messy code

2003-10-08 Thread Geoff Hankerson
Here is what I would do (this advice and a buck will buy you a cup of coffee): First, I'd take my existing code, look over it and ask, Where am I doing the same thing over and over? Code that is repetitive is a prime candidate for using functions or objects. Objects are easier to maintain for

RE: [PHP] A DATE Question

2003-10-08 Thread Jay Blanchard
[snip] is there a function in PHP that will work out the amount of time(hours) beween two different dates / times? [/snip] http://www.php.net/strtotime -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File upload meter

2003-10-08 Thread Raditha Dissanayake
Hi, These guys have done a good job and I think it's planned to be included in V5. Till then i invite you to take a look at http://www.sourceforge.net/projects/megaupload/ where you can download a system that works without PHP having to be patched. best regards raditha. Steve Murphy wrote:

RE: [PHP] File upload meter

2003-10-08 Thread Jeremy Johnstone
I can not say for sure, but the last time I saw it mentioned on the PHP-DEV list (besides today), the comments about it weren't that great. If memory serves me correctly, the code (although functional) is really bad and doesn't follow PHP standards. I may be wrong here and if so I apologize, but

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote: Then check your httpd.conf for php_(admin_)?(flag|value) OK, so I`ve tried all the suggestions posted, thanks guys...but then I went and deleted the php.ini file in /etc, and still when I use phpinfo(); it gives me the usual phpinfo page...

Re: [PHP] do I need a database

2003-10-08 Thread Raditha Dissanayake
How about XML ? But seriously flat files or databases would be better if this is a simple set up. If you plan to do a lot of writing and very little reading flat files are a hell of a lot of faster. If you use flatfiles though you have to forget about searching through it (unless you plan to

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raditha Dissanayake
Couple of days of ago we had a nice thread on the use of XSLT. This is a situation where XSLT would be an ideal solution. Raquel Rice wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content.

[PHP] Use XML...

2003-10-08 Thread Russell P Jones
Use XML to store all your data, and if you want an xml search mechanism, I have a quick and dirty answer that runs client-side so you dont have to worry about wearing down your server... russ jones -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] convert \ to /

2003-10-08 Thread Robert Cummings
Maybe you could rewrite your URLs so that they don't appear as GET queries. Cheers, Rob. On Wed, 2003-10-08 at 04:46, Diana Castillo wrote: I am receiving some data in which the sender has mistakenly sent urls with \ instead of / to separate directories. e.g. http://www.anysite.com\page.htm

Re: [PHP] Use XML...

2003-10-08 Thread Raditha Dissanayake
Hi, I do believe sudheer's requirement would call for the searching to be done on the server side. Personally i don't use XML when searching is involved. If you use a DOM based solution all your servers memory just gets sucked up. If you use plain old sax you have to do a lot of coding

[PHP] Re: (native) linux-php-editor with some advanced features?

2003-10-08 Thread Kirk Babb
As a amateur PHP user, I have really enjoyed Komodo 2.5 (been using it since 1.3). Buy the non-commercial license, it's cheap (I think I paid $24.95) and ActiveState backs up their products well. Not a plug for them, but my experience with them has been good. Plus, if you want to switch back

Re: [PHP] do I need a database

2003-10-08 Thread Curt Zirzow
* Thus wrote Raditha Dissanayake ([EMAIL PROTECTED]): How about XML ? But seriously flat files or databases would be better if this is a simple set up. If you plan to do a lot of writing and very little reading flat files are a hell of a lot of faster. If you use flatfiles though you

Re: [PHP] preg question

2003-10-08 Thread Curt Zirzow
* Thus wrote Mike J ([EMAIL PROTECTED]): How do I take that and put it into a variable like $title? print_r($matches) will answer that. Btw, I had a typo, it should have been: preg_match(/(title)(.*)(\/\\2)/i, $html, $matches); Not preg_match_all(). Curt -- I used to think I was

Re: [PHP] session expire

2003-10-08 Thread Chris Shiflett
--- redips [EMAIL PROTECTED] wrote: I know that if I set a session, by default it will expire when the browser closes. Can I also set a timeout? You can look through your php.ini, searching for the word session. I prefer, however, to keep a timestamp of the user's last access in the session

RE: [PHP] shell_exec question

2003-10-08 Thread Ford, Mike [LSS]
On 08 October 2003 15:19, Chris Blake contributed these pearls of wisdom: On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote: Then check your httpd.conf for php_(admin_)?(flag|value) OK, so I`ve tried all the suggestions posted, thanks guys...but then I went and deleted the php.ini file

Re: [PHP] Re: (native) linux-php-editor with some advanced features?

2003-10-08 Thread Jeremy Johnstone
That is really odd. From what I heard Zend Studio runs faster in Linux than Windows. I have only experienced the Windows version over someone's shoulder, but with similar machines mine seems to load faster and run better and I use Linux. Try upgrading to the new ZS3 if you haven't already. It is

Re: [PHP] shell_exec question

2003-10-08 Thread Marek Kilimajer
Start here: grep -r safe_mode /* ;) Chris Blake wrote: On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote: Then check your httpd.conf for php_(admin_)?(flag|value) OK, so I`ve tried all the suggestions posted, thanks guys...but then I went and deleted the php.ini file in /etc, and still

[PHP] Re: Smarty problem

2003-10-08 Thread Rob Adams
Webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I already posted this question in the Smarty group, without success. I have a problem with Smarty. I wrote the following function that gets data from a mysql database: function showHeadlines() { global $db;

Re: [PHP] shell_exec question

2003-10-08 Thread Burhan Khalid
Chris Blake wrote: OK, so I`ve tried all the suggestions posted, thanks guys...but then I went and deleted the php.ini file in /etc, and still when I use phpinfo(); it gives me the usual phpinfo page... First, make sure to restart Apache after you do anything to php.ini Secondly, when php.ini is

Re: [PHP] convert \ to /

2003-10-08 Thread Chris Shiflett
--- Diana Castillo [EMAIL PROTECTED] wrote: http://www.anysite.com\page.htm I need to convert this string to http://www.anysite.com/page.htm but str replace (\,/,$var) doesnt work. $windowsitis_free_var = str_replace('\\', '/', $var); Hope that helps. Chris = My Blog

Re: [PHP] GET globals REQUEST the plot thickens

2003-10-08 Thread Burhan Khalid
Ben Edwards wrote: From what I have $_REQUEST douse NOT work. As I said vars are being passed on the URL. My code: echo brsec=.$_REQUEST[_section].brreq=$REQUEST_URIbr; the output sec= req=/adultdyslexia.org/quiz.php?_menu=TOPissue=1_section=QUIZgen=Y if I change the request to GET it works

Re: [PHP] shell_exec question

2003-10-08 Thread Marek Kilimajer
I thought about it, but safe mode can be set only in php.ini or httpd.conf Burhan Khalid wrote: Chris Blake wrote: OK, so I`ve tried all the suggestions posted, thanks guys...but then I went and deleted the php.ini file in /etc, and still when I use phpinfo(); it gives me the usual phpinfo

RE: [PHP] or return problem

2003-10-08 Thread Chris Shiflett
--- Ford, Mike [LSS] [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firstly, or, as a Boolean operator requires two operands, both of which must have an actual value. [snip] statements don't have a value (and can't even be coerced to have one), so return can't be valid as one of the operands to

[PHP] Error catching script

2003-10-08 Thread James Johnson
Hello, Is there a way, on a hosted server, to prevent PHP errors from showing in a browser? Instead of error whatever at line 107 in filename.php to have it redirect to a Sorry, please report this error page Thanks, James -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Error catching script

2003-10-08 Thread Chris Shiflett
--- James Johnson [EMAIL PROTECTED] wrote: Is there a way, on a hosted server, to prevent PHP errors from showing in a browser? I am assuming you are asking how to change php.ini directives, since you probably don't have access. On most shared hosts, they are configured to use a .htaccess file

Re: [PHP] A DATE Question

2003-10-08 Thread Eugene Lee
On Wed, Oct 08, 2003 at 03:08:44PM +0100, Shaun wrote: : : is there a function in PHP that will work out the amount of time(hours) : beween two different dates / times? Just convert the two times into Unix timestamps, subtract one from the other, and the difference is the amount of time in

[PHP] PDFlib Page Dimensions and Word Wrap

2003-10-08 Thread Roger Spears
Hello, I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable to find a solution for what I'm trying to do. I've also tried googling for what I'm trying to do. No luck there either. I've also downloaded the PDFlib docs but no luck there. When using PDFlib you specify page

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Tue, 7 Oct 2003 23:22:02 -0700 Raquel Rice [EMAIL PROTECTED] wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content. as for applying the variables to the style sheet it depends on

Re: [PHP] or return problem

2003-10-08 Thread Curt Zirzow
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): --- Ford, Mike [LSS] [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firstly, or, as a Boolean operator requires two operands, both of which must have an actual value. [snip] statements don't have a value (and can't even be coerced to have

Re: [PHP] Error catching script

2003-10-08 Thread Curt Zirzow
* Thus wrote James Johnson ([EMAIL PROTECTED]): Hello, Is there a way, on a hosted server, to prevent PHP errors from showing in a browser? Instead of error whatever at line 107 in filename.php to have it redirect to a Sorry, please report this error page See: set_error_handler();

Re: [PHP] or return problem

2003-10-08 Thread Robert Cummings
On Wed, 2003-10-08 at 11:43, Curt Zirzow wrote: * Thus wrote Chris Shiflett ([EMAIL PROTECTED]): --- Ford, Mike [LSS] [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firstly, or, as a Boolean operator requires two operands, both of which must have an actual value. [snip] statements

Re: [PHP] PDFlib Page Dimensions and Word Wrap

2003-10-08 Thread Curt Zirzow
* Thus wrote Roger Spears ([EMAIL PROTECTED]): Hello, I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable to find a solution for what I'm trying to do. I've also tried googling for what I'm trying to do. No luck there either. I've also downloaded the PDFlib docs but

Re: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Wed, 08 Oct 2003 20:34:51 +0600 Raditha Dissanayake [EMAIL PROTECTED] wrote: Raquel Rice wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content. snip i may have it wrong but what

Re: [PHP] PDFlib Page Dimensions and Word Wrap

2003-10-08 Thread Roger Spears
Tried that. Unless I overlooked something, the PDFlib.com docs were of no help. Thanks, Roger Curt Zirzow wrote: * Thus wrote Roger Spears ([EMAIL PROTECTED]): Hello, I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable to find a solution for what I'm trying to do. I've

Re: [PHP] or return problem

2003-10-08 Thread Curt Zirzow
* Thus wrote Robert Cummings ([EMAIL PROTECTED]): On Wed, 2003-10-08 at 11:43, Curt Zirzow wrote: * Thus wrote Chris Shiflett ([EMAIL PROTECTED]): --- Ford, Mike [LSS] [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firstly, or, as a Boolean operator requires two operands, both of which

[PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread LiteSpeed Information
We glad to introduce you LiteSpeed Web Server 1.1. About: LiteSpeed Web Server is a full-featured, high-performance, secure, and easy-to-use Web server that runs on Unix and Linux. It supports HTTP/1.1, SSL, CGI, FastCGI, PHP, JSP, Servlets, GZIP compression, .htaccess, IP level throttling,

Re[2]: [PHP] Re: PHP CSS

2003-10-08 Thread Tom Rogers
Hi, Thursday, October 9, 2003, 1:37:57 AM, you wrote: RR On Tue, 7 Oct 2003 23:22:02 -0700 RR Raquel Rice [EMAIL PROTECTED] wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content.

[PHP] PHP Contest/Marathon at geek.org

2003-10-08 Thread Roger Spears
Sorry if this is a double post or if it's already been talked about. I just found out a few moments ago that http://www.dotgeek.org/ is having a php programming contest/marathon in November. Here's the link: http://www.dotgeek.org/?q=node/view/9 Thanks, Roger -- PHP General Mailing List

RE: [PHP] or return problem

2003-10-08 Thread Ford, Mike [LSS]
On 08 October 2003 16:13, Chris Shiflett contributed these pearls of wisdom: --- Ford, Mike [LSS] [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firstly, or, as a Boolean operator requires two operands, both of which must have an actual value. [snip] statements don't have a value (and

RE: [PHP] or return problem

2003-10-08 Thread Ford, Mike [LSS]
On 08 October 2003 16:43, Robert Cummings contributed these pearls of wisdom: On Wed, 2003-10-08 at 11:43, Curt Zirzow wrote: * Thus wrote Chris Shiflett ([EMAIL PROTECTED]): --- Ford, Mike [LSS] [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firstly, or, as a Boolean operator requires two

Re: [PHP] or return problem

2003-10-08 Thread Chris Shiflett
The internals developers probably didn't see a need to provide support for return in conditionals since it can't return a value to the conditional. Ugh. This is the same misconception, again. Let's try some different code: ? function foo() { echo foo\n; } function bar() { return

Re: [PHP] File upload meter

2003-10-08 Thread Hardik Doshi
Hi Radhitha, Can you please let me know which file upload meter code (the one i mentiond or megaupload) will be included in the V5? Thanks Hardik --- Raditha Dissanayake [EMAIL PROTECTED] wrote: Hi, These guys have done a good job and I think it's planned to be included in V5. Till

Re: [PHP] dynamic - static

2003-10-08 Thread Mike Migurski
Dear All, Does anybody have any solutions, which makes possible to produce static pages of all dynamic cms once a day and can be easily integrated into already made site? Why do you need to do this? Is it because of hosting restrictions, performance concerns, or portability/mirroring (which is a

Re: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread Leif K-Brooks
LiteSpeed Information wrote: We glad to introduce you LiteSpeed Web Server 1.1. Mind explaining this? $ telnet litespeedtech.com 80 HEAD / HTTP/1.1 Host: litespeedtech.com HTTP/1.1 200 OK Date: Wed, 08 Oct 2003 16:36:18 GMT Server: Apache

Re: Re[2]: [PHP] Re: PHP CSS

2003-10-08 Thread Raquel Rice
On Thu, 9 Oct 2003 02:00:20 +1000 Tom Rogers [EMAIL PROTECTED] wrote: Hi, Thursday, October 9, 2003, 1:37:57 AM, you wrote: Well, yes ... in a way. The plan is to have a main site, where users can have a subsite off the main site. I want to give the users the ability to customize,

Re: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread Robert Cummings
On Wed, 2003-10-08 at 12:41, Leif K-Brooks wrote: LiteSpeed Information wrote: We glad to introduce you LiteSpeed Web Server 1.1. Mind explaining this? $ telnet litespeedtech.com 80 HEAD / HTTP/1.1 Host: litespeedtech.com HTTP/1.1 200 OK Date: Wed, 08 Oct 2003 16:36:18 GMT

Re: Re[2]: [PHP] Re: PHP CSS

2003-10-08 Thread erythros
Tom Rogers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Thursday, October 9, 2003, 1:37:57 AM, you wrote: RR On Tue, 7 Oct 2003 23:22:02 -0700 RR Raquel Rice [EMAIL PROTECTED] wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably

[PHP] Outside help

2003-10-08 Thread James Johnson
Hi, Don't know if this an appropriate post, but am going to anyway. I am up against a deadline, and have two pesky PHP situations that I can't figure out. I'm sure that for the experts on this list, it would be easy, and I could get if I had the time. Would anyone be willing to contact me

Re[4]: [PHP] Re: PHP CSS

2003-10-08 Thread Tom Rogers
Hi, I don't think so, the original question was how to get PHP variables into a style sheet, though your way would work for a separate style sheet for each user. BTW I added .ass (active style sheet :)as a file extension for PHP processing to apache for this sort of function but I now use

RE: [PHP] or return problem

2003-10-08 Thread Chris Shiflett
--- Ford, Mike [LSS] [EMAIL PROTECTED] wrote: No, it's not -- the misconception appears to be yours. Well, perhaps it is a difference in perspective. Yes, or and || can be exchanged: 1. if ($foo or $bar) blah(); 2. mysql_query($sql) || die(mysql_error()); My point was to differentiate the two

Re: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread Didier McGillis
lol From: Robert Cummings [EMAIL PROTECTED] To: Leif K-Brooks [EMAIL PROTECTED] CC: LiteSpeed Information [EMAIL PROTECTED],Php-General (E-mail) [EMAIL PROTECTED] Subject: Re: [PHP] LiteSpeed Web Server 1.1 Date: 08 Oct 2003 12:44:52 -0400 On Wed, 2003-10-08 at 12:41, Leif K-Brooks wrote:

RE: [PHP] Outside help

2003-10-08 Thread James Johnson
Ok, thanks for the input everyone. I've received several replies to this message. Thanks again, James -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:52 AM To: [EMAIL PROTECTED] Subject: [PHP] Outside help Hi, Don't know if this an

Re: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread Ryan A
Hi, I am thinking of using LiteSpeed on a dedicated account that our company has reciently purchased (P4 2.0GHZ, Linux, 80gb space, 100gb bandwidth.etc), anybody out there already using it and facing any problems? One of the main reasons we want to use it is because of PHP/JSP and

[PHP] configuration class - skeleton code for first OOP adventure

2003-10-08 Thread anders thoresson
Hi, My first larger project is growing out of control. I've spent some weeks reading OOP tutorials, and feel ready to make my first dive into a new programming style. One of the things that led me this way was the need for user configuration of my project. Therefor, I'll start with a class

Re: [PHP] RE: HTML Printing problem.

2003-10-08 Thread php coder
I am aware of the printer functions in php but as far as I know you can not print an html document with them. It will just print the html code. Otherwords print the text. Also generating these reports with these functions would be a step back on the design because of the amount of ode needed

Re: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread LiteSpeed Information
Mind explaining this? Not at all, :-), this is not the first time, people questions why we still use Apache. $ telnet litespeedtech.com 80 HEAD / HTTP/1.1 Host: litespeedtech.com HTTP/1.1 200 OK Date: Wed, 08 Oct 2003 16:36:18 GMT Server: Apache

[PHP] Creating a blogrolling/link management system

2003-10-08 Thread Chris
I'm looking at using PHP to create a link/bookmark system similar to blogrolling.com, but for many links both weblog and not. Basically the system would archive 3-500 links, display them hierarchically, etc. Standard stuff that I see a lot of PHP code for. What I am wondering is what is the

[PHP] Congratulations You Win

2003-10-08 Thread Francis Weeny
SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS. ALFONSTRAAT B56, 1002 BS AMSTERDAM, THE NETHERLANDS. TO THE MANAGER FROM: THE DESK OF THE PROMOTIONS MANAGER, INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT, REF: OYL /26510460037/02 BATCH: 24/00319/IPD ATTENTION: RE/ AWARD NOTIFICATION; FINAL NOTICE We

Re: [PHP] Congratulations You Win

2003-10-08 Thread Nathan Taylor
WTF is this? - Original Message - From: Francis Weeny To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:30 PM Subject: [PHP] Congratulations You Win SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS. ALFONSTRAAT B56, 1002 BS AMSTERDAM, THE NETHERLANDS. TO THE

[PHP] RE: {Spam?} [PHP] Congratulations You Win

2003-10-08 Thread Chris W. Parker
Francis Weeny mailto:[EMAIL PROTECTED] on Wednesday, October 08, 2003 7:30 PM said: SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS. [snip great news] YES!!! WE'RE RICH!! c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: configuration class - skeleton code for first OOP adventure

2003-10-08 Thread Paul van Schayck
Hello, [EMAIL PROTECTED] (Anders Thoresson) wrote Is this a good start, or should I change anything? I'm not a OO expert but I think you could include the SetConfigurationFile () function in your contructor. And if it fails inside the constructor exit to your other class controlling errors.

[PHP] Congratulations You Win

2003-10-08 Thread Francis Weeny
SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS. ALFONSTRAAT B56, 1002 BS AMSTERDAM, THE NETHERLANDS. TO THE MANAGER FROM: THE DESK OF THE PROMOTIONS MANAGER, INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT, REF: OYL /26510460037/02 BATCH: 24/00319/IPD ATTENTION: RE/ AWARD NOTIFICATION; FINAL NOTICE We

[PHP] Re: Creating a blogrolling/link management system

2003-10-08 Thread Paul van Schayck
Hello, [EMAIL PROTECTED] (Chris) wrote What I am wondering is what is the best approach for detecting recently changed links? I could use various files put out by blogger.com or blo.gs, etc. to check sites that use those services, but while being much more efficient than actually checking

Re: [PHP] Congratulations You Win

2003-10-08 Thread Kevin Bruce
WOW! who's ALREADY jumped on this??? I can't wait to give him my bank account #!!! I'm going to be RICH! ;) WTF is this? - Original Message - From: Francis Weeny To: [EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:30 PM Subject: [PHP] Congratulations You Win

  1   2   >