[PHP] Making random string function function more random?

2002-12-06 Thread Leif K-Brooks
I'm using the following function to generate a random string: function randstring($minasc = 32,$maxasc = 255,$minlength = 0,$maxlength = 0){ //If maximum length is lower than minimum length, return string representation of false if($maxlength != 0 and $minlength != 0 and $minlength > $maxl

[PHP] $DOCUMENT_ROOT

2002-12-06 Thread christopher calicott
> echo $_SERVER["DOCUMENT_ROOT"]; > ?> c:/wwwroot is what I get. I am convinced the problem I am having is due to some issues with configuration. Here is why: I found the script that is the 'original' one that I had working just as an image displayer - not as part of a larger html document

Re: [PHP] md5 question

2002-12-06 Thread Jason Wong
On Friday 06 December 2002 15:41, conbud wrote: > Hey. Is there a way to get the actual word/phrase from the long string that > the md5 hash creates. Lets say, is there a way find out what > b9f6f788d4a1f33a53b2de5d20c338ac > stands for in actuall words ? Consider this, md5() takes (practically) a

[PHP] HOW GET ALL HTML CONTENT

2002-12-06 Thread nice_boy
hi, who knows how to get all contents when i use javascript to get bookmark of IE ex: window.external.ImportExportFavoritesfalse,"http://localhost/test.php";); because i use $_POST to get that data,but it can't get all data. if it has 27593 bytes ,then only get 7XXX bytes. that means so many d

[PHP] ezmlm

2002-12-06 Thread Randum Ian
Sorry to be off-topic but has anyone got any good resources on setting up exmlm? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ezmlm

2002-12-06 Thread Jason Wong
On Friday 06 December 2002 18:18, Randum Ian wrote: > Sorry to be off-topic but has anyone got any good resources on setting up > exmlm? google has -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Appli

Re: [PHP] How to create user in mySQL ?

2002-12-06 Thread Krzysztof Dziekiewicz
> Why do people insist on asking MySQL questions on a PHP list? > search for "flush privileges" on the MySQL website. Mayby it is the most inteligent newsgroup. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] empty string parameters to backslashes?

2002-12-06 Thread DL Neil
Hey Andy, > I'm trying to track down a problem with someone else's > code. Our hosting service changed PHP versions on us > (up to 4.0.6), and everything broke. I think I have > tracked down at least part of the problem. We have a >... Ascertain differences by printing out a phpinfo() report for

Re: [PHP] Repeating Decimals

2002-12-06 Thread Marek Kilimajer
0.3 Stephen wrote: Hello again, This is another PHP mathematical question. How can I display a bar over a number (overline) if it's a repeating decimal? When the user types in 1 by 3, they get 0.. I want it to display as 0.3 with the 3 overlined. How can I do this keeping in mind th

[PHP] PHP query to javascript array

2002-12-06 Thread Christian Ista
Hello, Could you tell me how to transform a PHP query result to a javascript array ? Same question, if you want to store several field from the query to the javascript. Christian, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking for Overlapping Dates

2002-12-06 Thread DL Neil
Hi Thomas, > SELECT * from $DB_TBLName WHERE > (Trim(WorkerEmail)='$userReplacementEmail') > AND AND OR OR OR OR OR This is all a bit complicated, and a simple boy like me gets lost too easily. KISS principle: Keep it simple... You have two employees: A, so named because he Already has Annu

[PHP] GD support in PHP 4.1.2

2002-12-06 Thread GoodnGo.de \(R\) Zentrale
Hello list, I am running a redhat7.3 box and a customer want to get installed php with GD-library support I want to configure php like this: ./configure --with-gd= where is this directory? How can I find the directory where are the correspondent gd-lib/headers-files so that I can

Re: [PHP] PHP query to javascript array

2002-12-06 Thread Marek Kilimajer
for numbers: jsarray= new Array(); for strings: jsarray= new Array(""); Christian Ista wrote: Hello, Could you tell me how to transform a PHP query result to a javascript array ? Same question, if you want to store several field from the query to the javascript. Christian, -- PHP G

