[PHP] PHP as HTML

2002-06-04 Thread Tom Ray
Hey there- I'm trying to use an .htaccess file to parse .php files as .html does anyone know how to do this? It doesn't work with the same structure as parsing the .shtml files. any suggestions would be great. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
.html AddType application/x-httpd-php .htm - Original Message - From: Tom Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 2:41 PM Subject: [PHP] PHP as HTML Hey there- I'm trying to use an .htaccess file to parse .php files as .html does anyone

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message - From

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
-Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message

[PHP] Retrieving Info from Cookies

2002-06-04 Thread Tom Ray
I've been playing with cookies, and I've been able to write information to a cookie, but now what I want to do is pull that information from the cookie. Is there something special I need to do to pull that info or should I just be to get that data by delcaring a variable in the php script?

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Tom Ray
when I do that it comes up with Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' Justin French wrote: you should be able to access it via $_COOKIE['name'], or what I do, $cookie = $_COOKIE['name']. Justin French on 05/06/02 2:19 PM, Tom Ray ([EMAIL

[PHP] Search a flat file.

2002-06-07 Thread Tom Ray
I want to be able to search a flat file line by line looking for data such as a username then display all the information in that line. Is there some way to search the following format: record1:username:info:info:info record2:username:info:info:info record3:username:info:info:info So if

Re: [PHP] Re: Search a flat file.

2002-06-07 Thread Tom Ray
]) == some name { /* routine to display entire row */ } /* continue processing loop */ -- Gaylen PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/ Tom Ray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I want to be able to search a f

[PHP] Getting users monitor size

2002-06-09 Thread Tom Ray
Is there a way to do this with PHP? I couldn't find it in the online docs and the archive search is offline :( thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Another Flat File question.

2002-06-09 Thread Tom Ray
I know I've asked this before but I don't believe I asked the question correctly. I have a flat file database that is delimited with colons. This file will have new records added to it on a regular basis. What I want to do is be able to search that file based on a keyword that is inputted by

[PHP] Include question

2002-06-11 Thread Tom Ray
I'm trying to use the include function in some PHP scripts, but when I do include 'config.inc'; or include 'config.php; It returns all the information in the file when I look at my test php file (which calls the include) Anyone know why this is? -- PHP General Mailing List

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
including it... ---John Holmes... -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:29 PM To: [EMAIL PROTECTED] Subject: [PHP] Include question I'm trying to use the include function in some PHP scripts, but when I do include 'config.inc

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
to do...it's including it... ---John Holmes... -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:29 PM To: [EMAIL PROTECTED] Subject: [PHP] Include question I'm trying to use the include function in some PHP scripts, but when I do

[PHP] Unlink question more or less

2002-06-11 Thread Tom Ray
I want to use unlink() to delete a wildcard, but at the moment I keep getting parse errors. Here's what happening: I'm mucking around with some login stuff, when a user logs in it writes a flat file that collects some information about them, the flat file is created with the name

Re: [PHP] Unlink question more or less

2002-06-11 Thread Tom Ray
? The usernames are unique, right? ---John Holmes... -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 11:06 PM To: [EMAIL PROTECTED] Subject: [PHP] Unlink question more or less I want to use unlink() to delete a wildcard, but at the moment I keep

Re: [PHP] Unlink question more or less

