Re: [PHP] Looking for help with Forms and Mailing them

2004-08-26 Thread Bradleigh Simms
Thanks for the link! -- Linds On Wed, 25 Aug 2004 21:44:22 -0700 Justin Patrin [EMAIL PROTECTED] writes: On Wed, 25 Aug 2004 19:13:08 -0600, Bradleigh Simms [EMAIL PROTECTED] wrote: Alright I'm apparently a complete dunce where PHP is concerned. I've tried to read the tutorials and

Re: [PHP] Is javascript enable?

2004-08-26 Thread Torsten Roehr
Marcos Thiago M. Fabis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i share your opinion, but belive-me when i say that this situation requires it. i have to check if it´s inside frames, pass values for only one a respective frame that is responsable for logging, start

Re: [PHP] crypt()

2004-08-26 Thread Torsten Roehr
Afan Pasalic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everyone! My hosting company has global turned on. But I want to code using more safe global off. My question though is how I can do it locally, in my script? I tried to use ini_set(register_globals, FALSE); but it

[PHP] Re: crypt()

2004-08-26 Thread Torsten Roehr
Aaron Todd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have developed a PHP based site that requires users to login. Their login information is kept in a MYSQL database. Currently, I am using an IF statement to verify what the user enters as their password with what is in the

Re: [PHP] Odd behaviour of non-existent keys?

2004-08-26 Thread Geoff Caplan
Hi folks, Michael Sims wrote: MS IMHO what you have described is a bug in PHP, and if I were you, MS I'd report it as such. If it's not a bug it at least has a very MS high WTF factor. Problem with reporting is that I am using Debian Test and the current PHP version is too old to report. If

[PHP] Web functional testing tools?

2004-08-26 Thread Geoff Caplan
Hi folks, Just setting out on a major new project, and this time I want to set up a comprehensive regression testing from the start: I've learned the hard way that manual testing is not the way to go! But looking at open-source web application frameworks, most of them are very Java specific, or

Re: [PHP] Web functional testing tools?

2004-08-26 Thread Doug Kearns
On Thu, Aug 26, 2004 at 10:58:43AM +0100, Geoff Caplan wrote: Hi folks, Just setting out on a major new project, and this time I want to set up a comprehensive regression testing from the start: I've learned the hard way that manual testing is not the way to go! But looking at open-source

[PHP] ini_set('include_path') and require_once()

2004-08-26 Thread BigSmoke
Hi, In the following code, require_once() borks, complaining: Failed opening required 'includes/companies.php' (include_path='.:..') ini_set(include_path, ../../php); require_once('includes/common.php'); require_once('includes/validate.php'); require_once('includes/company.php');

Re: [PHP] Closing my Window after Download

2004-08-26 Thread PHP Junkie
Ave, Trust me John, I would not post here without trying out many javascript functions first. In fact, the reason I posted here is because I began to think that a PHP script like that won't allow the window to close, because from window.close() to self.close() to various Timeout Close scripts,

RE: [PHP] Odd behaviour of non-existent keys?

2004-08-26 Thread Michael Sims
Geoff Caplan wrote: Michael Sims wrote: IMHO what you have described is a bug in PHP, and if I were you, I'd report it as such. If it's not a bug it at least has a very high WTF factor. Problem with reporting is that I am using Debian Test and the current PHP version is too old to report.

Re: [PHP] Web functional testing tools?

2004-08-26 Thread Geoff Caplan
Doug, What do people recommend for the functional testing of PHP data-driven apps? (By functional testing I mean testing the application as a whole, as opposed to unit testing.) DK http://www.lastcraft.com/simple_test.php#web I'm aware of SimpleTest, but it's very much a unit testing

Re: [PHP] Odd behaviour of non-existent keys?

2004-08-26 Thread Geoff Caplan
Thanks for your help, everyone, especially Michael Sims. I've reported the bug: http://bugs.php.net/bug.php?id=29848 -- Geoff Caplan Vario Software Ltd (+44) 121-515 1154 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: crypt()