[PHP] Cookies help please

2002-12-06 Thread Steve Vernon
Hiya, Ive got a few websites that use sessions and I thought id upgrade them now to use cookies. In the main file it calls the session start function, and then this function is called, but it does not seem to work. I open a new window and the cookie does not seem to auto log me on. Sorry i

[PHP] --with-gd=DIR

2002-12-06 Thread GoodnGo.de \(R\) Zentrale
Hello list, I am running a redhat7.3 box and a customer want to get installed php with GD-library support I want to configure php like this: ./configure --with-gd= where is this directory? How can I find the directory where are the correspondent gd-lib/headers-files so that I can

[PHP] --with-gd=DIR

2002-12-06 Thread info
Hello list, I am running a redhat7.3 box and a customer want to get installed php with GD-library support I want to configure php like this: ./configure --with-gd= where is this directory? How can I find the directory where are the correspondent gd-lib/headers-files so that I can

Fw: [PHP] Checking for Overlapping Dates

2002-12-06 Thread DL Neil
Thomas (and list), The solution, as previously posted, is flawed/incomplete - mea culpa. Excuse: I was interrupted three times from typing the word SELECT until pressing Send, and then rushing to get on to the next call on my time... >WHERE bstart < afinish > OR bfinish > astart; Check

[PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread ed
I've got a routine that queries a MySQL database and outputs the sorted results to a web page (script snippet below.) How can I output the exact same thing to a txt file using this script?             $    Page Break"; $count = 0; } } while($row = mysql_fetch_array($result)); m

[PHP] How to loop diplays of 4 column of items, every row?

2002-12-06 Thread Wee Keat [Amorphosium]
Hi all...   I've tried to figure this one out but I'm really having a headache now. So, I really need your help.   Situation:   I have a database of images and its own thumbnails created using GD. It worked wonderfully.   Problem:   I want to display ONLY thumbnails in table form, incrementi

Re: [PHP] Repeating Decimals

2002-12-06 Thread Tom Rogers
Hi, Friday, December 6, 2002, 5:00:07 AM, you wrote: S> Hello again, S> This is another PHP mathematical question. How can I display a bar over a S> number (overline) if it's a repeating decimal? When the user types in 1 by S> 3, they get 0.. I want it to display as 0.3 with the 3 S>

[PHP] mail function() with MS

2002-12-06 Thread Anthony Ritter
Hi, I'm using MS Win 98 and my ISP has PHP installed on a MS server. I'd like to display a HTML form box on my site for users to type in a message utilizing the PHP mail() function. I've tested this using Apache on my drive with a html form and a php script to receive the data and it works fine -

Re: [PHP] How to loop diplays of 4 column of items, every row?

2002-12-06 Thread Chris Boget
> I want to display ONLY thumbnails in table form, incrementing in rows of > 4 columns. By this I mean that I want to write a script which loops in a > way that it displays 4 pictures withdrawn from the database into a row, > and then for the next 4 images, displays them into the next row. Inside

Re: [PHP] How to loop diplays of 4 column of items, every row?

2002-12-06 Thread Marek Kilimajer
asuming $res holds your query result: $col=0; echo ''; while($img=mysql_fetch_array($res)) { if($col==0) echo ''; echo " "; $col++; if($col==4) { echo ''; $col=0; } } if($col!=0) str_repeat('', 4 - $col); echo ''; Not tested Wee Keat [Amorphosium] wrote: Hi all...

Re: [PHP] --with-gd=DIR

2002-12-06 Thread Tom Rogers
Hi, Friday, December 6, 2002, 10:33:43 PM, you wrote: GdRZ> Hello list, GdRZ> I am running a redhat7.3 box and a customer want to get installed php with GD-library support GdRZ> I want to configure php like this: GdRZ> ./configure --with-gd= where is this directory? GdRZ> How can

[PHP] Check wheter GD function is working

2002-12-06 Thread info
Hello list, how can I check wheter GD-function is working and running? Oliver Etzel

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread Tim Ward
everything you need is here http://www.php.net/manual/en/ref.filesystem.php in particular fopen(), fputs(), fwrite(), etc. Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 1:2

php-general Digest 6 Dec 2002 14:18:32 -0000 Issue 1747

2002-12-06 Thread php-general-digest-help
php-general Digest 6 Dec 2002 14:18:32 - Issue 1747 Topics (messages 127216 through 127255): Re: Sending no content-type header? 127216 by: Chris Wesley 127217 by: Leif K-Brooks Need Redirection Trick... 127218 by: . Nilaab 127223 by: Jason Wong 12722

Re: [PHP] mail function() with MS

2002-12-06 Thread Marek Kilimajer
Your ISP should set it up, if not, I believe there is a class that can comunicate with SMTP server directly, check www.phpclasses.org Anthony Ritter wrote: Hi, I'm using MS Win 98 and my ISP has PHP installed on a MS server. I'd like to display a HTML form box on my site for users to type in a

Re: [PHP] mail function() with MS

2002-12-06 Thread DL Neil
Hi Anthony, > I'm using MS Win 98 and my ISP has PHP installed on a MS server. > I'd like to display a HTML form box on my site for users to type in a > message utilizing the PHP mail() function. > > I've tested this using Apache on my drive with a html form and a php script > to receive the data

Re: [PHP] mail function() with MS

2002-12-06 Thread Anthony Ritter
- Original Message - From: "DL Neil" <[EMAIL PROTECTED]> To: "Anthony Ritter" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 8:47 AM Subject: Re: [PHP] mail function() with MS > Hi Anthony...{snipped] . Thank you DL. Qusetion: 1: W

[PHP] Installation of PHP with gd support

2002-12-06 Thread info
Hi list, anybody here who knows a HowTo of installing PHP with gd support? Oliver Etzel

[PHP] HELP with ODBC Connection

2002-12-06 Thread Daniel
Please help. I have a basic scipt: $connection_id=odbc_connect("$DSN","$user","$pass"); $sql="select * from whatever"; $stmt=odbc_prepare($connection_id,$sql); $result=odbc_execute($connection_id,$stmt); this script used to work on RH-7.3 with php-4.1.2 the script will not work anymore when i ins

[PHP] PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
Hi, I have just noticed a problem reading MySql data with PHP running as an apache module. Basically, any data retrieved from MySql that contains a single quote (and no doubt other characters too) is displayed with a slash in it when printed by PHP. For example: $surname = "O'Brien"; print "$su

[PHP] Error GD

2002-12-06 Thread info
Hi Paul, compiled PHP like that ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion Error Message: In file included from gd.c:83: gd_ctx.c: In function `_php_image_output_ctx': gd_ctx.c:70: structure has no member n

[PHP] Re: PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
Forgot to say this is running in FreeBSD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Check wheter GD function is working

2002-12-06 Thread @ Edwin
Hello, <[EMAIL PROTECTED]> wrote: > Hello list, > > how can I check wheter GD-function is working and running? First check phpinfo() and see under "gd" then read more info here: http://www.php.net/manual/en/ref.image.php - E PS: Pls. don't flood the list with same messages... -- PHP Gene

Re: [PHP] PHP adding slash to MySql results

2002-12-06 Thread Marek Kilimajer
You ISP turned magic_quotes_runtime on, use set_magic_quotes_runtime() to override it. Kevin Lowe wrote: Hi, I have just noticed a problem reading MySql data with PHP running as an apache module. Basically, any data retrieved from MySql that contains a single quote (and no doubt other characte

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread ed
On Fri, 6 Dec 2002, Tim Ward wrote: > everything you need is here > > http://www.php.net/manual/en/ref.filesystem.php > > in particular fopen(), fputs(), fwrite(), etc. > > Tim Ward > http://www.chessish.com > mailto:[EMAIL PROTECTED] I found all this and have worked on getting the file ou

Re: [PHP] mail function() with MS

2002-12-06 Thread DL Neil
Hi Anthony > Qusetion: 1: > What would happen if I changed the php.ini settings to: > SMTP=mail.yourisp.com > sendmail_from=MyAddress@MyDomain > as opposed to: > >SMTP=smtp.ISPs.domain =as long as the SMTP server is accessible and you have access rights, then it can be anyone's/anywhere... > >

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread @ Edwin
Hello, <[EMAIL PROTECTED]> wrote: ...[snip]... > What do I need to use to create real linefeeds or new lines when viewing > under windows? Try the manual again and check specifically the "User Contributed Notes"--I'm sure you'll find something :) http://www.php.net/manual/en/function.fputs.p

[PHP] where is a new HowTo of compiling php with gd support???

2002-12-06 Thread GoodnGo.de \(R\) Zentrale
Hi folks, a single and simple question : Where can I find a new HowTo of compiling php with gd support??? Inkl Bugtraps? Oliver Etzel

[PHP] Where can I find a new HowTo of compiling php with gd support???

2002-12-06 Thread info
Hi folks, a single and simple question : Where can I find a new HowTo of compiling php with gd support??? Incl Bugtraps? Oliver Etzel

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread 1LT John W. Holmes
> What do I need to use to create real linefeeds or new lines when viewing > under windows? [snip] > $newline = "\n"; Use \r\n for Windows. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread ed
success. And I have read through the user contributed notes and havent' found it there. Ed On Fri, 6 Dec 2002, 1LT John W. Holmes wrote: > > What do I need to use to create real linefeeds or new lines when viewing > > under windows? > [snip] > > $newline = "\n"; > > Use \r\n for Windows. >

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread Marek Kilimajer
newline in windows is "\r\n" - $newline="\r\n"; [EMAIL PROTECTED] wrote: I found all this and have worked on getting the file output and formated to my (actually my boss') liking. The text file gets formatted just fine when read in Linux but the newlines appear as blocks when viewing in Window

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: What do I need to use to create real linefeeds or new lines when viewing under windows? Unices use only the "newline" character (interpreted as "line feed" in dos/win), whereas dos/win uses "carriage return" and "line feed". So to get it to show right in e.g. NotePad

[PHP] mail() problems...

2002-12-06 Thread Anthony Ritter
I'm using MS Win98 and Apache and getting the following after submitting the mail form: .. Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\send_simpleform.php on line 14 The html and php scripts follow along with my php.ini settings. Any help would b

Re: [PHP] PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
Hi Marek, That is switched off. However, I was just having another look at the problem, and, it actually appears to be fixed! I didnt shange anything, so the ISP must have done something? Thanks, Kevin Marek Kilimajer <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP] Unsubscribing

2002-12-06 Thread Van Andel, Robert
Anyone know how to unsubscribe from this list. I have tried several different things including the unscribe field on the mailing list page and an unsubscribe command via email. Robbert van Andel

Re: [PHP] Error GD

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 1:41:22 AM, you wrote: ithc> Hi Paul, ithc> compiled PHP like that ithc> ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion ithc> Error Message: ithc> In file included from gd.c:83:

Re[2]: [PHP] Error GD

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 2:31:09 AM, you wrote: TR> Hi, TR> Saturday, December 7, 2002, 1:41:22 AM, you wrote: ithc>> Hi Paul, ithc>> compiled PHP like that ithc>> ./configure --with-config-file-path=/etc --enable-force-cgi-redirect --with-mysql -with-gd=/usr/local/gd2 --no-create --no-r

Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, Do you have an SMTP server on your Win98 localhost? Recommend you change the PHP.INI SMTP= to say the same as your email package's server definitions. =dn > I'm using MS Win98 and Apache and getting the following after submitting the > mail form: > .. > Warning: Failed to Conn

Re: [PHP] Unsubscribing

2002-12-06 Thread Chris Shiflett
--- "Van Andel, Robert" <[EMAIL PROTECTED]> wrote: > Anyone know how to unsubscribe from this list. I have > tried several different things including the unscribe > field on the mailing list page and an unsubscribe command > via email. The unsubscribe page (http://www.php.net/unsub.php) should wor

[PHP] Updating int4 field with multiple values

2002-12-06 Thread Andre Dubuc
I would like to update an int4 column with new values appended to the end (preferably with a delimiter such as @ or a comma). With PostgreSQl 7.2, I can't seem to add the number with a delimiter (it gives me a parser error at the delimiter). For example, If I update the field 'radd' that alrea

[PHP] $_FILES associative array

2002-12-06 Thread Mako Shark
I'm trying to find some documentation on the $_FILES array, but on PHP, it's a little confusing. I read the documentation and the comment from rep_spam@..., but that wasn't too clear to me either. I'm aware that when uploading a file named $uploadedfile, the size, name, etc. get stored in variable

[PHP] More $_ array question...

2002-12-06 Thread Mako Shark
If I want to access an array of something from a form, is it true that I just have to use $_POST["array[$counter"]? So I can legitimately do a count() of this array, like count($_POST["array"])? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordab

Re: [PHP] $_FILES associative array

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 2:56:53 AM, you wrote: MS> I'm trying to find some documentation on the $_FILES MS> array, but on PHP, it's a little confusing. I read the MS> documentation and the comment from rep_spam@..., but MS> that wasn't too clear to me either. MS> I'm aware that when uploa

Re: [PHP] mail() problems...

2002-12-06 Thread Anthony Ritter
DL, I'm not sure I understand. I had this working a few months ago by changing the php.ini settings to: SMTP = localhost ;for win32 only sendmail_from = [EMAIL PROTECTED] ;for win32 only and I was able to run that script on my box and get an e-mail returned to me. Now, I getting a "failed t

Re: [PHP] More $_ array question...

2002-12-06 Thread Tim Ward
not quite ... if the form elements are (e.g) , etc. then you need $_POST["array"][0] to refer to the element (just like any other array of arrays in PHP). but you're right about count($_POST["array"]) ... and foreach ($_POST["array"] as $key=>$value), etc. Tim Ward http://www.chessish.com mailto

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread @ Edwin
Oops... <[EMAIL PROTECTED]> wrote: > success. And I have read through the user contributed notes and havent' > found it there. Sorry 'bout the link earlier. (You could find some hints under file() though...) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] mail() problems...

2002-12-06 Thread @ Edwin
Hello, "Anthony Ritter" <[EMAIL PROTECTED]> wrote: > DL, > I'm not sure I understand. Let me try :) > I had this working a few months ago by changing the php.ini settings to: > > SMTP = localhost ;for win32 only > sendmail_from = [EMAIL PROTECTED] ;for win32 only > > and I was able to run t

Re: [PHP] mail() problems...

2002-12-06 Thread DL Neil
Anthony, > I'm not sure I understand. =that makes one more! This feature is a bit of a minefield - but once you get a handle on it, its too useful to be without... > I had this working a few months ago by changing the php.ini settings to: > SMTP = localhost ;for win32 only > sendmail_from =

Re: [PHP] Where can I find a new HowTo of compiling php with gd support???

2002-12-06 Thread @ Edwin
Did you try Google? Keyword: "compiling php with gd support" <[EMAIL PROTECTED]> wrote: > Hi folks, > > a single and simple question : > > Where can I find a new HowTo of compiling php with gd support??? > > Incl Bugtraps? > > Oliver Etzel -- PHP General Mailing List (http://www.php.net/

[PHP] String to an Array

2002-12-06 Thread Rodrigo de Oliveira Costa
Hi guys, I got a string that I need to be transformed into na array of characters, something like: $str ="im the one trying to do this"; //this is the string I'd like to get an array that I can access something like $array[0] and get the value " i ". And this foward. Anyone have any cl

[PHP] Question about displaying directories and files

2002-12-06 Thread
Hi. I have studied the manual, and have scripts that indivudually display a directory (or list of them) and a script that displays scripts in a folder However, I am curious as to how to take all folders in /members directory (It will grow over time, now I have 3) and no matter how many folders

Re: [PHP] String to an Array

2002-12-06 Thread Matt Vos
A string is an array of characters. In your example, $str[4] == "h". Matt - Original Message - From: Rodrigo de Oliveira Costa <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 1:50 PM Subject: [PHP] String to an Array > Hi guys, I got a string that I need to

Re: [PHP] String to an Array

2002-12-06 Thread @ Edwin
Hello, "Rodrigo de Oliveira Costa" <[EMAIL PROTECTED]> wrote: > Hi guys, I got a string that I need to be transformed into na array of > characters, something like: > > > $str ="im the one trying to do this"; > > //this is the string > > I'd like to get an array that I can access som

Re: [PHP] Installation of PHP with gd support

2002-12-06 Thread info
Hello Paul M, yes I succeded with the following stable Version 4.3. Here is the link: http://snaps.php.net/php4-STABLE-200212061430.tar.gz Works fine! Thank u Oliver - Original Message - From: Paul Marinas To: [EMAIL PROTECTED] Sent: Friday, December 06, 2002 5:57 PM Subject

Re: Re[2]: [PHP] Error GD

2002-12-06 Thread info
Thank u Tom Oliver - Original Message - From: Tom Rogers To: Tom Rogers Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Friday, December 06, 2002 5:35 PM Subject: Re[2]: [PHP] Error GD Hi, Saturday, December 7, 2002, 2:31:09 AM, you wrote: TR> Hi, TR> Saturday,

Re: [PHP] $_FILES associative array

2002-12-06 Thread Jason Wong
On Saturday 07 December 2002 01:10, Tom Rogers wrote: > > If your input is like this: > > > > The array you get would look like this: > > $_FILES['userfile']['name'] The original name of the file on the client > machine. > > $_FILES['userfile']['type'] The mime type of the file, if the browser > p

Re: [PHP] Updating int4 field with multiple values

2002-12-06 Thread Jason Wong
On Saturday 07 December 2002 00:56, Andre Dubuc wrote: > I would like to update an int4 column with new values appended to the end > (preferably with a delimiter such as @ or a comma). > > With PostgreSQl 7.2, I can't seem to add the number with a delimiter (it > gives me a parser error at the deli

Re: [PHP] Installation of PHP with gd support

2002-12-06 Thread Jason Wong
On Friday 06 December 2002 23:18, [EMAIL PROTECTED] wrote: > Hi list, > > anybody here who knows a HowTo of installing PHP with gd support? If gd libraries was installed in /usr/lib then use "--with-gd=/usr". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems I

Re: [PHP] String to an Array

2002-12-06 Thread Jason Wong
On Saturday 07 December 2002 02:12, [EMAIL PROTECTED] wrote: > Hello, > > "Rodrigo de Oliveira Costa" <[EMAIL PROTECTED]> wrote: > > Hi guys, I got a string that I need to be transformed into na array of > > characters, something like: > > > > > > $str ="im the one trying to do this"; > > > >

RE: [PHP] Sigh :)

2002-12-06 Thread Ford, Mike [LSS]
OK, I think I've solved this, and you'll probably kick yourself when I explain it!" But first, a teaser: what looks like a double-quote in HTML, but isn't? >-Original Message- >From: John Taylor-Johnston > If I run the SQL in PHPMyAdmin, (a MySQL web interface), it works. > > jdaxell.

RE: [PHP] Looping Addition

2002-12-06 Thread Ford, Mike [LSS]
- Original Message - From: "Chris Wesley" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> > On Wed, 4 Dec 2002, Stephen wrote: > > This is only a snippet, there is more to it but for simplicities sake... > > Then I calculate it. My question is, how would I loop the adding? I hope yo

Re: [PHP] mail() problems...

2002-12-06 Thread Anthony Ritter
Gentlemen, Thank you for your assistance. The PHP mail scripts were taken from Julie Meloni's book on PHP called "Fast and East" on pp. 116-117. (PrimaTech). In fact, she writes: "If you're using PHP4 on Windows, look for the following lines in your php.ini file: [mail function] SMTP =; for

Re: [PHP] Cookies help please

2002-12-06 Thread Jason Wong
On Friday 06 December 2002 20:22, Steve Vernon wrote: > The code below keeps my sessions but the cookie bit dosent work. > > Thanks, > > Steve > XX > > /* Check a session is valid > */ > function session_check($db_link) > { > //Ok so either want to log on, or have a session

Re: [PHP] mail() problems...

2002-12-06 Thread Jason Wong
On Saturday 07 December 2002 04:35, Anthony Ritter wrote: > Gentlemen, > Thank you for your assistance. > > The PHP mail scripts were taken from Julie Meloni's book on PHP called > "Fast and East" on pp. 116-117. (PrimaTech). Let's not blame it on her. > In fact, she writes: [snip] Right, but

Re: [PHP] mail() problems...

2002-12-06 Thread Chris Shiflett
--- Anthony Ritter <[EMAIL PROTECTED]> wrote: > "If you're using PHP4 on Windows, look for the following > lines in your php.ini file: > > [mail function] > SMTP =; for Win32 only > sendmail_from = ;for Win32 only > > You'll need to modify the last two lines so that the mail > function works

Re: [PHP] Cookies help please

2002-12-06 Thread Steve Vernon
Thanks a million, must of had something else on my mind ;-) Love, Steve XX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Output page cut off after 7000 characters

2002-12-06 Thread Fritz.Wittwer
Hi All, i have to migrate a website from WNT/IIS to Solaris/Apache. Some stuff seems to work, but now I am stuck with a page which gets cut off in the middle of the out put. It is a template system with a chain of includes and requires (4 files involved, no fancy stuff, just some variable assig

[PHP] Confused about $_SESSION and $_COOKIE scope..

2002-12-06 Thread Chad Day
I'm not sure why this isn't working, been banging my head at it for a couple hours now. I have a file (index.php), which calls a function that draws the header to my page. Inside that function (site_header), is an include to a file (menu.php) which draws dynamic javascript menus based on cookie o

[PHP] redirect URL

2002-12-06 Thread Carlos Alberto Pinto Hurtado
I don't can redirect my page to new url please help me Carlos Alberto Pinto Hurtado IT ICA (57 1) 2322181 (57 1) 2324698 Movil.(57 3) 310 6184251 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirect URL

2002-12-06 Thread Chris Shiflett
--- Carlos Alberto Pinto Hurtado <[EMAIL PROTECTED]> wrote: > I don't can redirect my page to new url Try this: http://www.google.com/";); exit; ?> Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirect URL

2002-12-06 Thread 1LT John W. Holmes
>I don't can redirect my page to new url >please help me > >Carlos Alberto Pinto Hurtado I posted the answer on my web page. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Bug with "+" sign when using CLI?

2002-12-06 Thread Charles Bronson
I'm using the CLI script shown below to parse and show all argv variables passed to it. ## -rwxr-xr-x1 nobody nobody plusbug.php ## #!/usr/bin/php -q ### END

Re: [PHP] Sigh :)

2002-12-06 Thread 1LT John W. Holmes
> OK, I think I've solved this, and you'll probably kick yourself when I explain it!" But first, a teaser: what looks like a double-quote in HTML, but isn't? Hey, if that's it, I get a free kick, too. I suggested that a while ago but there was no response. ---John Holmes... -- PHP General Ma

Re: [PHP] redirect URL

2002-12-06 Thread Jason Wong
On Saturday 07 December 2002 04:26, 1LT John W. Holmes wrote: > >I don't can redirect my page to new url > >please help me > > > >Carlos Alberto Pinto Hurtado > > I posted the answer on my web page. Can you redirect the answer to the list so we can all see? Only joking ;-) -- Jason Wong -> Gre

Re: [PHP] Updating int4 field with multiple values

2002-12-06 Thread 1LT John W. Holmes
> I would like to update an int4 column with new values appended to the end > (preferably with a delimiter such as @ or a comma). in·te·ger( P ) Pronunciation Key (nt-jr) n. Mathematics 1.. A member of the set of positive whole numbers 1, 2, 3,... , negative whole numbers

[PHP] Problems with header

2002-12-06 Thread Carlos Alberto Pinto Hurtado
I'm use header("Location: http://www.ica.gov.co/contratacion/RObs_borradores?control=1";); but the answer is Warning Cannont add header information - headers already send by (output started at G:\Intranet\common\mail.php:36) in G:\Intranet\common\mail.php on line 37 Carlos Alberto Pinto Hurta

Re: [PHP] Problems with header

2002-12-06 Thread Stephen
Plainly put, you've already sent headers. Wheather it be an tag, a plain character, or just a space. Check line 37 and see what it is... - Original Message - From: "Carlos Alberto Pinto Hurtado" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 3:31 PM Subject:

Re: [PHP] Repeating Decimals

2002-12-06 Thread Stephen
How would I run the functions though and then print the repeating decimal to the screen? - Original Message - From: "Tom Rogers" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 8:38 AM Subject: Re: [PHP] Repeating De

[PHP] html output from system() command

2002-12-06 Thread Clay Stuckey
When I execute: system('who'); I get the output to the screen but it is all concatenated together like this: root pts/0 Dec 6 15:31 (34-218-228-130.arpa.kmail.net) sneakytrick pts/1 Dec 6 10:22 (34-218-228-130.arpa.kmail.net) How can I make it look like: root pts/0 Dec 6 15:31 (34-218-228-130.arp

RE: [PHP] Problems with header

2002-12-06 Thread Charles Bronson
It looks like your trying to do something before redirecting the user. Try the below near the end of your script so everything completes before redirecting them. Echo "; Bronson_AT_udatasystems.com -Original Message- From: Carlos Alberto Pinto Hurtado [mailto:[EMAIL PROTECTED]] Sent: Fr

Re: [PHP] html output from system() command

2002-12-06 Thread Chris Shiflett
--- Clay Stuckey <[EMAIL PROTECTED]> wrote: > When I execute: > system('who'); > > I get the output to the screen but it is all concatenated > together like this: > root pts/0 Dec 6 15:31 (34-218-228-130.arpa.kmail.net) > sneakytrick pts/1 Dec 6 10:22 > (34-218-228-130.arpa.kmail.net) > > How can

RE: [PHP] html output from system() command

2002-12-06 Thread Charles Bronson
If you try viewing the source of the webpage it will probably show up correctly. If this is the case, try putting the output into a variable and passing it to the nl2br() function. Echo nl2br($commandoutput); And/or make your way to http://www.php.net/manual/en/function.nl2br.php Bronson_AT_uda

[PHP] Failed to install Mod_cURL under Windows/Apache

2002-12-06 Thread DL Neil
PHP v4.2.3 with Apache 1.3.24 under Win2000 Prof SP2 Downloaded the full v4.2.3 zip package/Win binary, some weeks ago. Installation went fine. Extensions are happily included. Have had several weeks of operations. Decided to install cURL to do some URL (strangely enough) link verification-checki

Re: [PHP] Updating int4 field with multiple values

2002-12-06 Thread Andre Dubuc
Hi Jason, So, I gather from your reply that I cannot add more digits to that integer field separated by spaces or whatever? I sort of figured I won't be able to do it, so I'm trying to get things working by changing the type to varchar() and doing it as a string. Seems to work - with glitches.

[PHP] Mail(): How much time?

2002-12-06 Thread rolf vreijdenberger
Hi, I am getting all my emailadresses for my mailinglist out of a database in a loop, and in that same loop I personalize the email by adding the name and a personal URL (script.php?email=youremail). In that loop I then send the email. This whole process takes about 0.5 to 2 seconds per adress. Thi

Re: [PHP] Updating int4 field with multiple values

2002-12-06 Thread Andre Dubuc
de-ja vu (P) Pronunciation Key (du hhh) n . Foreign 1. Something unpleasantly familiar 2. 'Been-there-done-that' Don't you love it when you've set a field to a certain type, only to find out much later, after much coding, it's wrong? Thanks for the reminder. Guess it's back to

  1   2   >