Re: [PHP] function to discover if value is already in array

2003-02-21 Thread Ray
On Friday 21 February 2003 09:08, you wrote: > Here is an example array: > > > array( > array("1","2"), > array("2","3"), > array("3","1") > ) > > now suppose I get some form inputs with the value 1 and 1. I am trying to > find a way to figure out if the first coloumn is

Re: [PHP] Re: functions and

2003-03-03 Thread Ray
does the function logout() log someone out of a session, or does it return the url for where they go to logout? and what about it isn't working? On Monday 03 March 2003 16:32, you wrote: > Ok to make it simplier, this is what I wanna do! > > > echo "Logout"; > > function logout() > { > . >

[PHP] form submit oddities?

2003-03-04 Thread Ray
i have posted the question to phpMyAdmin user list already and after talking with someone about my problem, it looks like its not in the phpMyAdmin, but in my settings for php, but they seemed to have no clue as to what. anyways, with a clean install of phpMyAdmin 2.4.0 we can't query the databa

[PHP] strange problem with size of uploaded files..

2003-03-06 Thread Ray
I've searched all over for the answer to this problem.. but haven't found anything.. I have a script that i use to upload files to a webserver and download them via my phone.. problem is, the files end up being about twice the size of the original file.. for example,i upload a midi that

Re: [PHP] HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!! can someone tell me whats wrong here? (newbie)

