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

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 sec

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 webm

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

[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() t

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 t

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 oth

[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: http:/

[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 it.

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

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"; ?> But all the information is shown as one big line, no breaks or anything. How would I do this so it showed properly formatted output? Adam Williams wrote: >Have a php page that runs exec(

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 and see if that works. > > Adam > >On Thu, 12 Sep 2002, Tom Ray wrot

Re: [PHP] Re: whois query

2002-09-12 Thread Tom Ray
A working solution to the whois question $whois"; ?> Notice those are back ticks, not single quotes. This will give youthe information you need, and the tag puts it out in the proper format for you. yasin inat wrote: >Thanx friends > > > > > > -- PHP General Mailing List (http:/

[PHP] COOKIE Question.

2002-09-16 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 t

Re: [PHP] COOKIE Question.

2002-09-16 Thread Tom Ray
cess. This may not be the problem, 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 cook

[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 $_COOKIE["Accces

[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 unsubscribe,

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

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

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.

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

[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: http://w

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
L > AddType application/x-httpd-php .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 > >

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
dule or cgi ver? > >Cheers > >-----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

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
ication/x-httpd-php .html >>>AddType application/x-httpd-php .htm >>> >>>is PHP installed as a module or cgi ver? >>> >>>Cheers >>> >>>-Original Message- >>>From: Tom Ray [mailto:[EMAIL PROTECTED]] >>>Sent: Wedne

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

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

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

2002-06-07 Thread Tom Ray
that arrays start with element 0 */ >if ($your_array[1]) == "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

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

[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 (http://www.php.ne

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
= 'yellow': Why is that? John Holmes wrote: >Umm...that's what it's supposed to do...it's "including" it... > >---John Holmes... > > > >>-Original Message- >>From: Tom Ray [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday

Re: [PHP] Include question

2002-06-11 Thread Tom Ray
7;s what it's supposed 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

[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 username.date

Re: [PHP] Unlink question more or less

2002-06-11 Thread Tom Ray
atetime part at all? 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 mo

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 S

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

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 ar

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 > A

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 or

[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 = mcrypt_create

Re: [PHP] Mcrypt Function - New to it

2002-05-30 Thread Tom Ray
""); > $iv = pack("a".mcrypt_enc_get_iv_size($td),$iv); > mcrypt_generic_init ($td, $password, $iv); > $id = mdecrypt_generic ($td, base64_decode($eid)); > mcrypt_generic_end ($td); > return $id; > } > Tom > >

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 specific

[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?! Gaylen Fraley wrote: >strip_slashes() > >-- >Gaylen >[EMAIL PROTECTED] >Home http://www.gaylenandmargie.com >PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwe

[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

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

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 --ena

[PHP] PHP / mcrypt compile

2003-07-19 Thread Tom Ray [Lists]
Ok, I've never done this before so I want to double check before I do it. I'm running RH 7.3 and PHP was installed as a RPM. Now I've just installed libmcrypt. My question is when I go to recompile PHP can I just run the PHP configure file as "configure --with-mcrypt[=DIR] --disable-posix-threa

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

[PHP] Cookies and Expirations

2003-06-04 Thread Tom Ray [Lists]
Simple question: How do I check the expiration of a cookie that has been set? I can't seem to find it on php.net, if it is there..please provide the proper link for me and I will read up on it. Thanks, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] mcrypt installation

2003-06-04 Thread Tom Ray [Lists]
I'm just a little curious, I've never really don't this before, but is installing mcrypt usually a very hard thing to do, or will it be pretty simple for a dolt like me? :) Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
I'm having a bit of a formatting issue, and I was wondering if someone might have an idea on how to solve it. Basically what I have right now is a script that opens and reads the content of an image directory, each time the script is accessed it writes the contents out to a text file for me. I

Re: [PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
with the proper line breaks: $dat="$_GET[gallery].dat"; $file=fopen($dat, 'r'); $contents = fread ($file, filesize ($dat)); fclose($file); $img=explode("|",$contents); print ""; foreach($img as $image) { if($image) print ""; } print

Re: [PHP] reverse DNS lookup with PHP

2003-06-14 Thread Tom Ray [Lists]
$_SERVER[REMOTE_HOST]; This will do a reverse lookup on their IP. Manual Link: http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.server Hope it helps Tim Thorburn wrote: Hi, I'm setting up a simple tracking program for a website I'm working on. Currently it records a vis

Re: [PHP] php editor?

2003-06-14 Thread Tom Ray [Lists]
Why not just use PICO? Kevin Ison wrote: now theres a sadistic way to code! I used to use vi... to be honest I like it. but on a windows platform crimson editor works well. "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Because some of us, work directly on the se

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

[PHP] Maybe a silly question

2003-10-09 Thread Tom Ray [Lists]
I'm wondering if someone can explain something for me. I've never used this before but have seen it used in numerous sets of coding. What does the -> do? I see stuff like $test=$test->test_url = "Something"; $test1=$test->test_this = "Something Else"; Is it some sort of array function? I'm just

Re: [PHP] Maybe a silly question

2003-10-10 Thread Tom Ray [Lists]
thanks, now that I know what it's for I know where to find it on php.net Ryan Thompson wrote: It's for classes. A site called http://www.php.net has some great documentation on it. $object->property (or function whatever the case may be) On Friday 10 October 2003 01:57, Tom Ray

[PHP] mail() issue

2003-12-10 Thread Tom Ray [List]
I have an odd issue with mail(). I was working on a project at my office for some time and we did everything with php and mysql. I stepped away from the project for a bit but when I left all my scripts, such as password retrieval and a few others that used the mail() function were working. Now wh

[PHP] Apache 1.3/PHP

2004-01-22 Thread Tom Ray [List]
For the first time ever I installed FreeBSD 4.9, I then installed Apache 1.3 and PHP 4.3.3-CGI from /usr/ports on the machine. It seems that everything is ok, but when I try to use a .php file it does not run it through the parser. So when I hit test.php in my browser it outputs: or I'm su

Re: [PHP] Apache 1.3/PHP

2004-01-22 Thread Tom Ray [List]
. I'm going to need to build a couple more FreeBSD boxes soon, and I want to have those go a little smoother :) Thanks again, Tom -Original Message- From: BAO RuiXian <[EMAIL PROTECTED]> To: "Tom Ray [List]" <[EMAIL PROTECTED]> Cc: PHP General <[EMAIL PROTECTED]

[PHP] Is there a brian I can pick?

2004-07-26 Thread Tom Ray [Lists]
Hey all- I've run into a small bump in some code I'm writing for a membership database. The first thing that needs to be done is an index of all states in the US with members. The fun part is that the state information is stored as the abbreviation in the database (ie MI, WI) and the HTML page

[PHP] COUNT(*) Output Question

2004-08-02 Thread Tom Ray [Lists]
Hey- I'm query my mySQL database to see how many of each Sku has been ordered. I am doing my query as: $count=mysql_query("SELECT sku, COUNT(*) FROM orders GROUP BY sku"); But my question is how do I use PHP to output the COUNT(*) results? When I run the command when I'm logged into mySQL I get

Re: [PHP] COUNT(*) Output Question

2004-08-02 Thread Tom Ray [Lists]
Thanks JohnI didn't think of thatI've been working on this catalog admin interface for to long..my brain is mush. John W. Holmes wrote: From: "Tom Ray [Lists]" <[EMAIL PROTECTED]> $count=mysql_query("SELECT sku, COUNT(*) FROM orders GROUP BY sku&quo

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

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 seems

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 t

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. C

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.

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 inte

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: 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 do that ? thanks, Ron Do you h

[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': /home/tech/upgrad

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 fun

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

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

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

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 stole

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

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

[PHP] HTML Email Composing Problem.

2007-07-26 Thread Tom Ray [Lists]
ng reasons: 0.6 HTML_SHORT_LENGTH 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 w

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 HT

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 t

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

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 head

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 dummy_

Re: [PHP] Bizarre array create error

2007-07-30 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 */ /* but

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 loo

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 expe

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

Re: [PHP] Creating watermarks

2007-08-04 Thread Tom Ray [Lists]
$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 bee

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 c

  1   2   >