2004-08-26 Thread Aaron Todd
Thanks for the tip, it worked great, however everything I have been reading says that md5 is only one way. The way I have setup my app is the database contains the encrypted version of what the user entered as their password. Then on my login page there is an if statement that encrypts what

[PHP] Setcookie variable use issue after moving php app to different se rver

2004-08-26 Thread Shapiro, David
Hello, We are trying to move our php app to a different server. For some reason, when we type in the login/password/account number info and click submit, it does not seem to set the variables. The webpage portion that collects the login/password/account looks like the following: tr

[PHP] Re: Get Value

2004-08-26 Thread Peter Brodersen
On Thu, 26 Aug 2004 09:41:28 +0530, in php.general [EMAIL PROTECTED] (Syed Ghouse) wrote: Will anybody tell me how to extract the value (say Google) from the code below: a href=www.google.comGoogle(value to extract)/a Instead of using regular expressions (and taking care of all exceptions),

[PHP] Exporting Dbase to CSV

2004-08-26 Thread Harlequin
I've seen many different posts on this subject and try as I might I can't get my data to output to CSV for a user to save. I can output to a table, I can output to screen in CSV format but that just means massing about with copy and paste. Has anyone got any suggestions...? --

Re: [PHP] Re: crypt()

2004-08-26 Thread Ian Firla
On Thu, 2004-08-26 at 15:01, Aaron Todd wrote: Thanks for the tip, it worked great, however everything I have been reading says that md5 is only one way. The way I have setup my app is the database contains the encrypted version of what the user entered as their password. Then on my login

Re: [PHP] Is javascript enable?

2004-08-26 Thread Marcos Thiago M. Fabis
snip From: Thomas Goyne [EMAIL PROTECTED] It is quite literally impossible to enforce security with JS. Anything you try to do I could get around with Proxomitron and/or Opera. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ /snip So far, i´m forced to agree

Re: [PHP] Closing my Window after Download

2004-08-26 Thread Miles Thompson
At 09:14 AM 8/26/2004, PHP Junkie wrote: Ave, Trust me John, I would not post here without trying out many javascript functions first. In fact, the reason I posted here is because I began to think that a PHP script like that won't allow the window to close, because from window.close() to

[PHP] Popup with recent IE updates

2004-08-26 Thread Lester Caine
A couple of sites are reporting problems with pages which include .css style pop-ups. The information is being displayed at the top of the page rather than in a pop-up. This seems to be happening on sites where recent IE 'security fixes' have been applied. Anybody else starting to see it, and

[PHP] download filesize problem with IE