2003-07-10 Thread Ray
> else if ($userlogin && $userpass == $admin && $adpw) { this line probably isn't going to do what your thinking it will. you probably want either else if ($userlogin == $admin && $userpass == $adpw) { or else if (strcasecmp($userlogin,$admin) == 0 && strcasecmp($userpass,$adpw) ==

Re: [PHP] Freelance code optimizations

2003-08-11 Thread Ray
also, if you can compare to a constant, there is a notable difference as well. real0m10.268s user0m10.000s sys 0m0.030s real0m7.057s user0m6.880s sys 0m0.020s so if $a is something like the size of an array or another thing that affects the number of times the loop nee

Re: [PHP] Re: Warning Spammer

2003-06-11 Thread Ray
so your one of those people tha bounce them. i have had my email address used in a number of spams (and a few virus sends) and it blows! the bounces follow the from. the spammer has no clue that it bounced, nor do they really care. instead there is someone (sometimes) at the other end of the

Re: [PHP] uncompressing gz string

2003-10-24 Thread Ray
i had a similar problem, it seems that a .gz file had 10 bytes of header that inflate and uncompress didn't like, or something wierd like that. but i can't find the code that i had in the end. http://www.php.net/manual/en/function.gzinflate.php but depending on how your actually using the data,

Re: [PHP] prepend file to all scripts...

2003-10-24 Thread Ray
snip from: http://www.php.net/manual/en/configuration.directives.php auto_prepend_file string Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the include() function, so include_path is used. The special value no

Re: [PHP] Why is the php loop, 'for()', so slow????

2003-11-19 Thread Ray
try $res_str_len = strlen($res_str); for ($i=1;$i<$res_str_len;++$i) one less function call in the loop and the prefix version of ++ is sometimes a tad faster then the postfix version. On Wednesday 19 November 2003 15:11, you wrote: > function CBC_XML_BreakUp(&$strResponse_XML, &$strResponse_HTM

[PHP] Two-way on-the-fly encryption

2003-11-20 Thread Ray
I want to do two-way encryption on a file coming through the web server. In this context, I would want to generate a public and private key, encrypt the file stream (i.e., don't want to write the unencrypted file to disk first and then encrypt it; I want to encrypt the stream as it comes in) with

[PHP] On-the-fly encryption

2003-11-20 Thread Ray
I want to do two-way encryption on a file coming through the web server. In this context, I would want to generate a public and private key, encrypt the file stream (i.e., don't want to write the unencrypted file to disk first and then encrypt it; I want to encrypt the stream as it comes in) with

Re: [PHP] Two-way on-the-fly encryption

2003-11-20 Thread Ray
Chris, I thought of that and I do plan on implementing it on the way in and out. However, to meet HIPA and other business requirements, the data can not exist at any point in time on my system in unencrypted form. I do not want to be able to view it and I do not want to know what is there. Any o

Re: [PHP] Two-way on-the-fly encryption

2003-11-20 Thread Ray
1. When you say "on my system in unencrypted form" do you indeed mean you want data that can be encrypted and then unencrypted as opposed to a hash like md5() that cannot be reversed? (I only ask this because a lot times people use them synonymously when they should not.) Yes, two way, like PKI.

Re: [PHP] Newbie question... date.

2004-01-13 Thread Ray
On Tuesday 13 January 2004 13:57, DL wrote: > Hi all, > > I was wondering how you get the year, month, and day from a > timestamp. (mySQL timestamp, Eg: 20040113130137) What PHP > function(s) do I use? An example would be great > > Cheers, > David http://www.php.net/manual/en/function.strtot

[PHP] geographical queries?

2004-01-21 Thread Ray
we import a database that has among other things, listings of locations by address, city, county and zip, and our customers would like their website to have a 'within $x miles of $address $city $zip' search in addition to the other searching they already have. another customer would like to ha

Re: [PHP] Script execution

2009-03-09 Thread Ray
across is that the path variable is not the same when run under the browser as on the command line, so instead of issuing "command" you need "/path/to/command" Ray > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is wrong with this code

2009-04-03 Thread Ray
On Friday 03 April 2009 13:08:45 Gary wrote: > This is driving me nuts. I am getting blank emails and the only > information that is being passed to MySQL is the IP address. > > Can someone tell me what is wrong with this? > > > >If you can see this, it's an anti-spam measure. Please don't

[PHP] problems with gnupg extension.

2009-04-13 Thread Ray
[gnupg.decrypt]: decrypt failed in /path/to/test2.php on line 18 any help or suggestions would be very much appreciated. details follow. Ray full output: raw data: this is a test encoded data: -BEGIN PGP MESSAGE- Version: GnuPG v2.0.11 (FreeBSD) hQIOA9qOyyMyQ2/bEAgArxLuVw5e

Re: [PHP] problems with gnupg extension.

2009-04-20 Thread Ray
On Monday 13 April 2009 10:17:28 Ray wrote: > Hello all, > > I'm trying to use the gnupg extension and I think everything is properly > installed. > > I'm just using test data. I'm encrypting and then immediately decrypting. > But the decryption is failing with

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread ray
are using mysql of course. If you are using mssql, then I cannot provide a good answer because I do not use that db. -Ray Solomon - Original Message - From: "Jason Pruim" To: "PHP-General List" Sent: Friday, July 17, 2009 8:12 AM Subject: [PHP] Back from the dea

Re: [PHP] Please don't kick me!

2009-10-19 Thread ray
- Original Message - From: "Philip Thompson" To: "PHP General list" Sent: Monday, October 19, 2009 1:47 PM Subject: [PHP] Please don't kick me! Hi all. I know this question has been asked a thousand times on the list, but my searches in the archives are not being nice to me. So...

[PHP] seg fault with pecl ps extension

2012-11-28 Thread Ray
nsion, glyphlist.php for a specific example. I have un-installed and reinstalled the php5-ps (64 bit) package through the package manager to no effect. sample code and system info follows sig. any assistance appreciated, Ray system is Kubuntu 12.10 64bit, kernel version 3.5.0-18, php

Re: [PHP] seg fault with pecl ps extension

2012-11-28 Thread Ray
On November 29, 2012 12:00:44 AM Adam Richardson wrote: > On Wed, Nov 28, 2012 at 10:50 PM, Ray wrote: > > Hello, > > I'm not positive if this is the right list, or if other info is required. > > If this is the wrong list, please recomend a better one. If other inf

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread Ray
On January 12, 2013 11:25:58 AM Rick Dwyer wrote: > Hello all. > > I used the code below successfully to connect to a MySQL db on one hosting > provider. I've moved the code to a new hosting provider with new values > and it returns: > > Access denied for user 'user'@'db.hostprovider.net' (using

Re: [PHP] Open form in new window

2013-03-06 Thread Ray
ute I would love to be educated. sibling page of your link http://www.htmlcodetutorial.com/forms/_FORM_ACTION.html > However, I do not think that is what is being discussed here -- at least it > is not what I was talking about. agreed > > Cheers, > > tedd > Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] upgrading to php 4.3.11 gets me "No input file specified"

2005-04-11 Thread Ray
upgrading from 4.3.10 -> 4.3.11 test script: OS: Win2000 Server: Website 3.5 Server API: isapi php folder C:\php path includes c:\php PHPRC = c:\php C:\WINNT doesn't have any files with php in their name. installed 4.3.11 by renamed c:\php to php-4.3.10 unzipped the 4.3.11 file renamed the 4.3.1

Re: [PHP] MAX_FILE_SIZE not working with file uploads

2007-09-22 Thread Ray
t exceeded MAX_FILE_SIZE. So how can my script find out the > size? Can you use Javascript to check file size client side, send data via AJAX then issue warnings? (Remember the php mantra: "PHP is a server side language" ) As noted in the php.net documentation you quoted, and as mentio

Re: [PHP] MAX_FILE_SIZE not working with file uploads

2007-09-22 Thread Ray
On Saturday 22 September 2007 7:39:01 pm Dan Parry wrote: > > -Original Message- > > From: Ray [mailto:[EMAIL PROTECTED] > > Sent: 23 September 2007 02:25 > > To: php-general@lists.php.net > > Subject: Re: [PHP] MAX_FILE_SIZE not working with file uploads &g

[PHP] Help with CURL please!

2007-05-11 Thread ray
ng. After about 5 hours of this im pulling my hair out and begging for help. Thank you -Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with CURL please

2007-05-11 Thread ray
ng. After about 5 hours of this im pulling my hair out and begging for help. Thank you -Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mime type over http post?

2007-05-16 Thread Ray
MIME type, text/xml" can anybody tell me what this means or how I do it using php? Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mime type over http post?

2007-05-16 Thread Ray
pe, text/xml" > > They want you to mimic what a browser would send to a web site when the > user clicks a "send" button in a form. Hi, They have supplied very detailed docs for the XML, but the part that really throws me Is the mime type. Is this just another header?

Re: [PHP] mime type over http post?

2007-05-19 Thread Ray
Thanks for your help everybody. I think I'll give the other company a link to this thread for the next person who asks for help. Ray On Wednesday 16 May 2007 6:57 pm, Oliver Block wrote: > Hello Ray, > > 1. create the xml markup (dom) > 2. open a connection to the 3rd party

Re: [PHP] fsockopen problems

2007-06-22 Thread Ray
On Friday 22 June 2007 10:59 am, Tijnema wrote: > On 6/22/07, Ray <[EMAIL PROTECTED]> wrote: > > hello, > > I'm having some problems with fsockopen and was hopping for some help. > > I try to connect to a host via fsockopen and I get "getaddrinfo failed&quo

[PHP] fsockopen problems

2007-06-22 Thread Ray
hello, I'm having some problems with fsockopen and was hopping for some help. I try to connect to a host via fsockopen and I get "getaddrinfo failed" errors, but if I try fsockopen with google, everything works. sample test code $fp=fsockopen('apps.subname.domain.com/xml_2.4/xml.php',80,$e

Re: [PHP] Display paragraphs from a mysql db

2007-06-24 Thread Ray
.w3schools.com/html/html_lists.asp just for one example. Also browsers don't deal with white space the way a word processor does. Very roughly speaking, your browser will display only one space for one or more whitespace characters. if you want spaces, use css,   or HTH Ray -- P

[PHP] simple OCR in php

2007-06-29 Thread Ray
? Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] simple OCR in php

2007-06-29 Thread Ray
e any third party tools or OCR applications that anybody can recommend? (I suppose you could write an OCR application in PHP, but that sounds like an awful lot of work.) Thanks Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] simple OCR in php

2007-07-04 Thread Ray
On Tuesday 03 July 2007 12:03 am, Richard Lynch wrote: > On Sat, June 30, 2007 12:12 pm, Jay Blanchard wrote: > > [snip] > > > >> In short PHP cannot perform OCR functions. > > > > Why? PHP provides all requisite functions/features so if someone was > > sadistic enough and talented enough there's n

Re: [PHP] Unlink file older then 7 days

2007-07-14 Thread Ray
d also thatfile.txt > look at these functions (and also related functions, the bar on the right hand side): http://ca3.php.net/manual/en/function.opendir.php http://ca3.php.net/manual/en/function.fileatime.php http://ca3.php.net/manual/en/function.unlink.php HTH Ray > > Thanks > Ch

Re: [PHP] Unlink file older then 7 days

2007-07-16 Thread Ray
h\to\file);//assuming windows server if ((time()-$access)>(7*24*60*60)){ do whatever with old files } off the top of my head. There are other ways to do it. Ray > > >> I have a directory with .txt and .txt.asc files. > >> > >> What I want to do is.. > >> &

[PHP] get and post together

2007-08-08 Thread Ray
Hi all, I've done something and I want to know if I should be ashamed :) I've set up a form with method="POST" and target ="page.php?foo=bar" it works fine. $_POST[...] gives me the data I want and $_GET['foo']=='bar'. I freely admit it'

Re: [PHP] get and post together

2007-08-08 Thread Ray
On Wednesday 08 August 2007 10:29:33 pm Richard Lynch wrote: > On Wed, August 8, 2007 10:18 pm, Ray wrote: > > I've done something and I want to know if I should be ashamed :) > > > > I've set up a form with method="POST" and target ="page.php?foo=ba

[PHP] problems with exec()

2006-11-29 Thread Ray
7;); the only return is 'www' (the username correctly returned from whoami) also files aren't changed. any suggestions, pointers, log files to check would be appreciated as I have spent several hours on google, in manuals, etc. haven't tried the ougi board, but that's about it ;

Re: [PHP] problems with exec()

2006-11-30 Thread Ray
s from the command line. as for safe_mode, it's off. Also the whoami in the previous line works as expected. Any pointers would be appreciared. Tia Ray -Original Message- From: Jan Schröter <[EMAIL PROTECTED]> To: php-general@lists.php.net Date: Thu, 30 Nov 2006 09:09:49 +0

Re: [PHP] problems with exec() SOLVED

2006-12-01 Thread Ray
/shellscript_howto.html again thanks. Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse Error

2006-02-21 Thread Ray
Jay Blanchard wrote: [snip] I am a noob and super confused right now. I have some really simple code and i am getting an error that reads: *Parse error*: syntax error, unexpected T_VARIABLE in */var/www/mysql_up.php* on line here is the code: Test MySQL Thanks. did i say i was a n00b

Re: [PHP] Writing CRON jobs!

2004-01-27 Thread Ray
On Tuesday 27 January 2004 07:13, Stuart wrote: > Hamid Hossain wrote: > > Is there any good reference on how to use CRON (I mean on the > > net)? > > > > I need to fire some PHP pages at scheduled time daily or weekly, > > ... so on. > > http://www.google.com/search?q=cron+tutorial+php depending

Re: [PHP] silly question - setting .php as default extension (Apache)

2004-11-09 Thread Ray
On Tuesday 09 November 2004 16:04, Brian A. Anderson wrote: > Uuuuh... Where do I set the default server extension type to .php > in the apache config? Right now the page will execute on my server, > but if there is an index.php the server won't automatically open > it, but instead browses the dire

[PHP] need for $_POST[''] changed after server upgrade

2005-12-11 Thread Ray
$foo=$_POST["foo"]}; at the top of the script. This seems to make everything work. My two questions are: first, is there a better way to fix this, and second, how did this work in the first place? TIA Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] need for $_POST[''] changed after server upgrade

