Re: [PHP] Generating forms using OOP

2002-12-06 Thread Davy Obdam
Hi Peter, Thanks for your help, but in this case i ve to build everythng up from the ground. Next time i`ll definatly take a look at smarty. It works now.. Best regards, Davy Obdam mailto:[EMAIL PROTECTED] Peter J. Schoenster wrote: On 7 Dec 2002 at 0:43, Davy Obdam wrote: I ve just start

Re: [PHP] Generating forms using OOP

2002-12-06 Thread Davy Obdam
Hi Tom, Thanks it now works, .. Best regards, Davy Obdam mailto:[EMAIL PROTECTED] Tom Rogers wrote: Hi, Saturday, December 7, 2002, 9:43:47 AM, you wrote: DO> Hi People, DO> I ve just started with some OOP programming in PHP and now i have to DO> build a set of classes that can generat

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

2002-12-06 Thread Jason Wong
On Saturday 07 December 2002 12:16, Anthony Ritter wrote: > To all who assisted me today. > > I finally managed to get the mail () funtion to work. Would you mind disclosing what you did to make it work? Those searching the archives in generations to come would appreciate what the conclusion was.

Re: [PHP] Date again

2002-12-06 Thread Jason Wong
On Saturday 07 December 2002 11:39, Miguel Brás wrote: > Ok guys, > > having a problem here. I did my table with 6 fields, they are: > id position name timein timeout date > > I have a form to insert the info on the fields, and at the date field, I > have a drop down menu that returns me the n

Re: [PHP] Allowed memory size exhausted

2002-12-06 Thread @ Edwin
Hello, "Jeff Schwartz" <[EMAIL PROTECTED]> wrote: > > I have a large amount of data (1,948,280 bytes) that I tried to write out to a file using > > if ($fp = fopen($file,"w")): > > fwrite($fp,$contents,strlen($contents)); > > fclose($fp); > > endif; I'm not sure if I understand this

Re: [PHP] Humour me

2002-12-06 Thread Jerry M . Howell II
if you ran locate php.ini you would find it's in /etc/php.ini :) hey it sure beats RTFM, lol On Fri, 06 Dec 2002 23:39:59 -0500 John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Humour me. New server. I'm a little tired. > Where is my php.ini on a red hat server? > John > > > -- > PHP General

Re: [PHP] Re: XSLT failing when DOCTYPE declaration present

2002-12-06 Thread Chris Wesley
no, that's not it. everything was configured properly. everything conformed, except the xslt processor. the correct people were contacted many many weeks ago now. again, thanks for your time ... ~Chris On Fri, 6 Dec 2002, Dave wrote: > oops, > > file permission problem, if it

Re: [PHP] Generating forms using OOP

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 9:43:47 AM, you wrote: DO> Hi People, DO> I ve just started with some OOP programming in PHP and now i have to DO> build a set of classes that can generate a html form.. But i have a DO> problem with the thing DO> I hope someone can help me here or give me s

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

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 6:01:19 AM, you wrote: CD> I'm not sure why this isn't working, been banging my head at it for a couple CD> hours now. CD> I have a file (index.php), which calls a function that draws the header to CD> my page. CD> Inside that function (site_header), is an include

Re[2]: [PHP] PHP includes without access to the default directory

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 7:15:38 AM, you wrote: >> ini_set G> ("include_path","/path/to/local/includes:"ini_get("include_path")); >> >> Then no matter what directory you are in you can just include("filename"); >> >> -- >> regards, >> Tom >> G> Thank you. This should work, but I have one

Re: [PHP] Output page cut off after 7000 characters

2002-12-06 Thread Tom Rogers
Hi, Thursday, December 5, 2002, 9:40:20 PM, you wrote: FW> Hi All, FW> i have to migrate a website from WNT/IIS to Solaris/Apache. FW> Some stuff seems to work, but now I am stuck with a page which gets cut FW> off in the middle of the out put. It is a template system with a chain FW> of includ

Re: [PHP] Humour me

2002-12-06 Thread @ Edwin
Hello, "John Taylor-Johnston" <[EMAIL PROTECTED]> wrote: > Humour me. New server. I'm a little tired. > Where is my php.ini on a red hat server? I took it :) Anyway, Run phpinfo() --should give you a hint... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Generating forms using OOP

2002-12-06 Thread Peter J. Schoenster
On 7 Dec 2002 at 0:43, Davy Obdam wrote: > I ve just started with some OOP programming in PHP and now i have to > build a set of classes that can generate a html form.. But i have a > problem with the thing I hope > someone can help me here or give me some pointers,... any help is > apreciate

[PHP] Humour me

2002-12-06 Thread John Taylor-Johnston
Humour me. New server. I'm a little tired. Where is my php.ini on a red hat server? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Repeating Decimals

2002-12-06 Thread Tom Rogers
Hi, Saturday, December 7, 2002, 6:36:18 AM, you wrote: S> How would I run the functions though and then print the repeating decimal to S> the screen? The function returns the string ready to print You will need to comment out the echo $s line, it was there for debugging. just do where ever you

[PHP] Re: HOW GET ALL HTML CONTENT

2002-12-06 Thread Dave
not sure exactly what you mean, but try $HTTP_RAW_POST_DATA or $_SERVER['HTTP_RAW_POST_DATA'] "Nice_boy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > who knows how to get all contents when i use javascript to get bookmark of > IE > ex: > > window.exte

Re: [PHP] Middle Number

2002-12-06 Thread Rick Widmer
At 09:45 PM 12/6/02 -0500, Stephen wrote: How can you find the meadian (or middle number) of a list of numbers? If there is an even amount of numbers, how would I still find it? load the list into an array, in numeric order... then: $List = array( 1,2,3,4,5,6 ); $Middle = ( count( $List ) -

[PHP] Re: Help! Stuck! Perm denied w/ fopen.

2002-12-06 Thread Dave
i thought (could be wrong) that directories need execute to read within them, files only need r+w, to make a directory readable.. i always chmod 755 my directories and 644 my files (or in your case chmod 777 directories and 666 files, but i don't recommend that at all). sometimes, i chgrp nobobdy

Re: [PHP] Date again

2002-12-06 Thread Stephen
Not sure but I think now() doesn't return the date formate you'd want assuming your date section is classified as a date. Here's what I would do: $date = date("Y-m-d"); $sql = "SELECT * FROM table WHERE date='".$date"'"; $result = mysql_query($sql, $connection); Hope it works! - Original Me

Re: [PHP] Re: XSLT failing when DOCTYPE declaration present

2002-12-06 Thread Dave
or either the permissions are wrong on the external site or the file doesn't exist -dave ps - just trying to give some quick advice hoping it would help, if you don't appreciate it, i can give you some "insightful advice" about what to go do with yourself. "Dave" <[EMAIL PROTECTED]> wrote in

Re: [PHP] Re: XSLT failing when DOCTYPE declaration present

2002-12-06 Thread Dave
oops, file permission problem, if it isn't set to right permissions, it won't read and act as if there wasn't one, which then makes it work. so it does look like your doc doesn't conform. "Chris Wesley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 4

[PHP] Date again

2002-12-06 Thread Miguel Brás
Ok guys, having a problem here. I did my table with 6 fields, they are: id position name timein timeout date I have a form to insert the info on the fields, and at the date field, I have a drop down menu that returns me the next 7 days (the date in d/m/y), people will choose the date they wa

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

2002-12-06 Thread Anthony Ritter
To all who assisted me today. I finally managed to get the mail () funtion to work. Thank you and happy holidays to you all... TR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Middle Number

2002-12-06 Thread Stephen
How can you find the meadian (or middle number) of a list of numbers? If there is an even amount of numbers, how would I still find it? Thanks, Stephen Craton http://www.melchior.us "What is a dreamer that cannot persevere?" -- http://www.melchior.us -- PHP General Mailing List (http://www.php

Re: [PHP] Good eve

2002-12-06 Thread Miguel Brás
thx to both Miguel "Rolf Vreijdenberger" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > SELECT field1, field2, field3 FROM table WHERE date=NOW() > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Good eve

2002-12-06 Thread rolf vreijdenberger
SELECT field1, field2, field3 FROM table WHERE date=NOW() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Allowed memory size exhausted

2002-12-06 Thread Jeff Schwartz
I have a large amount of data (1,948,280 bytes) that I tried to write out to a file using if ($fp = fopen($file,"w")): fwrite($fp,$contents,strlen($contents)); fclose($fp); endif; and got "Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1948281

Re: [PHP] Good eve

2002-12-06 Thread Brad Bonkoski
Check out: http://www.php.net/manual/en/function.mktime.php HTH -Brad "Miguel Brás" wrote: > I have a table with several field, one of them has a date insertion on the > d/m/y format. > I would like to return only the data for the present day (today will be date > 05/12/02 tomorrow will be 06/12/

[PHP] Re: Date

2002-12-06 Thread Miguel Brás
And sorry about the subject, it should be Date "Miguel BráS" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a table with several field, one of them has a date insertion on the > d/m/y format. > I would like to return only the data for the present day

[PHP] Good eve

2002-12-06 Thread Miguel Brás
I have a table with several field, one of them has a date insertion on the d/m/y format. I would like to return only the data for the present day (today will be date 05/12/02 tomorrow will be 06/12/02) I will do SELECT field1, field2, field3 FROM table WHERE date=? What is missing on the

[PHP] Help! Stuck! Perm denied w/ fopen.

2002-12-06 Thread psy berpunk
I am running using php with apache and curl on a redhat machine. All the installs are very recent with recent versions. Processing of .phtml from the html directory is working great except: I am getting perm denied with fopen for a directory that is set to 666 for permissions, and owned by the sam

[PHP] Generating forms using OOP

2002-12-06 Thread Davy Obdam
Hi People, I ve just started with some OOP programming in PHP and now i have to build a set of classes that can generate a html form.. But i have a problem with the thing I hope someone can help me here or give me some pointers,... any help is apreciated. Here is a part of my code : class

Re: [PHP] evaluating vars in a var

2002-12-06 Thread Leif K-Brooks
Yes. If it was in double quotes, it would parse the variables before the loop started. Another way would be to put it in double quotes and escape the dollar signs. Rolf Vreijdenberger wrote: I notice that you put everything in single quotes and then escape it. is there any special reason for

Re: [PHP] evaluating vars in a var

2002-12-06 Thread rolf vreijdenberger
thanks a lot, I thought there might be a trick, this is really helpful, thanks again -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] evaluating vars in a var

2002-12-06 Thread Leif K-Brooks
$htmlEmail = 'hello $firstName $lastName'; //Start loop eval("\$thisemail = $htmlemail"); //Send mail out, using $thisemail for mail body //End loop rolf vreijdenberger wrote: Hi, this problem came forth from my previously posted -Mail(): how much time-, but is different so I posted it seperatel

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

2002-12-06 Thread Anthony Ritter
DL, Sorry to be a pain... but using either: the address of my outgoing mail server or localhost still gives me: Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\send_simpleform.php on line 14 Thanks again for your time. TR -- PHP General Mailing List (http://www.

Re: [PHP] Re: stripping spaces from a string

2002-12-06 Thread Jule Slootbeek
perfect, exactly what i needed thanks J. On Friday, Dec 6, 2002, at 16:38 US/Eastern, J Smith wrote: Regular expressions would be overkill. Try $newString = str_replace(" ", "", $oldString); J Jule Slootbeek wrote: Hi, What's the best and easiest way to strip all the spaces from a string

[PHP] Re: stripping spaces from a string

2002-12-06 Thread J Smith
Regular expressions would be overkill. Try $newString = str_replace(" ", "", $oldString); J Jule Slootbeek wrote: > Hi, > > What's the best and easiest way to strip all the spaces from a string? > do i use regular expressions for it? > > TIA, > J. > Jule Slootbeek > [EMAIL PROTECTED] --

[PHP] stripping spaces from a string

2002-12-06 Thread Jule Slootbeek
Hi, What's the best and easiest way to strip all the spaces from a string? do i use regular expressions for it? TIA, J. Jule Slootbeek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I can list directories. But not the files :/

2002-12-06 Thread
Hello. Here is the code to list all directories in my /members directory: $path = "./"; // even "."if ($dir = @opendir($path)) {while (($file = readdir($dir)) !== false) {if ($file=='.' || $file=='..' || $file=='_vti_cnf' || $file=='notes.htm' || $file=='showall_copy(1).php') continue;if (is_di

[PHP] evaluating vars in a var

2002-12-06 Thread rolf vreijdenberger
Hi, this problem came forth from my previously posted -Mail(): how much time-, but is different so I posted it seperately. I make html emails with personal stuff in it e.g. hello $firstName $lastName etc. Problem: I would like to put the whole email html layout in one var, like this: $htmlEmail =

Re: [PHP] PHP includes without access to the default directory

2002-12-06 Thread Gundamn
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hi, > > Friday, December 6, 2002, 11:06:36 AM, you wrote: > G> I have a hosted account. As such, I am unable to use the default location > G> for files when used with the include command. So could somebody tell me how >

Re: [PHP] Mail(): How much time?

2002-12-06 Thread rolf vreijdenberger
I do something similar, I wasn't clear with what I meant by a loop. the loop is the same as you do, I work on the result set too! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-12-06 Thread Chris Wesley
On Fri, 6 Dec 2002, Charles Bronson wrote: > I found nothing about a + splitting argument variables anywhere in the > CLI documentation though I know this is a CGI characteristic. I've tried > escaping the + character to no avail. Check out the bug: http://bugs.php.net/bug.php?id=18566 I experie

RE: [PHP] Mail(): How much time?

2002-12-06 Thread Charles Bronson
There are a couple of spots it may be slowing down depending on how your doing things. I have a mysql database and submit one query in which I hold all the data in an array. Then I loop through the array so I do not need to send multiple queries. I use something like the following, though I like t

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

[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
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] 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] 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

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] 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

[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] 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

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:

[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] 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

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] 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

[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] 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

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

[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

[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] Re: XSLT support for RH8

2002-12-06 Thread electroteque
dont use rpm's at all use soure , i did a base net install of RH8 most of the packages i didnt even select coz i wanted to get them manually were older versions and unpatched versions with security issues dammit ! , you will need sablot for xslt support , goto www.php.net/xslt and check out sablot

[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

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

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] 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] 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 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] 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] 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] 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] 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] 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] $_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: 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] 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: [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] 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

[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

[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

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/

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] 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] 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] 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] 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] $_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

[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

[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] 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

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

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[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] 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:

[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] 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] 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

  1   2   >