Re: [PHP] Compiling PHP Source guides

2004-12-23 Thread Donald Tyler
Greg Donald wrote: On Wed, 22 Dec 2004 13:56:39 -0800, Donald Tyler [EMAIL PROTECTED] wrote: I do have a rudimentary knowledge of *nix stuff I don't mean to offend, but it doesn't really seem so. Basic *nix skills usually include knowing how to configure, compile, and install software

Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Donald Tyler
Nichel wrote: Donald Tyler wrote: Hi, I am looking for a guide on compiling PHP 4. I am a complete newbie to compiling and have no idea where to start, so any links to guides and/or other useful info would be much appreciated. My reason is that I need MySQL 4 support, but I would like to get

Re: [PHP] Compiling PHP Source guides

2004-12-22 Thread Donald Tyler
[EMAIL PROTECTED] wrote: Quoting Donald Tyler [EMAIL PROTECTED]: I did RTFM. The exact page you linked to in fact: QUOTE: Requirements In order to have these functions available, you must compile PHP with support for the mysqli extension. END QUOTE That is the whole point of my request. I need

[PHP] Compiling PHP Source guides

2004-12-21 Thread Donald Tyler
a program source in general. Thanks in advance. Donald Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 2 x DB connections at once

2004-01-23 Thread Donald Tyler
they were really the same connection even though they were two separate private variables in different objects. Thanks for your help -Original Message- From: Luke [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 4:22 PM To: Donald Tyler Subject: Re: [PHP] 2 x DB connections at once

[PHP] 2 x DB connections at once

2004-01-22 Thread Donald Tyler
I thought this was possible, but it doesn't seem to be working: I have a class, that has a private variable called $this-Connection, which is a Database Connection pointer to a MySQL database. During the lifetime of the Class, it uses the connection multiple times without a problem. The class

RE: [PHP] 2 x DB connections at once

2004-01-22 Thread Donald Tyler
to have two completely separate DB connections active at the same time? -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 3:08 PM To: [EMAIL PROTECTED] Subject: [PHP] 2 x DB connections at once I thought this was possible, but it doesn't seem

RE: [PHP] Re: Flash-PHP Socket Connection

2004-01-21 Thread Donald Tyler
We are just about to try and get this working with sockets ourselves. Our intranet currently does exactly what you are trying to do, but without using sockets. In reply to your question, there is no one site for XMLRPC really. I suggest you read up on the following subjects: XMLRPC document

RE: [PHP] thumbnail???

2004-01-21 Thread Donald Tyler
Try this: function Resize_Image($FilePath, $new_w){ $File = fopen($FilePath, r); $FileContents = fread($File, filesize($FilePath)); $src= imagecreatefromstring($FileContents); $width = imagesx($src); // Shrink the image to the maximum width

RE: [PHP] Re: Flash-PHP Socket Connection

2004-01-21 Thread Donald Tyler
You would use sockets if you were developing a client/server application that was making a LOT of requests very quickly. Opening and closing connections using normal HTTP methods gets slow when carrying out such intense data communication. A good example would be an online game where you need to

RE: [PHP] Problems with $_POST

2004-01-21 Thread Donald Tyler
This is the method I recommend also. The token method works fine, but is slightly harder to implement. Basically you would keep the function that creates the record separate from the page that shows confirmation of the record being created. e.g. 1. User visits:

RE: [PHP] textfields showing php tags code

2004-01-21 Thread Donald Tyler
Is it just showing that one or in all three text fields? -Original Message- From: craig [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 11:24 AM To: Php Subject: [PHP] textfields showing php tags code Hi All, This one has me stumped, it worked yesterday, but not today, and

[PHP] PHP 5 Book

2004-01-21 Thread Donald Tyler
Hi Anyone know if Rasmus (or anyone for that matter) is writing a book on PHP 5? And when it might be available? Thanks Donald Tyler

RE: [PHP] textfields showing php tags code

2004-01-21 Thread Donald Tyler
, if it doesn't work, I would check your webserver and see if anyone has messed around with the PHP configuration. Someone must have changed something if it was working before.h -Original Message- From: craig [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 12:21 PM To: Donald Tyler Subject

FW: [PHP] Flash-PHP Socket Connection

2004-01-20 Thread Donald Tyler
We use XMLRPC to communicate between flash PHP. I presume it can be coupled with sockets if you should need a permanent connection as well. It has worked perfectly for pretty much anything we throw at it (It allows you to send any PHP or Action script native data type, e.g. arrays, Booleans,

[PHP] Syntax Error - This is WEIRD!

2004-01-16 Thread Donald Tyler
There could be something you're not seeing and assuming it's correct. But typing your code into the email we aren't getting the full story. Can you actually attach your scripts to an email and send that? Copying and pasting then into the email won't necessarily provide all the info needed to

RE: [PHP] Syntax Error - This is WEIRD!

2004-01-16 Thread Donald Tyler
Yes your right, that’s exactly the problem. I didn’t even realize he was doing that. By including the PHP file via HTTP, you are including the OUTPUT of the PHP file, not the actual PHP file itself. e.g. by including a file with the following code: ?PHP print 'Hello'; ? you would be

RE: [PHP] Syntax Error - This is WEIRD!

2004-01-16 Thread Donald Tyler
: Dagfinn Reiersøl [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:50 AM To: PHP General Subject: Re: [PHP] Syntax Error - This is WEIRD! Donald Tyler wrote: Yes your right, that’s exactly the problem. I didn’t even realize he was doing that. By including the PHP file via HTTP, you

[PHP] Intermitent problems retreiving PDF's from a MySQL database.

2004-01-09 Thread Donald Tyler
or the mysql log. Does anyone have any idea what is going on?!? Thanks Donald Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fw: Intermitent problems retreiving PDF's from a MySQL database.

2004-01-09 Thread Donald Tyler
or the mysql log. Does anyone have any idea what is going on?!? Thanks Donald Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions within new windows

2003-11-06 Thread Donald Tyler
Windows update doesn't fix the problem. I keep my system updated 100% of the time. I no one has mentioned getting it to work on Windows XP. That is what I am using, Windows XP Professional. Maybe the problem is confined to XP. Here is the EXACT IE version that I am using:

RE: [PHP] Sessions within new windows

2003-11-06 Thread Donald Tyler
I am downloading ethereal and I will post my findings. -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 2:31 PM To: Pablo Gosse; Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] Sessions within new windows --- Pablo Gosse [EMAIL

RE: [PHP] Sessions within new windows

2003-11-06 Thread Donald Tyler
Gosse; Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] Sessions within new windows --- Pablo Gosse [EMAIL PROTECTED] wrote: Hi Donald. I just tried this in XP Professional on IE 6.0 and it worked fine, both via a javascript function and a standard link with the target set to _blank. Anyone

[PHP] Sessions within new windows

2003-11-05 Thread Donald Tyler
Hi, Not sure if this is a PHP or Browser issue but here is my problem: I have a site that has a members section. In the news area, when a user clicks the link for an article, it pops open a new window a requests the article via a PHP script. What's happening is that when the new window

RE: [PHP] Sessions within new windows

2003-11-05 Thread Donald Tyler
Just a quick update: It seems to only be a problem with Internet Explorer on the PC. Both IE Safari on MacOSX work as expected. -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 8:17 AM To: [EMAIL PROTECTED] Subject: [PHP] Sessions

RE: [PHP] Sessions within new windows

2003-11-05 Thread Donald Tyler
Yeah I was. I did try that though and it made no difference =0( -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 8:40 AM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions within new windows Are you using _blank

RE: [PHP] Sessions within new windows

2003-11-05 Thread Donald Tyler
]; Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] Sessions within new windows That's strange, as I've been writing a CMS over the past year which requires the user to have IE 5.5 or newer, and I have no problems with pop-ups accessing session values under IE 6.0. Perhaps it's an issue of how

FW: [PHP] Sessions within new windows

2003-11-05 Thread Donald Tyler
-Original Message- From: Pablo Gosse [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 2:11 PM To: Donald Tyler Subject: RE: [PHP] Sessions within new windows Hmm, that's strange. I use Javascript functions to control the few pop-up windows in the CMS, but I just went

[PHP] Problem connecting to remote MySQL Server

2003-11-03 Thread Donald Tyler
Hi, I am publishing a site I have developed and I am having problems with the scripts being able to access the remote MySQL server. When I try to connect using the PHP scripts I just get an error saying that access is denied. I can access it fine from my machine using PHPMyAdmin so I know that

[PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Donald Tyler
Hi, We are building an Intranet for our company and I was wondering how people deal with having to restart the server when its running an intranet. Obviously if there is a complex process running and the server restarts in the middle of it then its going to screw a lot of stuff up. The

RE: [PHP] Resource Limits

2003-09-29 Thread Donald Tyler
Just incase you weren't aware. You can change the Max execution time during the script with: set_time_limit(Milliseconds); -Original Message- From: Decapode Azur [mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2003 5:51 AM To: [EMAIL PROTECTED] Subject: [PHP] Resource Limits hi

RE: [PHP] How to smart refresh php section using iframe?

2003-09-29 Thread Donald Tyler
This is not possible with PHP alone. You need to use some client side code such as JavaScript or Flash. I would recommend JavaScript. It would be pretty easy to accomplish what you are talking about with that. Grab yourself a copy of JavaScript the Definitive Guide by Orielly. It's pretty

RE: [PHP] Re: $_SESSION stuffs that come with php.ini

2003-09-26 Thread Donald Tyler
Session auto start is not enabled as default because it is a performance drain. It is much more efficient to use session_start() only when you need it. The easiest way to do things is usual the worst. (Most inefficient) -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]

[PHP] mysql.lock file location

2003-09-25 Thread Donald Tyler
Hi, Does anyone know how to tell PHP to look in a different location for the mysql.lock file? It's currently looking in /tmp/ and that's wrong. Thanks Donald

FW: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
I meant mysql.sock, sorry. -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 8:18 AM To: [EMAIL PROTECTED] Subject: [PHP] mysql.lock file location Hi, Does anyone know how to tell PHP to look in a different location for the mysql.lock

RE: [PHP] mysql.lock file location

2003-09-25 Thread Donald Tyler
file in another location. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 8:26 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] mysql.lock file location On Thursday 25 September 2003 21:17, Donald Tyler wrote: Does anyone know how to tell PHP

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
-Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 9:06 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] I meant mysql.sock, sorry. Does anyone know how to tell PHP to look in a different location

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
print 'Failure'; ? -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 9:44 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] Warning: mysql_connect(): Can't connect to local MySQL

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
Yes, I ping it and it says its alive. -Original Message- From: Brad Pauly [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:07 AM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mysql.sock file location Donald Tyler wrote: Yeah I thought so to. But I did a chmod

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
:13 AM To: Brad Pauly; Donald Tyler Cc: [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] Here's the test script I am using: (Presume that's what you meant by connection string? ?PHP if($Connection = mysql_connect('localhost', '**', '**')) print

RE: [PHP] mysql.lock file location

2003-09-25 Thread Donald Tyler
Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:15 AM To: Donald Tyler Subject: Re: [PHP] mysql.lock file location On Thursday 25 September 2003 8:55, you wrote: Is there no way for me to change the default location for PHP? I have quite a few scripts that I really don’t want

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
and everything (including ibdata1) is set to root:mysql 755 I am going to headbut the screen in a minute! -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location Yes, I ping

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
No not a network IP ping. A mysqladmin ping: Mysqladmin --user=root ping -Original Message- From: Brad Pauly [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:53 AM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mysql.sock file location Donald Tyler wrote: Yes

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
Don't know yet, I've managed to stop mysql from loading now! (See my previous mail) -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:40 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] I

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
[mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:40 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] I wasn't worried about short code =0P I would have done this if I was: $Connection = mysql_connect('localhost

RE: [PHP] PHP vs CGI ???

2003-09-19 Thread Donald Tyler
PHP can be installed as either a CGI or an Apache module. There is documentation on this in the PHP readme files. Pretty much everything I read said that its always better to use the Apache Module version. (apparently its much more stable and secure) -Original Message- From: Scott

[PHP] Resizing a jpeg stored in a database

2003-09-18 Thread Donald Tyler
and THEN import it into the image object? Thanks in advance for your help. Donald Tyler

[PHP] Lost Connection to MySQL server during query

2003-09-09 Thread Donald Tyler
I have a script that is processing data from a single table and splitting it into smaller normalized tables. The script takes anywhere between 5-10 minutes to complete, and as it runs it constantly outputs a report on its progress. The script seems to run fine the first time I run it, but

[PHP] XmlRPC - Server did not understand request

2003-08-26 Thread Donald Tyler
Thanks to the excellent help from someone at Full Data Systems (Thank you!), I finally managed to get the XmlRPC extension working on my windows PHP installation. I am not trying to send any params at the moment, all I want to do is get a valid response. However, now when I try and run the

FW: [PHP] XmlRPC - Server did not understand request

2003-08-26 Thread Donald Tyler
-Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 9:29 AM To: 'Marek Kilimajer' Subject: RE: [PHP] XmlRPC - Server did not understand request Well that fixed it. *Slaps head*. I guess I should have noticed that. Sorry for such a retarded

[PHP] XMl Parsing within PHP

2003-08-14 Thread Donald Tyler
Hi, I am trying to create a Class that will parse an XML document. It all works fine as individual functions but I cant get it to work as a class. For example, when I do the following in my class: xml_set_element_handler($this-xml_parser, '$this-startElement',

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
I did read the other thread, and I tried that. It didn't work... -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:46 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] Building an XML Parser Class [snip] xml_set_element_handler

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
any parameters to it. All I get are missing parameter error messages. -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 9:11 AM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] Building an XML Parser Class I did read the other thread, and I tried

FW: [PHP] Re: Building an XML Parser Class

2003-08-14 Thread Donald Tyler
: $MyXmlParser = new XmlParser; -Original Message- From: Greg Beaver [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:01 PM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: [PHP] Re: Building an XML Parser Class http://pear.php.net/XML_Parser :) Greg -- phpDocumentor http

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
$this-startElement. Which it obviously doesn't exist because its in the xml parsers parent object. -Original Message- From: Evan Nemerson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 4:36 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: Re: [PHP] Building an XML Parser Class Try getting

RE: [PHP] XMl Parsing within PHP

2003-08-14 Thread Donald Tyler
Its $this-startElement(). That was a typo. I typed the error message instead of copying and pasting it. Sorry. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:26 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] XMl Parsing

[PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
Hi, I am trying to create a Class that will parse an XML document. It all works fine as individual functions but I cant get it to work as a class. For example, when I do the following in my class: xml_set_element_handler($this-xml_parser, '$this-startElement', $this-endElement);

RE: [PHP] Trouble getting $HTTP_RAW_POST_DATA

2003-08-01 Thread Donald Tyler
You should encase the $HTTP_RAW_POST_DATA in print_r() or you will just get the word Array printed. But I doubt that will solver your problem because it seems that $HTTP_RAW_POST_DATA is empty. Also, print_r() does not include any HTML formatting, so you will need to look at the source for the

[PHP] XmlRPC Extension in Apache 4.2.3

2003-08-01 Thread Donald Tyler
Hi Everyone, I posted this on the PHP install list but didn't get a reply. I hope you guys/gals can be more helpful. I am having trouble getting the XmlRpc extension working with PnP 4.2.3. SYSTEM: Windows XP Pro PHP 4.2.3 (Running as Apache module) Apache 2.0.44 When Apache starts I get the

RE: [PHP] Google APIs with PHP

2003-07-31 Thread Donald Tyler
You probably shouldn't have posted your Google key here... -Original Message- From: Daniel Ke [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Google APIs with PHP Sorry about it. I should include the code

RE: [PHP] capturing reloads

2003-07-30 Thread Donald Tyler
The only way I know is to use sessions. Each time they load the page, you would check a session variable that you use store the status of a specific page. E.g. if($_SESSION['ReloadStatus']['ContactUs'] == true) { //Page has already been loaded once. This is a reload.

RE: [PHP] Re: Email forwarding from SendMail to PHP

2003-07-29 Thread Donald Tyler
forwarding from SendMail to PHP See if this helps: http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/ Joseph Donald Tyler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Anyone know of a place to get some good tutorials on how to forward email from SendMail to PHP

[PHP] Email forwarding from SendMail to PHP

2003-07-28 Thread Donald Tyler
Anyone know of a place to get some good tutorials on how to forward email from SendMail to PHP for processing?