[PHP] fsockopen server monitor

2003-09-29 Thread Cameron Metzke
Hi there, I have been trying to make a simple monitor script using fsockopen. here it is --Start Code- ?php error_reporting(0); include 'config.php'; $domain = $_POST['domain']; ? html head titlemonitor script/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head

[PHP] fsockopen server monitor

2003-09-29 Thread Cameron Metzke
Hi there, I have been trying to make a simple monitor script using fsockopen. here it is --Start Code- ?php error_reporting(0); include 'config.php'; $domain = $_POST['domain']; ? html head titlemonitor script/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head

Re: [PHP] trans_sid and forms -- feature request???

2003-09-29 Thread Curt Zirzow
* Thus wrote Justin French ([EMAIL PROTECTED]): Hi all, enable_trans_sid in the PHP ini has given me no grief to date, but now I'm working towards XHTML 1.0 Strict, and PHP seems to fall over when dealing with forms. So, one option is to exclude form= from the list or rewrite tags in

Re: [PHP] fsockopen server monitor

2003-09-29 Thread Curt Zirzow
* Thus wrote Cameron Metzke ([EMAIL PROTECTED]): Hi there, I have been trying to make a simple monitor script using fsockopen. here it is --Start Code- ?php error_reporting(0); include 'config.php'; $domain = $_POST['domain']; [... unneeded code ...] td width=50%?php //

Re: [PHP] fsockopen server monitor

2003-09-29 Thread Cameron Metzke
Sorry about that . Its my first post, :( Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Cameron Metzke ([EMAIL PROTECTED]): Hi there, I have been trying to make a simple monitor script using fsockopen. here it is --Start Code- ?php

Re: [PHP] trans_sid and forms -- feature request???

2003-09-29 Thread Curt Zirzow
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): * Thus wrote Justin French ([EMAIL PROTECTED]): Hi all, enable_trans_sid in the PHP ini has given me no grief to date, but now I'm working towards XHTML 1.0 Strict, and PHP seems to fall over when dealing with forms. So, one option

Re: [PHP] Submit button

2003-09-29 Thread Nitin
Never mind, but could you state the reason? Nitin - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Nitin [EMAIL PROTECTED]; Karina S [EMAIL PROTECTED] Cc: PHP-General [EMAIL PROTECTED] Sent: Monday, September 29, 2003 3:34 AM Subject: Re: [PHP] Submit button --- Nitin

Re: [PHP] PHP coders spare time [OT}

2003-09-29 Thread Marek Kilimajer
Curt Zirzow wrote: And what they do with it... http://zirzow.dyndns.org/html/mlists/php_general/ Curt CPT John W. Holmes [EMAIL PROTECTED] and John W. Holmes [EMAIL PROTECTED] is the same address, just a different name (in and out of office ;) John made it to be second. -- PHP General

Re: [PHP] gettext: changed .mo file, caching issue

2003-09-29 Thread Christophe Chisogne
daniel hahler wrote: This works good, but if the .mo file gets changed the old content is returned by calls to gettext, until I restart Apache. gettext uses a caching method to speed up looking translation strings, which explain why Apache must be reloaded [1] Setting all LANG, LANGUAGE and LC_ALL

Re: [PHP] gettext: changed .mo file, caching issue

2003-09-29 Thread Christophe Chisogne
About performance issues surrounding i18n, is gettext better than storing strings in a RDBMS ? Can someone argue in favour or again opinion that say the RDBMS way is faster ? [1] [1] Re: [Phpgroupware-users] I18N: why not gettext?!

[PHP] add element to an array

2003-09-29 Thread Angelo Zanetti
Hi, I want to add a new element to an array in php, is the following way the correct way? assuming that $chk is an array and $ID contains a value. $j = count($chk); $j++; $chk[$j] = $ID; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] General .htaccess question

2003-09-29 Thread Eugene Lee
On Sun, Sep 28, 2003 at 08:53:13PM -0400, Mike Brum wrote: : : I think I know the answer to this, but want some confirmation from someone a : bit more knowledgable about Apache and .htaccess files. Okay. : My webhost has the default 404 page set to 404.html. For the sake of : consistancy on a

Re: [PHP] add element to an array

