[PHP] Graphing Webstats using MRTG/PHP/MYSQL?

2004-07-29 Thread Louie Miranda
has anyone know any tools related to this? Graphing Webstats using MRTG/PHP/MYSQL? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Java Script or PHP

2004-07-29 Thread Skippy
Quoting Curt Zirzow [EMAIL PROTECTED]: What is the correct way to open the page from the print link to a new page? @media print { .css { its: all here; } } Yeah, but sometimes you want the print version to be more nifty, like have all the pages in an article instead of just the

Re: [PHP] Browser reload problem

2004-07-29 Thread Skippy
Quoting Ashley M. Kirchner [EMAIL PROTECTED]: PayPal passes a ton of data back to us when someone's done purchasing something. I use some of that information and shove it all into a database. Problem is, if someone hits reload on their browser, I get the same data re-inserted again.

Re: [PHP] Graphing Webstats using MRTG/PHP/MYSQL?

2004-07-29 Thread Skippy
Quoting Louie Miranda [EMAIL PROTECTED]: has anyone know any tools related to this? Graphing Webstats using MRTG/PHP/MYSQL? Why MRTG _and_ PHP? AFAIK MRTG produces its own HTML and images. You can either use MRTG with whatever data (webstats) you collected or you can use PHP+MySQL for that and

Re: [PHP] php.net bug tracking tool?

2004-07-29 Thread Andreas Goetz
Curt, thank you. I like Mantis, too but wanted to check the php thing. I was confused there is no reference to it anywhere, as it's used by e.g. MySQL, too. Thanks, Andreas Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Andreas Goetz: Which bug tracking

[PHP] apache1 + php or apache2 + php

2004-07-29 Thread Ni Shurong
Hi, I am a newer of this list, nice to meet every body here:) I am wandering about using apache1 or apache2 with php, and i hope i can get some advics here ;) I use ./configure --help and it says: --with-apxs2[=FILE] EXPERIMENTAL: Build shared Apache 2.0 module. FILE is the optional

Re: [PHP] Graphing Webstats using MRTG/PHP/MYSQL?

2004-07-29 Thread Louie Miranda
i was thingking more of php+mysql, then mrtg will get all the data from the sql or the php. something like that On Thu, 29 Jul 2004 10:50:09 +0300, Skippy [EMAIL PROTECTED] wrote: Quoting Louie Miranda [EMAIL PROTECTED]: has anyone know any tools related to this? Graphing Webstats using

[PHP] VB--PHP

2004-07-29 Thread Jay
Hi! Can someone pelase help me to convert the following Vbscript code to PHP, i am really sucky at Regular Expression: -CODE VBSCRIPT- Function IsValid(strData,blIncludeAlpha,blIncludeNumeric) Dim regEx, retVal,strPtrn Set regEx = New RegExp If blIncludeAlpha Then

Re: [PHP] VB--PHP

2004-07-29 Thread Jason Wong
On Thursday 29 July 2004 17:00, Jay wrote: Can someone pelase help me to convert the following Vbscript code to PHP, i am really sucky at Regular Expression: Why don't you state your problem in English so that even those people not familiar with VB will understand and thus may be able to

Re: [PHP] VB--PHP