2004-08-26 Thread Kevin Coyner
Not sure if this is just a problem with MS IE, or if there's something I need to set in my php.ini. I've got some large zip files sitting in a directory in my website for my clients to download (no these aren't programs for warez but images for the graphics industry). One of the zip files is

Re: [PHP] ini_set('include_path') and require_once()

2004-08-26 Thread Jim Grill
The error message hints that something is wrong with your include path. (include_path='.:..') Also, when you say `ini_set(include_path, ../../php)` you are overwriting the entire include path rather than appending your path to it. Try this: ?php echo get_include_path();

RE: [PHP] Exporting Dbase to CSV

2004-08-26 Thread Jay Blanchard
[snip] I've seen many different posts on this subject and try as I might I can't get my data to output to CSV for a user to save. I can output to a table, I can output to screen in CSV format but that just means massing about with copy and paste. Has anyone got any suggestions...? [/snip] What,

RE: [PHP] Exporting Dbase to CSV

2004-08-26 Thread Dan Joseph
Hi, Depending on which database you're using, there is the UNLOAD function. Do a google for it, should find the answers. I've seen many different posts on this subject and try as I might I can't get my data to output to CSV for a user to save. I can output to a table, I can output

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

2004-08-26 Thread John Holmes
From: Shapiro, David We are trying to move our php app to a different server. For some reason, when we type in the login/password/ account number info and click submit, it does not seem to set the variables. The magic 8-ball says register_globals is OFF on the new server... ---John Holmes...

Re: [PHP] Web functional testing tools?

2004-08-26 Thread Doug Kearns
On Thu, Aug 26, 2004 at 01:35:00PM +0100, Geoff Caplan wrote: Doug, What do people recommend for the functional testing of PHP data-driven apps? (By functional testing I mean testing the application as a whole, as opposed to unit testing.) DK

Re: [PHP] Exporting Dbase to CSV

2004-08-26 Thread Harlequin
I'm using MySQL Jay I can present the results in a table easy enough and if I replace the TD TAGs with commas etc. I get a screen output that resembles a CSV file but need to go that one step further and don't know how... -- - Michael Mason Arras People

Re: [PHP] Exporting Dbase to CSV

2004-08-26 Thread Harlequin
I'm using MySQL Dan I can present the results in a table easy enough and if I replace the TD TAGs with commas etc. I get a screen output that resembles a CSV file but need to go that one step further and don't know how... -- - Michael Mason Arras People

RE: [PHP] download filesize problem with IE

2004-08-26 Thread Jay Blanchard
[snip] I've got some large zip files sitting in a directory in my website for my clients to download (no these aren't programs for warez but images for the graphics industry). One of the zip files is 78 MB. When using MS IE6 and when I right click the link for that zip file to download it

[PHP] XML_sql2xml

2004-08-26 Thread Brian Anderson
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: No release with state eqal to: 'stable' found for 'XML_sql2xml' Is there someplace that the

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread raditha dissanayake
and what has this got to do with PHP? Lester Caine wrote: A couple of sites are reporting problems with pages which include .css style pop-ups. The information is being displayed at the top of the page rather than in a pop-up. This seems to be happening on sites where recent IE 'security fixes'

Re: [PHP] download filesize problem with IE

2004-08-26 Thread John Holmes
From: Kevin Coyner [EMAIL PROTECTED] I've got some large zip files sitting in a directory in my website for my clients to download (no these aren't programs for warez but images for the graphics industry). One of the zip files is 78 MB. When using MS IE6 and when I right click the link for that

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

2004-08-26 Thread raditha dissanayake
your message is multipart/alternative - please do not send them to mailing lists. your signatue should have '--' on a line before it's start. you might want to read the newby guide and try again. Shapiro, David wrote: Hello, We are trying to move our php app to a different server. For some

Re: [PHP] fatal error undefined call to mysql_connect

2004-08-26 Thread Angelo Zanetti
Ok I found out that php is installed as an RPM so do activate mysql? thanks Angelo Zanetti Z Logic [c] +27 72 441 3355 [t] +27 21 464 1363 [f] +27 21 464 1371 www.zlogic.co.za John Nichel [EMAIL PROTECTED] 08/25/04 4:44 PM Angelo Zanetti wrote: so to include the mysql extensions to I have to

[PHP] Re:[PHP] imap_search and results