2003-09-29 Thread Matthias Nothhaft
Hi Angelo Zanetti, you wrote: Hi, I want to add a new element to an array in php, is the following way the correct way? assuming that $chk is an array and $ID contains a value. $j = count($chk); $j++; $chk[$j] = $ID; Keep it simple, this is enough: $chk[] = $ID; This appends

[PHP] How to install sqlite in redhat 9 with php rpm?

2003-09-29 Thread Kernel Panic
Dear all, I cant install the sqlite package in redhat 9 with original php rpm. here is the message i got: [EMAIL PROTECTED] root]# pear install SQLite-1.0.tgz 48 source files, building running: phpize building in /var/tmp/pear-build-root/SQLite-1.0 running: /tmp/tmpagWscI/SQLite-1.0/configure

[PHP] restart httpd after php.ini change?

2003-09-29 Thread David T-G
Hi, all -- We've added a browscap.ini file to our server and I want to 1) make sure it's referenced correctly and 2) know whether or not httpd needs a restart. The file is now /usr/local/lib/php/browscap.ini and my php.ini entry is [browscap] browscap = browscap.ini with phpinfo()

Re: [PHP] restart httpd after php.ini change?

2003-09-29 Thread Marek Kilimajer
I'm not sure if include_path counts for browscap file, I would say no. You should use absolute path. Then restart httpd. David T-G wrote: Hi, all -- We've added a browscap.ini file to our server and I want to 1) make sure it's referenced correctly and 2) know whether or not httpd needs a

[PHP] php xvfb gives xauth command not found

2003-09-29 Thread Daniel Struck
Hello, I am using the program njplot in a script, an unfortunately it reqires a minimal X environment. So I am executing this programm by: $test=exec(/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile 21); echo $test; As a result I get: xvfb-run: xauth command not found; exiting. The

[PHP] Compare dates

2003-09-29 Thread Shaun
Hi, How can I compare two dates with PHP, to see if one date occurred before the other? Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Compare dates