2004-07-29 Thread Ni Shurong
I did not test it:) function isValid($strData, $bIncludeAlpha=false, $bIncludeNumber=false) { switch(true) { case $bIncludeAlpha !$bIncludeNumber: $ptr = /^[a-zA-Z]+/; break; case !$bIncludeAlpha $bIncludeNumber: $ptr = /^[0-9]+/;

[PHP] Paul Kain

2004-07-29 Thread Shahed, Raja
Paul Kain wrote: Start it from webmonkey.com . They have tutorial for very beginner , that of Tim Zoegler (?). And also db tutorial of Graeme Morel (php and mysql db- Wunderschöne Tutorial). I am sure You learn the basic--- Good luck and welcome to PHP Best regards Raja shahed

RE: [PHP] VB--PHP

2004-07-29 Thread Ford, Mike [LSS]
On 29 July 2004 10:00, Jay wrote: Hi! Can someone pelase help me to convert the following Vbscript code to PHP, i am really sucky at Regular Expression: -CODE VBSCRIPT- Function IsValid(strData,blIncludeAlpha,blIncludeNumeric) Dim regEx, retVal,strPtrn Set

RE: [PHP] strpos mystery

2004-07-29 Thread Ford, Mike [LSS]
On 29 July 2004 01:50, Jon Drukman wrote: with this code fragment: ? $string='/mobile/phone.html'; if (strpos($string,'/mobile/')!==false) { print one: yes\n; } if (strpos($string,'/mobile/')===true) { print two: yes\n; } only the first if statement prints anything. why is !==

RE: [PHP] unset($_COOKIE['foo']) and $_COOKIE['foo'] = '' both do n't do anything.

2004-07-29 Thread Ford, Mike [LSS]
On 28 July 2004 20:17, Daevid Vincent wrote: No. I'm trying to delete it from PHP memory, but keep the cookie on their client in the cookie.txt file or wherever it's stored. Where are you doing the test for it -- in the same script, or in a subsequent one? If the former, then I'm confused; if

Re: [PHP] VB--PHP

2004-07-29 Thread Jay
Jason Wong wrote: On Thursday 29 July 2004 17:00, Jay wrote: Can someone pelase help me to convert the following Vbscript code to PHP, i am really sucky at Regular Expression: Why don't you state your problem in English so that even those people not familiar with VB will understand and thus may

Re: [PHP] VB--PHP

2004-07-29 Thread Jay
Ni Shurong wrote: I did not test it:) function isValid($strData, $bIncludeAlpha=false, $bIncludeNumber=false) { switch(true) { case $bIncludeAlpha !$bIncludeNumber: $ptr = /^[a-zA-Z]+/; break; case !$bIncludeAlpha $bIncludeNumber: $ptr =

Re: [PHP] VB--PHP

2004-07-29 Thread Ni Shurong
I am familiar with pcre more then php's POSIX extension :) and it is said that preg_match() is faster than ereg(), see php manual for more info :) function isValid($strData, $bIncludeAlpha=false, $bIncludeNumber=false) { switch(true) { case $bIncludeAlpha !$bIncludeNumber:

[PHP] [HAB] Virtual Host

2004-07-29 Thread EE
Dears, How can I make a virtual host. I usually type 127.0.0.1 in my browser to test my site but I need to work on another site in a different directory? I am running Apache, PHP4, Mandrake 10. I am not sure which appache I am running but when I do 'apachectl graceful' it says Reloading httpd2

[PHP] Problems with is_dir()

2004-07-29 Thread Jay
Hi! I am trying to list all files and dirs in a directory. But i encountered some problems with is_dir() function. is_dir tells med that it all is files when i know for a fact that there is one dir in the directory (dir1). Can someone tell me why this don´t work?: ?php if ($handle =

Re: [PHP] Problems with is_dir()

2004-07-29 Thread Ni Shurong
you must do it like this: ?php if ($handle = opendir($_SERVER[DOCUMENT_ROOT]./img)) { while (false !== ($file = readdir($handle))) { if ($file != . $file != ..) { + $path = $_SERVER[DOCUMENT_ROOT]./img . / . $file; ! if

Re: [PHP] Problems with is_dir()

2004-07-29 Thread Jay
Ni Shurong wrote: you must do it like this: ?php if ($handle = opendir($_SERVER[DOCUMENT_ROOT]./img)) { while (false !== ($file = readdir($handle))) { if ($file != . $file != ..) { + $path = $_SERVER[DOCUMENT_ROOT]./img . / . $file; !

[PHP] Re: apache1 + php or apache2 + php

2004-07-29 Thread Jay
Ni Shurong wrote: Hi, I am a newer of this list, nice to meet every body here:) I am wandering about using apache1 or apache2 with php, and i hope i can get some advics here ;) I use ./configure --help and it says: --with-apxs2[=FILE] EXPERIMENTAL: Build shared Apache 2.0 module. FILE is the

Re: [PHP] Re: apache1 + php or apache2 + php

2004-07-29 Thread Ni Shurong
Thank you! ;) I have build apache1+php5, apache2+php5 but I don't know how to test which one is better :) They all works fine. I works under linux, and I need imap extension support ;) Mayby I will take apache1+php, for contented, aha .. ;) Ni Shurong [EMAIL PROTECTED] MAIL : [EMAIL

[PHP] Charset Problem

2004-07-29 Thread Gerske, Sebastian
Dear list, im running mysql 4.1 and php 4.3.8 and have the following problem with charset. If i select a row from a table like SELECT * FROM ip WHERE ip LIKE '127.0.0.1' LIMIT 0 , 30 i get the error: #1267 - Illegal mix of collations (ascii_general_ci,IMPLICIT) and

[PHP] Classes, instances and NULL

2004-07-29 Thread Oliver Hitz
Hi all, I have stumbled across something odd related to classes, instances and NULL in PHP 4. Apparently, an instance of a class that doesn't contain any variables is always equal to NULL. class MyClass { function anyFunction() { ... } } $c = new MyClass(); if ($c == null)

Re: [PHP] [HAB] Virtual Host

2004-07-29 Thread Jason Wong
On Thursday 29 July 2004 19:16, EE wrote: This question is OT ... How can I make a virtual host. I usually type 127.0.0.1 in my browser to test my site but I need to work on another site in a different directory? ... check out http://httpd.apache.org/docs/ Also you need to set up some DNS

Re: [PHP] reading txt file - certain lines

2004-07-29 Thread Miroslav Hudak (php/ml)
Everything is possible :) And in this case, it seems, that lines are delimited by br ... i'm not quite sure, whether br can be used in explode as a delimiter, if so, you have no problem and you just read all the file into variable, $lines = explode('br', $variable) and you have lines in

[PHP] Automatically run a php page once a day

2004-07-29 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello everybody, Can someone help me saying how i can run a php script automatically once in a day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Automatically run a php page once a day

2004-07-29 Thread Jay Blanchard
[snip] Hello everybody, Can someone help me saying how i can run a php script automatically once in a day. [/snip] You don't say what your OS is, but CRON will do it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Classes, instances and NULL

2004-07-29 Thread Mehdi Achour
Hi Oliver, you should test with === instead of == http://php.net/manual/en/language.operators.comparison.php didou Oliver Hitz wrote: Hi all, I have stumbled across something odd related to classes, instances and NULL in PHP 4. Apparently, an instance of a class that doesn't contain any

Re: [PHP] Automatically run a php page once a day

2004-07-29 Thread John Nichel
PHPDiscuss - PHP Newsgroups and mailing lists wrote: Hello everybody, Can someone help me saying how i can run a php script automatically once in a day. man cron Or if yer one of dem Windows users, there's that task scheduler thingy. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL

Re: [PHP] Re: Classes, instances and NULL

2004-07-29 Thread Oliver Hitz
On 29 Jul 2004, Mehdi Achour wrote: Hi Oliver, you should test with === instead of == http://php.net/manual/en/language.operators.comparison.php Thank you. I know there is a `===' operator, but to me this doesn't make sense either. class A { } class B { var $x; } It is logical that an

[PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-29 Thread rush
Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. I'm trying to retrieve values from a previously selected dropdown menu. For text I simply use value=$Whatever here is small example on dynamically cretaing listboxes, and selecting the items.

[PHP] image field in MSSQL db

2004-07-29 Thread Edward Peloke
I have never kept my images in the database but instead used the db to hold the path to the image. I now have to connect to a third party SQL Server db which holds images with an image data type in the table. How can I pull this out so it can be diplayed? I simply can't echo out the contents as

[PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
New to the list, thanks in advance. I have created a form that lists the possible sponsorships of various events. I need to keep the names of the checkbox to identify the specific event, but the value is a dollar amount that needs to pass thru to the checkout area function. Without creating

RE: [PHP] Re: Classes, instances and NULL

2004-07-29 Thread Michael Sims
Oliver Hitz wrote: Thank you. I know there is a `===' operator, but to me this doesn't make sense either. class A { } class B { var $x; } It is logical that an instance of `A' is not identical to null. However, why is an instance of `A' equal (`==' operator) to null, an instance of

Re: [PHP] image field in MSSQL db

2004-07-29 Thread raditha dissanayake
Edward Peloke wrote: I have never kept my images in the database but instead used the db to hold the path to the image. indeed that is the right way to do it. I now have to connect to a third party SQL Server db which holds images with an image data type in the table. How can I pull this out

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] I have created a form that lists the possible sponsorships of various events. I need to keep the names of the checkbox to identify the specific event, but the value is a dollar amount that needs to pass thru to the checkout area function. Without creating an array that would loose the

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] Your right, I didn't explain fully. If I have two events where the value=$5, then after I have looped thru the array I know they want to pay the $5, but not which event that goes to because multiple events are that value. What I'm thinking I'll do is make one array and give each event a

Re: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jason Wong
On Thursday 29 July 2004 22:04, Andrew Reilly wrote: I have created a form that lists the possible sponsorships of various events. I need to keep the names of the checkbox to identify the specific event, but the value is a dollar amount that needs to pass thru to the checkout area function.

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
Example of form: td height=52 align=left valign=middleinput type=checkbox name=wbc_Money value=$5000 Power of Money Series ($5000) img src=images/sold_Out.gif border=0Power of Politics ($3500)br input type=checkbox name=wbc_Wine value=$1000 Power of Wine nbsp;nbsp; input

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] Example of form: input type=checkbox name=wbc_Money value=$5000 input type=checkbox name=wbc_Wine value=$1000 input type=checkbox name=wbc_Golffall value=$3500 input type=checkbox name=wbc_Golfspring value=$3500 So the dollar amounts are the same for three of the four events, but this is

[PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
Afternoon... I have a table generated by some code that returns certain field values and drops them into a table. On of these values is ID and I'd like to convert it to a hyperlink that people can use to go to another page to view further information about a record. However: The fields are not

RE: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Jay Blanchard
[snip] I have a table generated by some code that returns certain field values and drops them into a table. On of these values is ID and I'd like to convert it to a hyperlink that people can use to go to another page to view further information about a record. However: The fields are not

[PHP] PHP5 and Webhost

2004-07-29 Thread EE
Dears, I have asked my webhost when will they install PHP5, he told me that not very soon as he assured me that there will be some bugs. Usually, when do you quys/gals think that php5 will be stable and webhost will start to upgrade? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Named anchors, POST failure

2004-07-29 Thread Jason
PHP 4.3.4 MySQL 4.0.2 Apache 2.0.48 RedHat 9.0 I have a form that post some data to a DB. After the post, I send it back to another page with a named anchor like this: a name=commentsComments/a By way of a URL that looks like this: http://www.domain.com/index.php?mode=viewid=100#comments or

Re: [PHP] Browser reload problem

2004-07-29 Thread Matthew Sims
PayPal passes a ton of data back to us when someone's done purchasing something. I use some of that information and shove it all into a database. Problem is, if someone hits reload on their browser, I get the same data re-inserted again. Reload the page four times, and I will get four

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
So the ?=$_POST['wbc_Event']? would go in the value or name field of the checkbox? -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 10:01 AM To: Andrew Reilly; [EMAIL PROTECTED] Subject: RE: [PHP] Need to maintain the integrity of the

Re: [PHP] list($bar['CompanyCode'], $CompanyDB) = mysql_fetch_row($sth) fails.

2004-07-29 Thread Matthew Sims
Why does this fail when using an array element, but using a variable will work? Why should PHP care what the variable is I'm trying to store into? list($bar['CompanyCode'], $CompanyDB) = mysql_fetch_row($sth); Wouldn't it be easier to simply do: $result = mysql_fetch_row($sth); And then

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] So the ?=$_POST['wbc_Event']? would go in the value or name field of the checkbox? [/snip] No, just value= -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
RTFM...? -- - Michael Mason Arras People www.arraspeople.co.uk - Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I have a table generated by some code that returns certain field values and drops them into a

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Jay Blanchard
[snip] [snip] So the ?=$_POST['wbc_Event']? would go in the value or name field of the checkbox? [/snip] No, just value= [/snip] I should have been more descriptive. When you click the SUBMIT button the values entered will appear in the $_POST array A small example page1.php (the form page)

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Nichel
Harlequin wrote: RTFM...? AKA : Read The F**king Manual -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Named anchors, POST failure

2004-07-29 Thread Jay Blanchard
[snip] I have a form that post some data to a DB. After the post, I send it back to another page with a named anchor like this: a name=commentsComments/a By way of a URL that looks like this: http://www.domain.com/index.php?mode=viewid=100#comments or

Re: [PHP] Re: apache1 + php or apache2 + php

2004-07-29 Thread Justin Patrin
For more info: http://www.reversefold.com/tikiwiki/tiki-index.php?page=PHPFAQs#id292342 On Thu, 29 Jul 2004 20:29:46 +0800, Ni Shurong [EMAIL PROTECTED] wrote: Thank you! ;) I have build apache1+php5, apache2+php5 but I don't know how to test which one is better :) They all works fine. I

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Harlequin
I know. Just wondered if Jay had the courage of his convictions. -- - Michael Mason Arras People www.arraspeople.co.uk - John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: RTFM...? AKA : Read

RE: [PHP] Conversion of Field Value to Hyperlink OT

2004-07-29 Thread Jay Blanchard
[snip] Just wondered if Jay had the courage of his convictions. [/snip] Yes I do...I showed incredible restraint because I could have said STFW and STFA too. Courage of my convictions indeed, are you new here? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Conversion of Field Value to Hyperlink OT

2004-07-29 Thread Harlequin
Jay I am new. we all are at something at some point or other in our lives. If you don't like me fine - just ignore me. If you want to help, that's fine also. Just be polite. You don't need to swear to get your point across and don't need to be aggressive as either method implies a lack of

Re: [PHP] Named anchors, POST failure

2004-07-29 Thread Jason
Sure. This is my function for posting a comment via the form I mentioned previously: [code] case post_comment: // SQL to insert new psot into DB // $sql = INSERT INTO table(value1, value2, value3) VALUES (' . $_POST[value1] . ', ' . $_POST[value2] . ', ' .

[PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Brian Dunning
I've got a function where I reset an expiration datetime to 3 days in the future, using: update table set expire = NOW()+300 where ... Has always worked great, but today it always sets the field to -00-00 00:00:00. No code was touched. Anyone have a clue? A problem with the ISP's

RE: [PHP] Conversion of Field Value to Hyperlink OT

2004-07-29 Thread Jay Blanchard
[snip] I am new. we all are at something at some point or other in our lives. If you don't like me fine - just ignore me. If you want to help, that's fine also. Just be polite. You don't need to swear to get your point across and don't need to be aggressive as either method implies a lack of

Re: [PHP] Conversion of Field Value to Hyperlink OT

2004-07-29 Thread raditha dissanayake
Harlequin wrote: Jay I am new. we all are at something at some point or other in our lives. If you are newbie please read the newbie guide for the benefit of new members before posting. -- Raditha Dissanayake.

Re: [PHP] Classes, instances and NULL

2004-07-29 Thread Justin Patrin
On Thu, 29 Jul 2004 14:41:57 +0200, Oliver Hitz [EMAIL PROTECTED] wrote: Hi all, I have stumbled across something odd related to classes, instances and NULL in PHP 4. Apparently, an instance of a class that doesn't contain any variables is always equal to NULL. class MyClass {

RE: [PHP] Named anchors, POST failure

2004-07-29 Thread Jay Blanchard
[snip] Sure. This is my function for posting a comment via the form I mentioned previously: [code] case post_comment: // SQL to insert new psot into DB // $sql = INSERT INTO table(value1, value2, value3) VALUES (' . $_POST[value1] . ', ' . $_POST[value2] . ',

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Jay Blanchard
[snip] I've got a function where I reset an expiration datetime to 3 days in the future, using: update table set expire = NOW()+300 where ... Has always worked great, but today it always sets the field to -00-00 00:00:00. No code was touched. Anyone have a clue? A problem with the

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Jason Wong
On Friday 30 July 2004 01:05, Harlequin wrote: John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Harlequin wrote: RTFM...? AKA : Read The F**king Manual I know. Just wondered if Jay had the courage of his convictions. Most people who use the term RTFM do not

Re: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Brian Dunning
On Jul 29, 2004, at 10:18 AM, Jay Blanchard wrote: Have you asked the ISP? No - that's like asking a black hole, unfortunately - I was hoping someone here might spot a problem on my end. - Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Nichel
I always feel so at home on this list. Now if we could keep John and Chris from being so prim and proper. ;) -- John C. Nichel berGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ordering a list starting at x

2004-07-29 Thread php-general
This is a little bit more involved then the subject would let on. What I have is a picture page, has nothing to do with an 80's themed kids show starring Bill Cosby, but what it has to deal with is a search results like page where 5 images will appear with a next and prev link to get to more.

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Jay Blanchard
[snip] Have you asked the ISP? No - that's like asking a black hole, unfortunately - I was hoping someone here might spot a problem on my end. [/snip] [smartass mode to full power - nothing personl] The problem most of us spotted was that there was not information in the initial post to arrive

Re: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Jason Wong
On Friday 30 July 2004 01:39, Brian Dunning wrote: On Jul 29, 2004, at 10:18 AM, Jay Blanchard wrote: Have you asked the ISP? No - that's like asking a black hole, unfortunately - I was hoping someone here might spot a problem on my end. 1) You're on the wrong list. Try asking on the

RE: [PHP] ordering a list starting at x

2004-07-29 Thread Jay Blanchard
[snip] Any thoughts? [/snip] Several thousand. It must be the heat. Here are some. Have you tested this? It wasn't explained clearly. The subject of the thread does not reveal anything inside the post. Have you read http://catb.org/~esr/faqs/smart-questions.html this? There are no comments in

[PHP] help with regular expression

2004-07-29 Thread Barbara Picci
Hi all, I'm trying from much days to solve a problem with a regular expression... I'm going to be crazy! I've a script that must strip a string when it find the first word containing at least 4 characters; it must print the content of the string before that word, that word, a separator and the

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Ed Lazor
Maybe they've upgraded something on the server that's somehow affecting your code? Against MySQL 4.0.18 Query: select NOW() Results: 2004-07-29 10:48:12 Query: select NOW()+300 Results: 20040732104424 The difference in result data format would lead to the problem you're

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Matthew Sims
[smartass mode to full power - nothing personl] [/smartass mode] Is that W3C HTML 4.01 compliant? -- --Matthew Sims --http://killermookie.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Server's clock gone funny, maybe? OT

2004-07-29 Thread Jay Blanchard
[snip] [smartass mode to full power - nothing personl] [/smartass mode] Is that W3C HTML 4.01 compliant? [/snip] Yes, ermaybe. Try XJBML strict -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ordering a list starting at x

2004-07-29 Thread php-general
Okay so I have a list of 20 images, I want to display 5 per page, the code I have included will do that without any problems, and the code I have included will setup the Prev, Next and page # links and they will pull up the correct results. However I need to include some functionality where if

RE: [PHP] Server's clock gone funny, maybe? OT

2004-07-29 Thread php-general
Quoting Jay Blanchard [EMAIL PROTECTED]: [snip] [smartass mode to full power - nothing personl] [/smartass mode] Is that W3C HTML 4.01 compliant? [/snip] Yes, ermaybe. Try XJBML strict -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] help with regular expression

2004-07-29 Thread Michael Sims
Barbara Picci wrote: I've a script that must strip a string when it find the first word containing at least 4 characters; it must print the content of the string before that word, that word, a separator and the rest of the string. I've tried with ereg whit this script ([EMAIL PROTECTED] is

Re: Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Holmes
From: John Nichel [EMAIL PROTECTED] I always feel so at home on this list. Now if we could keep John and Chris from being so prim and proper. ;) Yes, sir. I shall try. ---John Holmes... UCCASS - PHP Survey System http://www.bigredspark.com/survey.html -- PHP General Mailing List

Re: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Brian Dunning
On Jul 29, 2004, at 10:45 AM, Jay Blanchard wrote: Please read this now, before you post again... http://catb.org/~esr/faqs/smart-questions.html Thank you for not trying to be a condescending smartass at all. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Server's clock gone funny, maybe? OT

2004-07-29 Thread Jay Blanchard
[snip] Please read this now, before you post again... http://catb.org/~esr/faqs/smart-questions.html Thank you for not trying to be a condescending smartass at all. [/snip] Thank you for noticing! :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']

2004-07-29 Thread Mark Collin
Thanks for pointing me in the right direction. I managed to kill my existing authorisation credentials by throwing a 401 unauthorised header at IE. Just in case anybody else is interested here is the basic layout of the code I used(I did format it but that might have got lost, apologies if it

[PHP] Failed (php-general@lists.php.net)

2004-07-29 Thread rjs
Mail Delivery - This mail couldn't be displayed- failed message -'y1;üi5j>W7?N3ogüQäYTn-yLG,N>#8j0K+&0D?,~MSiNV*%Wg;Yo#,MnW

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread rogerk
Quoting Jason Wong [EMAIL PROTECTED]: Most people who use the term RTFM do not attach any hostile intentions with it. If you're going to start getting all emotional about being told to RTFM then you should stay away frm mailing lists, the internet, and computers in general. Well there *are*

Re: [PHP] Browser reload problem

2004-07-29 Thread Ashley M. Kirchner
On Thu, 29 Jul 2004, Skippy wrote: ATTENTION: if you receive the PayPal data by POST be sure to redirect using 303 See Other, which will deactivate the POST and force the redirect to use GET. Of course, forwarding any data to the 2nd script should be done as GET parameters. I stuck phpinfo()

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Ashley M. Kirchner
On Thu, 29 Jul 2004, John Nichel wrote: Harlequin wrote: RTFM...? AKA : Read The F**king Manual Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? Just my two cents. -- L | I haven't lost my mind; it's backed up on tape

RE: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Jay Blanchard
[snip] Harlequin wrote: RTFM...? AKA : Read The F**king Manual Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? Just my two cents. [/snip] Because that is what it has always meant. -- PHP General Mailing List

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Nichel
Ashley M. Kirchner wrote: On Thu, 29 Jul 2004, John Nichel wrote: Harlequin wrote: RTFM...? AKA : Read The F**king Manual Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? Just my two cents. Great thing about an acronym...it

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread rogerk
Quoting Ashley M. Kirchner [EMAIL PROTECTED]: On Thu, 29 Jul 2004, John Nichel wrote: Harlequin wrote: RTFM...? AKA : Read The F**king Manual Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? Because that's what it

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Brian Dunning
Most people who use the term RTFM do not attach any hostile intentions with it. I'm among those who are really pissed off when I see honest questions being answered with 'RTFM' or 'STFW'. I am relatively new to PHP, but by no means am I new to programming: like everyone else here, I already

[PHP] Searching and removing

2004-07-29 Thread Jonathan Lassoff
There is a local radio station near me that has a crumby webserver that doesn't server HTTP requests in a standard way. So, I wrote a simple PHP script that fetches a playlist I want (with curl) and serves it properly. I only want to get a table from the resulting HTML file. I have it stored in a

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Matthew Sims
On Thu, 29 Jul 2004, John Nichel wrote: Harlequin wrote: RTFM...? AKA : Read The F**king Manual Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? Just my two cents. Read the Fscking Manuel -- --Matthew Sims

Re: [PHP] Searching and removing

2004-07-29 Thread Justin Patrin
On Thu, 29 Jul 2004 21:37:59 + (UTC), Jonathan Lassoff [EMAIL PROTECTED] wrote: There is a local radio station near me that has a crumby webserver that doesn't server HTTP requests in a standard way. So, I wrote a simple PHP script that fetches a playlist I want (with curl) and serves it

[PHP] Variable functions within an object

2004-07-29 Thread Julio Sergio Santana
I need to record the names of functions, and then use them later. Recently I found the following example within the on-line documentation: ?php function foo() { echo In foo()br /\n; } $func = 'foo'; $func();// This calls foo() ? then I supposed that it was easy to extend this concept to

Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread Jason Wong
On Friday 30 July 2004 04:46, Ashley M. Kirchner wrote: Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? For all practical purposes: RTFM == read the manual If someone finds it offensive then they're either delusional or

[PHP] TIFF Images

2004-07-29 Thread Stephen Craton
I'm working on a thumbnail script currently that needs to support multiple types of files, such as jpeg, bmp, gif, etc. One of the file types I need to support is a TIFF type image. I was looking through the PHP manual from imagecreatfrom... functions and I couldn't find one for tiff. Is there any

Re: [PHP] TIFF Images

2004-07-29 Thread Justin Patrin
On Thu, 29 Jul 2004 17:16:58 -0500, Stephen Craton [EMAIL PROTECTED] wrote: I'm working on a thumbnail script currently that needs to support multiple types of files, such as jpeg, bmp, gif, etc. One of the file types I need to support is a TIFF type image. I was looking through the PHP manual

Re: Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread John Holmes
Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? For all practical purposes: RTFM == read the manual If someone finds it offensive then they're either delusional or paranoid or more likely both! If I'm offended by

Re: Re: [PHP] Conversion of Field Value to Hyperlink

2004-07-29 Thread rogerk
Quoting John Holmes [EMAIL PROTECTED]: Why not simply 'Read The Fine Manual', or 'Read The Fantastic Manual'? Why does it have to contain profanity? For all practical purposes: RTFM == read the manual If someone finds it offensive then they're either delusional or paranoid

  1   2   >