[PHP] Get a specified amount of text?

2002-03-27 Thread Donald
uot; to MySQL it adds it like this: "3.41" Thanks -Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP-CGI and script files not found

2002-03-27 Thread Donald
Hey, I tried to open a php file on my server that dosn't exist and php gave me a 404 error. I am running w2k, apache, php 4.1.2 as a module. Try having them run the php as a mod. with apache (if possible). -Donald www.magentica.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] can I mail unlimited in one click?

2002-12-16 Thread Greg Donald
seems to be 30 seconds, pretty low for 300 emails: >cat `locate php.ini`|grep max_execution_time max_execution_time = 30 ; Maximum execution time of each script, in seconds -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Greg Donald
mpile, why? How about a link? ln -s /sbin/sendmail /usr/sbin/sendmail -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Greg Donald
ink this way then: ln -s /usr/sbin/sendmail /sbin/sendmail -- Greg Donald -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Max Limit of post variables

2003-02-06 Thread Stuart Donald
I am trying to generate an html form with approximately 3000 post variables (1500 input type text and 1500 hidden, I am mimicing a grid control). The page will handle several hundred but it crashes with more. Is there a limit to the number of variables that can be sent post. Or is it possible I

Re: [PHP] calculating kilobytes

2003-02-14 Thread Greg Donald
ly not be possible in safe mode, but there's no way to tell since you posted no code. -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirect

2003-02-14 Thread Greg Donald
> What is the syntax to have php redirect to another web site? http://domain.com/";); ?> -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 Passwords (How it works?)

2003-02-17 Thread Greg Donald
at happens when I user has lost there password and needs to >retrieve it, there is no way to reverse the process is there? md5 is one-way encryption. I use a password 'hint' field in conjunction with md5. -- Greg Donald http://destiney.com -- PHP General Mailing List (http://

Re: [PHP] PHP 5

2003-02-17 Thread Greg Donald
is the expected release date? Or is still too soon to tell still? Thanks, -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Data from DB

2003-02-17 Thread Greg Donald
ries. Then the data that is returned you will want to place into an array. Then finally you will want to iterate over the array creating some html from each row for display. -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Protecting files

2003-02-17 Thread Greg Donald
that is not the case, I'd move. What kind of system is it? If it's unix you can make use of chown and chmod to protect your stuff. If it's windows, I don't know. -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IRR Function in PHP

2003-02-17 Thread Greg Donald
On Mon, 17 Feb 2003, Jonathan Pitcher wrote: >This process involves an IRR Calculation. Or Internal Rate of Return. Sorry, I don't think there are any accountants lurking on the list, so please explain what the actual calculation for an IRR should be. -- Greg Donald http://dest

Re: [PHP] Threading

2003-02-18 Thread Greg Donald
On Tue, 18 Feb 2003, Bruce Miller wrote: >Will PHP allow multiple-thread execution? PHP4 does not have thread support. -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] simple ereg question

2003-02-20 Thread Greg Donald
if (ereg('[0-9]+','$_POST["gamt_$i"]')) > { > continue; > } > else >{ > die("Non-numeric data entered in grass entry field(s)."); >} >} Try changing '$_POST["gamt_$i"]' to $_POST['gamt_$i'] --

Re: [PHP] Keeping existing data in textarea's

2003-03-03 Thread Greg Donald
they receive the alert message, but then have to start all >over again. How do I keep the existing data in the textareas from >dissapearing after the alert message? $fill = isset($_GET['textareafield']) ? $_GET['textareafield'] : ""; $html = <<$fill EOF;

Re: [PHP] Need help with ?> vs. php?>

2003-03-05 Thread Greg Donald
On Wed, 5 Mar 2003, LeTortorec, Jean-Louis wrote: >My pages starting and ending with "" don't work anymore. I would >have to change them to "". > >Do you know if there is a way for keeping "http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Greg Donald
f you're waiting for a perfect version of any of those, it'll still be a long while. The best thing to do is just pick a distro that releases patches quickly, and keep up to date on patches. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Greg Donald
at has always pushed out the new stuff sooner than most anyone except maybe Mandrake. If you're a RedHat user and this makes you uncomfortable you might try a distro that is a bit more slow to release new stuff, Debian or one of the BSDs for example. -- Greg Donald http://destiney.com/ --

Re: [PHP] Can I use PHP to draw a chart?

2003-07-06 Thread Greg Donald
> It's the first time I use PHP as my project server-side language, > and I wanna know if PHP can be used to draw a chart or any other > suggestions. Thx Yeah, PHP will do that. I use JPGraph myself: http://www.aditus.nu/jpgraph/ -- Greg Donald http://destiney.com/ -- PHP G

Re: [PHP] print vs. heredoc

