Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jason Wong
On Friday 27 August 2004 12:40, Curt Zirzow wrote: > * Thus wrote John Nichel: > > John Holmes wrote: > > >Curt Zirzow wrote: > > >>Top posting is like this. > > > > How about middle posting? > > > > >Please don't top post. > > Hehe.. thats pretty good :) Lets see if someone can decipher this > top

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jason Wong
On Friday 27 August 2004 09:00, Gunter Sammet wrote: > Yes. All my local stuff does work like a charm. I'm working with osCommerce > shopping cart and all my local installs work just fine. And as I said, when > I compare it with a local install, the files don't show anything unusual. Based on the

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Curt Zirzow
* Thus wrote Yann Larrivee: > For shure a beginner will benefit from this has it is problably give him > a salary increase compared to the guy that is not certified (we all know > that php developper are under paid) So this part is good. > It will also eliminate some people out of the market for sh

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Yann Larrivee
Exactly it think that experience is probably the only valuable thing there is. For shure a beginner will benefit from this has it is problably give him a salary increase compared to the guy that is not certified (we all know that php developper are under paid) So this part is good. It will also el

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jim Grill
s> John Holmes wrote: i> d> > Curt Zirzow wrote: e> > > >> Top posting is like this. p> o> How about middle posting? s> t> > Please don't top post. i> > n> g> ?> -- J> By-Tor.com i> It's all about the Rush m> http://www.by-tor.com > G> -- r> PHP General Mailing List (http://www.php.net/)

Re: [PHP] A bit stuck with $$

2004-08-26 Thread Neil
For me echo "$test -- $foo"; results in avalue -- Neil At 02:56 PM 27/08/2004, Curt Zirzow wrote: * Thus wrote Neil: > > > Not sure if its me or the configuration of PHP variable variables are rather standard and dont have any configuration settings. > > I have played around with this bit

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Matt M.
On Thu, 26 Aug 2004 21:52:12 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote: > The site has a spot where you can search for locations in your area that > give the test. Buy a voucher and then call the nearest place giving the > test and schedule to take it. I was thinking there was (hopefully free) pr

RE: [PHP] PHP Oficial Certification

