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

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

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

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

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

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

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

[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

[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

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

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

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

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 '/var

[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

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

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

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

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

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

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

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

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

[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] 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] Sessions Issue

2005-08-03 Thread Tom Ray [Lists]
wrote: On 7/29/05, 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 phpOpenC

Re: [PHP] Sessions Issue

2005-08-03 Thread Tom Ray [Lists]
ld be good? 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 fu

Re: [PHP] Sessions Issue

2005-07-31 Thread Tom Ray [Lists]
ivate 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 s

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

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

[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

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

[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

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

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

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

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

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

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

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

[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

[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

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

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

[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

[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

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

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

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

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

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] 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-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] 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] 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:/

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

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

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

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

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

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

[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

  1   2   >