2003-09-29 Thread chris . neale
I always use Unix timestamps until I need to format it to a (what's the word) date for presentation. Then you can just to a if $x $y then it happened before $y. look for mktime(), time(), date() in the manual. C -Original Message- From: Shaun [mailto:[EMAIL PROTECTED] Sent: 29

Re: [PHP] fgets prob... !?

2003-09-29 Thread Marek Kilimajer
I don't think php just comes and changes your output. Check the source html output if it is realy only one #. mArK wrote: H! I have this segment of script... ... $resp = fgets( $sock, 512 ); echo $resp; ... the output must be: [EMAIL PROTECTED] but here came php and take the 3 # and convert

php-general Digest 29 Sep 2003 11:23:22 -0000 Issue 2325

2003-09-29 Thread php-general-digest-help
php-general Digest 29 Sep 2003 11:23:22 - Issue 2325 Topics (messages 164182 through 164215): General .htaccess question 164182 by: Mike Brum 164183 by: Justin French 164184 by: Jon Kriek 164185 by: Robert Cummings 164186 by: Robert Cummings

Re: [PHP] Compare dates

2003-09-29 Thread Blue Prawn
How can I compare two dates with PHP, to see if one date occurred before the other? probably not the best way but: if the date is formated like this 20030929 (today) 20030928 (yesterday) I think it is quite easy: if ( (int)$today (int)$yesterday ) or perhaps like this: if ( strcmp($today

[PHP] php and checkboxes.

2003-09-29 Thread Angelo Zanetti
Hi all I have a table that is populated from a database which gets the IDs of the records from a php array.Every row in the table has a checkbox next to the actual record, what I want to do is to allow the user to select the records they want to remove by clicking the checkbox(es) and then click

Re: [PHP] php and checkboxes.

2003-09-29 Thread Marek Kilimajer
Simple: foreach($_POST['del_checkboxes'] as $id) { $sql=delete from table where id='$id'; } Checkboxes are created using input name=del_checkboxes value=?= $id ? Angelo Zanetti wrote: Hi all I have a table that is populated from a database which gets the IDs of the records from a

RE: [PHP] php and checkboxes.

2003-09-29 Thread Angelo Zanetti
Hi Marek, I dont actually want to delete the record from the database, perhaps I wasnt very clear in my explanation, but I just need to remove that entry from the table. kinda like when deleting mail from your web email account like hotmail. -Original Message- From: Marek Kilimajer

[PHP] regexp: 'a correctly parenthesized substring advanced'

2003-09-29 Thread Jaaboo
Hi , this is my regex for php to extract php-function-calls from source. It now works for strings like: func1($param,abc) func1($param1,func2($param2,abc)) but if i try to catch func1($param1,(c) by ARTADA for example)´, func2($param2,786)) it fails because of the paranthesis between the .

Re: [PHP] php and checkboxes.

2003-09-29 Thread Eugene Lee
On Mon, Sep 29, 2003 at 01:43:08PM +0200, Angelo Zanetti wrote: : : Marek Kilimajer suggested: : : Angelo Zanetti wrote: : : I have a table that is populated from a database which gets the : IDs of the records from a php array.Every row in the table has a : checkbox next to the actual

[PHP] PHP Rading excel files

2003-09-29 Thread BENARD Jean-philippe
Hi ! It's possible to export data to excel (csv, xml, PEAR excel file writing, ...) but is it possible to import data from excel ? (i.e.: I want to get the data which is in Cell A1 of sheet Toto in the posted .xls file). Thanks in advance. (o_ BENARD Jean-Philippe -

Re: [PHP] Compare dates

2003-09-29 Thread Leif K-Brooks
Shaun wrote: How can I compare two dates with PHP, to see if one date occurred before the other? Convert them to a timestamps (strtotime()), then just compare them: $date1 = 'september 10th 2003'; $date2 = 'september 20th 2003'; $date1_ts = strtotime($date1); $date2_ts = strtotime($date2);

Re: [PHP] General .htaccess question

2003-09-29 Thread Marek Kilimajer
This should not bother you. If you get enough load then .htaccess file is cached in the memory. If your load is moderate then it does not make much difference. And since your webhost enabled this feature they should know what they are doing. Mike Brum wrote: I think I know the answer to this,

[PHP] nonblocking socket causes 100% cpu usage

2003-09-29 Thread Joe
I have a commandline php script, which opens a nonblocking socket to a server. Inside the message loop, where it polls the socket to determine whether there is any data to read/write, I've been running into problems, where the application takes as much CPU time as it can (80%, 90%, sometimes 99%,

[PHP] MerlinWork PHP Framework

2003-09-29 Thread Fabrizio Balliano
Hi to all, I'd like to present show you a PHP framework written by my company: MerlinWork. Its built with the concept of allowing developers to build a web application like they would do with a client application developing environment. The result is a stateful application, managed by events.

RE: [PHP] MerlinWork PHP Framework

2003-09-29 Thread chris . neale
I like I like. Look like it might cut a lot of tedious leg-work out. Regards Chris -Original Message- From: Fabrizio Balliano [mailto:[EMAIL PROTECTED] Sent: 29 September 2003 12:37 To: [EMAIL PROTECTED] Subject: [PHP] MerlinWork PHP Framework Hi to all, I'd like to present show you

RE: [PHP] Resource Limits

2003-09-29 Thread Donald Tyler
Just incase you weren't aware. You can change the Max execution time during the script with: set_time_limit(Milliseconds); -Original Message- From: Decapode Azur [mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2003 5:51 AM To: [EMAIL PROTECTED] Subject: [PHP] Resource Limits hi

RE: [PHP] How to smart refresh php section using iframe?

2003-09-29 Thread Donald Tyler
This is not possible with PHP alone. You need to use some client side code such as JavaScript or Flash. I would recommend JavaScript. It would be pretty easy to accomplish what you are talking about with that. Grab yourself a copy of JavaScript the Definitive Guide by Orielly. It's pretty

Re: [PHP] Please visit my php program

2003-09-29 Thread Nelson Rodrguez-Pea Alarcn
Hi Ryan, Ryan A wrote: Hey everyone, Please visit my captcha program here and tell me if its good here I got the following error (or notice): Notice: Undefined index: TheSecretWord in /usr163/home/b/e/bestweb/public_html/captcha/3/samplePost.php on line 25 [alt]Human Input Validation Failed

RE: [PHP] PHP coders spare time [OT}

2003-09-29 Thread Jay Blanchard
[snip] http://zirzow.dyndns.org/html/mlists/php_general/ The fact that you're the top responder in the last 30 days pretty much confirms you have too much spare time Curt! [/snip] LOL! Very revealing and funny stuff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] search a string backwards - like reversed stripos

2003-09-29 Thread Chris Widmer
hello, i am looking for a function that easily searches a sting backwards - just like stripos but reversed. is there already one part of php or does anyone have a nice function written? right now i do it by reversing the sting and using strpos, but this is highly inefficient. any

RE: [PHP] PHP coders spare time [OT}

2003-09-29 Thread Jay Blanchard
[snip] And whats really scary is I'm tempted to do that :) I can easily read all the 164194 messages sitting on the news server (since May 2000) and then build a summary poster summary page. Then I just need to come up with some logic to determain who has a tendency to (be) flamed. [/snip] You

RE: [PHP] PHP coders spare time [OT}

2003-09-29 Thread chris . neale
And possibly the best looking site I've seen in years. Colours, curves - bring it on PLENTY of spare time I think... C -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 29 September 2003 13:00 To: Justin French; Curt Zirzow Cc: [EMAIL PROTECTED] Subject: RE:

Re: [PHP] Resource Limits

2003-09-29 Thread Eugene Lee
On Mon, Sep 29, 2003 at 07:49:40AM -0500, Donald Tyler wrote: : : Decapode Azur asked: : : How can I get the values of 'max_execution_time', 'max_input_time' and : 'memory_limit' from my php script ? : : Just incase you weren't aware. You can change the Max execution time : during the script

RE: [PHP] How to smart refresh php section using iframe?

2003-09-29 Thread Jay Blanchard
[snip] This is not possible with PHP alone. You need to use some client side code such as JavaScript or Flash. [/snip] I think that with a combination (I have not tested this) of ob_start, ob_flush(), sleep(), and header() that this could be accomplished. ob_start(); gather output

Re: [PHP] PHP coders spare time [OT}

2003-09-29 Thread CPT John W. Holmes
From: Marek Kilimajer [EMAIL PROTECTED] CPT John W. Holmes [EMAIL PROTECTED] and John W. Holmes [EMAIL PROTECTED] is the same address, just a different name (in and out of office ;) John made it to be second. Maybe this list shouldn't be public, since it appears I send just as much email from

Re: [PHP] php and checkboxes.

2003-09-29 Thread CPT John W. Holmes
From: Angelo Zanetti [EMAIL PROTECTED] I dont actually want to delete the record from the database, perhaps I wasnt very clear in my explanation, but I just need to remove that entry from the table. kinda like when deleting mail from your web email account like hotmail. Same idea... input

[PHP] RE : [PHP] PHP Rading excel files

2003-09-29 Thread BENARD Jean-philippe
I know exporting xls file to csv (or other tagged export) is not very difficult but in order to make a « all-users » application we must accept xls files. Cordialement, Jean-Philippe BENARD Consultant STERIA Infogérance ([EMAIL PROTECTED]) -Message d'origine- De : Kevin Bruce

[PHP] Export resultset

2003-09-29 Thread DPCMA Metalito
Hi There, New to this list. I would like to know if anybody knows where can I found information about how can I generate an Excel Spreadsheet, with the resulset of an LDAP query that my script made. The goal is that MS Explorer can download and load the xls inside the browser, and other ones

Re: [PHP] RE : [PHP] PHP Rading excel files

2003-09-29 Thread Marek Kilimajer
Given that excel (and generaly any microsoft app/bloatware) puts so much junk into the files that sometimes excel itself cannot read it it is virtualy impossible to write a pure php solution. The easiest path is to use COM and run excel on the server, but this rules out any non windows server.

RE: [PHP] RE : [PHP] PHP Rading excel files

2003-09-29 Thread chris . neale
I'd consider using COM to work with Excel files if you can't find another way to get the information out. The PHP Handbook (O'Reilly) has a good chapter on that sort of thing. Then you can just refer to a cell as you would in Excel VBA. Sorry I can't think of anything better! C -Original

RE: [PHP] RE : [PHP] PHP Rading excel files

2003-09-29 Thread chris . neale
Just thought that it might be worth considering putting some functionality into the Excel spreadsheet to trigger the PHP application. I've created Excel spreadsheets in the past with a VBA macro or two in it which allows users to update information on a intranet site from the spreadsheet. They

Re: [PHP] php xvfb gives xauth command not found

2003-09-29 Thread Ray Hunter
$test=exec(/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile 21); echo $test; Try $test=exec(/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile ); -- BigDog -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Export resultset

2003-09-29 Thread Marek Kilimajer
I use this class: http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/ DPCMA Metalito wrote: Hi There, New to this list. I would like to know if anybody knows where can I found information about how can I generate an Excel Spreadsheet, with the resulset of an LDAP query that

Re: [PHP] Export resultset

2003-09-29 Thread CPT John W. Holmes
From: DPCMA Metalito [EMAIL PROTECTED] New to this list. I would like to know if anybody knows where can I found information about how can I generate an Excel Spreadsheet, with the resulset of an LDAP query that my script made. The goal is that MS Explorer can download and load the xls inside

Re: [PHP] php xvfb gives xauth command not found

2003-09-29 Thread Ray Hunter
$test=exec(/usr/bin/xvfb-run /usr/bin/njplot -psonly testfile ); Actually, I think that you can just run the command without the xvfb-run command... $test = exec(/usr/bin/njplot -psonly testfile ); that should just create the testfile.ps file and not fire up a x-window. The error with the

Re: [PHP] add element to an array

2003-09-29 Thread Chris Sherwood
-- snip -- Hi, I want to add a new element to an array in php, is the following way the correct way? assuming that $chk is an array and $ID contains a value. $j = count($chk); $j++; $chk[$j] = $ID; -- snip -- Yes that is one method of doing it. another method of adding an element to an

Re: [PHP] gettext: changed .mo file, caching issue

2003-09-29 Thread daniel hahler
on Mon, 29 Sep 2003 10:24:09 +0200 Christophe Chisogne wrote: This works good, but if the .mo file gets changed the old content is returned by calls to gettext, until I restart Apache. CC gettext uses a caching method to speed up looking translation CC strings, which explain why Apache must be

[PHP] RE: Add element

2003-09-29 Thread Chris Sherwood
Warning ! Don't add one to your key ($j++) in this case. The count() method count ( :) ) return the number of existing keys in the $chk array. You'll make hole in your array if you do this : $arr[0] = toto; count($arr) = 1; $arr[1] = tata; count($arr) = 2; $arr[count[$arr]++] = titi; =

Re: [PHP] search a string backwards - like reversed stripos

2003-09-29 Thread Curt Zirzow
* Thus wrote Chris Widmer ([EMAIL PROTECTED]): hello, i am looking for a function that easily searches a sting backwards - just like stripos but reversed. is there already one part of php or does anyone have a nice function written? right now i do it by reversing the sting and using

[PHP] Evolution syncing

2003-09-29 Thread David Norman
I telecommute, so I want my coworkers to see what I have on my plate and add to my project list. I figured syncing the Evolution calendar and task list with a PHP-based site would be good. Then I could make a few scripts for my boss to run reports on my timesheet and such. Is there a project

[PHP] How many Mondays in a month?

2003-09-29 Thread Phil Dowson
Hi, I have posted a similar question in php.db, but I was wondering if someone could help out with a non-db issue. I am trying to display statistics of visitors to my web site, and what I would like to do is show the average number of visitors that have visited the site in a given month for a

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Curt Zirzow
* Thus wrote Phil Dowson ([EMAIL PROTECTED]): Hi, I have posted a similar question in php.db, but I was wondering if someone could help out with a non-db issue. I am trying to display statistics of visitors to my web site, and what I would like to do is show the average number of visitors

RE: [PHP] How many Mondays in a month?

2003-09-29 Thread Greg Wiley
Funny you should ask this because I've been meaning to share some code that I wrote a few months ago that does exactly this for any day of the week. Please feel free to use this and make changes. I'd appreciate any changes/bug fixes being sent back to me though. ?php /* * num_days * * A

[PHP] A _post question I guess

2003-09-29 Thread John Taylor-Johnston
I have a form. It has any number of hidden fields, named exercise 1-100. Their names all start with exercise as in: input type=hidden name=exercise1 ... ? input type=hidden name=exercise11 any number fo these possible ... input type=hidden name=exercise71 How can I create one scipt that will

Re: [PHP] PHP Rading excel files

2003-09-29 Thread Tom Rogers
Hi, Monday, September 29, 2003, 10:10:43 PM, you wrote: BJp Hi ! BJpIt's possible to export data to excel (csv, xml, PEAR excel file BJp writing, ...) but is it possible to import data from excel ? (i.e.: I BJp want to get the data which is in Cell A1 of sheet Toto in the posted BJp .xls

Re: [PHP] A _post question I guess

2003-09-29 Thread Brad Pauly
John Taylor-Johnston wrote: I have a form. It has any number of hidden fields, named exercise 1-100. Their names all start with exercise as in: input type=hidden name=exercise1 ... ? input type=hidden name=exercise11 any number fo these possible ... input type=hidden name=exercise71 How can I

Re: [PHP] A _post question I guess

2003-09-29 Thread Tom Rogers
Hi, Tuesday, September 30, 2003, 1:41:11 AM, you wrote: JTJ I have a form. It has any number of hidden fields, named exercise JTJ 1-100. Their names all start with exercise as in: JTJ input type=hidden name=exercise1 JTJ ... ? JTJ input type=hidden name=exercise11 JTJ any number fo these

Re: [PHP] A _post question I guess

2003-09-29 Thread John Taylor-Johnston
Ok, but the problem is that I will, might have other fields. I need to filter out just the exerciseN fields. Interesting though thanks, John Brad Pauly wrote: You could just loop over the _POST array. foreach ($_POST as $field_name = $field_value) { $content .= $field_name =

Re: [PHP] A _post question I guess

2003-09-29 Thread Brad Pauly
John Taylor-Johnston wrote: Ok, but the problem is that I will, might have other fields. I need to filter out just the exerciseN fields. Interesting though thanks, Then just look at $feild_name and see if it is one of the 'exercise' fields. foreach ($_POST as $field_name = $field_value) { if

[PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
I am having problems with one of the web sites I have -- AOL users are reporting they can't view it. Does AOL break any major standards it shouldn't? p.s. the page is at http://www.mathjunkies.com/jtlinks/jtlinks_interface.php if you feel like taking a look. :-D Thanks in advance, Dan --

Re: [PHP] A _post question I guess

2003-09-29 Thread John Taylor-Johnston
Brad. Perfect thanks. Brad Pauly wrote: foreach ($_POST as $field_name = $field_value) { if (stristr($field_name, 'exercise')) { $content .= $field_name = $field_value\n; } } Tom, Not sure why, but wouldn't work Tom Rogers wrote: if(isset($_POST['exercise'])){

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Chris Shiflett
--- Dan Anderson [EMAIL PROTECTED] wrote: I am having problems with one of the web sites I have -- AOL users are reporting they can't view it. Does AOL break any major standards it shouldn't? AOL uses IE libraries, so yes, it breaks as many standards as it can. What specific symptoms are users

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
AOL uses IE libraries, so yes, it breaks as many standards as it can. What specific symptoms are users reporting? Users can't access the web page at all. They are getting some kind of error. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Larry Rosenman
--On Monday, September 29, 2003 12:43:06 -0400 Dan Anderson [EMAIL PROTECTED] wrote: AOL uses IE libraries, so yes, it breaks as many standards as it can. What specific symptoms are users reporting? Users can't access the web page at all. They are getting some kind of error. and that error

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
I'm not sure. They left angry messages on my machine this morning and didn't leave a core dump or error. They just said the page couldn't load. So I was wondering if there was something I should have paid attention to -- i.e. IE hates Style Sheets or something else I overlooked. -Dan On Mon,

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Phil Dowson
Greg, That worked brilliantly... I bow down to your sheer excellence!!! Thankyou Thankyou Thankyou Greg Wiley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Funny you should ask this because I've been meaning to share some code that I wrote a few months ago that does exactly this

RE: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Jay Blanchard
[snip] I am having problems with one of the web sites I have -- AOL users are reporting they can't view it. Does AOL break any major standards it shouldn't? [/snip] And this is a PHP problem how? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
And this is a PHP problem how? Well the script is coded within PHP. I probably should have put an OT: on the first line of the subject. But I figured that some kind soul may be willing to help and let me know if there is something I am missing. -Dan -- PHP General Mailing List

RE: [PHP] PHP coders spare time [OT}

2003-09-29 Thread Chris W. Parker
Curt Zirzow mailto:[EMAIL PROTECTED] on Sunday, September 28, 2003 6:50 PM said: And what they do with it... http://zirzow.dyndns.org/html/mlists/php_general/ Two comments: 1. Top 10! w00t! w00t! 2. Good job Curt. Chris. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Jason Wong
On Tuesday 30 September 2003 00:50, Dan Anderson wrote: I'm not sure. They left angry messages on my machine this morning and didn't leave a core dump or error. They just said the page couldn't load. So I was wondering if there was something I should have paid attention to -- i.e. IE hates

RE: [PHP] How many Mondays in a month?

2003-09-29 Thread Greg Wiley
No problem, just glad it's found some wider use. Cheers, Greg. -Original Message- From: Phil Dowson [mailto:[EMAIL PROTECTED] Sent: 29 September 2003 17:55 To: [EMAIL PROTECTED] Subject: Re: [PHP] How many Mondays in a month? Greg, That worked brilliantly... I bow down to

Re: [PHP] PHP coders spare time [OT}

2003-09-29 Thread Jon Kriek
Very nice! -- Jon Kriek http://phpfreaks.com Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Curt Zirzow mailto:[EMAIL PROTECTED] on Sunday, September 28, 2003 6:50 PM said: And what they do with it... http://zirzow.dyndns.org/html/mlists/php_general/ -- PHP

[PHP] captcha WAS Please visit my php program

2003-09-29 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Saturday, September 27, 2003 12:22 PM said: Please visit my captcha program here and tell me if its good or if you think i need to make some changes in text,color or anything. Exactly what is the purpose of this? Let me clarify. I know that it's supposed

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
Aside from it being OT, how can you expect anyone to help, if even you don't know (can't describe) what the problem is? Well I was mostly looking for known issues. For instance IE has some problems if you try and do certain things, so I figured AOL's browser might do the same. For instance,

Re: [PHP] captcha WAS Please visit my php program

2003-09-29 Thread Chris Shiflett
--- Chris W. Parker [EMAIL PROTECTED] wrote: Exactly what is the purpose of this? Let me clarify. I know that it's supposed to prevent computers from submitting forms automatically because they cannot read the graphic, but what I don't understand is in what cases this is useful? You have a

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Kevin Bruce
Well, I'm not sure about any particular standards, but I do know that it views web pages with CSS wrong. I have a client that uses AOHELL and the font sizes blow up to about 5 +50. REALLY annoying. I hope that helps a little:P Aside from it being OT, how can you expect anyone to help, if even

RE: [PHP] captcha WAS Please visit my php program

2003-09-29 Thread Chris W. Parker
Chris Shiflett mailto:[EMAIL PROTECTED] on Monday, September 29, 2003 10:34 AM said: You end up with so many chargebacks that you lose your merchant account, and your company loses so much money that you lose your job. How's that? :-) Sounds fine to me thanks! Chris. -- PHP General

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Jason Wong
On Tuesday 30 September 2003 01:33, Dan Anderson wrote: Aside from it being OT, how can you expect anyone to help, if even you don't know (can't describe) what the problem is? Well I was mostly looking for known issues. For instance IE has some problems if you try and do certain things, so

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Burhan Khalid
Greg Wiley wrote: Funny you should ask this because I've been meaning to share some code that I wrote a few months ago that does exactly this for any day of the week. Please feel free to use this and make changes. I'd appreciate any changes/bug fixes being sent back to me though. [ snip ] function

RE: [PHP] How many Mondays in a month?

2003-09-29 Thread Greg Wiley
-Original Message- From: Burhan Khalid [mailto:[EMAIL PROTECTED] Greg Wiley wrote: Funny you should ask this because I've been meaning to share some code that I wrote a few months ago that does exactly this for any day of the week. Please feel free to use this and make

RE: [PHP] captcha WAS Please visit my php program

2003-09-29 Thread Roger B.A. Klorese
Exactly what is the purpose of this? Let me clarify. I know that it's supposed to prevent computers from submitting forms automatically because they cannot read the graphic, but what I don't understand is in what cases this is useful? Not being able to auto-subscribe to mailing lists in

[PHP] Strange comportment ...

2003-09-29 Thread alain
Hi, I got a function that do a very strange calculation ... Here is the code fragment function ChiffreEnLettre($chiffre) { $centaine = 0; $dizaine = 0; $unite = 0; $reste = 0; $y = 0; $dix = false; $lettre = ; $reste = $chiffre; // print( Valeur recue = $restebr); for( $i =

[PHP] Central authentication for multiple sites

2003-09-29 Thread Fraser Campbell
Hi, Does anyone know of a way to authenticate a person on one site and have that authentication carried through to multiple sites? Basically I'd like to have someone login on www.domain1.com and then have their login be valid on www.domain2.com and www.domain3.com ... the domain name is

Re: [PHP] Central authentication for multiple sites

2003-09-29 Thread Kevin Bruce
Maybe you could go off of a timestamp in a last_visited, last_visitedIP fields. If it was less than 10 minutes ago, then they can move on. This, of course, would mean you'd have to add some UPDATE last_visited, last_visitedIP code at the header of every page (or on a common included header).

[PHP] Cleaning up my messy code

2003-09-29 Thread Chris
I am working on a fairly large scale (for myself anyway) project using PHP and MySQL. I am victim of teaching myself to program, not separating presentation from my code-- all the things that lead to masses of spaghetti code so atrocious even I can't figure out what I was doing an hour ago.

[PHP] Re: Central authentication for multiple sites

2003-09-29 Thread Kevin Stone
If all domains have access to the same database then there is absolutely nothing preventing you from using a Cookie. Have a normal login on Domain1.com. Once authenticated produce a random ID and store it in the database. Store the ID in a cookie then Redirect the client to the desired

Re: [PHP] Central authentication for multiple sites

2003-09-29 Thread Marek Kilimajer
Because the sites are on the same server, it is simple. Use sessions and pass SID in urls to other domains. Fraser Campbell wrote: Hi, Does anyone know of a way to authenticate a person on one site and have that authentication carried through to multiple sites? Basically I'd like to have

Re: [PHP] Cleaning up my messy code

2003-09-29 Thread Burhan Khalid
Chris wrote: I am working on a fairly large scale (for myself anyway) project using PHP and MySQL. I am victim of teaching myself to program, not separating presentation from my code-- all the things that lead to masses of spaghetti code so atrocious even I can't figure out what I was doing an

[PHP] download queue

2003-09-29 Thread Alex
I'm considering start up a small download site with the large amount of excess bandwith I have on my site, however I thought it would be cool to put some sort of download queue up (you know, so all my bandwith doesn't get eaten up when 500 random people suddenly decide to download a 500meg

RE: [PHP] Re: Central authentication for multiple sites

2003-09-29 Thread Vail, Warren
Fraser, Kevin is right on, but it wasn't clear to me that you wanted the users to log onto each site. Seems you may expect them to go to the site in another browser, or perhaps the same, without having to signon again. Perhaps this can be done if you do a form post to the new domain from the

Re: [PHP] Re: Central authentication for multiple sites

2003-09-29 Thread Fraser Campbell
On Monday 29 September 2003 15:33, Kevin Stone wrote: If all domains have access to the same database then there is absolutely nothing preventing you from using a Cookie. Have a normal login on Domain1.com. Once authenticated produce a random ID and store it in the database. Store the ID

Re: [PHP] Cleaning up my messy code

2003-09-29 Thread Brent Baisley
You should search the web for articles on MVC, Model View Controller. This is a standard technique for separating your presentation from your logic from your database. The concept can be applied to any programming or scripting language since it actually falls under the much bigger realm of

  1   2   >