Re: [PHP] parse error

2002-10-30 Thread Marek Kilimajer
You forgot ] somewhere before line 61, and maybe even something else. Andres, Cyrille wrote: thx, but I still have the same error I think I have a poltergheist in my computer !!! -Original Message- From: Jonathan Sharp [mailto:js-lists@;sharpmedia.net] Sent: Wednesday, October 30, 2002

Re: [PHP] parse error

2002-10-30 Thread 1LT John W. Holmes
Show us a few lines of code before the line that the error message reports. Remember, the line in the error message is just where PHP figured out something was wrong. The cause could be anywhere before that line. ---John Holmes... - Original Message - From: "Andres, Cyrille" <[EMAIL PROT

[PHP] Re: Looking for good ZIP Code / Latitude / Longitude table

2002-10-30 Thread Manuel Lemos
Hello, On 10/30/2002 04:03 PM, Michael Zornek wrote: I've written a nice php/mysql site that let's you search for hospitals and community colleges by zip code. The search is built upon some math that figures out distances by a zip's lat and lon cords. My problem is that my current ZIP table (bou

[PHP] Secure PHP Form

2002-10-30 Thread Pushpinder Singh Garcha
hi all I am using a php form to collect credit card information from clients and so have hosted the page on a secure server i.e. https After filing out the form ...the browser displays a "confirmation page". I am using IE 5.2 on MAC OS Jaguar when I point IE to the secure site and submit th

Re: [PHP] Secure PHP Form

2002-10-30 Thread 1LT John W. Holmes
Look for IE bugs...It's not related to PHP. ---John Holmes... - Original Message - From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 2:34 PM Subject: [PHP] Secure PHP Form > hi all > > I am using a php form to collect credit

[PHP] Variable over url

2002-10-30 Thread Manuel Jenne
Hi, I've just installed php 4.2.3 and wonder why I can't submit an variable over url. Example: My Script: Test.php My URL: www.some.domain/test.php?tmp=5 My result: NOTHING !!! Where is the error? P.S. phpmyadmin run ok. Thanx Manuel

Re: [PHP] Variable over url

2002-10-30 Thread Sascha Cunz
Hi, try or turn off register_globals in your php.ini file. - Sascha Am Mittwoch, 30. Oktober 2002 20:49 schrieb Manuel Jenne: > Hi, > > I've just installed php 4.2.3 and wonder why I can't submit an variable > over url. > > Example: > > My Script: > Test.php > > echo $tmp; > ?> > > My URL: >

Re: [PHP] Re: Dazed and Confused

2002-10-30 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 try(untested): array_walk($myarray, array($this, 'DoArrayStuff'),1); HTH! ~Paul On Wednesday 30 October 2002 02:08 pm, PHP List wrote: > I think the fog is starting to clear, thanks for the help. > > I do have one more question: > If I want to use arr

[PHP] Multiple Addresses Mailer

2002-10-30 Thread Pushpinder Singh Garcha
Hi All I am creating a mailing list system in which I should be able to broadcast a message to multiple recipients I am using the mail() function and putting all the recipients names in the "to" argument separated by commas. When I do this the mail goes to all the people but they come to know

RE: [PHP] parse error

2002-10-30 Thread Andres, Cyrille
here is my code : // for each file to upload : $j=0; echo "$hotelNr[$j] et $j"; while($hotelNr[$j] != "") { //display the caracteristics of each file to download echo"HOotelNr[$j]=$hotelNr[$j]";?> Name : %s",$userfile_name[$hotelNr[$j]-1]);// $HTTP_POST_FILES["

[PHP] Capitalizing names etc. part II - found a solution

2002-10-30 Thread -<[ Rene Brehmer ]>-
Hi y'all A while back I requested help for properly capitalizing names out of passed string values, as ucwords() and tokenizing didn't do the trick. Some kind soul gave me this scripple to work with: > $text = "What?No delimiters,shit happens here.this solves all problems."; > preg_match_all("/(

Re: [PHP] Capitalizing names etc. part II - found a solution

2002-10-30 Thread 1LT John W. Holmes
So if I have a last name like Macon, will it make it MacOn, or leave it alone? How do you tell? ---John Holmes... - Original Message - From: "-<[ Rene Brehmer ]>-" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 2:53 PM Subject: [PHP] Capitalizing names etc. p

Re: [PHP] Re: Dazed and Confused

2002-10-30 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 oopsforgot the &. array_walk($myarray, array(&$this, 'DoArrayStuff'),1); On Wednesday 30 October 2002 02:38 pm, Paul Nicholson wrote: > try(untested): array_walk($myarray, array($this, 'DoArrayStuff'),1); > HTH! > ~Paul > > On Wednesday 30 October

[PHP] Strange intermittant errors

2002-10-30 Thread Peter Gordon
Hi, I am developing a website in PHP that stores all its information in a MySQL database. The webserver is a FreeBSD box running Apache with pretty much all extensions installed (its owned by a friend of mine who works for an ISP. He is competant at setting this sort of box up, so I am confident i

[PHP] Include: Warning: Failed opening

2002-10-30 Thread Tim Kucejko
I am trying to use include statements, but am having no luck. I set the include path in php.ini to include directories of the files, I tried CHMOD 777 on both files, and I restarted the server. I can't get any include files working. I got this message: Warning: Failed opening '/common.php' for

Re: [PHP] How to prevent failure email from being sent?

2002-10-30 Thread Jason Wong
On Monday 28 October 2002 01:24, Noah Spitzer-Williams wrote: > Hey guys, > > My service sends out emails every few days to members who wish to have > stats sent to them. The problem is once an email becomes inactive, I the > webmaster gets a failure email sent to me. This is starting to add up

Re: [PHP] Include: Warning: Failed opening

2002-10-30 Thread 1LT John W. Holmes
> Warning: Failed opening '/common.php' for inclusion > (include_path='.:/www/htdocs/php:/www/htdocs') in > /www/htdocs/php/includetest.php on line 3 Take out the forward slash in your include. '/common.php' means to look in the root directory for the file, while if you just put 'common.php' or '.

Re: [PHP] Strange intermittant errors

2002-10-30 Thread 1LT John W. Holmes
Well, the only thing that comes from the client side is GET, POST, or COOKIE data. All the browsers should handle GET and POST data the same, so I doubt that's it. Is the work computer your on accepting cookies? Are values from cookies or sessions used anywhere in the SQL in question? ---John Holm

[PHP] CSS pulls me back in

2002-10-30 Thread Liam . Gibbs
Still having trouble with CSSs. Now it's a different error. Below is my CSS code. For some reason, I can't get the CSS to access my Constants.inc file to grab my constants. Any ideas? The line by which I get my CSS is: print(" \n"); -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: Strange intermittant errors

2002-10-30 Thread Peter Gordon
Hi 1LT John W. Holmes, on the subject of Re: [PHP] Strange intermittant errors, you said: > Well, the only thing that comes from the client side is GET, POST, or COOKIE > data. All the browsers should handle GET and POST data the same, so I doubt > that's it. Is the work computer your on accepting

[PHP] mysql question

2002-10-30 Thread scott
Very slightly OT but great minds here I have a table with two columns and I need to get all the items that are not in the shop number I select, with the exception of items that are in the shop number I select. Table Shopnumber item 1 orange 1

Re: [PHP] HTML Post

2002-10-30 Thread Rick Emery
On return, just cut out the part you don't need; PHP's string functions take care of this nicely - Original Message - From: "Drew Kime" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 12:22 PM Subject: Re: [PHP] HTML Post I used a similar script and had the

Re: [PHP] Re: Looking for good ZIP Code / Latitude / Longitude table

2002-10-30 Thread Jimmy Brake
how much does the service cost? or am misunderstanding the class? why do you have to enter a password? On Wed, 2002-10-30 at 11:31, Manuel Lemos wrote: > Hello, > > On 10/30/2002 04:03 PM, Michael Zornek wrote: > > I've written a nice php/mysql site that let's you search for hospitals and > >

[PHP] Re: Strange intermittant errors

2002-10-30 Thread Peter Gordon
Hi, > it'll work fine from all but this one machine. Also, other PHP powered sites > work fine from it! I just don't understand it... Ooooh... now thats odd... for the first time ever it just happened from home! Now i'm confused... in the process of creating the site, i've loaded up the pages sev

Re: [PHP] Re: Strange intermittant errors

2002-10-30 Thread 1LT John W. Holmes
> > it'll work fine from all but this one machine. Also, other PHP powered sites > > work fine from it! I just don't understand it... > > Ooooh... now thats odd... for the first time ever it just happened from home! > Now i'm confused... in the process of creating the site, i've loaded up the > pag

[PHP] How to find future date?

2002-10-30 Thread ppf
Hi All: I like to know is there any metrhod to find future date ( for example 15 days from the today [sys date]). Basically i am looking for a method equivalent to datediff or dateadd in asp. I hope PHP will have some thing corresponding to this, I will really appricate u r help, thanks in advance

Re: [PHP] Re: Looking for good ZIP Code / Latitude / Longitude table

2002-10-30 Thread Manuel Lemos
Hello, On 10/30/2002 05:49 PM, Jimmy Brake wrote: how much does the service cost? or am misunderstanding the class? why do you have to enter a password? The access to the site is free. The authentication is necessary to acurately account the downloads and also to keep you upto date to the c

[PHP] Re: Multiple Addresses Mailer

2002-10-30 Thread Manuel Lemos
Hello, On 10/30/2002 04:47 PM, Pushpinder Singh Garcha wrote: Hi All I am creating a mailing list system in which I should be able to broadcast a message to multiple recipients I am using the mail() function and putting all the recipients names in the "to" argument separated by commas. When I

[PHP] Re: Variable over url

2002-10-30 Thread CJ
Read the docs first plz, or search for it thank you... Manuel jenne wrote: Hi, I've just installed php 4.2.3 and wonder why I can't submit an variable over url. Example: My Script: Test.php My URL: www.some.domain/test.php?tmp=5 My result: NOTHING !!! Where is the error? P.S. ph

[PHP] Re: Strange intermittant errors

2002-10-30 Thread Peter Gordon
Hi 1LT John W. Holmes, on the subject of Re: [PHP] Re: Strange intermittant errors, you said: > Is it alway the same error? Is it always a problem related to MySQL? If it's > intermittent like this and on simple queries, I'd say you have a problem > with MySQL, or the tranfer of data between MySQL

Re: [PHP] How to find future date?

2002-10-30 Thread 1LT John W. Holmes
Take a look at mktime() www.php.net/mktime ---John Holmes... - Original Message - From: "ppf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 4:01 PM Subject: [PHP] How to find future date? > > Hi All: > I like to know is there any metrhod to find future

Re: [PHP] mysql question

2002-10-30 Thread 1LT John W. Holmes
Yes...off topic... Join the table with itself. untested... SELECT t1.shopnumber, t1.item from table t1, table t2 where t1.shopnumber = 1 and t1.shopnumber = t2.shopnumber and t1.item != t2.item Something like that?? Play around with it... ---John Holmes... - Original Message - From: "

Re: [PHP] Multiple Addresses Mailer

2002-10-30 Thread Rick Emery
Put all addressees in the BCC?? - Original Message - From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 1:47 PM Subject: [PHP] Multiple Addresses Mailer Hi All I am creating a mailing list system in which I should be able to b

Re: [PHP] Php web hosting

2002-10-30 Thread Rick Emery
www.nomonthlyfees.com 600 megs space 6 gig bandwidth 5 mysql databases unlimited email addresses ssl ssh $200 for first year; $70 per year thereafter. Fee includes domain registration Fast tech support turnaround - Original Message - From: "Steve Jackson" <[EMAIL PROTECTED]> To: "Php-Ge

RE: [PHP] Re: File Upload Problem

2002-10-30 Thread David Freeman
G'day David > > My problem is that files uploaded through a form are > > increasing in size. > Doesn't that look like the EOL characters are being > translated after the fashion of ftp ascii transfers? > Maybe have a look at the two versions in a > hex viewer and see if that is the cas

RE: [PHP] Php web hosting

2002-10-30 Thread Edward Peloke
I am using www.ht-tech.net for my php/mysql site. Great guy and very knowledgeable, he offers a lot of monitoring services. Eddie -Original Message- From: Rick Emery [mailto:remery@;emeryloftus.com] Sent: Wednesday, October 30, 2002 3:51 PM To: Php-General Subject: Re: [PHP] Php web hos

Re: [PHP] Variable over url

2002-10-30 Thread Philip Olson
Read this: Variables from outside PHP: http://www.php.net/manual/en/language.variables.external.php Some notes: a) Know your register_globals directive. b) register_globals defaults to off as of PHP 4.2.0. c) It's preferred not to rely on register_globals being on. d) Autoglobals, su

Re: [PHP] How to find future date?

2002-10-30 Thread Jason Wong
On Thursday 31 October 2002 05:01, ppf wrote: > Hi All: > I like to know is there any metrhod to find future > date ( for example 15 days from the today [sys date]). > Basically i am looking for a method equivalent to > datediff or dateadd in asp. I hope PHP will have some > thing corresponding to

[PHP] File Upload - Dwindling connection

2002-10-30 Thread Andre Dubuc
I'm having big problems with uploading jpeg pictures from a calling form. What happens is that the htpps connection begins (usaully at a very low transfer rate -- somewhere around 900 b/s, and then dwindles rapidly to 200 - 20 -10 b/s). The file doesn't appear in the upload or temp directory (fi

Re: [PHP] Re: Strange intermittant errors

2002-10-30 Thread Jason Wong
On Thursday 31 October 2002 05:02, Peter Gordon wrote: > Hi 1LT John W. Holmes, on the subject of Re: [PHP] Re: Strange intermittant > > errors, you said: > > Is it alway the same error? Is it always a problem related to MySQL? If > > it's intermittent like this and on simple queries, I'd say you h

Re: [PHP] Re: Looking for good ZIP Code / Latitude / Longitudetable

2002-10-30 Thread Michael Zornek
On 10/30/02 2:31 PM, Manuel Lemos said: > On 10/30/2002 04:03 PM, Michael Zornek wrote: >> I've written a nice php/mysql site that let's you search for hospitals and >> community colleges by zip code. The search is built upon some math that >> figures out distances by a zip's lat and lon cords. >>

[PHP] convert int to string

2002-10-30 Thread Jef
How can I convert an integer variable to a string variable? I have checked PHP's website and I must not be looking for the right function. Any help please. Jef -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to find future date?

2002-10-30 Thread ppf
Thank you all both mktime and strtotime () will achive the goal, thank again Prad --- "1LT John W. Holmes" <[EMAIL PROTECTED]> wrote: > Take a look at mktime() > > www.php.net/mktime > > ---John Holmes... > > - Original Message - > From: "ppf" <[EMAIL PROTECTED]> > To: <[EMAIL PROT

RE: [PHP] How to find future date?

2002-10-30 Thread scott
Thanks Can't get it to work, so open to other suggestions. Thanks anyway. -Original Message- From: 1LT John W. Holmes [mailto:holmes072000@;charter.net] Sent: 30 October 2002 21:16 To: ppf; [EMAIL PROTECTED] Subject: Re: [PHP] How to find future date? Take a look at mktime() www.php.

Re: [PHP] convert int to string

2002-10-30 Thread Philip Olson
I would approach this by first going here: http://www.php.net/manual/ And go to the section on types: http://www.php.net/manual/en/language.types.php In there is a section for type juggling: http://www.php.net/manual/en/language.types.type-juggling.php >From these places you'll see var

Re: [PHP] Free compiler for Win

2002-10-30 Thread R B
I need to know how to compile php code with ms visual studio 6.0. Thanks, RB. PHP is ANSI compliant, thus, theoretically, any compiler should be able to build it. Though, MS Visual Studio 6 is the one used for PHP windows version. That's not free. ___

[PHP] Re: CSS pulls me back in

2002-10-30 Thread Nick Eby
is Constants.inc in the same directory as Stylesheet.php? "Liam Gibbs" <[EMAIL PROTECTED]> wrote in message news:D64360C926B9F34F8B35F78D07B8E7A2716E23@;postman.dfait-maeci.gc.ca... > Still having trouble with CSSs. Now it's a different error. Below is my CSS > code. For some reason, I can't get

[PHP] Re: Secure PHP Form

2002-10-30 Thread Nick Eby
be wary of IE on a macintosh, i seem to remember that IE5 on a mac has the same nuts and bolts as IE4 on windows. can anyone back me up on that? "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> wrote in message news:9787EE5E-EC3E-11D6-A12B-003065DBDE68@;masterstream.com... > hi all > > I am using a

Re: [PHP] POST-ing or GET-ing an array

2002-10-30 Thread rija
Why don't you launch your script once you are in the next page? like: "next" So you don't have to get or post anything? $sql = "select stuff from my_table"; $result = mysql_query($sql); $count = 0; while ($myrow = mysql_fetch_assoc($result)) { $id = $myrow["id"]; $my_array[] = $id; } - Ori

Re: [PHP] Re: Looking for good ZIP Code / Latitude / Longitude

2002-10-30 Thread Manuel Lemos
Hello, On 10/30/2002 07:11 PM, Michael Zornek wrote: I've written a nice php/mysql site that let's you search for hospitals and community colleges by zip code. The search is built upon some math that figures out distances by a zip's lat and lon cords. My problem is that my current ZIP table (bou

[PHP] newbie question: need a script

2002-10-30 Thread Ikke
hi all, I got a html page, on which I put a form, with quit a lot of questions (all kinds: textboxes, dropdowns, check, radiobuttons, ...). Its for an online survey Im doing. Now Im looking for a php script that puts all the data in a textfile, the moment someone clicks on Submit. It should write

[PHP] geting date after x number of days

2002-10-30 Thread Peter Houchin
howdy, I was wondering if someone could point me to a place where i can find out how to or give me some pointers on getting the day & date after x number of days.. I'm also using getting the current date by $date = date("D M d, Y "); TIA Cheers Peter "the only dumb question is the one that wa

[PHP] Re: Yet another question

2002-10-30 Thread Trasca Ion-Catalin
Yes, this works, but only if I include the file before the use of the variable, but, what if I use the include() after the use of the variable? -- Trasca Ion-Catalin "Tjoumaidis" <[EMAIL PROTECTED]> wrote in message news:3DBF8DE6.70701@;freemail.gr... > Yes if you include the file > > include ("fi

RE: [PHP] Re: Yet another question

2002-10-30 Thread Peter Houchin
try it and see .. though I am pretty sure that it won't work unless you define the variable else where in the file b4 calling it. other wise the variable will either be blank or give you an error saying undefined variable if it's used before the include. > -Original Message- > From: Trasc

[PHP] Processing current file

2002-10-30 Thread Charles Wiltgen
Hello, I'm a PHP newbie who needs to serve a custom file format and turn it into valid XHTML. I can imagine someone using a similar technique to remove all comments from HTML files as they're being served, etc. I've configured Apache so that it assigns the file extension to PHP and prepends PHP

[PHP] infinate loops

2002-10-30 Thread Chris Knipe
Lo, Quite desperate now... Or at least, I'm starting to get there... Can anyone perhaps see why this loop is not exiting??? $quit=$now; $glet=getdate($row['RenewDate']); // debug echo "howlong: " . $howlong; while($quit<$howlong) { // debug echo "quit: " . $quit . ""; $quit=mktime(0, 0,

[PHP] Jump Menu

2002-10-30 Thread Trasca Ion-Catalin
How can I read the values from a jump menu? -- Trasca Ion-Catalin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: infinate loops

2002-10-30 Thread Chris Knipe
Nevermind, It was due to a inconsistency in the DB It's sorted :P - Original Message - From: "Chris Knipe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 31, 2002 2:32 AM Subject: infinate loops > Lo, > > Quite desperate now... Or at least, I'm starting to get t

[PHP] paper size print problem

2002-10-30 Thread R B
I want to set up a specific size of paper to print a report. I made this with a PDF document and in screen looks like the size that i need, but when i print it, the printer doesn't respect the size and always print with the letter or default acrobat size. I check the printer properties and doesn'

Re: Fw: [PHP] Re: headers and cookies

2002-10-30 Thread rolf vreijdenberger
what I found out in the meantime is that you CAN use cookies and headers, just like you said, but my particular problem arose because a notice was issued for an undefined variable; I didn't check correctly for it's existence. so any output, and also output like notices, warnings and errors, just

RE: [PHP] geting date after x number of days

2002-10-30 Thread John W. Holmes
> I was wondering if someone could point me to a place where i can find out > how to or give me some pointers on getting the day & date after x number > of > days.. I'm also using getting the current date by > > $date = date("D M d, Y "); This question was already asked today... do a little sear

RE: [PHP] How to find future date?

2002-10-30 Thread John W. Holmes
Use strtotime() like someone else suggested. It's easier, but mktime does work. If you read the whole manual page and comments, I'm sure you'll see an example. $date = strtotime("now + X days"); ---John Holmes... > -Original Message- > From: scott [mailto:scott@;scottincz.com] > Sent: We

Re: [PHP] Free compiler for Win

2002-10-30 Thread Stuart
On Wednesday, Oct 30, 2002, at 23:02 Europe/London, R B wrote: I need to know how to compile php code with ms visual studio 6.0. Do you want to compile PHP or PHP code? If you want to compile PHP itself full instructions are included in the source distribution. If you want to compile PHP code

Re: [PHP] Free compiler for Win

2002-10-30 Thread R B
I want a php code compiler. I wrote above visual studio 6.0 because i read in the mailking list archieve that it was posible with that software, but i want a good free compiler because i don't want to distribute my php code. Thanks RB From: Stuart <[EMAIL PROTECTED]> To: "R B" <[EMAIL PROTECT

RE: [PHP] geting date after x number of days

2002-10-30 Thread Peter Houchin
apologies to all 4 my laziness, I should have looked around 1st. I'm still 1/2 asleep .. but that's no excuse.. so sorry all :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Decimal Places

2002-10-30 Thread dwalker
Fields("UnitPrice"), 2, -2, -2) ?> -Original Message- From: Andrew Wilson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, October 29, 2002 11:34 PM Subject: [PHP] Decimal Places >Hay guys, >I have two variables ( integers ) that are being minused one from t

Re: [PHP] Displaying one of three functions.

2002-10-30 Thread dwalker
You could try something less convoluted like: NOTE: the code between the IF and ENDIF will not be visible unless the condition equates to TRUE -Original Message- From: Steve Jackson <[EMAIL PROTECTED]> To: PHP General <[EMAIL PROTECTED]> Date: Monday, October 28, 2002 8:14 AM

Re: [PHP] Mutiple header statements?

2002-10-30 Thread dwalker
Could it be that the results return TRUE for both statements??? And it posts the same variable twice??? -Original Message- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: 1LT John W. Holmes <[EMAIL PROTECTED]> Cc: Rick Emery <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date:

Re: [PHP] Mutiple header statements?

2002-10-30 Thread dwalker
try setting the variable to match one of the IF statement criteria to see what the result is. -Original Message- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: 1LT John W. Holmes <[EMAIL PROTECTED]> Cc: Rick Emery <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday,

[PHP] Comma Delimited File and see results in PHP

2002-10-30 Thread benc
I have a comma delimited which I want to assign variables to and then echo the variables to show the results. Is this possible? If so, how can this be done? Please help. Thanks, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Comma Delimited File and see results in PHP

2002-10-30 Thread Timothy Hitchens (HiTCHO)
Have a look at the http://www.php.net/manual/en/function.fgetcsv.php Should be a good starting point for you!! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] If you need PHP hosting with an experienced support team 24/7 then email me today. On Wed, 30 Oct 2002 [EMAIL PROTECTED] wrote: > I have

[PHP] XML to MS Word

2002-10-30 Thread Maxim Maletsky
Guys, The other day, one of my clients asked me this very tricky question: "Can we also use that XML data for making MS Word (.doc) files?" Our system is designed to produce XML output independently to then later transform it into HTML with PHP/XSLT and PDF with FOP. Now, the client also wants

Re: [PHP] XML to MS Word

2002-10-30 Thread Justin French
I'd say RTF is a format you're going to be able to come to grips with quicker than .doc -- just take a look at the source of a word doc -- it's pretty obscure!!! Justin on 31/10/02 1:01 PM, Maxim Maletsky ([EMAIL PROTECTED]) wrote: > > Guys, > > The other day, one of my clients asked me this

Re: [PHP] Variable over url

2002-10-30 Thread Chris Shiflett
I think you mean turn on register_globals. :-) Sascha Cunz wrote: try echo $_GET['tmp']; ?> or turn off register_globals in your php.ini file. Am Mittwoch, 30. Oktober 2002 20:49 schrieb Manuel Jenne: My Script: Test.php My URL: www.some.domain/test.php?tmp=5 My result: NOTHING !!!

[PHP] Re: XML to MS Word

2002-10-30 Thread Manuel Lemos
Hello, On 10/31/2002 12:01 AM, Maxim Maletsky wrote: Guys, The other day, one of my clients asked me this very tricky question: "Can we also use that XML data for making MS Word (.doc) files?" Our system is designed to produce XML output independently to then later transform it into HTML with

Re: [PHP] Variable over url

2002-10-30 Thread Leif K-Brooks
X.x No. It's turned off for a reason: security. Chris Shiflett wrote: I think you mean turn on register_globals. :-) Sascha Cunz wrote: try echo $_GET['tmp']; ?> or turn off register_globals in your php.ini file. Am Mittwoch, 30. Oktober 2002 20:49 schrieb Manuel Jenne: My Script: Tes

Re: [PHP] XML to MS Word

2002-10-30 Thread incoming
I'd go with RTF or PDF. I know there is a way to do PDF from inside of PHP. That's the best you're going to get I think. Even AbiWord and kword have a difficult time with .doc files, whether reading or writing.(I don't think kword writes, been away from the word processor for awhile, w). H

Re: [PHP] XML to MS Word

2002-10-30 Thread Maxim Maletsky
You are right about it - RTF is doable, I heard. But, I still have to answer about the MS Word thingie. Isn't there any tool to convert from, say, PDF to Word? Or like headers tricky? Thanks, Justin. --- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx

[PHP] stupid me!!

2002-10-30 Thread Peter Houchin
howdy, can any one tell me what's wrong with this my mind is going a miss on me.. if ( $state == 'NSW' && $state == "QLD" && $state == "NT" && $state == "ACT"){ do sum stuff } else { do other stuff } TIA Peter "the only dumb question is the one that wasn't asked" -- PHP General Mailing L

Re: [PHP] Re: XML to MS Word

2002-10-30 Thread Maxim Maletsky
> If your server is running under Windows, you can use COM objects for > generating MS Word documents. No way it's windows :) There is VMWare though, i might consider that. It is actually used for something similar. yet, I still have to research on direct MSWord generation. > Anyway, if you can

RE: [PHP] stupid me!!

2002-10-30 Thread Chris Kay
Below you force state to equal NSW, QLD, NT I think what you are after is "OR" not "AND" || = or && = and - Chris Kay (Systems Development) Techex Communications Website: www.techex.com.au Email: [EMAIL PROTECTED] Telephone: 1300 88 111 2

Re: [PHP] stupid me!!

2002-10-30 Thread Leif K-Brooks
A variable can't have 4 values at once? :) Peter Houchin wrote: howdy, can any one tell me what's wrong with this my mind is going a miss on me.. if ( $state == 'NSW' && $state == "QLD" && $state == "NT" && $state == "ACT"){ do sum stuff } else { do other stuff } TIA Peter "the only dumb

Re: [PHP] XML to MS Word

2002-10-30 Thread Maxim Maletsky
On Wed, 30 Oct 2002 21:16:14 -0600 incoming <[EMAIL PROTECTED]> wrote: > I'd go with RTF or PDF. I know there is a way to do PDF from inside of > PHP. That's the best you're going to get I think. PDF are done with FOP and they work perfectly well. > Even AbiWord and kword > have a difficult

Re: [PHP] stupid me!!

2002-10-30 Thread Timothy Hitchens (HiTCHO)
Well the && means and so this will never work!! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] If you need PHP hosting with an experienced support team 24/7 then email me today. On Thu, 31 Oct 2002, Peter Houchin wrote: > howdy, > > can any one tell me what's wrong with this my mind is going a m

RE: [PHP] stupid me!!

2002-10-30 Thread Peter Houchin
thanks every one for your help. > -Original Message- > From: Leif K-Brooks [mailto:eurleif@;buyer-brokerage.com] > Sent: Thursday, 31 October 2002 2:26 PM > To: Peter Houchin > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] stupid me!! > > > A variable can't have 4 values at once? :) > > Pe

RE: [PHP] Re: XML to MS Word

2002-10-30 Thread John W. Holmes
> Anyway, if you can generate RTF documents from your XML, just serve them > with MS Word content type and .doc file name extension and MS Word will > open them seeminglessly. Or just send HTML with Word headers and Word will open it right up. Your users won't even know it's HTML. ---John Holmes.

RE: [PHP] XML to MS Word

2002-10-30 Thread John W. Holmes
> You are right about it - RTF is doable, I heard. > > But, I still have to answer about the MS Word thingie. > > Isn't there any tool to convert from, say, PDF to Word? Or like > headers tricky? I use this function to send a Word header instead of an HTML header. You can then send just regular

Re: [PHP] [Fwd: Problem about pear]

2002-10-30 Thread EdwardSPL
Hello, I just check my system... I found there is no "/usr/lib/php/PEAR"... So, what can I do about the problem ? BTW, are you using imp ( Webmail ) under Redhat 7.2 ? Thank a lots. Edward. Jonathan Sharp wrote: > try: > 'locate PEAR' if it doesn't show up do 'updatedb' then 'locate PEAR' >

Re: [PHP] Re: XML to MS Word

2002-10-30 Thread Manuel Lemos
Hello, On 10/31/2002 12:22 AM, Maxim Maletsky wrote: Anyway, if you can generate RTF documents from your XML, just serve them with MS Word content type and .doc file name extension and MS Word will open them seeminglessly. How limited is this method? Can it be pretty well formatted with enoug

[PHP] Re: File Random Access

2002-10-30 Thread David Robley
In article <00b601c2801a$a5c3e8e0$0500a8c0@honeybee>, [EMAIL PROTECTED] says... > I never noticed before...there is no easy way to perform random-access read and >WRITE on a > file. > > I vote/recommend/suggest that this most basic functionality be added to the next >release > of PHP. This wou

Re: [PHP] Re: Looking for good ZIP Code / Latitude / Longitude table

2002-10-30 Thread Peter J. Schoenster
On 30 Oct 2002 at 17:11, Michael Zornek wrote: > I can't really use that class. I'm looking for a table of zip codes, > with relating lat and lon cords. I already wrote the calculation code. > That PHP class is reliant on a web service which I'm not interested in. Umm .. I bought such a database

[PHP] About IMP 3.1 under Redhat 7.2

2002-10-30 Thread EdwardSPL
Hello, Sorry, I'm off topic ( due to I can't send mail to [EMAIL PROTECTED] )... If you are using IMP 3.1 under Redhat 7.2, can you help me about this problem ? Horde Database : If I want to change the the name of database, user of database and password... Which files I need to modify ? Thank a