2002-06-12 Thread Tom Ray
Any word on when glob() will be in the production version? thanks for the help Miquel. - Original Message - From: Miguel Cruz [EMAIL PROTECTED] To: Tom Ray [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 2:01 AM Subject: Re: [PHP] Unlink question more or less

[PHP] Dynamic Arrays

2002-06-12 Thread Tom Ray
I have an array question. I want to use a dynamic array but I don't know how to do this. What I want to do is this, I want to write a form script that takes the elements of the form and submits them in the array then I want to do a loop and check to see if each element in the array has a

Re: [PHP] beginner in PHP

2002-06-12 Thread Tom Ray
Try this: echo $catalog[unitprice]; in my experience I've only been able to use the echo() without the quotation marks if I'm calling a function, for variables you need the quotation marks. Hope this helps. Phillip Perry wrote: Can someone tell me why this doesn't work? The $mycart array

Re: [PHP] server problems

2002-06-18 Thread Tom Ray
And what are the directory/file permissions where you are writing the archive files? - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] To: Kris Vose [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, June 18, 2002 11:54 AM Subject: Re: [PHP] server problems Are you

Re: [PHP] ErrorDocument 404 Form

2002-07-17 Thread Tom Ray
Actaully, neither Apache or PHP is at fault. The ErrorDocument (either in httpd.conf or an .htaccess file) follows absolute paths, so you are calling your engine.php out of the root directory of the machine. So the question is, do you have engine.php in the / folder? If not you can put it there

[PHP] Mcrypt Function - New to it

2002-05-30 Thread Tom Ray
Hi there..some what a new programmer when it comes to all this. I'm trying to encrypt some data and then decrypt it. It doesn't have to be high bit encryption just something simple like 3DES. But I keep getting it wrong. Any help would be greatful. Here's the piece of code: $iv =

Re: [PHP] Mcrypt Function - New to it

2002-05-30 Thread Tom Ray
($td, base64_decode($eid)); mcrypt_generic_end ($td); return $id; } Tom At 11:07 PM 30/05/2002 -0400, Tom Ray wrote: Hi there..some what a new programmer when it comes to all this. I'm trying to encrypt some data and then decrypt it. It doesn't have to be high bit

RE: [PHP] mail () will send to everyone except my own domain

2002-07-31 Thread Tom Ray
Gareth- This sounds more like a sendmail issue to me. I've run into this a few times myself. What's happening is simple, sendmail has a file that it reads generally called domains this file tells sendmail what domains it should be handling mail for. When you submit your form the first thing

Re: [PHP] whois query

2002-09-12 Thread Tom Ray
Yes, but how do you format the information that comes back out of the whois? I'm doing this: ? $whois = system(whois [EMAIL PROTECTED]); print pre$whois/pre; ? But all the information is shown as one big line, no breaks or anything. How would I do this so it showed properly formatted

Re: [PHP] whois query

2002-09-12 Thread Tom Ray
Nope still comes up with everything in one big line. I'm running through different options right now..but I'm tired and my brain is starting to hurt :) Adam Williams wrote: try with p /p and see if that works. Adam On Thu, 12 Sep 2002, Tom Ray wrote: Yes, but how do you

Re: [PHP] Re: whois query

2002-09-12 Thread Tom Ray
A working solution to the whois question ? $whois = `whois [EMAIL PROTECTED]`; print pre$whois/pre; ? Notice those are back ticks, not single quotes. This will give youthe information you need, and the pre tag puts it out in the proper format for you. yasin inat wrote: Thanx friends

[PHP] COOKIE Question.

2002-09-17 Thread Tom Ray
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them. First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Then I check my Cookies in Netscape and I can see that I have the cookie stored. But when I go to the page that

Re: [PHP] COOKIE Question.

2002-09-17 Thread Tom Ray
, but case in names seems to generally cause problems. Tom Ray wrote: I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them. First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Then I check my Cookies in Netscape and I

[PHP] Test

2002-09-17 Thread Tom Ray
Test message -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] COOKIE Question.

2002-09-18 Thread Tom Ray
Discovered my cookie issue. I wasn't setting the path in setcookie() so it defaulted to what ever directory the script ran in. I set it so it loads from the root of the website now, and it's working like a charm. Thanks to all that helped! John Holmes wrote: I do the print

[PHP] Calling on functions in a url

2002-09-19 Thread Tom Ray
I have a question that I have yet to figure out. Let's say I have a PHP script with multiple fuctions, how do I call on the script to perfom specific functions through a url? Ex: http://www.sample.com/script.php?fucntion1 TIA -- PHP General Mailing List (http://www.php.net/) To

[PHP] Script Modificaton question

2002-09-19 Thread Tom Ray
I have a chat script that I downloaded and according to the license I can modify it as much as I want, and I'm a little stuck on a simple modification I want to make. When you type in a message it stores in in a file called text.php and then the chat page does an include call for the text.php

Re: [PHP] Script Modificaton question

2002-09-19 Thread Tom Ray
Ahah! That's what I was thinking, thatnks for helping me clear that up! John Holmes wrote: I have a chat script that I downloaded and according to the license I can modify it as much as I want, and I'm a little stuck on a simple modification I want to make. When you type in a message it stores

[PHP] Encryption Question

2002-09-23 Thread Tom Ray
I want to compare a password to a encrypted password stored in my mySQL database using password('password'), what's the best way to compare the two? Encrypted the password sent by the user and compare or pull the password from the database based on username, decrypt it and then compare? --