2005-12-12 Thread Ray
Hello, Thanks Matt, I appreciate your help. your solution is a lot easier than mine. It's also nice to understand what was happening. I was introduced to PHP after that type of globals were considered 'evil' so I hadn't seen code written that way. Ray -Original Mess

[PHP] PHP + Java

2002-12-02 Thread Ray Hunter
extensions_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20020429 extension=java.so Thanks, -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sigh :)

2002-12-04 Thread Ray Hunter
Which version of mysql are you using? -- Ray On Wed, 2002-12-04 at 10:33, John Taylor-Johnston wrote: > Hi, > > Can someone take a look at this again, please? > > http://news.php.net/article.php?group=php.general&article=126934 > > Your posts so far have proven fru

Re: [PHP] Detecing a Number

2002-12-04 Thread Ray Hunter
If you are getting a number from a user via a form you can use javascript to verify that the user inputed a number... search google -> validating forms that should give you some info. You could also verify that the data is a number by is_numeric or is_int... I think that when the data is POSTed

Re: [PHP] Looping Addition

2002-12-04 Thread Ray Hunter
What type is $_POST['vars']? I think that it is a string...you might have to convert it to an integer... if( is_numeric( $_POST['vars'] ) ) { $vars = (int)$_POST['vars']; } else { echo "Error: \$_POST['vars'] is not an integer."; } On Wed, 2002-12-04 at 14:26, Stephen wrote: > So