Re: [PHP] [Fwd: Problem about pear]

2002-10-30 Thread EdwardSPL
Hello, After I do"'updatedb' then 'locate PEAR', I found there is "/usr/share/pear/PEAR"... BUT I found /etc/php.ini : ; ; Paths and Directories ; ; ; UNIX: "/path1:/path2" include_path = ".:/php/includes:/usr/share/php" ; I want to know why there

RE: [PHP] Re: File Random Access

2002-10-30 Thread Mark Charette
-Original Message- From: David Robley [mailto:robleyd@;paradise.net.nz] I'm going to stick my neck out here - as I understand it, this is not an omission in php, rather it is a restriction of the underlying OS/file system. To the best of my knowledge, neither the FAT based system of M$DOS

Re: [PHP] Multiple Addresses Mailer

2002-10-30 Thread olinux
The best solution would probably be to send each email by itself or do the actual sending thru a mailing list program. BCC works great, but a lot of spam filters will catch it - plus some shared servers have a limit on the number of BCC's on a single mail piece. olinux --- Rick Emery <[EMAIL

Re: [PHP] Php web hosting

2002-10-30 Thread John Nichel
Wow, that's not bad. About half of what I pay (the $200 for the first year part). Do you use them? I'm with www.jtlnet.com right now, and am satisfied with their service, but for that kind of money, I'd switch if I didn't have to sacrifice service. Their site claims that they're using PHP 4