[PHP] Another Encryption question

2002-09-23 Thread Tom Ray
I dipped into mcrypt about a month or so, and did this script back then. I had it working, it would kick out the encrypted data for me but today when I test it I get a Fatal error: Call to undefined function: mcrypt_create_iv() in test2.php on line 3. And I don't understand why...any help

Re: [PHP] Another Encryption question

2002-09-23 Thread Tom Ray
also if I comment out $iv, I get the error Call to undefined function mcrypt_encrypt() on that line.. I just don't understand why it keeps doing this. I'm running 4.2.2 Tom Ray wrote: I dipped into mcrypt about a month or so, and did this script back then. I had it working, it would kick

[PHP] PHP Form and Arrays help

2002-09-24 Thread Tom Ray
I'm having a small problem with a form I'm designing and I hope someone can point me in the right direction here. The form's function is rather simple actaully. It's supposed to take the information, run through it to make sure all the required fields have data in them, if there is a blank

Re: [PHP] Searching for a new provider

2001-12-12 Thread Tom Ray
Hey Andy- I work with a hosting company that I believe has everything you're looking for in your wish list. They're a small company that's been around for about 10 years (started as an ISP). If you can get me more information on the type of hosting you're looking to do and what other

[PHP] Simple Question

2001-12-12 Thread Tom Ray
I have a quick question that I haven't been able to find the answer to yet. I've made a couple of guest books via PHP but the biggest problem I'm having is if any one inputs a ' or or anything like that, the output in the book shows the stupid \ for the escape. So the word Tom's looks like

Re: [PHP] Re: Simple Question

2001-12-12 Thread Tom Ray
oh no, Iv'e gotten two answers... stripslashes() and strip_slashes() which one? which one?! G Gaylen Fraley wrote: strip_slashes() -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite Tom Ray [EMAIL PROTECTED

[PHP] PHP Upgrade Question

2006-05-03 Thread Tom Ray
Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without using the CD's and justing installing from the source. However, I just installed PHP 4.4.2 and I used all the same path calls

Re: [PHP] PHP Upgrade Question

2006-05-03 Thread Tom Ray
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote: On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote: Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without

Re: [PHP] PHP Upgrade Question

2006-05-03 Thread Tom Ray
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote: On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote: Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without

Re: [PHP] PHP Upgrade Question

2006-05-05 Thread Tom Ray
On 05.03.2006 at 20:34:20, Eric Butera [EMAIL PROTECTED] wrote: Ok so I can't find apxs on the server at all, even though the 4.3.4phpinfo claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did some search via google and I reconfigured using --enable-cli and

[PHP] PHP question

2002-12-17 Thread Tom Ray
Are PHP script supposed to run as the user or as the web server? Currently I'm running Red Hat 7.3 with apache 1.3.x and all my PHP scripts run as apache, not as the user. I'm wonder if I can run the scripts as the user and how do I fix this? Any help would be great! -- PHP General Mailing

Re: [PHP] How can I redirect to another php page

2003-01-08 Thread Tom Ray
You could use an include statement in one of two ways. 1) you can just include the page that you want to show, however the url doesn't change it will still be select.php 2) if you want to sent them to yellow.php or green.php you could include an html page that had a meta-refresh in it set for 0

Re: [PHP] Newbee observation

2003-01-09 Thread Tom Ray
Mail servers play a part in this too. Maybe the admins should pack up their servers and send them back too :) -Original Message- From: Hendrik van Niekerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 9 Jan 2003 11:11:30 -0600 Subject: [PHP] Newbee observation Why does the

[PHP] mysql_connect error

2003-01-20 Thread Tom Ray
Can someone please tell me why I'm getting this error: *Fatal error*: Call to undefined function: mysql_connect() in */webs/tom/www.bohabcentral.com/www/bohabs/auth.php* on line *4 *mysql_connect was working a week or so ago, and I haven't made any changes to the servers configuration. If

[PHP] mysql_connect problem..update

2003-01-21 Thread Tom Ray
It turns out after some checking, the other admin on the machine ran a kernel update last week. I hadn't been testing any scripts over the last week myself so I didn't notice the issue until the other day. When I run a function_exists() for mysql_connect it comes back false. When I run phpinfo()

Re: [PHP] mysql_connect problem..update