Re: [PHP] # of lines in a file

2002-12-09 Thread Ray Hunter
> lines in a file and read a particular line from it, however I found no > solution to my problem so I'm wondering if any of you out there could help me > :-) > > - CS -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing L

Re: [PHP] Linux and Graphics

2002-12-09 Thread Ray Hunter
e I am quite new to Linux, I > would appreciate it if someone could explain to me what I need to do > to have graphic functions. > > Many thanks. > > Todd > -- > Ariste Software, Petaluma, CA 94952 -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon

Re: [PHP] a simple test script for testing gd

2002-12-09 Thread Ray Hunter
esting gd-related >tasks eg like > dynamic construction of buttons??? > > Oliver Etzel -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fractions

2002-12-09 Thread Ray Hunter
"What is a dreamer that cannot persevere?" -- http://www.melchior.us > > __ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Ray Hunter email: [EMAIL PROTECTED] www:

Re: [PHP] Fractions

2002-12-09 Thread Ray Hunter
If there are none in the math functions then you need to create your own or do a search at google to see if anyone has created some functions like that... On Mon, 2002-12-09 at 16:20, Stephen wrote: > But how do you find it in PHP? > > > - Original Message - > Fr

Re: [PHP] Format a currency values

2002-12-09 Thread Ray Hunter
Look at this function in the manual: number_format() HTH, Ray On Mon, 2002-12-09 at 17:38, Adriano Santos wrote: > What should I do in order to view a currency format field? > For example: I have a double-type field in my table that receives values in > currenct, > and I want to s