2004-08-26 Thread fongming
Hello: Here is my code : /---/ $mails = imap_search($mbox, 'TO gentoo-user-[EMAIL PROTECTED]',SE_UID); echo sizeof($mails); /--/ You can start to parse the mailheader,mailbody... for($i=0;$icount($mails);$i++) { [EMAIL PROTECTED]($mbox,$mails[$x-1]); echo

Re: [PHP] imap_search and results

2004-08-26 Thread Nicolas Diez
On Thu, 26 Aug 2004 22:25:00 +0800, fongming [EMAIL PROTECTED] wrote: Hello: Here is my code : /---/ $mails = imap_search($mbox, 'TO gentoo-user-[EMAIL PROTECTED]',SE_UID); echo sizeof($mails); /--/ You can start to parse the mailheader,mailbody...

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread Lester Caine
Raditha Dissanayake wrote: and what has this got to do with PHP? Lester Caine wrote: A couple of sites are reporting problems with pages which include .css style pop-ups. The information is being displayed at the top of the page rather than in a pop-up. This seems to be happening on sites where

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

2004-08-26 Thread Shapiro, David
Thanks for pointing in the hopefully the right direction. I see in /etc/php.ini the following: ; - register_globals = Off [Security, Performance] I put below this line: register_globals = On And I restarted apache. However, it did not seem to resolve the issue, although I still

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

2004-08-26 Thread John Holmes
From: Shapiro, David [EMAIL PROTECTED] Thanks for pointing in the hopefully the right direction. I see in /etc/php.ini the following: ; - register_globals = Off [Security, Performance] I put below this line: register_globals = On And I restarted apache. However, it did not seem to

Re: [PHP] ini_set('include_path') and require_once()

2004-08-26 Thread John Nichel
BigSmoke wrote: Hi, In the following code, require_once() borks, complaining: Failed opening required 'includes/companies.php' (include_path='.:..') ini_set(include_path, ../../php); require_once('includes/common.php'); require_once('includes/validate.php'); require_once('includes/company.php');

RE: [PHP] Exporting Dbase to CSV

2004-08-26 Thread Jay Blanchard
[snip] I'm using MySQL Jay I can present the results in a table easy enough and if I replace the TD TAGs with commas etc. I get a screen output that resembles a CSV file but need to go that one step further and don't know how... [/snip] Use CSV (without the table thing) and place Excel header

Re: [PHP] Is javascript enable?

2004-08-26 Thread John Nichel
[EMAIL PROTECTED] wrote: Try phpsniff at http://phpsniff.sourceforge.net/. It not only detects javascript using PHP, but many other things as well. You will wonder how you lived without it. It's pretty cool... Navid It doesn't tell you if JavaScript is enabled, only if the browser supports it.

Re: [PHP] Exporting Dbase to CSV

2004-08-26 Thread Torsten Roehr
Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using MySQL Jay I can present the results in a table easy enough and if I replace the TD TAGs with commas etc. I get a screen output that resembles a CSV file but need to go that one step further and don't know how...

Re: [PHP] Popup with recent IE updates

2004-08-26 Thread John Nichel
raditha dissanayake wrote: and what has this got to do with PHP? Lester Caine wrote: A couple of sites are reporting problems with pages which include .css style pop-ups. The information is being displayed at the top of the page rather than in a pop-up. This seems to be happening on sites where

[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: No release with

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'll

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;$icount($mails);$i++) { [EMAIL PROTECTED]($mbox,$mails[$x-1]); echo $subject=$h-subject; echo $sender=$h-from[0]; echo BR; } Calling count() every time the for loop iterates is inefficient. $count = count($mails); for($i=0;

[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

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

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

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

[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

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

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 seems to

[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

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

[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

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

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

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

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,

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

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

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

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:

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

[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

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

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

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] 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] 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=httpbool=ANDsubmit=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 if

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

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 copying

[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 echoa href=\#\ class=\textblack\ onclick=\NewWindow('fact_imprime.php?factura_id=$factura_id','Ficha','700', '300','no','left');return false\ onfocus=\this.blur()\

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

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: ?php $name = $_POST['name']; $address = $_POST['address']; $email = $_POST['email']; $phone = $_POST['phone']; $type = $_POST['type']; $message =

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Another website dies on line 4 here: ?php $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

[PHP] PHP Oficial Certification

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

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 with

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 problem..

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

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

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: ?php $name = $_POST['name']; $address = $_POST['address']; $email = $_POST['email']; $phone = $_POST['phone']; $type = $_POST['type'];

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

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 .=

[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

[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 a href=b.phpclick here/a statement the sessions work fine but when I use PHP's header(location: b.php); expression a new session is created and the data from

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:

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

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

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 -

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 but

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 would

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 =

  1   2   >