2003-01-21 Thread Tom Ray
Thanks, we're going to give that a try. -Original Message- From: Tracy Finifter Rotton [EMAIL PROTECTED] To: Tom Ray [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Tue, 21 Jan 2003 10:25:55 -0800 Subject: Re: [PHP] mysql_connect problem..update Talk to the other admin. If you're using RPMs

Re: [PHP] Simple E-mail Question

2003-01-22 Thread Tom Ray
you would put that in the $mailheaders variable. Something like $mailheaders = From: Joe Bloe [EMAIL PROTECTED]\r\n; $mailheaders .= Cc: Some Dude [EMAIL PROTECTED]\r\n; $mailheaders .= Bcc: Some Other Guy [EMAIL PROTECTED]\r\n; That should work for you. Just do this for whatever other headers

[PHP] Random Images

2003-02-05 Thread Tom Ray
I'm trying to set it up so that a random image from either a mysql table or a text file list is displayed on a page each time a user goes to it. I'm a little stumped as to how to do this with phpany suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Little help please

2003-02-27 Thread Tom Ray
I'm looking for a webbased interface that will allow me to managae mysql databases. However, phpmyadmin has been ruled out due to the fact it requires the username and password to be stored in the config file and that it doesn't have any security to protect the average joe from stumbling across

[PHP] time() question

2003-03-13 Thread Tom Ray
Is there an easy way to display the epoch time given by time() in a human readable format? Basically, if I do $time = time(); and the insert that data into my mysql database and then pull that information out again how do I make it look like 2003-03-13 or a variant of that? TIA -- PHP General

Re: [PHP] html parsing

2007-11-07 Thread Tom Ray [Lists]
Ron Croonenberg wrote: Hello, I have a script that ads data to a html template. However when there is an include in the html like: !--#include file=include/header.sinc -- it is not processed, but just ends up as a string in the page. So I guess it needs to be parsed. Is there an easy way to

[PHP] Upgrade to PHP5 and having issues with mysql

2008-01-21 Thread Tom Ray [Lists]
Hey- I'm trying to install PHP5 with mysql support and I keep running into the same problem over and over again. I run the configuration with this: --with-mysql=/usr/local/mysql and without fail I get this every time: ext/mysql/php_mysql.o: In function `zif_mysql_create_db':

Re: [PHP] Upgrade to PHP5 and having issues with mysql

2008-01-21 Thread Tom Ray [Lists]
Chris wrote: Tom Ray [Lists] wrote: Hey- I'm trying to install PHP5 with mysql support and I keep running into the same problem over and over again. I run the configuration with this: --with-mysql=/usr/local/mysql and without fail I get this every time: ext/mysql/php_mysql.o: In function

Re: [PHP] Upgrade to PHP5 and having issues with mysql

2008-01-21 Thread Tom Ray [Lists]
Chris wrote: Tom Ray [Lists] wrote: Chris wrote: Tom Ray [Lists] wrote: Hey- I'm trying to install PHP5 with mysql support and I keep running into the same problem over and over again. I run the configuration with this: --with-mysql=/usr/local/mysql and without fail I get this every time

Re: [PHP] Upgrade to PHP5 and having issues with mysql

2008-01-22 Thread Tom Ray [Lists]
Robert Cummings wrote: On Mon, 2008-01-21 at 18:01 -0500, Tom Ray [Lists] wrote: Hey- I'm trying to install PHP5 with mysql support and I keep running into the same problem over and over again. I run the configuration with this: --with-mysql=/usr/local/mysql and without fail I get

Re: [PHP] Upgrade to PHP5 and having issues with mysql

2008-01-22 Thread Tom Ray [Lists]
Robert Cummings wrote: On Tue, 2008-01-22 at 12:42 -0500, Tom Ray [Lists] wrote: Robert Cummings wrote: On Mon, 2008-01-21 at 18:01 -0500, Tom Ray [Lists] wrote: Hey- I'm trying to install PHP5 with mysql support and I keep running into the same problem over and over again

[PHP] Currency Exchange Database?

2007-06-28 Thread Tom Ray [Lists]
I have a client that's looking to do auto conversions of currency on their reservation payment form. No big deal, I can that part down. However, exchange rates change on a minute to minute basis and they want the program to automatically know the current rates. Is there an online database or a

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Tom Ray [Lists]
I thought about that but I'm looking to make it seem-less. I just want to get the numbers and do the conversion myself not have the third party do it. I just need an updated list on a daily/hourly basis. Paul Scott wrote: On Thu, 2007-06-28 at 20:44 -0400, Tom Ray [Lists] wrote: I have

