Re: [PHP] Server Slow After PHP Error

2003-10-14 Thread Timothy Hitchens
connection has yet to finish then it would appear to you as the server is slow ... when this happens next try from another box and you should see no problems. Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] Weston said: > Whenever I access a PHP script from the web that contains an error (such >

[PHP] More Apache than PHP

2003-03-01 Thread Timothy Hitchens \(HiTCHO\)
rrors. I just can't see how. Thanks to all. Timothy Hitchens (HiTCHO) Web Application Consulting e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php and Mac running 8.6

2003-02-01 Thread Timothy Hitchens \(HiTCHO\)
If you are referring to php etc NO and for Zend NO. Timothy Hitchens (HiTCHO) Web Application Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Bobbi-Lea [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 2 February 2003 2:30 PM > To: [EMAIL PROTECTED] > Subject

RE: [PHP] Turn off PHP for certain directories?

2003-02-01 Thread Timothy Hitchens \(HiTCHO\)
If you don't use -Original Message- > From: Benjamin Smith [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 2 February 2003 3:32 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Turn off PHP for certain directories? > > > Is it possible (using an apache directive, perhaps?) to turn > off php parsing

RE: [PHP] need some guidance

2003-01-30 Thread Timothy Hitchens \(HiTCHO\)
like. Are you trying to pull out content bits or just show the areas inside of your website?? Timothy Hitchens (HiTCHO) Web Application Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Seth Hopkins [mailto:[EMAIL PROTECTED]] > Sent: Friday, 31 January 2003 3:2

RE: [PHP] Email being blocked

2003-01-30 Thread Timothy Hitchens \(HiTCHO\)
The box does have a default route to get out of your network I trust?? Timothy Hitchens (HiTCHO) Web Application Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Ben [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 30 January 2003 9:45 PM > To: [EMAIL PROTECTE

RE: [PHP] a simple getenv question....

2003-01-22 Thread Timothy Hitchens \(HiTCHO\)
Do this: If what you want is here this just use: $_SERVER['REMOTE_ADDR'] etc You will need to have a look at the source of the output as the rendered view will look a little strange. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Ori

RE: [PHP] a simple getenv question....

2003-01-22 Thread Timothy Hitchens \(HiTCHO\)
The simplest way to start looking would be phpinfo() page for starters. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Jim Lucas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 23 January 2003 10:15 AM > To: Bruce Dou

RE: [PHP] NEED HELP URGENTLY

2003-01-22 Thread Timothy Hitchens \(HiTCHO\)
Global Variables are turned off!!! check php.ini!! Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Dale [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 23 January 2003 10:02 AM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] HELP please quickly

2003-01-22 Thread Timothy Hitchens \(HiTCHO\)
in the www.php.net manual. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Didier McGillis [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 22 January 2003 11:22 PM > To: [EMAIL PROTECTED] > Subject: [PHP] HELP

RE: [PHP] working with pop up windows

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
Post the results to the target being the parent window and have a JavaScript self.close() call on the window on submit/click. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Peter Houchin [mailto:[EMAIL PROTECTED]]

RE: [PHP] Blueshoes App Framework

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
. Also look at the overheads some of these frameworks create as you will as long as you continue to use it have those inherited overheads. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Weston Houghton [mailto:[EMAIL PROTECTED]]

RE: [PHP] Re: str_replace an include

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
I can't see what else to suggest just quickly. - what about just as a function not a class?? Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: jesse [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 22 January 200

RE: [PHP] Re: str_replace an include

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
Where are you getting $read from?? That should be $replace = new mainReplace(); // notice the brackets Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: jesse [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 22 January 200

RE: [PHP] str_replace an include

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
There a few ways of doing this but the following is one of the easier and quickest off the top of my head. If you know the name of the tag and the include this will work if you don't or want it to be dynamic you will need to have some reg for the following. (how are you getting the $string)? // $

RE: [PHP] download script

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
server and tell Get Right to resume. You should now know what it sends and you simply need to read in the file to that point in the data and start the stream again. I hope this helps. (Trial and Error) Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Origi

RE: [PHP] DOWNLOAD

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
Change the link to form_download.php then create a file called form_download.php and do this: That will do it for you. Also you should reply to all and include the list when replying so all get to see how to do these things. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL

RE: [PHP] PHP Sessions

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
Are globals turned on or off.. I don't see that setting in your copy and paste. Are you trying to access the session vars as $name or $_SESSION['name']?? Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Tim Th

RE: [PHP] DOWNLOAD

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
ing the correct headers and IE and other browsers will pop up a download (save) window. See your mime.types file for headers for each file type. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Shaun van den Berg [mailto:[EM

RE: [PHP] PHP Sessions

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
What version of PHP are you using and do you have globals turned on? Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Tim Thorburn [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 21 January 2003 6:59 PM > To: [EMA

RE: [PHP] login script fix help needed

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
Move this below to after your php logic: Add a User Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, 20 January 2003 1:59 PM To: php Subject: [PHP] login script fix help

[PHP] Free PHP Hosting - Answered

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
We seem to get one every week of people asking about free PHP hosting so I went looking for all those people and found this off the link section from php.net: http://www.oinko.net/freephp/ Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -- PHP General Mailing List

RE: [PHP] Which country?

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
You could rely somewhat of the time zone codes as you refer to them, the only issue is in some parts of the world this would include 10 countries at a time. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: -<[ Ren

RE: [PHP] Which country?

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
. Look for PHP whois classes but remember that most registries restrict the number of requests these days. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Martin Thoma [mailto:[EMAIL PROTECTED]] > Sent: Monday, 20 January

RE: [PHP] php.ini: how to load different ini file depending on host?

2003-01-19 Thread Timothy Hitchens \(HiTCHO\)
Inside each of the Virtual Host defs you can put most of the php_flag etc settings just like: php_admin_value disable_functions 'ob_start' php_admin_value sendmail_path '/usr/sbin/sendmail -f [EMAIL PROTECTED] -t -i' Timothy Hitchens (HiTCHO) Open Source Consulting e-ma

RE: [PHP] Changing order of just one array item?

2003-01-18 Thread Timothy Hitchens \(HiTCHO\)
This would do it: Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 19 January 2003 12:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Changing order of just

RE: [PHP] PHP Review Site

2003-01-17 Thread Timothy Hitchens \(HiTCHO\)
Please send plain text to e-mail lists NOT html: Hmm now let me think: http://www.hotscripts.com/ Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Saturday, 18 January 2003 11:40 AM To: PHP

RE: [PHP] Meta Refresh Question (PHP)

2003-01-17 Thread Timothy Hitchens \(HiTCHO\)
It runs when you fix your (removed URL's and line endings) what is it not doing? Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Edson Waite [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 18 January 2003 11:09 A

RE: [PHP] postfix instead of sendmail

2003-01-16 Thread Timothy Hitchens \(HiTCHO\)
I don't use postfix but as far as I know it is a drop in replacement and you should just change the entry in php.ini look for: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = Timothy Hitchens (HiTCHO) Open Source Consulting

RE: [PHP] output sql

2003-01-16 Thread Timothy Hitchens \(HiTCHO\)
SELECT first_name AS first FROM clients As you can see the first_name field will now be accessable as first. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Paul Marinas [mailto:[EMAIL PROTECTED]] > Sent: Friday, 17 Jan

RE: [PHP] fit window to image

2003-01-16 Thread Timothy Hitchens \(HiTCHO\)
This can be achieved by using image features of php to get the size then rewrite your html or use JavaScript to do the same. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Ezequiel Sapoznik [mailto:[EMAIL PROTECTED]]

RE: [PHP] Session wierdness...

2003-01-15 Thread Timothy Hitchens \(HiTCHO\)
Now what is the output if you do this outside of the function after registering a session var?? Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Duncan Abbott [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 16 January 200

RE: [PHP] attach image with the mail command?

2003-01-14 Thread Timothy Hitchens \(HiTCHO\)
You will need to read the file into an array using file() then join/base64/split and then setup the right headers to attach the mime encoded attachment. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [

RE: [PHP] Next and Previous

2003-01-14 Thread Timothy Hitchens \(HiTCHO\)
This is because you are at the beginning and you need to have some logic to not display the previous if at beginning. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Miguel Brás [mailto:[EMAIL PROTECTED]] > Sent: Wedn

RE: [PHP] question

2003-01-14 Thread Timothy Hitchens \(HiTCHO\)
You are using singles ' then you are doing "". and it should be "" '. etc Try: printf('Fotografía%s ', $i); Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Ezequiel Sapoznik [ma

RE: [PHP] Write Image to Cache

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
Use the correct headers for no-cache see manual for starters: http://www.php.net/manual/en/function.header.php <http://www.php.net/> Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]]

RE: [PHP] attachment problem

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
What happens when you change the "inline" to attachment?? Also does this page have any errors in it... eg parsing ones that are causing PHP to take over the headers and error out?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Messag

RE: [PHP] attachment problem

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
So you have tried as per the manual: header("Content-Disposition: attachment; filename=downloaded.pdf"); I use this all the time without issue.. do you have a shell that you can use to "wget -S" and see if the correct headers are coming out?? Timothy Hitchens (HiTCHO) Open

RE: [PHP] Session wierdness...

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
Do this for me: print_r($GLOBALS); and see if you have the $_SESSIONS array visible.. you will need to view the output in a text editor as the print_r won't look good rendered in the browser. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original

RE: [PHP] Can I Copy a directory using PHP?

2003-01-13 Thread Timothy Hitchens \(HiTCHO\)
If you are using Unix simply call out the shell using back ticks `mv xxx xxx` or check out. http://www.php.net/manual/en/function.exec.php Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Alex Ciurea [mailto:[EMAIL PRO

RE: [PHP] Png Could not find/open font

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
I would suggest that in your script it is using a font for a GD operation and you need to make sure that PHP know's how to find that font. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Breno Cardoso Perucchi [ma

RE: [PHP] Permission Denied

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
Who owns the htdocs root (I know it is Windows) when you right click you should should see sharing/security. Do you if not what OS Ver are you using? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Stephen [mailto:

RE: [PHP] object in session & security

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
It is viewable from the script only not the outside world eg the visitor to the website unless you output it. Also you are better offer having your vars set by methods from a constructor then you can do what you just showed below. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail

RE: [PHP] PHP/MySQL help?

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
You can't use numbers as vars: $1 etc are illegal syntax for PHP Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Steven M [mailto:[EMAIL PROTECTED]] > Sent: Monday, 13 January 2003 10:04 AM > To: [EMAIL PRO

RE: [PHP] PHP/MySQL help?

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
Hmm from your code below: FROM users WHERE 14 = '$0'" What is "14" it isn't a field I would hope!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Steven M [mailto:[EMAIL PROTECTED]] >

RE: [PHP] Permission Denied

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
Did you use the umask(0) prior to the mkdir() in your script?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Stephen [mailto:[EMAIL PROTECTED]] > Sent: Monday, 13 January 2003 9:09 AM > To: [EMAIL PROTECTED] &

RE: [PHP] highlight keywords issue

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
You will need to break apart the entire document then process each area inside of the tags and to be very careful for nested tags. The simplest way around I have found to do with is to add to tags that have been processed with attributes that are ignored by the browser renderer eg... PHP as you ca

RE: [PHP] strip php tags from code ?

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
So you want to remove only the unparsed/raw php script blocks. Why... are you displaying PHP without parsing?? If this is the case you can write a couple of very simple preg_replace with a call back and all is done. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED

RE: [PHP] Amount of data in the database

2003-01-11 Thread Timothy Hitchens \(HiTCHO\)
I haven't seen a way to get the size of an individual record. What about using the max size of the fields in that table against number of records eg: 255 char = x bytes etc etc = 156KB per record max Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -

RE: [PHP] Changing permissions with mkdir?

2003-01-11 Thread Timothy Hitchens \(HiTCHO\)
Hmm that is strange... chmod it after then: http://www.php.net/manual/en/function.chmod.php Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Ben Cheng [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 12 January 2003 2:5

RE: [PHP] Amount of data in the database

2003-01-11 Thread Timothy Hitchens \(HiTCHO\)
Give this a go.. for each of the databases use: SHOW TABLE STATUS FROM xx; That will return a huge amount of size etc data!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Denis L. Menezes [mailto:[EMAIL PRO

RE: [PHP] Sorry, PHP & HTML

2003-01-11 Thread Timothy Hitchens \(HiTCHO\)
I don't see the problem I can run the script with one issue that the comments are outside of PHP parsing. The other issue is that you are closing off for PHP but not opening up in the second block!! ** what are you errors exactly!! are they notices about variables??? Timothy Hitchens (H

RE: [PHP] Suggestions on FAQ application?

2003-01-10 Thread Timothy Hitchens \(HiTCHO\)
It is a 30 minute write... not that hard!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Jeff Lewis [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 11 January 2003 12:37 PM > To: php-gen > Subject: [PHP] Sug

RE: [PHP] Make fil downloadable

2003-01-10 Thread Timothy Hitchens \(HiTCHO\)
Correct!... yes the source not interpreted raw!! Isn't that what you wanted?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Stephen [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 11 January 2003 11:01 AM > To:

RE: [PHP] Make fil downloadable

2003-01-10 Thread Timothy Hitchens \(HiTCHO\)
real file but a script that reads into the buffer the real file!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Stephen [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 11 January 2003 10:29 AM > To: Timothy Hitchens (

RE: [PHP] Make fil downloadable

2003-01-10 Thread Timothy Hitchens \(HiTCHO\)
. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Saturday, 11 January 2003 10:17 AM To: PHP List Subject: [PHP] Make fil downloadable I need to somehow make it so when a user clicks a link, then

RE: [PHP] Is this possible with php?

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
So you want to be able to have a directory that when saved to it is really the server well besides ftp or samba integration into explorer the only other option you have is to use webdav with apache and that way it would be a post of sorts to the mod webdav module in apache. Timothy Hitchens

RE: [PHP] searching for string inside document

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
Oops... // $htlm should have been $html preg_match('/(.*)<\/title>/Usi', $html, $title); Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message----- > From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]] > Sent: Fri

RE: [PHP] searching for string inside document

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
Use Preg: // put your html into $html preg_match('/(.*)<\/title>/Usi', $htlm, $title); echo $title[1]; ** very basic example Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Martin Hudec [mailto:[EMA

RE: [PHP] Converting Excel Spreadsheet to MySQL table ...

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
Native Excel.. good luck as it is a binary format. If you save it as a CSV version of the document then you have many approaches to this issue. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Adam Ferguson [mailto:

RE: [PHP] Medium to Large PHP Application Design

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
replication systems for enterprise operations. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Nick Oostveen [mailto:[EMAIL PROTECTED]] > Sent: Friday, 10 January 2003 1:52 PM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] HEEELP...please

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
o platform always has some impact on includes!! include('/usr/local/www/data/lib/somefile.conf'); I hope this helps... the other way is to set the include paths etc!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From:

RE: [PHP] php stored in mysql

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
Please be aware that eval code is extremely hard to debug!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Paul Roberts [mailto:[EMAIL PROTECTED]] > Sent: Friday, 10 January 2003 9:33 AM > To: [EMAIL PROTECTED] &

RE: [PHP] Connection pool extension?

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
PHP supports sockets check out: http://www.php.net/manual/en/ref.sockets.php Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Vinod Panicker [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January 2003 5:31 PM >

RE: [PHP] Re: Databases vs. File Access

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
My 2 cents would be use a database and templates then create cached static versions of the pages on the first request and then when you need to changes things it is just a simple change the template and you a whole new look without the issue of performance. Make that 5 cents worth!! Timothy

RE: [PHP] Different php.ini for each user on same server

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
'/usr/sbin/sendmail -f [EMAIL PROTECTED] -t -i' The you can add the file upload size flag and value just like that. Please note some flags and values can be added here and some to the .htaccess files with some restricted for security purposes such as base open etc!! Timothy Hi

RE: [PHP] Different php.ini for each user on same server

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Please keep it on list and (reply to all) as it assist everyone then!! Check out: http://www.php.net/manual/en/configuration.directives.php As a starting point!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: SED [

RE: [PHP] Different php.ini for each user on same server

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
You can set php_value and php_flags etc inside of the virtual host def in httpd.conf etc Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: SED [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January 2003 1:10 PM >

RE: [PHP] problem with location???

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Hmm "language" !!! languaje Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Ysrael Guzmán [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January 2003 12:43 PM > To: [EMAIL PROTECTED] > Subject: [P

RE: [PHP] Stumped...

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Check out: http://www.php.net/manual/en/function.serialize.php Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Stephen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January 2003 12:13 PM > To: Timothy Hitchens (

RE: [PHP] How to strip extra characters off of a string

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Give this a shot ... a bit of a hack but works for you: Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January 2003 12:17 PM > To: php-general >

RE: [PHP] apache and php

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Your settings should be something similar to this: AddType application/x-httpd-php .php .html AddType application/x-httpd-php-source .phps Do you have the page remotely available to see what is happening for you?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail

RE: [PHP] Stumped...

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
that show you which numbers it has: Table 1: Code Name etc Table 2: Code Number You will end up with multiple numbers listed in table 2 but you can then easily find everyone with number 45. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original

RE: [PHP] Stumped...

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Do you require searching of this data eg... select via these numbers or not?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 11:56 AM To: PHP List Subject: [PHP

RE: [PHP] Variables

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
You are referring to Variables of Variables see: http://www.php.net/manual/en/language.variables.variable.php Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 10:52

RE: [PHP] $query help :(

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
$posted needs to have '' around it!! <-- this could be stopping it!! (and always check to see if the vars exist first and if you are using 4.1 + with globals off you will need to change you code now or in the future) Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EM

RE: [PHP] HTML email that generates "!"s - any ideas?

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
You need to set an encoding and encode the body see: http://www.php.net/manual/en/function.imap-8bit.php **You will need to add the headers for this plus encode** Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Tom

RE: [PHP] How Do I Return Values Across Servers

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Issue you have is that if it is on another server you must you a http etc transport to get it!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Bill Arbuckle, Jr. [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January

RE: [PHP] strange problem (user poll)

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
You need to check like this: if (isset($action) && $action == 'add') AND if it is 4.1 + and global vars are turned off?? if (isset($_GET['action']) && $_GET['action'] == 'add') ** The above will need to changed if it is POST in the a

RE: [PHP] How Do I Return Values Across Servers

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
://www.php.net/manual/en/function.include.php Requests for includes and on the supplying server simply output the value like: If you do it this way it will be simply included and be available as a variable instantly. (**subject to security issues and speed) Timothy Hitchens (HiTCHO) Open

RE: [PHP] ftp_put: permission denied

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Using ftp_login() ?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Oliver Witt [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January 2003 5:30 AM > To: [EMAIL PROTECTED]; Timothy Hitchens ) > Subject: Re

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
If you use a database for session management you have total control over when and what is garbage collected and therefore extend / delete whatever anytime you want. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Jeff B

RE: [PHP] apache + mod_php question

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
creen; requires lynx and mod_status enabled status - dump a short status screen; requires lynx and mod_status enabled graceful - do a graceful restart by sending a SIGUSR1 or start if not running configtest - do a configuration syntax test help - this screen Timothy Hitchens (HiTCHO)

RE: [PHP] ftp_put: permission denied

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
I am assuming you have testing from a desktop client. Are you sure that the PHP script has been logged in?? Can you see via a log file of the successful authentication?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From:

RE: [PHP] Warning: Unlink failed (Permission denied) in

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
You are trying to delete/unlink a file with a php script. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Kevin Meredith [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 9:54 PM > To: PHP > Subject

RE: [PHP] Re: EOF: how to generate one in a string

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
I would suggest you have a look at: http://expect.nist.gov/ Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 8:24 PM > To: [EMA

RE: [PHP] uid checked by file_exists()

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Have you checked your php.ini for a safe mode setting to true/on ?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Emmanuel.Leguy [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 7:49 PM > To: [EMA

RE: [PHP] Re: Double entry into MySQL..

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
I wish it was as simple as that but in the past it just hasn't always worked!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 7:29 PM

RE: [PHP] How to detect a PHP script time-out?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
x27;t the best for a production env but this is the best I can see considering you don't want to rewrite!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] > Sent: Wedn

RE: [PHP] How to detect a PHP script time-out?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
c etc Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 3:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] How to detect a

RE: [PHP] How to detect a PHP script time-out?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Issue... as I said before the register shutdown won't work because: - output from the shutdown is not visible nor do you have access to some variables Result: no message as you wanted to show to the client. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROT

RE: [PHP] Re: htmlspecialchars() or htmlentities without destroying tags?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Is that going to take care of Nested Tags?? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Greg Beaver [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 3:06 PM > To: [EMAIL PROTECTED] > Su

RE: [PHP] Re: Double entry into MySQL..

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
ested within 5 seconds to discard. So you will need to do a select, num_rows then if below 1 insert. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Altug Sahin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 200

RE: [PHP] How to detect a PHP script time-out?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
You want a call back method for timeout none avail. - auto append won't work - register shutdown won't work I don't know of another solution right now. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Je

RE: [PHP] How to detect a PHP script time-out?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
message start building actual page in a string behind the scenes fork--> page times out the buffer is sent out --> page ends properly ... clear the buffer and output the string you built Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PRO

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
) Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 1:11 PM > To: Timothy Hitchens (HiTCHO) > Cc: 'Jeff Bluemel'; [EMAIL PROTE

RE: [PHP] PHP Editors

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
, maintenance and soon management with the introduction of CVS integration (2.6) just announced on zend.com Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: Pierre-Luc Soucy [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2

RE: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Hmm... yes you could create an array of the files then check the last mod stamp using stat (remember to reset stat). Sessions are also cleaned up via the garbage collection system controlled via php.ini HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] > -Original Mess

RE: [PHP] restrictions

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
This is now getting to off list issues I would suggest!! HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] > -Original Message- > From: Bruce Levick [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 9:55 AM > To: Timothy Hitchens (HiTCHO)

RE: [PHP] restrictions

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Are you surfing and emailing from this box right now?? (strange if you are) HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] > -Original Message- > From: Bruce Levick [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 8 January 2003 9:47 AM > To: Timothy Hitc

  1   2   >