php-general Digest 28 Jun 2004 09:14:50 -0000 Issue 2845

2004-06-28 Thread php-general-digest-help
php-general Digest 28 Jun 2004 09:14:50 - Issue 2845 Topics (messages 189114 through 189122): New changes 189114 by: Hitcho Re: Construction 189115 by: Paul Bissex 189116 by: Michael Sims Re: Crontab PHP Script 189117 by: Ryan Schefke Hierarchies and MySQL

Re: [PHP] Hierarchies and MySQL with PHP

2004-06-28 Thread Mattias Thorslund
Warren Vail wrote: I did one once where the key to the table was a string, and the string contained 1 to n Node Numbers separated by a separator character. 1 1.1 1.1.1 1.2 select data from table where node between (1 and 2) resulted in an entire limb of the tree being retrieved. Limitations were

[PHP] php-login scripts

2004-06-28 Thread Sriranganath
Dear Sir, Can u send me the Check list for PHP-Login : It is not clear in the website which files should we have to include under which directories. There are two or more files with the same name vizConfig.php which one to include .? i am trying this for the past 4 days. i am unable to get

RE: [PHP] include question

2004-06-28 Thread Aaron Axelsen
Thanks, worked wonders. -- Aaron Axelsen Email: [EMAIL PROTECTED] -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Monday, June 21, 2004 10:40 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] include question On Mon, 21 Jun 2004 10:31:42 -0500

[PHP] Re: javascript prob with php on ther browsers (old or new)

2004-06-28 Thread Louie Miranda
never mind, i got it solved. On Mon, 28 Jun 2004 11:13:01 +0800, Louie Miranda [EMAIL PROTECTED] wrote: Whenever i load this on my old/mac broweser like IE5, etc. The whole page just wont show up. How can i load this on php? to load it right? this loads ok on my new browser, im confused

[PHP] Error Reporting

2004-06-28 Thread Tom Chubb
I ave a strange problem with my error reporting! I have set php.ini to: error_reporting = E_ALL but I don't see any errors. (After I was happy things were working on my Apache Test Server, I uploaded to my web host and discovered errors.) Thanks, Tom -- PHP General Mailing List

[PHP] auto-submit

2004-06-28 Thread Jim Rainville
Hi - I'm writing a multi-page php script that keeps track of state with a hidden variable in the html forms. It's all working well except I would like to know how to auto submit a form and change the state. For example when I'm in state 2 and the user enters some data and hits a submit button

[PHP] Image Problem

2004-06-28 Thread Monil Chheda
Hi, I store images in DB properly... no issues using the following code ?php // store.php3 - by Florian Dittmer [EMAIL PROTECTED] // Example php script to demonstrate the storing of binary files into // an sql database. More information can be found at http://www.phpbuilder.com/ ? html

Re: [PHP] New changes

2004-06-28 Thread john cashmore
what are these posts and why do they keep getting posted with some picutre with a password? On Sun, 27 Jun 2004 17:53:49 +0100, Hitcho [EMAIL PROTECTED] wrote: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php nyngargjah.bmp - 3K

Re: [PHP] Streaming

2004-06-28 Thread Justin Patrin
On Fri, 25 Jun 2004 09:07:16 -0500, Stephen Craton [EMAIL PROTECTED] wrote: What I'm basically trying to do is make the database display out the information from it's tables as soon as it possibly can without the need for refreshing. For example: Someone enters in some text, and it's put

Re: [PHP] Re: Determine whether $_GET has a value