[PHP] Plug-in strategies?

2002-10-30 Thread Charles Wiltgen
Hello, Does anyone know of articles that discuss best practices for supporting plug-ins? I searched for a while, but there doesn't seem to be anything out there. -- Charles Wiltgen "Well, once again my friend, we find that science is a two-headed beast. One head is nice, it gives us asp

Re: [PHP] Multiple Addresses Mailer

2002-10-30 Thread Manuel Lemos
Hello, On 10/31/2002 01:30 AM, Olinux wrote: The best solution would probably be to send each email by itself or do the actual sending thru a mailing list program. BCC works great, but a lot of spam filters will catch it - plus some shared servers have a limit on the number of BCC's on a single

[PHP] Re: Plug-in strategies?

2002-10-30 Thread Manuel Lemos
Hello, On 10/31/2002 02:21 AM, Charles Wiltgen wrote: Does anyone know of articles that discuss best practices for supporting plug-ins? I searched for a while, but there doesn't seem to be anything out there. Use a base class to implement the common plugin API (generalization). The develop su

[PHP] a new XML Parser!

2002-10-30 Thread Khalid El-Kary
hi, just now i have finished a website showing a XML parser which i wrote, do you want to have a look? come in, it's free! :)) http://creaturesx.ma.cx/kxparse/ yours, khalid _ Get a speedy connection with MSN Broadband.  Join

<    1   2   3   >