Re: [PHP] Re: Pirate PHP books online?

2007-07-16 Thread Tom Ray [Lists]
Richard Heyes wrote: Every single one of us has been guilty of it at some time or another You can't make that assumption. Sure he can. Assumptions are like opinions which are like ...well you know what I'm getting at...we all have them. And if someone can honestly say they've never stolen

Re: [PHP] Re: Pirate PHP books online?

2007-07-16 Thread Tom Ray [Lists]
Daniel Brown wrote: P.S. - If a rooster lays an egg in a nest under a tree that falls in the woods and no one is there to hear it, how soon will train B meet train A if the wind blows the egg off the top of a barn facing west before sundown? Oh, I know this! Roosters can't lay eggs. --

[PHP] Upload Tracker.

2007-07-17 Thread Tom Ray [Lists]
I'm a little unsure on how to do this but basically when someone uses a form to upload a file I want to have a popup window come up and so the process in percentage of the transfer. Anyone do this before? Is it possible in PHP or do I need to do it in javascript or a mixture of both? Any

[PHP] HTML Email Composing Problem.

2007-07-26 Thread Tom Ray [Lists]
BODY: HTML is extremely short 0.0 HTML_MESSAGE BODY: HTML included in message 1.5 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding Here is the script, which I mostly borrowed from tutorials/how to examples on the web. $to=Tom Ray [EMAIL PROTECTED]; $from

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Tom Ray [Lists]
Chris wrote: Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6 HTML_SHORT_LENGTH

Re: [PHP] Hide the real URL

2007-07-27 Thread Tom Ray [Lists]
Eric Butera wrote: On 7/28/07, brian [EMAIL PROTECTED] wrote: Eric Butera wrote: On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 27, 2007 8:20 am, Eric Butera wrote: Not everyone has the option to do that. Plus I think it is unintuitive to have

Re: [PHP] Re: Pirate PHP books online?

2007-07-29 Thread Tom Ray [Lists]
Really, I had expected more mature commentary from the adults on this list. So did I. I expect adults to display morality and values. Really? Have you hung out with many computer geeks? Oh..wait..morality..I thought you said maturity. Pardon me. :) -- PHP General Mailing List

Re: [PHP] Re: Rules of Engagement

2007-07-29 Thread Tom Ray [Lists]
Colin Guthrie wrote: Daniel Brown wrote: As a relatively-new contributor to this list (read: under 2 years), I realize that I have no business requesting a change, but I'll breech etiquette and hope for the best. Can we update the filters on the list to have the reply-to address

Re: [PHP] Bizarre array create error

2007-07-29 Thread Tom Ray [Lists]
Ken Tozier wrote: Hi I'm trying to assign two fields of an object returned from a MySQL query and have stumbled upon the most bizarre PHP bug where I can't create two arrays in succession. Here's the MySQL query with two dummy fields to be filled in later select *, 0 as dummy_1, 0 as

Re: [PHP] Bizarre array create error

