[PHP] More Apache than PHP

2003-03-01 Thread Timothy Hitchens \(HiTCHO\)
. 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] Turn off PHP for certain directories?

2003-02-01 Thread Timothy Hitchens \(HiTCHO\)
.html .php Timothy Hitchens (HiTCHO) Web Application Consulting e-mail: [EMAIL PROTECTED] -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

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: [PHP] php and Mac

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 PROTECTED] Subject: Re

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:29 PM

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 please quickly Here

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: [PHP] NEED HELP URGENTLY

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 Douglas; [EMAIL

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

2003-01-22 Thread Timothy Hitchens \(HiTCHO\)
Do this: ?php print_r($_SERVER); ? 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

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: [EMAIL PROTECTED] Subject

RE: [PHP] DOWNLOAD

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
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:[EMAIL PROTECTED]] Sent: Tuesday, 21 January

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 Thorburn [mailto:[EMAIL

RE: [PHP] DOWNLOAD

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
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 PROTECTED] -Original Message- From: Shaun van den Berg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 21 January 2003 8:19 PM To: [EMAIL PROTECTED

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

RE: [PHP] str_replace an include

2003-01-21 Thread Timothy Hitchens \(HiTCHO\)
)? // $string holds your html page you wish to replace ob_start(); include('links.php'); $links = ob_get_contents(); ob_end_clean(); str_replace('!--linkTag--!', $links, $string); echo $string; I hope this gives you a direction. Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL

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 2003 1:38 AM

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 2003 2:12 AM To: [EMAIL

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

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]] Sent: Wednesday

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 2003 8:06 PM

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: -[ Rene Brehmer ]- [mailto

[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] login script fix help needed

2003-01-20 Thread Timothy Hitchens \(HiTCHO\)
Move this below to after your php logic: html head titleAdd a User/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Karl James [mailto:[EMAIL

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-mail: [EMAIL PROTECTED

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

2003-01-18 Thread Timothy Hitchens \(HiTCHO\)
This would do it: ?php $first[] = 'hello'; $first[] = 'bye'; function swap($list, $first, $second) { $tempOne = $list[$first]; $list[$first] = $list[$second]; $list[$second] = $tempOne; } swap($first, 0, 1); print_r($first); ? Timothy Hitchens (HiTCHO) Open

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 AM To: [EMAIL PROTECTED

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] 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]] Sent: Friday

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 January 2003 12

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 e-mail: [EMAIL

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 2003 4:53 AM

RE: [PHP] a href question

2003-01-14 Thread Timothy Hitchens \(HiTCHO\)
You are using singles ' then you are doing . and it should be '. etc Try: printf('trtda href='. $row1[url] .'Fotografía%snbsp/a/td/tr', $i); Timothy Hitchens (HiTCHO) Open Source Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Ezequiel Sapoznik [mailto:[EMAIL

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: Wednesday, 15

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] [mailto:[EMAIL

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 PROTECTED

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 Message

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 Platform Consulting e

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 Message- From

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

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] highlight keywords issue

2003-01-12 Thread Timothy Hitchens \(HiTCHO\)
=/page.html done=yesPHP/a as you can see the a href has been processed because I have added in a extra attribute then continue to process the entire page from my preg matches. Nested tags are going to be your biggest issue. Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [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] Subject: Re: [PHP

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]] Sent: Monday, 13 January 2003 9:28 AM

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 PROTECTED] Subject: Re

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

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

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 (HiTCHO

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

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:56 PM To: [EMAIL

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

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

RE: [PHP] Make fil downloadable

2003-01-10 Thread Timothy Hitchens \(HiTCHO\)
and remember to change the xxx.php into the file to be delivered and the xxx.php in the header to the name you would like them to save as. * the file.php in the top is not the real file but a script that reads into the buffer the real file!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail

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: Timothy Hitchens

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] Suggestions on FAQ application

RE: [PHP] HEEELP...please

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
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: [EMAIL PROTECTED] [mailto

RE: [PHP] Medium to Large PHP Application Design

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
and 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: [PHP] Medium to Large

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

RE: [PHP] searching for string inside document

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
Use Preg: // put your html into $html preg_match('/title(.*)\/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:[EMAIL PROTECTED]] Sent

RE: [PHP] searching for string inside document

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

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] 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] Subject: Re: [PHP

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 To: Timothy

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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED

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: [PHP] Warning: Unlink

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

RE: [PHP] apache + mod_php question

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
; 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) Open

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 Bluemel

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: [PHP] ftp_put: permission

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

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Bill Arbuckle, Jr. [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 8:17 AM To: [EMAIL PROTECTED] Subject: [PHP] How Do I Return Values Across Servers This may be a no-brainer

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 above example!! Timothy Hitchens (HiTCHO) Open Platform

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 2003 9:38 AM

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 Rogers

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

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

RE: [PHP] apache and php

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

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

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
, 'hda'); // replace two spaces with one - ensure differences in quota function doesn't effect $test = eregi_replace(' ', ' ', $test); // split on spaces $test = explode(' ', $test); echo trim($test[2]); ? Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED

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 (HiTCHO) Cc: PHP

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: [PHP] problem with location??? give

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 To: [EMAIL PROTECTED

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

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

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
!! Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: SED [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 1:27 PM To: 'Timothy Hitchens (HiTCHO)'; [EMAIL PROTECTED] Subject: RE: [PHP] Different php.ini for each user on same

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

2003-01-08 Thread Timothy Hitchens \(HiTCHO\)
Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 3:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Databases vs. File Access Erich Kolb wrote: I am

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 To: [EMAIL PROTECTED

RE: [PHP] InStallation Error Of ZendStudio on win98

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
Have you tried it in Safe Mode as you may have a Java Runtime issue. HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Steven Seijmonsbergen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 7 January 2003 7:09 PM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] Dreaded Return-Path and mail()

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
As I have said before that if you set the webserver user in as a trusted user in the sendmail.cf file all is fixed. You can then set a return-path etc without warnings as well. HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Petre Agenbag

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

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
then write out and unlock. HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Jeff Bluemel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 9:08 AM To: [EMAIL PROTECTED] Subject: [PHP] anyway to do a 'whos online' from session variable

RE: [PHP] restrictions

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
This is outgoing traffic the same as if you where surfing the Internet and as the connection is an established one your machine will allow it. I would suggest looking at the (server) as it may not allow relaying etc!! HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED

RE: [PHP] restrictions

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
In windowsxp do the following: Start - Run Open: cmd At the shell type: telnet x.x.x.x 25 x.x.x.x being the smtp server If you get a prompt then you have other issues such as relay etc etc HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message

RE: [PHP] restrictions

2003-01-07 Thread Timothy Hitchens \(HiTCHO\)
You need to follow my instructions and do telnet x.x.x.x 25 notice the 25 after the IP ?? HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Bruce Levick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 9:35 AM To: Timothy Hitchens

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 Hitchens (HiTCHO) Cc

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) Cc: [EMAIL PROTECTED

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 Message

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 2003 12:07 PM

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 PROTECTED] Subject: RE: [PHP] anyway

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 PROTECTED

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: Jean-Christian Imbeault

  1   2   >