2003-07-06 Thread Greg Donald
print makes the code layout look nice and eazy to debug, where heredoc IS > faster but makes the code look like a nightmare and I'm pretty picky about > what looks good. Sounds like you already have your mind made up. -- Greg Donald http://destiney.com/ -- PHP General Mailing Li

Re: [PHP] Refresh in PHP

2003-07-07 Thread Greg Donald
ript will do that. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] daemonized php

2003-07-07 Thread Greg Donald
> Can somebody give me any workable example how to run some script written in > PHP in Unix console. #!/usr/local/bin/php -q > I wan't to write some server aplication. So it has to be run in the > backgroud. Have a look at the process control functions: http://php.net/pcntl

Re: Re[2]: [PHP] daemonized php

2003-07-07 Thread Greg Donald
I read on devshed article about TCP socket > listenig, but I don't like this. That's pretty much how it's done. If you want to listen to a program you have to use some type of socket, tcp is they way I'd go. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[4]: [PHP] daemonized php

2003-07-07 Thread Greg Donald
tten in PHP. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.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?

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

2003-07-29 Thread Donald Tyler
Re: Email 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 ema

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

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 p

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

[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', "$this->endE

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_ha

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
the functions, but doesn't pass 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

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

2003-08-14 Thread Donald Tyler
Instead of say: $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 -- php

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
->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

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 Pars

[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"); xml_set_cha

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

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

Re: [PHP] Quick SQL Question

2003-06-17 Thread Greg Donald
t notice any load issues with it. What's your whole query look like? -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick SQL Question

2003-06-17 Thread Greg Donald
t joins so as to select much less data. As an aside, limit 0,1 is the same as limit 1. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] patch of php

2002-07-25 Thread Greg Donald
ow to patch it or where can I find this information to update PHP >by this patch? gunzip php-4.2.0-to-4.2.2.patch.gz cd /path/to/php_source cat /path/to/php-4.2.0-to-4.2.2.patch |patch you might also try 'man patch' -- Greg Donald http://destiney.com -- PHP General Mailing

Re: [PHP] Editor

2002-06-13 Thread Greg Donald
On Thu, 13 Jun 2002, Daniele Baroncelli wrote: >Can anyone suggest me a different editor ? Depending on my OS I amd sitting in front of: vim - www.vim.org editplus - www.editplus.com -- --- Greg Donald http://destiney.

Re: [PHP] New Newsgroups

2002-06-26 Thread Greg Donald
appen to anyone else or was it just me?! It must be your news client. I use pine remotely and got no such popup. -- ------- Greg Donald http://destiney

Re: [PHP] Recognition: Richard Lynch

2002-07-03 Thread Greg Donald
job Richard. Glad your around man. -- ------- Greg Donald http://destiney.com/ --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ini_set() broken?

2002-07-07 Thread Greg Donald
file. Thanks in advance.. :) -- --- Greg Donald http://destiney.com/public.key --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ini_set() broken?

2002-07-07 Thread Greg Donald
ess or whatever the IIS equivalent is. If there's no Thanks but I have no idea about IIS, that's why I posted, to see if this might be an IIS specific issue some other windows users experienced. >equivalent then I'd suggest throwing the server out the window. Yes.. -- --

RE: [PHP] ini_set() broken?

2002-07-07 Thread Greg Donald
I can. I also tried "Off" and "off", same results. >does $var contain anything. If it doesn't, then ini_set() worked... >otherwise.. um... find other way of doing it(??) Yes.. another way, any suggestions? -- -

Re: [PHP] ini_set() broken?

2002-07-07 Thread Greg Donald
s my code: -- --- Greg Donald http://destiney.com/public.key --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ini_set() broken?

2002-07-07 Thread Greg Donald
someone interested in helping find my error. Thanks alot! -- ------- Greg Donald http://destiney.com/public.key --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] another pair of eyes?

