Re: [PHP] Is it worth $49? - codeSECURE 1.0 released - - Protecting PHP code

2003-10-23 Thread John Black
Hi Andrei, Thank you for writing. >I have read announcement about CodeSecure. I am sorry to say, but I am >not sure this product is worth $49. No problem, that is totally your opinion and you have a right to it. > The problem is not $49, which is very small amount indeed, Yes, this is aimed at

Re: [PHP] Age from birthdate?

2003-10-23 Thread Ryan A
Now HERES a good PHP related thread thats been going on for around 2 days...:-D >Yes, but think about all the presents, hangovers, etc. they miss. On Thursday 23 Oct 2003 2:12 am, Mike Migurski wrote: > >> >I do wonder what the rule for those born on Feb 29'th. Do they > >> >celebrate they're

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Golawala, Moiz M (IndSys, GE Interlogix)
It seems that there is a problem with the session management on windows/apache. I was surfing the web to find an answer, and I noticed that there are couple of other people who have the same problem. But alas, there were no answers posted to this problem. So someone, please help me if you know w

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Pablo Gosse
Strange, because I just set up the code exactly as posted below, under Win2K and Apache 2.0, and it worked fine. Cheers, Pablo -Original Message- From: Golawala, Moiz M (IndSys, GE Interlogix) [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:11 PM To: Daniel Guerrier; [EMAIL

Re: [PHP] Age from birthdate?

2003-10-23 Thread Nicholas Robinson
Oh, you're such a pedant. On Thursday 23 Oct 2003 9:08 pm, Ryan A wrote: > Now HERES a good PHP related thread thats been going on for around 2 > days...:-D > > >Yes, but think about all the presents, hangovers, etc. they miss. > > On Thursday 23 Oct 2003 2:12 am, Mike Migurski wrote: > > >> >I do

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Curt Zirzow
* Thus wrote Daniel Guerrier ([EMAIL PROTECTED]): > Use > $_SESSION['var'] > > instead of > > $_SESSION["var"] This doesn't matter. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Dennis Sterzenbach
"Pablo Gosse" <[EMAIL PROTECTED]> wrote: Strange, because I just set up the code exactly as posted below, under Win2K and Apache 2.0, and it worked fine. Cheers, Pablo -Original Message- From: Golawala, Moiz M (IndSys, GE Interlogix) [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Curt Zirzow
* Thus wrote Golawala, Moiz M (IndSys, GE Interlogix) ([EMAIL PROTECTED]): > > I noticed that 2 cookies were created one for each session start. When I opened one > of the cookies, I noticed that the data "Please help" was in the session cookie. > Somehow php thinks a session is not already crea

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Vail, Warren
are you using "session save handler" routines? If not make sure you have a "/tmp" directory on your server, in fact you can check phpinfo() to find out what the session save directory is (provided you are not using save handler routines). good luck Warren Vail -Original Message- From: C

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Golawala, Moiz M (IndSys, GE Interlogix)
This is what is defined in the php.ini file for save handler routines.. I am newbie, I left it with default values: session.save_handler = files session.save_path = c:/Program Files/Apache Group/Apache2/htdocs/Alarms/ thanks moiz -Original Message- From: Vail, Warren [mailto:[EMAIL PRO

Re: [PHP] Age from birthdate?

2003-10-23 Thread Ryan A
Nope, am a newbie here and I myself admit my grasp of php aint aint the best, but dont you think something as "interesting" as this should be discusses offlist? (And yes, I do see the irony of cc'ing this to the list...) Lastly, where in the world did you get "pedant"? word for the day or somethi

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Dennis Sterzenbach
"Moiz M Golawala" <[EMAIL PROTECTED]> wrote: > This is what is defined in the php.ini file for save handler routines.. > I am newbie, I left it with default values: > > session.save_handler = files > session.save_path = c:/Program Files/Apache Group/Apache2/htdocs/Alarms/ > > thanks > moiz Change

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Golawala, Moiz M (IndSys, GE Interlogix)
I was surfing the web to find out if I was the only one with this strange problem and I found out that I was not alone.. Aparently there was a bug in php version 4.1.0 regarding this. However there is no bugs like this noted for php version 4.3.2 (which is what I am running). rgds moiz -O

[PHP] Re: Attachments with Mail()

2003-10-23 Thread Manuel Lemos
Hello, On 10/23/2003 09:13 AM, Don Mc Nair wrote: Can anyone tell me how to add a file as an attachment to an email sent with something like the following ? $headers = "From: <".$fromaddress.">\r\n"; $headers .= "Reply-To: <$fromaddress>\r\n"; mail($toaddress, $subject, $mailcontent, $headers

[PHP] Re: File attachment to mail() doesn't work....

2003-10-23 Thread Scott Fletcher
The problem I was having turned out that I need to add extra "\n" to some of the lines to the $EmailMsg. It turned out that MS-Outlook doesn't work without some extra "\n" for some reason. Some other people told me they have this same problem with different Mail Client software as well, so it see

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Vail, Warren
while this doesn't mean that save handler routines are not used, it provides some clues. Does the directory pointed to by the session.save_path contain session files (they will usually have an encrypted filename)? save handler routines are actually defined in your php files, usually dynamically,

[PHP] Re: problem with intval and !=

2003-10-23 Thread DvDmanDT
Outputs Number: 12, Value: 12.3 Bad for me running XP home nosp, Apache 1.3.28 mod_php 4.3.4rc2, or as standalone cgi... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Cesar Cordovez" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Can somebody explain me why is

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Chris Shiflett
--- Daniel Guerrier <[EMAIL PROTECTED]> wrote: > Use > $_SESSION['var'] > > instead of > > $_SESSION["var"] That won't make any difference. As for the original question, I don't notice any immediate problems with the code: > > in page1.php: > > > $_SESSION["var"] = "Please help"; ?> > >

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Golawala, Moiz M (IndSys, GE Interlogix)
Hi Warren, Ahh.. now i know what you mean by save handler routines.. I don't have any in any of my php files. yes, the save_path was pointing to the place where I have the web files stored. I can see the session files in that directory. I have tried to point to another directory too. But I hav

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Golawala, Moiz M (IndSys, GE Interlogix)
Chris, I am sorry to call it a cookie.. I see the data in a session file (not a cookie) I don't have a html file. I simply call the .php file by typing the url as http://localhost/page1.php Thanks moiz -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Thursday, O

[PHP] Ways to break up XML into Arrays????

2003-10-23 Thread Scott Fletcher
Hi Fellas! I don't want to use the PHP's XML feature at this moment because I found out that I need to recompile PHP with the XML support which I can't do at this moment. So, instead of recompiling, does anyone know of a good sample coding or class out there on the Internet that would work

[PHP] New Install - 405 Method Errors

2003-10-23 Thread Jeff - Harbornet
We are installing PHP 4.3.3 on a web server (NT4, IIS 4.0). When attempting to run the following script, We are getting the classic: 405 Method Not Allowed The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MI

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Chris Shiflett
--- "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> wrote: > I am sorry to call it a cookie.. I see the data in a session file > (not a cookie) OK, so you just look in this file manually? > I don't have a html file. I simply call the .php file by typing the > url as http://localhos

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Vail, Warren
Sounds to me like the browser you are using has cookies disabled? Curious, do you see a parameter in your php.ini labeled session.name? In fact, why don't you compare your setup to the following from a foxserv installation of sessions; Directive Local Value M

RE: [PHP] PHP not remembering sessions

2003-10-23 Thread Golawala, Moiz M (IndSys, GE Interlogix)
I added the code you mentioned. Below is the result from the browser. I notice that the sessionId is the correct one from the previous page. I think this is good new.. :) 2 [Array ( [PHPSESSID] => 0572d98f00483accdc6e61348b359287 [loopCount] => 2 ) ] Thanks moiz -Original Message--

[PHP] What does the word 'parse' meant when you do a XML parse...

2003-10-23 Thread Scott Fletcher
What does the word, 'parse' meant when you do a XML parse? What is it and what does it exactly do? Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What does the word 'parse' meant when you do a XML parse...

2003-10-23 Thread Chris Shiflett
--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > What does the word, 'parse' meant when you do a XML parse? http://dictionary.reference.com/search?q=parse http://en.wikipedia.org/wiki/Parse Hope that helps. Chris = My Blog http://shiflett.org/ HTTP Developer's Handbook http://http

[PHP] Re: What does the word 'parse' meant when you do a XML parse...

2003-10-23 Thread Dennis Sterzenbach
"Scott Fletcher" <[EMAIL PROTECTED]> wrote: > What does the word, 'parse' meant when you do a XML parse? What is it and > what does it exactly do? > > Thanks, > Scott F. Sorry, but I don't get clearly what you are asking for. Could you ask your question again being more precise? -- Dennis Ster

Re: [PHP] Age from birthdate?

2003-10-23 Thread Mike Migurski
>Lastly, where in the world did you get "pedant"? word for the day or >something? :-D Thats a real unusual word for normal everyday use, unless >you were trying to act pedant?? :- The correct adverbial form is "pedantically" ;) ---

[PHP] Conversion project problem

2003-10-23 Thread Mike Alderson
Hello all. I am trying to gather information from one database, process it, and insert it into a new one. When I run this script I am getting the following error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\web\aldersonfamily\convert.php on line 1

Re: [PHP] Conversion project problem

2003-10-23 Thread Eugene Lee
On Thu, Oct 23, 2003 at 03:51:30PM -0700, Mike Alderson wrote: : : I am trying to gather information from one database, : process it, and insert it into a new one. When I run : this script I am getting the following error: : : Warning: mysql_fetch_array(): supplied argument is not : a valid My

RE: [PHP] Conversion project problem

2003-10-23 Thread Vail, Warren
On the insert query remove the "$result = " since the insert will return a null and wipe out the result set produced by the first query. Warren Vail -Original Message- From: Mike Alderson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 3:52 PM To: [EMAIL PROTECTED] Subject: [PH

Re: [PHP] What does the word 'parse' meant when you do a XML parse...

2003-10-23 Thread John Nichel
Scott Fletcher wrote: What does the word, 'parse' meant when you do a XML parse? What is it and what does it exactly do? Thanks, Scott F. Ummm...it parses the XML document. Yeah, yeah, good answer!!! -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http:

Re[2]: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Tom Rogers
Hi, Friday, October 24, 2003, 2:11:43 AM, you wrote: PG> Hi Tom. >> make sure you have ENCTYPE="multipart/form-data" in the form tag PG> Thanks for the tip, but that's not the problem. My code is below, and PG> as you can see there is nothing in the code that would be causing this. PG> It has t

[PHP] Replacing text in a PDF file -- suggestions.

2003-10-23 Thread Ray Van Dolson
I have a PDF file generated in Adobe Acrobat 5.0 in which there are several fields I would like to make customizeable. My thought was to create fields in the PDF file named %%STUDENT_NAME%% and then basically do a search/replace on the PDF file with PHP resulting in a PDF with the student's na

Re[2]: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Tom Rogers
Hi, Friday, October 24, 2003, 2:11:43 AM, you wrote: PG> Hi Tom. >> make sure you have ENCTYPE="multipart/form-data" in the form tag PG> Thanks for the tip, but that's not the problem. My code is below, and PG> as you can see there is nothing in the code that would be causing this. PG> It has t

Re: [PHP] Replacing text in a PDF file -- suggestions.

2003-10-23 Thread Curt Zirzow
* Thus wrote Ray Van Dolson ([EMAIL PROTECTED]): > > Anyways, just looking for some suggestions. Right now I am thinking > that generating the PDF file myself will be easier than figuring out how > to match and replace text in Adobe's PDF 5+ files. FDF... http://php.net/fdf Curt -

[PHP] Code optimization: single vs. double quotes?

2003-10-23 Thread Shawn McKenzie
I came across this post and was hoping to get a gurus opinion on the validity. TIA -Shawn I remember reading somewhere re: PHP coding that it is a better coding practice to use single quotes as much as possible vs. using double quotes in scripts. When using double quotes, you are forcing PHP to

Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread Ryan Thompson
Try looking through http://pear.php.net for something. On Thursday 23 October 2003 17:02, Scott Fletcher wrote: > Hi Fellas! > > I don't want to use the PHP's XML feature at this moment because I > found out that I need to recompile PHP with the XML support which I can't > do at this moment.

Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread Raditha Dissanayake
While it's possible to process XML using regular expression. The whole point of using XML is that you wouldn't have to use hacked solutions like that :-) Scott Fletcher wrote: Hi Fellas! I don't want to use the PHP's XML feature at this moment because I found out that I need to recompile PH

Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread daniel
> Try looking through http://pear.php.net for something. > check out the xml functions, its an xml parser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread John Nichel
>On Thursday 23 October 2003 17:02, Scott Fletcher wrote: Hi Fellas! I don't want to use the PHP's XML feature at this moment because I found out that I need to recompile PHP with the XML support which I can't do at this moment. So, instead of recompiling, does anyone know of a good sample c

Re: [PHP] Code optimization: single vs. double quotes?

2003-10-23 Thread Jordan S. Jones
I remember reading something very very similar from one of the main php developers.. However, for the life of me, I can't remember where it was exactly... Jordan S. Jones Shawn McKenzie wrote: I came across this post and was hoping to get a gurus opinion on the validity. TIA -Shawn I remembe

Re: [PHP] Code optimization: single vs. double quotes?

2003-10-23 Thread Robert Cummings
On Thu, 2003-10-23 at 20:43, Shawn McKenzie wrote: > I came across this post and was hoping to get a gurus opinion on the > validity. TIA > > -Shawn > > I remember reading somewhere re: PHP coding that it is a better coding > practice to use single quotes as much as possible vs. using double quo

[PHP] Re: Code optimization: single vs. double quotes?

2003-10-23 Thread Shawn McKenzie
Thanks guys! I want to hear all opinions, but hopefully a PHP dev will give us the straight poop. -Shawn "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I came across this post and was hoping to get a gurus opinion on the > validity. TIA > > -Shawn > > I remember

[PHP] Problem with RAND()

2003-10-23 Thread Chuck PUP Payne
Hi, I am trying to understand how RAND (), because I've had this problem before with other langs., I am using with this with MySQL statement that is in my php script, but it's only put the first files. I only have three files, do I need more files in my database? Is RAND() or RAND (), please help

Re: [PHP] Images being uploaded in ASCII format

2003-10-23 Thread Michael Mauch
Pablo Gosse wrote: > Hi Raditha. Thanks very much for your reply. I've not been having much > luck with this one. > > This is how the images should appear: > http://web.unbc.ca/~gossep/sample_images/1.gif > http://web.unbc.ca/~gossep/sample_images/nav-02.jpg > > And here is how they appear afte

Re: [PHP] Re: Code optimization: single vs. double quotes?

2003-10-23 Thread Jason Wong
On Friday 24 October 2003 10:58, Shawn McKenzie wrote: > Thanks guys! I want to hear all opinions, but hopefully a PHP dev will > give us the straight poop. Why? This issue has been thoroughly discussed to death (well maybe not quite as people still like to bring it up now and again). Just run

Re: [PHP] Problem with RAND()

2003-10-23 Thread Jason Wong
On Friday 24 October 2003 11:02, Chuck PUP Payne wrote: > I am trying to understand how RAND (), because I've had this problem before > with other langs., I am using with this with MySQL statement that is in my > php script, but it's only put the first files. I only have three files, do > I need m

[PHP] php cgi

2003-10-23 Thread Michael P. Carel
Hi, I have here a problem for having the php-cgi binary in linux. I compiled php with php-cli and php-cgi but after installation i can't find the php-cgi binary, i only have the php-cli under /usr/local/bin/. Any idea why? Please help.. here's what i've did: './configure' '--with-mysql' '--with

<    1   2