Re: [PHP] Know the path

2002-12-10 Thread Ray Hunter
where I'm. Is it possible? > > Christian, -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] command line output

2002-12-10 Thread Ray Hunter
, 19 Nov 1981 08:52:00 GMT > Cache-Control: no-store, no-cache, must-revalidate, post-check=0, > pre-check=0 > Pragma: no-cache > Content-type: text/html > > 168 > > > (the 168 is my outputted number) > > Thanks, > > Bryan -- Ray Hunter email: [EMAI

Re: [PHP] XML Data push

2002-12-10 Thread Ray Hunter
wer is much more difficult. > So if any of you know where I can start looking to learn how I > can do this, I'd be ever so appreciative! > > thnx, > Chris -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML Data push

2002-12-10 Thread Ray Hunter
> Another possibility would be when an administrator wants to add a new News > item. The form script would push something like the following to > process_news.php: > > > insert > Extra! > NewsBody > Today > > > and it would take that information

[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

Re: [PHP] PostgreSQL/PHP: transactions: how-to abstract out?

2003-01-09 Thread Ray Hunter
Jean-Christian If you are only doing an insert then you do not need the transactions "BEGIN" and "COMMIT" because that is already done for you on a single insert. PGSQL is transaction based so if it does not go then it will not work. -Ray On Thu, 2003-01-09 at 22:23, Jea

Re: [PHP] PostgreSQL/PHP: transactions: how-to abstract out?

2003-01-09 Thread Ray Hunter
You could try leaving off the ";"... Try $sql = "BEGIN" Try $sql = "COMMIT" That should work... On Thu, 2003-01-09 at 22:23, Jean-Christian Imbeault wrote: > Jason Sheets wrote: > > > > Manual Excerpt: " If a second call is made to pg_connect() with the same > > connection_string, no new con

Re: [PHP] DSO or static Module?

2003-01-15 Thread Ray Hunter
-15 at 11:08, Lic. Carlos A. Triana Torres wrote: > Hi all, >Here is a question that might be too simple to be asked, but I need to know the >answer: Is there a way to find out if PHP is compiled as a DSO or as a static module? > > Thanx -- Ray Hunter email: [EMAIL PROTECTE

Re: [PHP] please help

2003-01-19 Thread Ray Hunter
to get to the real problem. However, you are probably having a problem with the the webserver (php) writing to the file. Make sure that the webserver has permission to write to the file. -- Ray Hunter email: [EMAIL PROTECTED] www:http://venticon.com -- PHP General Mailing Li

Re: [PHP] Re: Job Opportunity

2003-01-20 Thread Ray Hunter
I apologize everyone...evolution is going crazy... Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

Re: [PHP] AD authentication

2003-01-23 Thread Ray Hunter
Yes, I have used php-ldap to connect to exchange for authentication... -- Ray On Thu, 2003-01-23 at 17:52, Michael Hall wrote: > -- > > I was wondering if anyone had any experience, suggestions, advice or pointers > regarding the use of Win 2000 Active Directory servers to authen

[PHP] PHP vs. Perl/Mason

2003-01-23 Thread Ray Hunter
Everyone, I was wondering if there are any perl/php programmers that have used mason. I am trying to get the advantages/disadvantages of each? I am pro PHP, but my does is pro perl. What does everyone think about the benefits of one over the other? Thanks, Ray signature.asc Description

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Ray Hunter
U might want to do a type cast to integer from string... http://www.php.net/manual/en/language.types.type-juggling.php On Mon, 2003-01-27 at 13:47, Scott Fletcher wrote: > I would need to use intval() to solve this problem > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > [EMAIL P

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

2003-02-10 Thread Ray Hunter
you will want to issue a "cls" command to the shell with the exec command for using the back ticks... That should do it for you... example: exec( "cls" ); That should do it for you... Ray On Mon, 2003-02-10 at 21:20, Michael P. Carel wrote: > Hi to all, > > Is t

Re: [PHP] help me

2003-02-11 Thread Ray Hunter
make sure that the php3_xml.dll is in your system path and it can be found. Ray On Tue, 2003-02-11 at 07:38, Cavallaro, Vito wrote: > how i do work php with xml? > > In php3.ini add extension = php3_xml.dll but not work. is runnig on winnt > workstation > > > > -

RE: [PHP] help me

2003-02-11 Thread Ray Hunter
The system needs to be able to find the dll so you might need to add C:\PHP3 to your system path... On Tue, 2003-02-11 at 11:05, Cavallaro, Vito wrote: > all *.dll are C:\PHP3 but internet explorer make unload the file.xml > > -Mensaje original----- > De: Ray Hunter [m

Re: [PHP] Passing PostgreSQL resource

2003-02-12 Thread Ray Hunter
This is how i handle this concept: 1. Determine the number of rows from the query. 2. Set up limits on how many rows to display per page. 3. Then do multiple queries with those limits. Postgresql allows for queries with limits. That should get you started... Ray On Wed, 2003-02-12 at 09:58

Re: [PHP] processing status page

2003-02-15 Thread Ray Hunter
Are you using a form to get the input from the user... One way that I do it is with Javascript...that will be the easiest bet for you... On Sat, 2003-02-15 at 15:15, Brendon wrote: > Hello, > > How can I create a page that notifies the user their request is being > processed after they click

Re: [PHP] processing status page

2003-02-15 Thread Ray Hunter
use the onload function in the body tag of the processing page to display the information from the submitted data... -- Ray On Sat, 2003-02-15 at 18:02, Brendon wrote: > Yes, I'm using a form. > > How do you do it with Javascript? Do you have an example you can give? > > Bre

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Ray Hunter
Do you have globals turned on or off? Ray On Sat, 2003-02-15 at 21:19, Beauford.2002 wrote: > Has anyone seen or used this script? It looks fairly straight forward, but I > can't get it to work. It is however, exactly what I need. Any help is > appreciated. > > ht

Re: [PHP] Protecting files

2003-02-17 Thread Ray Hunter
. http://www.php.net/manual/en/configuration.changes.php http://www.php.net/manual/en/function.ini-set.php That should help you out. Ray On Mon, 2003-02-17 at 14:17, PR wrote: > Hello, > > How can I protect my php files among other files like templates > (.inc) and mysql config

Re: [PHP] PHP form help

2003-02-19 Thread Ray Hunter
Please provide more information...ie source code so we can find the problem. Ray On Wed, 2003-02-19 at 13:14, Steven M wrote: > Hi, > > I have created a form that passes details to the next page so the user can > see the details they have submitted before clicking confirm to s

Re: [PHP] get insert_id in odbc

2003-02-19 Thread Ray Hunter
Looks like there is not a function for it built in but you should be able to query the sequence and get the number from there by writing your own function... -- Ray On Wed, 2003-02-19 at 13:28, Jonathan Villa wrote: > Using MySQL, one can use mysql_insert_id to get the value of

Re: [PHP] Cron Job help Needed

2003-02-19 Thread Ray Hunter
Do a search at google for "cron jobs tutorial"... http://www.google.com/search?q=cron+job+tutorials That should give you lots to read... :) -- Ray On Wed, 2003-02-19 at 13:36, Pushpinder Singh Garcha wrote: > Hello All, > > I need to ask you about some resources for

Re: [PHP] Undefined offset notices

2003-02-19 Thread Ray Hunter
$docmd = $cmds; eval($docmd); } } } NOT TESTED...check and see if it works.. -- Ray On Wed, 2003-02-19 at 22:54, Shawn McKenzie wrote: > While debugging my code, that seems to work fine, I see hundreds of these > notices, many different ones with

Re: [PHP] Computer Authorization

2003-02-20 Thread Ray Hunter
domain name, wins, kerberos, nis, mac-address those might be what you need... if you are using dhcp then you can get the ip information from the dhcp number based on the mac address... but remember that these can be spoofed... On Thu, 2003-02-20 at 17:59, Chris Cook wrote: > Hello all, > > I a

Re: [PHP] MAC address user recognition?

2003-02-20 Thread Ray Hunter
Remember that the mac address gets changed by devices on the network... -- Ray On Thu, 2003-02-20 at 20:29, Leo Spalteholz wrote: > I've been thinking about how to do authentication and user recognition > for my site without cookies. I had this idea but I don't really know &

[PHP] Utah PHP User

2003-02-21 Thread Ray Hunter
I am thinking of starting a Utah PHP user group. If there are any Utah php user out there, please let me know if you would be interested in starting a user group for PHP. Thanks, Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't run PHP cli script from Cron

2003-02-28 Thread Ray Hunter
You might want to post some code so we can see why it is not running... What do you get when you run the code from the commandline? -- Ray On Thu, 2003-02-27 at 21:30, Justin Michael Couto wrote: > I am trying to run a PHP CLI script from cron using PHP 4.3 and FreeBSD > 5.0 > >

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

Re: [PHP] Calendar Controls

2003-03-05 Thread Ray Hunter
Also, i would check out phpclasses or search on google for other php users that have created specific classes for what you are trying to accomplish. http://www.phpclasses.org -- Ray On Wed, 2003-03-05 at 05:23, shaun wrote: > http://calendar.msn.com/ has some great controls for veiwing dates &g

  1   2   3   4   5   6   7   8   9   >