2007-07-31 Thread Tom Ray [Lists]
Paul Novitski wrote: At 7/29/2007 09:59 PM, Ken Tozier wrote: /*--*/ /* Next two lines are where the problem starts */ /* If I comment either of them out the script runs */ /*

Re: [PHP] Which PHP-Editor to use?

2007-08-02 Thread Tom Ray [Lists]
Merlin wrote: Hi there, I have worked now for several years happily with homesite 4.5, but now it looks like I have to switch to another system as homesite will not run without admin rights on a XP machine. What editors do you use? Do you have any recomendations on a special one? I have

Re: [PHP] OT- why is network solutions more than godaddy?

2007-08-03 Thread Tom Ray [Lists]
Stut wrote: blackwater dev wrote: I have to register a bunch of names and am trying to figure out why I would pay $35 when I can just pay $9 at godaddy. Does godaddy own it and I lease it from them??? Network Solutions are expensive, GoDaddy are cheap. That's all there is to it. In my

[PHP] Creating watermarks

2007-08-04 Thread Tom Ray [Lists]
I've been learning how to use PHP with the GD Library and I've managed to learn quite a bit. I can upload, resize, create thumbnails and I'm even able to create security code images for forms. My question is how do I create a Watermark on the image? I want something transparent but still

Re: [PHP] Creating watermarks

2007-08-04 Thread Tom Ray [Lists]
); imagejpeg ($sourcefile_id); } imagedestroy($sourcefile_id); imagedestroy($watermarkfile_id); } ? Regards, Greg http://www.psmdev.com http://www.psmdev.com/ On 8/4/07, *Tom Ray [Lists]* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I've been learning

Re: [PHP] Open Source Job Wanted system

2007-08-09 Thread Tom Ray [Lists]
Joey wrote: Has anybody had any experience with any open source Job posting systems out there? Thanks! I've written one myself. It allows for job seekers to put up a profile, resumes, etc and for employers to post their jobs and search resumes. Full search ability on both sides. They

Re: [PHP] Using a variable for include statement

2007-09-11 Thread Tom Ray [Lists]
Jeff Benetti wrote: Sorry if this is a noob question, I have used PERL, TCL and VB but I am just getting into PHP. If there is a better place to ask noobie questions then let me know. I want to use the include statement but I want to pass the name of the file rather than hard code it. It

Re: [PHP] Public Announcement

2007-09-11 Thread Tom Ray [Lists]
Greg Donald wrote: On Tue, 11 Sep 2007, Stut wrote: You didn't say what you have against mod_rewrite. I'll bet you mod_rewrite can parse a request and send it to the right script faster than your PHP implementation. Has anyone tried Nginx? The rewrite rules are a bit more clear than

Re: [PHP] Compose MP3 from a php enabled flash page.

2007-10-12 Thread Tom Ray [Lists]
John Taylor-Johnston wrote: I have an educational web site. I want to create an interface where my students can record their voices client side and then save messages server side. I thought Odeo would solve my problems. (The have their own problems now.) Then I tried: MyChingo and Mobasoft.

Re: [PHP] HTML Parse Issue

2007-10-14 Thread Tom Ray [Lists]
[EMAIL PROTECTED] wrote: I am having a issue parsing an html file. I want to pull all the data between two html tags. Problem I am having is that no matter what I try I can pull either tag or both but not the data in between. div class=record id=one div class=rideon

Re: [PHP] Which PHP-Editor to use?

2007-10-16 Thread Tom Ray [Lists]
Stut wrote: Zoltán Németh wrote: 2007. 10. 16, kedd keltezéssel 04.59-kor mooor ezt írta: I recommed you Codelobster php edition. Very good free php editor. It reminds me a mix of Zend Studio and MS Visual Studio. If to the basic features they are: syntax highlighting, an

[PHP] Max File Upload

2006-08-15 Thread Tom Ray [Lists]
Is there anyway to overwrite the max file upload in php.ini per instant? I'd like to have users controlled on a certain website to have more then average uploads but the site runs on a shared hosting environment. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Script timing out.

2006-08-20 Thread Tom Ray [Lists]
I just installed PHP Open Chat and I'm getting an error when I log in about the script being unresponsive. Anyone ever run into this? Or could shed a light as to what causes this error? I've never seen it come up before.I'm running PHP 4.4.2/Apache 2.0.5 -- PHP General Mailing List

[PHP] User question for PHP

2006-10-19 Thread Tom Ray [Lists]
Is it possible to have a PHP script execute as the user of the domain instead of the webserver? So when I upload files through a PHP script they are owned by me and not wwwrun or nobody? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem compiling PHP 4.4.2 with mcrypt

2006-10-26 Thread Tom Ray [Lists]
I have to get a temporary server in place under a tight time frame and am using a pre-existing server that wasn't configured really for hosting websites. I've upgraded all the services on it like going from Apache 1.3.x to Apache 2.0.59 and PHP from it's old version to 4.4.2 however I need to

[PHP] Probably a dumb question but...

2006-10-31 Thread Tom Ray [Lists]
I've just installed PHP 4.4.4 with CLI disabled and CGI enabled. With CLI I can find the PHP executable in $prefix/bin/php but with CGI I can't find it. I need the path to the PHP executable so I can install suPHP but $prefix/bin/php no longer exists and all I have in $prefix/bin is php-config

Re: [PHP] php cli and mysql

2006-11-14 Thread Tom Ray [Lists]
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2006-11-14 20:17:16 +0200: On 11/14/06, James Tu [EMAIL PROTECTED] wrote: I'm running a php script from the command line (I'm on OS X) and I'm getting ... Warning: mysql_connect(): Can't connect to local MySQL server through socket

Re: [PHP] php cli and mysql

2006-11-14 Thread Tom Ray [Lists]
Chris wrote: Tom Ray [Lists] wrote: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2006-11-14 20:17:16 +0200: On 11/14/06, James Tu [EMAIL PROTECTED] wrote: I'm running a php script from the command line (I'm on OS X) and I'm getting ... Warning: mysql_connect(): Can't connect

[PHP] Sessions Issue

2005-07-29 Thread Tom Ray [Lists]
We built a box about 7 months or so ago using the SuSE 9.1 cd's, straight install from the CDs. While I've read that sessions are turned on by default, when we try to call on the sessions functions (like with phpOpenChat or start_session()) we get calls to undefined function errors. This is

Re: [PHP] Sessions Issue

2005-07-31 Thread Tom Ray [Lists]
sessions without recompiling? And if I can't, how do I recompile since I used the SuSE cd's and YasT? John Nichel wrote: Tom Ray [Lists] wrote: We built a box about 7 months or so ago using the SuSE 9.1 cd's, straight install from the CDs. While I've read that sessions are turned

Re: [PHP] Sessions Issue

2005-08-03 Thread Tom Ray [Lists]
? Burhan Khalid wrote: On Jul 29, 2005, at 8:07 PM, Tom Ray [Lists] wrote: We built a box about 7 months or so ago using the SuSE 9.1 cd's, straight install from the CDs. While I've read that sessions are turned on by default, when we try to call on the sessions functions (like

Re: [PHP] Sessions Issue

2005-08-03 Thread Tom Ray [Lists]
, Tom Ray [Lists] [EMAIL PROTECTED] wrote: We built a box about 7 months or so ago using the SuSE 9.1 cd's, straight install from the CDs. While I've read that sessions are turned on by default, when we try to call on the sessions functions (like with phpOpenChat or start_session()) we get calls

Re: [PHP] Message check then post

2005-08-03 Thread Tom Ray [Lists]
George- Without seeing your code it's hard to say what the problem is. There could be a typo, a missing quote or semi colon. The code snippet of the review page would be helpful. Now when you say it's entering blanks into the database, I'm assuming you have a messageID field in the db that

Re: [PHP] GD

2006-06-12 Thread Tom Ray [Lists]
Beauford wrote: Hi, I am trying to get GD working so I can use a captcha script and not having much luck. I can get it to work in Windows, but not Linux. I have seen a few comments suggesting that PHP needs to be compiled with the GD switch. Is there another way to do this? I have PHP,

Re: [PHP] GD

2006-06-13 Thread Tom Ray [Lists]
Beauford wrote: I'm using Slackware 10 and installed GD as an install package. I also changed some lines in the php.ini file for GD. Tom: I have no idea how this program works, all I know is that I need it for the captcha program to display the image. I wouldn't even bother otherwise.

[PHP] Cookie Question

2006-06-23 Thread Tom Ray [Lists]
I've run into something rather odd with cookies today. I'm working with this admin section on a site and I'm setting a cookie that is supposed to be good for one hour. So in the cookie I have time()+3600 and all was well or that was until someone fired up IE. It seems that IE refused to set

[PHP] session_save_path() issue

2005-03-30 Thread Tom Ray [Lists]
Hey there- I went to install phpopenchat today and when I run the test.php script that comes with, I get this error: *Fatal error*: Call to undefined function: session_save_path() in */path/to/website/htdocs/phpopenchat/config.inc.php* on line *98 *I'm not sure why this is coming up since the

[PHP] Issues with exec()/system()

2003-09-10 Thread Tom Ray [List]
I'm having a bit of an issue using exec() and system(). Background: I have this script that installs forum software for a client, and that works like a champ. In it I use system() to copy the the default forum directory to the specified location the client sets, along with a unique directory

Re: [PHP] Automatic Headers and Footers

2003-06-06 Thread Tom Ray [Lists]
I would have to say yes it can be done. The way *I* would do it is like this: First, I would drop a .htaccess file that allows the HTML files to run through the PHP parser. Like this AddType application/x-httpd-php .php .html The in all of the HTML docs it would look like this: -HTML- -Head-

  1   2   >