2004-08-26 Thread Ed Lazor
The site has a spot where you can search for locations in your area that give the test. Buy a voucher and then call the nearest place giving the test and schedule to take it. > -Original Message- > From: Matt M. [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 26, 2004 9:30 PM > To: Cur

Re: [PHP] Problem with sessions

2004-08-26 Thread Matt M.
> but when I use PHP's header("location: b.php"); expression a new session is > created and the data from the previous one is lost. Anyone familiar with > this problem? Any known solutions? It's been really driving me nuts! you sure the cookie is being set? try this header("Location: http://"; .

Re: [PHP] A bit stuck with $$

2004-08-26 Thread Curt Zirzow
* Thus wrote Neil: > > > Not sure if its me or the configuration of PHP variable variables are rather standard and dont have any configuration settings. > > I have played around with this bit of code from operators part of the > manual and this does not appear to work, well for me at least. >

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Matt M.
On Fri, 27 Aug 2004 03:18:31 +, Curt Zirzow <[EMAIL PROTECTED]> wrote: > go and take the practice test and find out. It is late and I am probably just missing it, but how do you take the practice exams? Do you have to buy something before you can take them? Anyone know? -- PHP General Mail

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Curt Zirzow
* Thus wrote John Nichel: > John Holmes wrote: > > >Curt Zirzow wrote: > > > >>Top posting is like this. > > How about middle posting? > > >Please don't top post. > > Hehe.. thats pretty good :) Lets see if someone can decipher this top post to a context post to a middle post to a who knows wha

Re: [PHP] Keep from using cache

2004-08-26 Thread Matt M.
> Here's the problem... > After a deletion, when the question list page is reloaded, the browser uses > the cached version of the page and the question which was just deleted is > still displayed. If you refresh the page, the question disappears. So, I > know that the deletion is working. I just ne

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread John Nichel
John Holmes wrote: Yann Larrivee wrote: If you wanna show if you can programme well, sun would do the job. I burn easily. HTF is a Sun certification going to help you get a PHP job? Like Curt said, take the practice test and then decide. Know what helps me get php jobs? A resume that details al

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread John Nichel
John Holmes wrote: Curt Zirzow wrote: Top posting is like this. How about middle posting? Please don't top post. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Jim Grill
A PHP certification can help to show a non programmer (hint: your future boss) that you know wtf you are doing. I think it's about time PHP had some kind of certification program to show the rest of the world that PHP is a serious language. There are many employers out there who think that you hav

[PHP] A bit stuck with $$

2004-08-26 Thread Neil
Not sure if its me or the configuration of PHP I am trying to get the value of a variable, a variable variable ie // From Form $name = "My Name"; --- // from a list of values in a file $var="name"; $value=$$var; i// I thought I could do something as simple as this t

Re: [PHP] Looking for a "TODO:" parser.

2004-08-26 Thread Curt Zirzow
*note: re-organized to get some humor out of this* * Thus wrote Jim Grill: > - Original Message - > From: "Rick Fletcher" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: "John Holmes" <[EMAIL PROTECTED]> > Sent: Thursday, August 26, 2004 4:53 PM > Subject: Re: [PHP] Looking for a "TOD

Re: [PHP] Looking for a "TODO:" parser.

2004-08-26 Thread Jim Grill
I'm pretty damn sure he was kidding about the parse error. Jim Grill - Original Message - From: "Rick Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "John Holmes" <[EMAIL PROTECTED]> Sent: Thursday, August 26, 2004 4:53 PM Subject: Re: [PHP] Looking for a "TODO:" parser. >

[PHP] [Newbie Guide] For the benefit of new members

2004-08-26 Thread Ma SivaKumar
=== Please feel free to add more points and send to the list. === 1. If you have any queries/problems about PHP try http://www.php.net/manual/en first. You can download a copy and use it offline also. Please also try ht

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread John Holmes
Yann Larrivee wrote: If you wanna show if you can programme well, sun would do the job. I burn easily. HTF is a Sun certification going to help you get a PHP job? Like Curt said, take the practice test and then decide. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

Re: [PHP] Problem using fread with https

2004-08-26 Thread Curt Zirzow
* Thus wrote Justin Patrin: > On Thu, 26 Aug 2004 14:40:46 -0700, Pablo Gosse <[EMAIL PROTECTED]> wrote: > > Hi folks. I'm getting the following error when attempting to use > > PEAR::HTTP_Request to check the existence of a file. > > > > It's throwing an error from fread on an https stream: > >

Re: [PHP] Re: Problem using fread with https

2004-08-26 Thread Curt Zirzow
* Thus wrote Manuel Lemos: > Hello, > > On 08/26/2004 06:40 PM, Pablo Gosse wrote: > >Hi folks. I'm getting the following error when attempting to use > >PEAR::HTTP_Request to check the existence of a file. > > > >It's throwing an error from fread on an https stream: > > > >Warning: fread(): SSL:

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Curt Zirzow
* Thus wrote Yann Larrivee: > What is a PHP certification anyway. go and take the practice test and find out. > > TO see if you know the modules/functions ? Or see if you know how to > programme well. Just hope they dont run it through a spel checker. > > If you wanna show if you can programm

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Curt Zirzow
* Thus wrote Yann Larrivee: > On Thu, 2004-08-26 at 18:07, Kevin Waterson wrote: > > This one time, at band camp, "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]> wrote: > > > > > I just saw that: http://www.phparch.com/cert/ > > > > What do they mean by 'official' certification? > > Is this sanction

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Yann Larrivee
What is a PHP certification anyway. TO see if you know the modules/functions ? Or see if you know how to programme well. If you wanna show if you can programme well, sun would do the job. Yann -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Brent Clements
I personally believe this is a great thing to have out there, especially one which has commercial backing from one of the central php development companies out there. It starts to validate PHP as an trusted, enterprise language which PHB's can start to turn to for development solutions. It can only

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread John Holmes
Curt Zirzow wrote: Top posting is like this. Please don't top post. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Curt Zirzow
Top posting is like this. * Thus wrote Gunter Sammet: > > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > Please do not top post. > > What do you mean by top post? > Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've b

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread John Holmes
Yann Larrivee wrote: Hostely, what kind of market value does the certification has? Go get sun certified at least it has some sort of history and value. Hmmm... I guess that would depend if you're trying to get a job with Sun or with PHP, wouldn't it?? Just like any other certification, this coul

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Yann Larrivee
Sorry another reply, there use to be the .geek php certification that was annonced on php.net then was removed right off like 2 days after) Was it cause of some pressure of a companie and group of people ? You tell me. It was not really professional according to me, but you cant kill the competit

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Yann Larrivee
On Thu, 2004-08-26 at 18:07, Kevin Waterson wrote: > This one time, at band camp, "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]> wrote: > > > I just saw that: http://www.phparch.com/cert/ > > What do they mean by 'official' certification? > Is this sanctioned by php.net? > Not at all. I personall

Re: [PHP] sharing records with assigned users

2004-08-26 Thread David Bevan
On Thu, 2004-08-26 at 13:49, PHP Junkie wrote: > Ave, > > Jay.. > Firstly thanks a lot for the tips. I appreciate that and in fact I do try to > go methodically in most cases, even using the pen & paper to create my flow > charts and diagrams of what I'm about to program. I actually love that > me

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Gunter Sammet
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Please do not top post. What do you mean by top post? > On Friday 27 August 2004 02:58, Gunter Sammet wrote: > > I stripped out all the front page files and if I compare files frin a > > wirjubg ubstakk with WinMerge, it

Re: [PHP] Problem using fread with https

2004-08-26 Thread Curt Zirzow
* Thus wrote Pablo Gosse: > Hi folks. I'm getting the following error when attempting to use > PEAR::HTTP_Request to check the existence of a file. > > It's throwing an error from fread on an https stream: > > Warning: fread(): SSL: fatal protocol error in > /u0/local/lib/php/Net/Socket.php on l

Re: [PHP] Setcookie variable use issue after moving php app to di fferent server

2004-08-26 Thread Curt Zirzow
* Thus wrote Shapiro, David: > You certainly know your stuff. Unfortunatley, it says that is uses > /etc/php.ini, which I did modify, but it also reports register_globals as > still off too. It does show a scan dir for additional .ini files > (/etc/php.d and additional ini files parsed as ldap.in

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Justin Patrin
On Thu, 26 Aug 2004 14:47:17 -0700, Jeff - Webmaster <[EMAIL PROTECTED]> wrote: > Removing the "." got rid of most of the errors, but two remain: > > Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4 > > Notice: Undefined variable: message in E:\domains\swinos\contact

Re: [PHP] Problem using fread with https

2004-08-26 Thread Justin Patrin
On Thu, 26 Aug 2004 14:40:46 -0700, Pablo Gosse <[EMAIL PROTECTED]> wrote: > Hi folks. I'm getting the following error when attempting to use > PEAR::HTTP_Request to check the existence of a file. > > It's throwing an error from fread on an https stream: > > Warning: fread(): SSL: fatal protocol

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Turned out to be something different about PHP 4.3.8 vs. 4.3.4. That was the only difference between the two servers. As soon as I corrected that, all files are working like they used to. Thanks for your help. Jeff At 05:22 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Intersting. Thi

[PHP] Re: Problem using fread with https

2004-08-26 Thread Manuel Lemos
Hello, On 08/26/2004 06:40 PM, Pablo Gosse wrote: Hi folks. I'm getting the following error when attempting to use PEAR::HTTP_Request to check the existence of a file. It's throwing an error from fread on an https stream: Warning: fread(): SSL: fatal protocol error in /u0/local/lib/php/Net/Socket.

Re: [PHP] Re: HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
Manuel Lemos wrote: Hello, On 08/26/2004 02:12 PM, Jeff Oien wrote: I'm using the code below and about a third of the posts aren't getting through. We have no idea why and don't know where to start to trouble shoot. Any ideas? Thanks. Are you sure the data is always URL encoded? Anyway, some ser

[PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-26 Thread Torsten Roehr
"Andre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Hello > > Someone now how to paste values for one pop-up. And this pop-up is one frame > I am doing like this to open pop-up > > echo" onclick=\"NewWindow('fact_imprime.php?factura_id=$factura_id','Ficha','700', > '300','no',

Re: [PHP] sharing records with assigned users

2004-08-26 Thread Torsten Roehr
"Php Junkie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ave, > > I'm working on a Phonebook Application for my company. Much of it's > functions and application are pretty much clear and workable for me. But > there's one aspect which I'm trying to figure out. > > It's a multi-us

Re: [PHP] PHP Oficial Certification

2004-08-26 Thread Kevin Waterson
This one time, at band camp, "Marcos Thiago M. Fabis" <[EMAIL PROTECTED]> wrote: > I just saw that: http://www.phparch.com/cert/ What do they mean by 'official' certification? Is this sanctioned by php.net? Kevin - __ (_ \

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
Jeff - Webmaster wrote: Removing the "." got rid of most of the errors, but two remain: Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4 Notice: Undefined variable: message in E:\domains\swinos\contact.php on line 12 The offending lines are: 4 - $headers = "MIME-Ve

Re: [PHP] Looking for a "TODO:" parser.

2004-08-26 Thread Rick Fletcher
This recursively gets you file path/name, line number, the matching line and the 2 that follow it. $ grep -HrnA 2 "TODO:" /path/to/code/root I get a parse error when I put that in my PHP file... That's not PHP code. It's the syntax for using a program called "grep" on the command line which wou

Re: [PHP] US / Canada Zip Codes List

2004-08-26 Thread Greg Donald
On Thu, 2004-08-26 at 15:42, Eugene Voznesensky wrote: > As a online merchant I want to accept US (m.b. Canadian) Credit Cards ONLY for > online payments. I am going to use Payflow Pro /PHP. > > How can I check US (Canada) zipcode before transaction request? I'm not sure the URL right off hand

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Removing the "." got rid of most of the errors, but two remain: Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4 Notice: Undefined variable: message in E:\domains\swinos\contact.php on line 12 The offending lines are: 4 - $headers = "MIME-Version: 1.0\r\n"; and 12 -

[PHP] Keep from using cache

2004-08-26 Thread Robb Kerr
Here's the scenario... I am building a courseware builder. The page on which someone builds the test displays the questions which have already been entered followed by an insert form to create a new one. When a new question is created and the page is reloaded, the new question is displayed. But, al

[PHP] Problem using fread with https

2004-08-26 Thread Pablo Gosse
Hi folks. I'm getting the following error when attempting to use PEAR::HTTP_Request to check the existence of a file. It's throwing an error from fread on an https stream: Warning: fread(): SSL: fatal protocol error in /u0/local/lib/php/Net/Socket.php on line 263 Line 263 is as follows: return

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
Jeff - Webmaster wrote: Intersting. This is the same pair of html and php files that was functional on another server. Can you think of any reason that could account for the difference? default error_reporting levels... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E

[PHP] Problem with sessions

2004-08-26 Thread gregosh
I am using a 4.3.2. version of PHP on Apache 1.3 Win2k. Here's the problem I've come across - when I jump from a page a.php to b.php using http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTTP_POST Intermittent Problem

2004-08-26 Thread Manuel Lemos
Hello, On 08/26/2004 02:12 PM, Jeff Oien wrote: I'm using the code below and about a third of the posts aren't getting through. We have no idea why and don't know where to start to trouble shoot. Any ideas? Thanks. Are you sure the data is always URL encoded? Anyway, some servers intentionally re

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Intersting. This is the same pair of html and php files that was functional on another server. Can you think of any reason that could account for the difference? Jeff At 01:51 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Another website dies on line 4 here: $headers .= "MIME-

RE: [PHP] Looking for a "TODO:" parser.

2004-08-26 Thread Daevid Vincent
I've only got some of my functions converted to 'doc' style comments. This seems to require all my //TODO: be up in the /** */ section. Many of my //TODO: comments are inline, say, before a loop, or in other parts of code (many are not even in functions). Hmm... Well, I'll give it a few more day

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Nichel
Jeff - Webmaster wrote: Here is a snippet of the code that is being choked on. The first failure comes from line 6: The variables are being passed from an html form that calls this script with the post method. Jeff If you're going to use the super-global $_POST, why do you need globals on? Any

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
Jeff - Webmaster wrote: Another website dies on line 4 here: $headers .= "MIME-Version: 1.0\r\n"; Well, in this case it's becaue $headers is undefined, yet you're trying to concatinate another string to it. Thus the warning... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registr

[PHP] US / Canada Zip Codes List

2004-08-26 Thread Eugene Voznesensky
As a online merchant I want to accept US (m.b. Canadian) Credit Cards ONLY for online payments. I am going to use Payflow Pro /PHP. How can I check US (Canada) zipcode before transaction request?

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Nichel
John Holmes wrote: I have mind reading turned off for the time being. It's a good thing I'm a nice guy. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sharing records with assigned users

2004-08-26 Thread PHP Junkie
Ave, That makes sense... Actually I think I know exactly what you're saying and I think it's gonna work that way. Let me do this. Thanks a ton! On 8/26/04 2:42 PM, "Jason Wong" <[EMAIL PROTECTED]> wrote: > On Friday 27 August 2004 01:49, PHP Junkie wrote: > >> Coming back again to my probl

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jason Wong
Please do not top post. On Friday 27 August 2004 02:58, Gunter Sammet wrote: > I stripped out all the front page files and if I compare files frin a > wirjubg ubstakk with WinMerge, it tells me that they are identical (at > least all of the unmodified files). Can't find any invisible caracters wit

[PHP] PHP Oficial Certification

2004-08-26 Thread Marcos Thiago M. Fabis
I just saw that: http://www.phparch.com/cert/

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Another website dies on line 4 here: $to = "[EMAIL PROTECTED]"; $subject = "Swinos.com Booking Contact - $name"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: swinos.com <[EMAIL PROTECT

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Here is a snippet of the code that is being choked on. The first failure comes from line 6: The variables are being passed from an html form that calls this script with the post method. Jeff At 12:06 PM 8/26/2004, John Holmes wrote: From: "Jeff - HarborNet" <[EMAIL PROTECTED]> Hello all. I jus

Re: [PHP] Looking for a "TODO:" parser.

2004-08-26 Thread John Holmes
From: "Rick Fletcher" <[EMAIL PROTECTED]> This recursively gets you file path/name, line number, the matching line and the 2 that follow it. $ grep -HrnA 2 "TODO:" /path/to/code/root I get a parse error when I put that in my PHP file... ---John Holmes... -- PHP General Mailing List (http://www.ph

[PHP] paste values for one pop-up. And this pop-up is one frame

2004-08-26 Thread Andre
Hello Someone now how to paste values for one pop-up. And this pop-up is one frame I am doing like this to open pop-up echo" "; And in the pop-up I do like this. echo"$_REQUEST[factura_id]"; Thanks for the help...

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
From: "Jeff - HarborNet" <[EMAIL PROTECTED]> Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copy

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Nichel
Jeff - Webmaster wrote: Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copying a known-good php.

Re: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Gunter Sammet
I stripped out all the front page files and if I compare files frin a wirjubg ubstakk with WinMerge, it tells me that they are identical (at least all of the unmodified files). Can't find any invisible caracters with WinMerg in the "not identical" files. How does the php parser or Apache determine

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
The error reporting level is the same as it was for the same websites on a different server that is working. Jeff At 11:49 AM 8/26/2004, Greg Donald wrote: On Thu, 2004-08-26 at 12:55, Jeff - Webmaster wrote: > Hello all. I just finished placing a new server in production and PHP is > not working

Re: [PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
Matt M. wrote: can you use PEAR? There is already a bunch of http packages http://pear.php.net/package-search.php?pkg_name=http&bool=AND&submit=Search I've taken a look at that and don't know the first thing about how to implement or use it. Are there any tutorials out there? Plus, I don't know i

Re: [PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
Jay Blanchard wrote: [snip] I'm using the code below and about a third of the posts aren't getting through. We have no idea why and don't know where to start to trouble shoot. Any ideas? Thanks. [/snip] Have you checked the http access and error logs? On their end? Yes they can see each attempt

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Greg Donald
On Thu, 2004-08-26 at 12:55, Jeff - Webmaster wrote: > Hello all. I just finished placing a new server in production and PHP is > not working. I am getting undefined variable messages when trying to submit > php based forms. Register Globals is on in php.ini, but it still does not > work. I have

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
From: "Jeff - Webmaster" <[EMAIL PROTECTED]> Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copy

Re: [PHP] sharing records with assigned users

2004-08-26 Thread Jason Wong
On Friday 27 August 2004 01:49, PHP Junkie wrote: > Coming back again to my problem.. > If, in the table I'm storing my records, I create a field which stores the > Users allowed access to that particular record, then in case of multiple > users, that single field will hold multiple user names...

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread Jason Wong
On Friday 27 August 2004 01:28, Lester Caine wrote: [yada yada] > Loading Mozilla on the problem machines gives a clean page with the > correct pop-up's so I simply don't know what to try next. When this sort > of thing was happening during development it was usually tracked to > faulty PHP, but

[PHP] recognizing modules problem

2004-08-26 Thread Randall Kindley
I am in the process of installing php 5 (have never had probs with earlier versions - am running php/mysql on an apache server on my windows xp machine) and am having problems with module recognition (I especially need mysql!). I have wrestled and reinstalled php 5 several times, following assiduou

RE: [PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Jay Blanchard
[snip] I'm using the code below and about a third of the posts aren't getting through. We have no idea why and don't know where to start to trouble shoot. Any ideas? Thanks. [/snip] Have you checked the http access and error logs? -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Matt M.
> function http_post($host, $path, $data) > { > $http_response = ''; > $content_length = strlen($data); > > $fp = fsockopen($host, 80); > fputs($fp, "POST $path HTTP/1.1\r\n"); > fputs($fp, "Host: $host\r\n"); > fputs($fp, "Content-Type: application/x-www-form-u

Re: [PHP] Looking for a "TODO:" parser.

2004-08-26 Thread Rick Fletcher
I'm looking for a program that will run through a directory tree and parse all the files (ideally by extension, like *.php, *.js, *.html, *.c) and give me a formatted output (or HTML table or something useful). It should include the //TODO of course, the path/file, the line(s), and perhaps other th

RE: [PHP] problem with front page files downloaded to dev machine OT

2004-08-26 Thread Jay Blanchard
[snip] I downloaded files via FTP from a site published with FrontPage and active Front Page extensions. When I try to run them on my local machine, php files are not recognized and parsed by Apache. IE gives me the save to dialog and Mozilla displays binary garbage. Checking the FTP log, it says t

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread Miles Thompson
Most likely this is a consequence of Windows XP SP2, one of its side effects is blocking of popups in IE. Strange, like smokers becoming non-smokers. Check Sunbelt Software for some workarounds, they identified the problem about 12 da ago. Cheers - Miles At 01:11 PM 8/26/2004, Jason Wong wrote:

[PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copying a known-good php.ini from another server

RE: [PHP] sharing records with assigned users

2004-08-26 Thread Jay Blanchard
[snip] If, in the table I'm storing my records, I create a field which stores the Users allowed access to that particular record, then in case of multiple users, that single field will hold multiple user names... Which is a problem for me. And I might be applying a very wrong approach, logically, w

Re: [PHP] sharing records with assigned users

2004-08-26 Thread PHP Junkie
Ave, Jay.. Firstly thanks a lot for the tips. I appreciate that and in fact I do try to go methodically in most cases, even using the pen & paper to create my flow charts and diagrams of what I'm about to program. I actually love that method of designing an application. In fact, for this Phoneboo

RE: [PHP] sharing records with assigned users

2004-08-26 Thread Jay Blanchard
[snip] There is one feature that Admin gets which I'm trying to figure out. When the Admin is adding a record, he gets to decide which users he wants to share the record with. He can choose particular Users by clicking on their name to share that record with. How do I make that happen? Any suggest

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread Lester Caine
Jason Wong wrote: Lester Caine wrote: The PHP application is working fine everywhere else. If you are bothered about me asking for help getting it working with crappy browsers just don't bother to post at all OK here are the 'facts': - "This seems to be happening on sites where recent IE 'secu

[PHP] Anyone ever use ToolBook to be client to PHP server scripts?

2004-08-26 Thread Bestman4unowwa
I'm trying to connect a ToolBook cleint to send via HTTP Post some user information but I'm having trouble making the connection. I'm sending variables with TB HTTP Post but they don't seem to get to the PHP script I'm sending them to. In my php script I'm trying to get the data sent to it using

[PHP] HTTP_POST Intermittent Problem

2004-08-26 Thread Jeff Oien
I'm using the code below and about a third of the posts aren't getting through. We have no idea why and don't know where to start to trouble shoot. Any ideas? Thanks. Jeff function http_post($host, $path, $data) { $http_response = ''; $content_length = strlen($data); $fp = fsockop

[PHP] problem with front page files downloaded to dev machine

2004-08-26 Thread Gunter Sammet
Hi all: I downloaded files via FTP from a site published with FrontPage and active Front Page extensions. When I try to run them on my local machine, php files are not recognized and parsed by Apache. IE gives me the save to dialog and Mozilla displays binary garbage. Checking the FTP log, it says

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread Jason Wong
On Thursday 26 August 2004 22:37, Lester Caine wrote: > > Lester Caine wrote: > The PHP application is working fine everywhere else. If you are bothered > about me asking for help getting it working with crappy browsers just > don't bother to post at all OK here are the 'facts': - "This see

RE: [PHP] Setcookie variable use issue after moving php app to di fferent server

2004-08-26 Thread Shapiro, David
Yes, I am afraid so. Both are marked as off. -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 12:08 PM To: Shapiro, David; [EMAIL PROTECTED] Cc: Perry, Joe (ITCD) Subject: Re: [PHP] Setcookie variable use issue after moving php app to differ

[PHP] sharing records with assigned users

2004-08-26 Thread PHP Junkie
Ave, I'm working on a Phonebook Application for my company. Much of it's functions and application are pretty much clear and workable for me. But there's one aspect which I'm trying to figure out. It's a multi-user application where there's 2 kinds of users... Admin & User. The User can only vie

Re: [PHP] Setcookie variable use issue after moving php app to different server

2004-08-26 Thread John Holmes
From: "Shapiro, David" <[EMAIL PROTECTED]> You certainly know your stuff. Unfortunatley, it says that is uses /etc/php.ini, which I did modify, but it also reports register_globals as still off too. It does show a scan dir for additional .ini files (/etc/php.d and additional ini files parsed as l

RE: [PHP] Setcookie variable use issue after moving php app to di fferent server

2004-08-26 Thread Shapiro, David
You certainly know your stuff. Unfortunatley, it says that is uses /etc/php.ini, which I did modify, but it also reports register_globals as still off too. It does show a scan dir for additional .ini files (/etc/php.d and additional ini files parsed as ldap.ini, mysql.ini, and odbc.ini too, but I

Re: [PHP] download filesize problem with IE

2004-08-26 Thread Markus Mayer
At the moment you're talking about two different things - uploading and downloading. Your IE download problem has nothing to do with the php.ini settings for uploaded file sizes. There is nothing you can do with PHP to resolve the download problem. I have experienced the same problems with fi

[PHP] Re: exploding

2004-08-26 Thread Daniel Schierbeck
M. Sokolewicz wrote: Jake McHenry wrote: Hi everyone. Is there a way to explode by every character in the variable? Example: $var = "8"; $test = explode("", $var); output would be $test[0] = 0; $test[1] = 0; $test[2] = 0; $test[3] = 0; $test[4] = 8; Can I get an array like that? Thanks, Jake M

Re: [PHP] Re:[PHP] imap_search and results

2004-08-26 Thread Greg Donald
On Thu, 2004-08-26 at 09:25, fongming wrote: > for($i=0;$i { > [EMAIL PROTECTED]($mbox,$mails[$x-1]); > echo $subject=$h->subject; > echo $sender=$h->from[0]; > echo ""; > } Calling count() every time the for loop iterates is inefficient. $count = count($mails); for($i=0; $i<$count; $i++){ }

Re: [PHP] Web functional testing tools?

2004-08-26 Thread Geoff Caplan
Doug, DK> SimpleTest's WebTester package is definitely an acceptance/functional DK> testing framework. If you'd prefer not to specify your test's in PHP you DK> could look at something like Canoo WebTest which uses XML. Apologies: I had overlooked the WebTester functionality within SimpleTest. I'

[PHP] Re: XML_sql2xml

2004-08-26 Thread Torsten Roehr
"Brian Anderson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I am trying to install XML_sql2xml > > I followed the directions to install XML_sql2xml at: > > http://php.chregu.tv/sql2xml > > I used pear and typed: > > "pear install XML_sql2xml" > > The result I got was:

  1   2   >