2004-06-28 Thread Justin Patrin
On Thu, 24 Jun 2004 21:53:21 -0400, Al [EMAIL PROTECTED] wrote: You need to be specific about what you consider to be a legitimate value for your application. consider: $var= $_GET['myname']; if((preg_match(/([0-9]|[a-z]|[A-Z]/, $var)) { Do something } First, you have an extra ( and

[PHP] pcntl_fork and classes

2004-06-28 Thread josh
Is it possible to pcntl_fork() withing a class? Basically I want a web page to load, and when the class is called in the page, it can fork and the child can run, allowing the webpage to finish, but the class process can continue 'till it's done. Is this possible? Would I put the fork in the

[PHP] javascript prob with php on ther browsers (old or new)

2004-06-28 Thread Louie Miranda
Whenever i load this on my old/mac broweser like IE5, etc. The whole page just wont show up. How can i load this on php? to load it right? this loads ok on my new browser, im confused how can i get the and the ' to work with php? to load right on my weird-javascript-old- browser script

[PHP] getting query string from referer website

2004-06-28 Thread I.A. Gray
Hi all, When I use the $_SERVER to get a query string it doesn't ever seem to return me anything: $queryy = $_SERVER['QUERY_STRING']; In my webstats script, 790 are blank and 2 give the value of loc=uk and currentID=6 - not very satisfactuary! Why is this happening? Could I get the search

[PHP] Re: php-login scripts

2004-06-28 Thread Aidan Lister
Hi, You've sent this email to a mailing list with a couple of thousand users. I'm probably not alone when I say what on earth are you talking about?. I don't know what PHP-Login is, if you have a problem using whatever software that may be - please contact them about it. You can find the PEAR

[PHP] Re: Error Reporting

2004-06-28 Thread Aidan Lister
Did you restart your webserver to make sure the changes were loaded? Tom Chubb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I ave a strange problem with my error reporting! I have set php.ini to: error_reporting = E_ALL but I don't see any errors. (After I was happy things were

[PHP] Re: getting query string from referer website

2004-06-28 Thread Aidan Lister
$_SERVER['QUERY_STRING'] has nothing to do with the refering website. foo.php?bar=6 The QUERY_STRING for the above example is: bar=6 When someone visits your page, they visit foo.php (for example), thus your QUERY_STRING will always be blank. I believe you're looking for HTTP_REFERER I.A.

[PHP] getting query string from referer website

2004-06-28 Thread I.A. Gray
Hi all, When I use the $_SERVER to get a query string it doesn't ever seem to return me anything: $queryy = $_SERVER['QUERY_STRING']; In my webstats script, 790 are blank and 2 give the value of loc=uk and currentID=6 - not very satisfactuary! Why is this happening? Could I get the search

[PHP] Re: auto-submit

2004-06-28 Thread Nadim Attari
javascript !!! = form name='aForm' action='stateOne.php' input type=hidden value=aVal name=aHiddenName /form script language=JavaScript document.aForm.submit(); /script == Jim Rainville [EMAIL PROTECTED] a écrit dans le message de news:[EMAIL PROTECTED] Hi - I'm

RE: [PHP] Re: getting query string from referer website

2004-06-28 Thread I.A. Gray
Thanks- didn't realise that $_SERVER['QUERY_STRING'] was the query string for the actual page. In that case what is the easiest way to extract the search string from the referer web site? I would like to add this string to the MYSQL database. -Original Message- From: Aidan Lister

[PHP] Send a page using mail()

2004-06-28 Thread Tom Chubb
I've read the manual for the mail function and extensively searched google, but I can't work out how I can email an html page (actually a php page). I want to query a DB and the email the displayed table to the user. Any help most appreciated. Tom -- PHP General Mailing List

Re: [PHP] New changes

2004-06-28 Thread Aidan Lister
It's a virus, duh John Cashmore [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] what are these posts and why do they keep getting posted with some picutre with a password? On Sun, 27 Jun 2004 17:53:49 +0100, Hitcho [EMAIL PROTECTED] wrote: -- PHP General Mailing List

Re: [PHP] Send a page using mail()

2004-06-28 Thread Binay
For sending html emails there are various classes which has got lottt of functionalities including attachment also. one of such class can be found at http://phpmailer.sourceforge.net/ regards binay I've read the manual for the mail function and extensively searched google, but I can't

[PHP] Re: Send a page using mail()

2004-06-28 Thread Torsten Roehr
Tom Chubb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've read the manual for the mail function and extensively searched google, but I can't work out how I can email an html page (actually a php page). I want to query a DB and the email the displayed table to the user. Any help

Re: [PHP] Image Problem

2004-06-28 Thread Binay
probably the table in which ur storing the images will be having its primary key set to auto_increment. If tht is the case then when u delete banner(s) then corresponding id(s) match won't be found. i.e say table is having 4 records with ids as follows id =1 id=2 id=3 id=4 so random number

Re: [PHP] javascript prob with php on ther browsers (old or new)

2004-06-28 Thread Marek Kilimajer
This is a javascript question, it has nothing to do with php. php merely outputs the html and javascript, and your issue is client side. Louie Miranda wrote --- napísal:: Whenever i load this on my old/mac broweser like IE5, etc. The whole page just wont show up. How can i load this on php? to

[PHP] clearing font tags

2004-06-28 Thread Chris
Hi, Just wondering if there is a way in php to filter out FONT tags when inserting a record from a textarea so information appears with the standard defined CSS style on detail/result pages? Any help would be greatly appreciated Thanks, Chris -- PHP General Mailing List (http://www.php.net/)

[PHP] Date Diff function

2004-06-28 Thread Richard Davey
Hi all, Does anyone have a date-diff function in PHP that *doesn't* use Unix time stamps? I need to calculate differences between two date values, but the range well exceeds that which date supports on our server. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development

[PHP] Re: clearing font tags

2004-06-28 Thread Torsten Roehr
Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Just wondering if there is a way in php to filter out FONT tags when inserting a record from a textarea so information appears with the standard defined CSS style on detail/result pages? Any help would be greatly

[PHP] Re: Date Diff function

2004-06-28 Thread Torsten Roehr
Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Does anyone have a date-diff function in PHP that *doesn't* use Unix time stamps? I need to calculate differences between two date values, but the range well exceeds that which date supports on our server. Best

Re: [PHP] Re: clearing font tags

2004-06-28 Thread Richard Davey
Hello Torsten, Monday, June 28, 2004, 1:32:32 PM, you wrote: TR take a look at strip_tags(): TR http://de2.php.net/manual/en/function.strip-tags.php TR You can define which tags should NOT be stripped from the supplied string. I have to admit I've always thought it would be useful for

RE: [PHP] Re: getting query string from referer website

2004-06-28 Thread I.A. Gray
I think I managed to do it myself- ?php $referer = http://search.yahoo.com/search?p=pianist+web+sites+designei=UTF-8fr=fp-ta b-web-tcop=msstab=; if (strpos($referer, q=) != FALSE) { $query = q=;} else if (strpos($referer, p=) != FALSE) { $query = p=;} $searcharray = explode(, substr($referer,

[PHP] rtf and xls file

2004-06-28 Thread Roman Duriancik
Is it possible open rtf and xls file by php and than use some data from this file ? I only know create new xls file but how i open existing xls and rtf file by php code ? Thank all roman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Error Reporting

2004-06-28 Thread Daniel Kullik
Tom Chubb wrote: I ave a strange problem with my error reporting! I have set php.ini to: error_reporting = E_ALL but I don't see any errors. (After I was happy things were working on my Apache Test Server, I uploaded to my web host and discovered errors.) Thanks, Tom Make sure that

[PHP] mail program

2004-06-28 Thread Syed Ghouse
Hi all (B (Bi want to send more than 1000 mails from php program at a time.how can i send it and (Bwill the execution of program become slow. (B (Bpls reply to the above ASAP (B (Bsyed

Re: [PHP] clearing font tags

2004-06-28 Thread Chris Hayes
At 08:00 28-6-04, you wrote: Hi, Just wondering if there is a way in php to filter out FONT tags when inserting a record from a textarea so information appears with the standard defined CSS style on detail/result pages? Any help would be greatly appreciated You can use the striptags function to

Re: [PHP] Error Reporting

2004-06-28 Thread Larry E . Ullman
I ave a strange problem with my error reporting! I have set php.ini to: error_reporting = E_ALL but I don't see any errors. (After I was happy things were working on my Apache Test Server, I uploaded to my web host and discovered errors.) Make sure that display_errors is on and that you

Re: [PHP] Image Problem

2004-06-28 Thread raditha dissanayake
Monil Chheda wrote: Hi, I store images in DB properly... no issues using the Storing an image directly in the database certainly isnt' the proper way of doing it :-) The common practice is just to store the path to the image name in the database. -- Raditha Dissanayake.

[PHP] Resize an image with transparency

2004-06-28 Thread Victor Spång Arthursson
Hi! I'm having big GD-problems I want to open, resize and output a png-file with transparency. Ad I have undestood it, the steps to follow is: * open the image * read the size * create new image * copy the image resized/resampled to the new image * output the new image But the problem that occurs

RE: [PHP] Re: getting query string from referer website

2004-06-28 Thread Philip Olson
$referer = http://search.yahoo.com/search?p=pianist+web+sites+designei=UTF-8fr=fp-ta b-web-tcop=msstab=; if (strpos($referer, q=) != FALSE) { $query = q=;} else if (strpos($referer, p=) != FALSE) { $query = p=;} $searcharray = explode(, substr($referer, (strpos($referer, $query)+2)));

[PHP] Re: mail program

2004-06-28 Thread Torsten Roehr
Syed Ghouse [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all i want to send more than 1000 mails from php program at a time.how can i send it and will the execution of program become slow. pls reply to the above ASAP syed Please search the mailing list archive at:

Re: [PHP] Re: Error Reporting

2004-06-28 Thread Philip Olson
On Mon, 28 Jun 2004, Daniel Kullik wrote: Tom Chubb wrote: I ave a strange problem with my error reporting! I have set php.ini to: error_reporting = E_ALL but I don't see any errors. (After I was happy things were working on my Apache Test Server, I uploaded to my web host and

[PHP] Re: mail program

2004-06-28 Thread pete M
http://phpmailer.sourceforge.net/ check the tutorials Syed Ghouse wrote: Hi all i want to send more than 1000 mails from php program at a time.how can i send it and will the execution of program become slow. pls reply to the above ASAP syed -- PHP General Mailing List

Re: [PHP] rtf and xls file

2004-06-28 Thread Marek Kilimajer
Roman Duriancik wrote --- napísal:: Is it possible open rtf and xls file by php and than use some data from this file ? I only know create new xls file but how i open existing xls and rtf file by php code ? Thank all roman You can use COM functions on windows machines. On other platforms you

RE: [PHP] Handling Code Continuation

2004-06-28 Thread Chris W. Parker
Curt Zirzow mailto:[EMAIL PROTECTED] on Friday, June 25, 2004 9:29 PM said: In general practice, and depending on how much html you're outputing: function input($type,$size,$name,$value) { ?php input type=php echo $type? size=?php echo $size? value=?php echo $value?

Re: [PHP] Streaming

2004-06-28 Thread Matthew Sims
On Fri, 25 Jun 2004 09:07:16 -0500, Stephen Craton [EMAIL PROTECTED] wrote: What I'm basically trying to do is make the database display out the information from it's tables as soon as it possibly can without the need for refreshing. For example: Someone enters in some text, and it's put

Re: [PHP] Streaming

2004-06-28 Thread Justin Patrin
This wasn't really a reply to me but On Mon, 28 Jun 2004 09:20:14 -0700 (PDT), Matthew Sims [EMAIL PROTECTED] wrote: On Fri, 25 Jun 2004 09:07:16 -0500, Stephen Craton [EMAIL PROTECTED] wrote: What I'm basically trying to do is make the database display out the information from

Re: [PHP] pcntl_fork and classes

2004-06-28 Thread Justin Patrin
On Sun, 27 Jun 2004 15:31:59 -0500 (CDT), [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to pcntl_fork() withing a class? Basically I want a web page to load, and when the class is called in the page, it can fork and the child can run, allowing the webpage to finish, but the

[PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
I'm kind of new to OOP, so bear with me here... I have a portfolio which contains albums. These albums contain photos. So it would be natural to declare the classes: Portfolio Album Photo It seems to me that none of these classes have the is a relationship, and therefore can not be extended

[PHP] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
I have the script below from another source, and it works prefectly in Mozilla, however IE keeps wanting to save the PHP page and then barfs. Any ways to fix and make it work for both? TIA! Robert CODE ?php //Written by Dan Zarrella. Some additional tweaks provided by JP Honeywell //pear excel

RE: [PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Jay Blanchard
[snip] So my question is, should I just duplicate the code in each class (Portfolio and Album), or is there a better way of organizing all of this? [/snip] If you are going to duplicate code why not just create a generic class with the code that would be duplicated and then extend the class as

Re: [PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
On Mon, 28 Jun 2004 13:41:19 -0500, Jay Blanchard [EMAIL PROTECTED] wrote: If you are going to duplicate code why not just create a generic class with the code that would be duplicated and then extend the class as required? What generic class name would be appropriate in this case? I just

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Frank M. Kromann
Hi Robert, This line header(Content-Disposition: attachment; filename=customers.xls); forces IE to save. If you change attachment to inline it will open the Excel in the plug-in imbeded in the browser. - Frank I have the script below from another source, and it works prefectly in Mozilla,

[PHP] Concatenate PHP code into a string

2004-06-28 Thread abrea
Dear List, How can I include a dynamically generated array: e.g. for($i=0; $isizeof($cols); $i++) { $cols[$i]= mysql_field_name($fields,$i); } into a MySQL insert query of the type: $sql= INSERT cols[0],cols[1],cols[2], ..., comment INTO mytable SET cols[0]= '$cols[0]',

Re: [PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Torsten Roehr
Joel Kitching [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, 28 Jun 2004 13:41:19 -0500, Jay Blanchard [EMAIL PROTECTED] wrote: If you are going to duplicate code why not just create a generic class with the code that would be duplicated and then extend the class as

Re: [PHP] Concatenate PHP code into a string

2004-06-28 Thread Michal Migurski
Dear List, How can I include a dynamically generated array: e.g. for($i=0; $isizeof($cols); $i++) { $cols[$i]= mysql_field_name($fields,$i); } into a MySQL insert query of the type: -snip- /** {{{2 * create an INSERT or UPDATE query based on values of an associative

[PHP] Re: Concatenate PHP code into a string

2004-06-28 Thread Torsten Roehr
Abrea [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear List, How can I include a dynamically generated array: e.g. for($i=0; $isizeof($cols); $i++) { $cols[$i]= mysql_field_name($fields,$i); } into a MySQL insert query of the type: $sql= INSERT cols[0],cols[1],cols[2],

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Torsten Roehr
Robert Sossomon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] That just made IE put it out in data style, Excel didn't open up. :( Any other thoughts? Have you tried using PEAR's HTTP_Download? You can set several options for various header commands:

RE: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Frank M. Kromann
You also need to change header(Content-type: application/octet-stream); to header(Content-type: application/vnd.ms-excel); - Frank That just made IE put it out in data style, Excel didn't open up. :( Any other thoughts? -Original Message- From: Frank M. Kromann

RE: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Robert Sossomon
That just put me right back at the beginning, IE trying to DL the PHP page... I have php 4.2.2 installed at this moment as well... Robert -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 3:58 PM To: Robert Sossomon Cc: [EMAIL PROTECTED]

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Curt Zirzow
* Thus wrote Robert Sossomon: That just put me right back at the beginning, IE trying to DL the PHP page... put your disposition back to attachment and send the vnd.ms-excel content type. Also, on how the behaviour IE will treat any header is unpredictable in an unctontrolled environment, so

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Matthew Sims
* Thus wrote Robert Sossomon: That just put me right back at the beginning, IE trying to DL the PHP page... put your disposition back to attachment and send the vnd.ms-excel content type. Also, on how the behaviour IE will treat any header is unpredictable in an unctontrolled

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Matt M.
That just put me right back at the beginning, IE trying to DL the PHP page... I have php 4.2.2 installed at this moment as well... there might be some things you could try in this thread http://marc.theaimsgroup.com/?l=php-generalm=108361967402210w=2 -- PHP General Mailing List

[PHP] Image support

2004-06-28 Thread Gus
I have PHP 4.3.6 I want to add image support to manipulate JPEGs. I downloaded http://www.boutell.com/gd but what I do next? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image Problem

2004-06-28 Thread Curt Zirzow
* Thus wrote Monil Chheda: Hi, I store images in DB properly... no issues using the following code snip I get an Img with a cross (broken)... Whats the error? its funny, you're error is one click from finding out what it is, view the source of that image and find it you will...

[PHP] Re: Concatenate PHP code into a string

2004-06-28 Thread franciccio
$query=INSERT+ ; for ($i=0;$isizeof($col);$i++) { $query+=cols[$i]+ ; } $query+=comment INTO mytable SET; for ($i=0;$isizeof($col);$i++) { $query+=cols[$i]+=+$cols[$i]+,; } Bye Franciccio Abrea [EMAIL PROTECTED] ha scritto nel messaggio news:[EMAIL PROTECTED] Dear List, How can I

Re: [PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Red Wingate
Look correct from my point of view... class Portfolio { var $portfolioID ; var $albums = array () ; function Portfolio ( $newID ) { $this-portfolioID = $newID ; } function addAlbum ( $album ) { $this-albums[] = $album ; } function getAlbum () { return current

Re: [PHP] Works in Mozilla, not in IE

2004-06-28 Thread Red Wingate
I wish there wouldn't be so many ppl using IE anyway :) Matthew Sims wrote: * Thus wrote Robert Sossomon: That just put me right back at the beginning, IE trying to DL the PHP page... put your disposition back to attachment and send the vnd.ms-excel content type. Also, on how the behaviour IE will

[PHP] Re: Image support

2004-06-28 Thread Red Wingate
RTFM Gus wrote: I have PHP 4.3.6 I want to add image support to manipulate JPEGs. I downloaded http://www.boutell.com/gd but what I do next? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image Problem

2004-06-28 Thread Red Wingate
Read: The best database to store images in is the Filesystem because thats what it's for :-) Raditha Dissanayake wrote: Monil Chheda wrote: Hi, I store images in DB properly... no issues using the Storing an image directly in the database certainly isnt' the proper way of doing it :-) The

Re: [PHP] getting query string from referer website

2004-06-28 Thread Curt Zirzow
* Thus wrote I.A. Gray: Hi all, When I use the $_SERVER to get a query string it doesn't ever seem to return me anything: $queryy = $_SERVER['QUERY_STRING']; In my webstats script, 790 are blank and 2 give the value of loc=uk and currentID=6 - not very satisfactuary! Why is this

[PHP] Re: Image support

2004-06-28 Thread Gus
I don't understand, but thanks for answering. Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] RTFM Gus wrote: I have PHP 4.3.6 I want to add image support to manipulate JPEGs. I downloaded http://www.boutell.com/gd but what I do next? Thanks. -- PHP General

Re: [PHP] Re: Image support

2004-06-28 Thread William Lovaton
Read The F***ing Manual. El lun, 28-06-2004 a las 17:23, Gus escribió: I don't understand, but thanks for answering. Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] RTFM Gus wrote: I have PHP 4.3.6 I want to add image support to manipulate JPEGs. I

Re: [PHP] Re: Image support

2004-06-28 Thread Justin Patrin
It means read the * manual. See http://info.astrian.net/jargon/ for definitions of internet lingo. On Mon, 28 Jun 2004 19:23:01 -0300, Gus [EMAIL PROTECTED] wrote: I don't understand, but thanks for answering. Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

[PHP] Question about executing PHP script

2004-06-28 Thread Charlie Don
Hello, I need to have some scripts that do database maintanance on my cron tab. However, some might take more time to execute that the maxtime set on php.ini. These are now web scripts but scripts that I execute on my command prompt or cron tab. I wonder if there is any way to have on the

[PHP] Re: Question about executing PHP script

2004-06-28 Thread Lars Torben Wilson
Charlie Don wrote: Hello, I need to have some scripts that do database maintanance on my cron tab. However, some might take more time to execute that the maxtime set on php.ini. These are now web scripts but scripts that I execute on my command prompt or cron tab. I wonder if there is any way

Re: [PHP] Re: Image support

2004-06-28 Thread Gus
I had read it. I didn't understand. So I asked. Justin Patrin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] It means read the * manual. See http://info.astrian.net/jargon/ for definitions of internet lingo. On Mon, 28 Jun 2004 19:23:01 -0300, Gus [EMAIL PROTECTED] wrote: I

[PHP] Re: mail program

2004-06-28 Thread Manuel Lemos
Hello, On 06/28/2004 10:02 AM, Syed Ghouse wrote: i want to send more than 1000 mails from php program at a time.how can i send it and will the execution of program become slow. It depends on your environment. Are you running PHP on Linux/Unix or Windows? If it is Linux/Unix, does it use as local

Re: [PHP] Re: Image support

2004-06-28 Thread raditha dissanayake
Gus wrote: I had read it. I didn't understand. So I asked. Justin Patrin [EMAIL PROTECTED] wrote in message Not sure if you read the same manual the rest of us did. The manual that these guys refer to have a very nice step by step guide to installing the jpeg extension for GD. Well to be

Re: [PHP] Question about executing PHP script

2004-06-28 Thread Charlie Don
Hi Elijah, I think you understood what I have asked. Thanks. to run a script at the command shell I do: php -q script.php So all I need is to have set_time_limit(0); on the main body of the script to by pass php.ini? However, I would like to hardcode the php -q just like in perl where you have

[PHP] DomDocumentType in PHP 5

2004-06-28 Thread Dan Phiffer
Hello, I'm trying to make use of the getElementById DOM function, but as pointed out in bug #26813 this won't work unless an attribute is explicitely defined in an associated DOCTYPE. This is fine, but I can't seem to find any relevent examples that show how to apply a DOCTYPE to a

[PHP] LDAP and ranges...

2004-06-28 Thread Marvin Herbold
I hope this is the correct newsgroup to ask this! How do I get ldap_search to return a specified range of results? For example my server limits queries to 1000 results, so how do I get results 1000-2000? Thanks in advance, Marvin -- PHP General Mailing List (http://www.php.net/) To

[PHP] disguise as static content

2004-06-28 Thread Florin Andrei
My personal website (see signature below) is almost entirely built with PHP, based on a rudimentary templating engine that i wrote. With the exception of a few well-defined sections (pictures gallery, blog, etc.) the most of it is static, i.e. it changes very rarely. Some Web applications

[PHP] Re: pcntl_fork and classes

2004-06-28 Thread Manuel Lemos
Hello, On 06/27/2004 05:31 PM, [EMAIL PROTECTED] wrote: Is it possible to pcntl_fork() withing a class? Basically I want a web page to load, and when the class is called in the page, it can fork and the child can run, allowing the webpage to finish, but the class process can continue 'till it's

Re: [PHP] New changes

2004-06-28 Thread Randy C Boland
Isn't this a moderated list? And if so, how do messages like this keep getting through? On Mon, 28 Jun 2004 20:46:50 +1000, Aidan Lister [EMAIL PROTECTED] wrote: It's a virus, duh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New changes

2004-06-28 Thread John W. Holmes
Randy C Boland wrote: Isn't this a moderated list? lol -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] disguise as static content

2004-06-28 Thread Curt Zirzow
* Thus wrote Florin Andrei: I would like to continue to use PHP for my website, but somehow fool the Web clients into believing they're seeing true static content. Since the content changes rarely (like once every other month), there is no harm in pretending it's true static content. I

Re: [PHP] disguise as static content

2004-06-28 Thread Curt Zirzow
* Thus wrote Curt Zirzow: * Thus wrote Florin Andrei: I would like to continue to use PHP for my website, but somehow fool the Web clients into believing they're seeing true static content. Since the content changes rarely (like once every other month), there is no harm in pretending

[PHP] Session file in /tmp

2004-06-28 Thread [EMAIL PROTECTED]
Code: session_cache_expire(0); session_cache_limiter('private'); session_start(); I use this at the beginning of my script that processes data objects for my users. The users use multiple machines and login to the web site. This prevents the cached information from one user popping up when

Re: [PHP] sceen grab

2004-06-28 Thread Nick W
On June 24, 2004 10:36 am, Matthew Holmen wrote: I am looking for a way to retrieve data from another website, parse through it and then display it as I would like to. Basically a screen grab from say espn.com, then I take the data that is there and form it to fit on my site. The catch here

[PHP] funny

2004-06-28 Thread adrian murphy
I hate to put a url in but there are some choice words in the extract. You may have come accross it before but if you are a sys admin u should read this. It's funny unless u know the guy i suppose.hell it's just funny! Its a reply email after the guy was given some helpful advice on installing