2002-07-12 Thread Greg Donald
_register('$var5'); > } elseif (isset($HTTP_SESSION_VARS[$hour]) => $hour + 5*60)) { > header("Location: https://localhost/index.php"}; > } else { > endif(); } >[end snippit] The syntax should be: $var1 = "some value"; session_register(

Re: [PHP] fputs - need help!

2002-07-15 Thread Greg Donald
On Mon, 15 Jul 2002, MAAS wrote: Try adding a \r. fputs ($sysname_log, "$time - SystemName: $sysname\r\n"); -- --- Greg Donald http://destiney.com/

Re: [PHP] Self Modifying PHP Code Working on IIS

2002-07-15 Thread Greg Donald
t; >Any advice?! Use apache if possible. -- --- Greg Donald http://destiney.com/public.key --- -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] newbie: mysql statement

2002-07-15 Thread Greg Donald
sure that the newest record is the one being acted upon? >Thanks. By using a where clause to identify the postid in the table, something like this perhaps: UPDATE header SET parent='$this->parent' where postid='$this->postid'; --

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions 4.2.0and 4.2.1

2002-07-22 Thread Greg Donald
PHP install once a month or so cause of new security holes.. Yay! Wasn't this new register_globals setting supposed to enhance security? How would you like to be a sys admin with dozens of machines to upgrade before you can proceed with anythign else? Can anyone say Ruby? -- Greg Don

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions 4.2.0and 4.2.1

2002-07-22 Thread Greg Donald
rity holes following in the next couple of months after that. If it doesn't bother you the hassles 'the php group' is putting me, you, and alot of others through then I guess that's just you. I can't help but get pissed about it. I did not have the time to do the

Re: [PHP] Pipe an email to PHP

2003-08-27 Thread Greg Donald
hp" > it tells me: "No input file specified." I use something like that in my .procmailrc: :0 fw | /usr/bin/spamassassin :0 * ^X-Spam-Status: Yes { :0 c | $HOME/.spamassassin/spamcop.php :0 spam } -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Lost Connection to MySQL server during query

2003-09-09 Thread Donald Tyler
hell for a week now! Thanks Donald

[PHP] Resizing a jpeg stored in a database

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

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 Fletche

RE: [PHP] Subcategories in php

2003-09-20 Thread Greg Donald
mplete script that contains all the code you would need: http://destiney.com/pub/phplinks_2.1.2.tar.gz -- Greg Donald [EMAIL PROTECTED] 615-746-9414 home 615-594-6052 cell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
ysql/mysql.sock -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 d

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
ember 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 server through socket '/var/lib/mysql/mysql.sock' (13) in /usr/local/apache2/htdocs/dbtest.php on line 3 [/snip] Can we

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 di

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
nt: Thursday, September 25, 2003 10: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&qu

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’

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
y structure 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

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

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

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
Well after getting MySQL back up and running (After restarting the machine) the script worked fine. So it looks like editing the PHP.ini file worked. Thanks to everyone who helped. Don't know where I would be without you guys (& gals?). Donald. -Original Message- From: Jay

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

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 compr

[PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Donald Tyler
. Donald

Re: [PHP] Templates/Separate content from presentation

2003-10-31 Thread Greg Donald
;Fatal: cannot open template ' . $file . '\n'); } return $html; } Of course I have no template caching system like Smarty has, but I use TurkeMM Cache: http://www.turcksoft.com/ and query caching from MySQL 4. I also clean my html before output, removing all tabs and newline

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

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

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 as

RE: [PHP] Sessions within new windows

2003-11-05 Thread Donald Tyler
I am using a normal link. Here is the exact html code: -Original Message- From: Pablo Gosse [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 11:17 AM To: [EMAIL PROTECTED]; Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] Sessions within new windows That's strang

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

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: 6.0.2800.1106.xpsp2.030

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

RE: [PHP] Sessions within new windows

2003-11-06 Thread Donald Tyler
Pablo 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 targe

Re: [PHP] I need answers for the questions

2003-11-18 Thread Greg Donald
. Umm.. no. For a given network, say 10.0.0.0, a subnet mask of 255.255.248.0 yields the following range of possible node addresses: 10.0.0.1 to 10.0.7.254. >This seems like laziness.. Or homework. -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Custom Session usind MySQL

2003-11-18 Thread Greg Donald
l use a MySQL table instead of /tmp. Try this: http://destiney.com/pub/php_db_sessions.tar.gz -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mysql question

2003-11-18 Thread Greg Donald
g mysql dump, but I don't want to have to run >a shell command. Have you tried mysqlhotcopy? http://www.mysql.com/doc/en/mysqlhotcopy.html -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] distinct values from a mulit-dimensional array

2003-12-23 Thread Greg Donald
array_unique perhaps? http://php.net/array_unique -- Greg Donald http://destiney.com/ - Original Message - From: "Chakravarthy Cuddapah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 11:22 PM Subject:

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

2004-01-09 Thread Donald Tyler
log 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
log 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] 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 solve

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: you would be including the word "Hello" as P

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 fil

Re: [PHP] odd error with if !(cond){}

2004-01-19 Thread Greg Donald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tristan Gutsche wrote: | Hello im hoping someone might have an insight into this one im getting an | odd error when I use a not condition in an if statement | | The code is as follows: | if !(isset($_REQUEST["license"])) | { | $license = "off"; | } |

Re: [PHP] dreaded sessions

2004-01-19 Thread Greg Donald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Horner wrote: | Simply here is my problem: | | After logging into the system, I set a session with information for | the Username and Password for verifiying | the user's login into the system, that way I don't have to | continually ask

Re: [PHP] Generating an Excel file?

2004-01-19 Thread Greg Donald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Ramsey wrote: | I'm pretty sure I know how to use header() create a CSV file for a | client to download data from a database, but I think it would really | impress this client if I could generate a Microsoft Excel file instead | of a CSV file. Anyo

  1   2   3   4   5   6   7   8   9   10   >