[PHP] Arrays/OOP

2002-03-05 Thread Joshua E Minnie
CC it directly to me, as I will receive the reply faster that way. Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition.

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: Joshua E Minnie wrote: while(!feof($fp)) { $temp = fgetcsv($fp, 1024, :); $event_list[$i] = $event_object-init($temp[0],$temp[1],$temp[2],$temp[3],$temp[4],$temp[5],$t emp[6],$temp[7],$temp[8]); $i++; } Without seeing more of the code, I

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: What version of PHP are you using? I took the file and it seemed to work OK in PHP 4.0.5. Michael Kimsal http://www.phphelpdesk.com 734-480-9961 I am currently using PHP 4.1.2. Maybe it's in the file that I am using for testing, I have attached the code. Joshua E

Re: [PHP] Re: Arrays/OOP

2002-03-05 Thread Joshua E Minnie
Michael Kimsal wrote: Still works - at least, I'm not getting the error you posted. Is there something else we may be missing? What line(s) are causing a problem? On line 21 of the corrected test file that I attached previously. Joshua E Minnie [EMAIL PROTECTED] -- PHP General

[PHP] Arrays/OOP

2002-03-06 Thread Joshua E Minnie
This is for anyone who was following this post, I found a work-around for the problem I was having with my array of objects. The original code looked like this: function getEvents($filename) { //string $filename $event_list = array(); $event_object = new event(); $i = 0; $fp =

[PHP] require v. includes

2002-03-07 Thread Joshua E Minnie
I was just wondering if anyone could tell me when would be the time to choose require(), require_once(), or include(). I know a little bit about using each one, but I am just not sure if there is one that is better than the other in certain situations. -- Joshua E Minnie CIO [EMAIL PROTECTED

[PHP] Re: require v. includes

2002-03-07 Thread Joshua E Minnie
Thanks for the information, was definitely very helpful in clearing up that question. Joshua E Minnie [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. ~ Unknown Michael Kimsal [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Arrays/OOP again

2002-03-07 Thread Joshua E Minnie
($retrieved)-beginTime $night)) -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with getdate()

2002-03-11 Thread Joshua E Minnie
see why it is not giving me the $day: $hours = 10 $minutes = 27 $month = 3 $day = $year = 2002 February 28th, 2002 10:27 am You can see the code run from my server at www.wildwebtech.com/php-bin/test/mfmtime.php Any help that anyone can provide will be greatly appreciated. -- Joshua E Minnie CIO

[PHP] Re: help with date formatting

2002-03-18 Thread Joshua E Minnie
to make a UNIX timestamp you could do something like this: ? $conftime = mktime($hour, $minute, $seconds, $month, $day, $year); echo date(l, F jS, Y, $conftime); ? -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General

[PHP] Accessing form variables

2002-03-20 Thread Joshua E Minnie
I have a form with a menu which I need multiple select on. How does PHP handle this? I have to use $HTTP_POST_VARS[somevariable] to access somevariable from the form. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP

[PHP] Sessions

2002-03-20 Thread Joshua E Minnie
/default.php on line 10 Here is the code that is causing the problem. ? session_start(); $result = session_unregister(valid_user); session_destroy(); ? -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List

[PHP] sessions

2002-03-20 Thread Joshua E Minnie
they leave the site via my links that the session is destroyed. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] T_STRING, T_VARIABLE, and T_NUM_STRING

2002-03-21 Thread Joshua E Minnie
I keep getting the following error message and I am just wondering what T_STRING, T_VARIABLE, and T_NUM_STRING mean. Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/www/process.php on line 20 -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work

[PHP] $HTTP_POST_VARS

2002-03-21 Thread Joshua E Minnie
strip_tags(trim($HTTP_POST_VARS[interest])).nbsp;nbsp;nbsp;; next($HTTP_POST_VARS[interest])); } ? Both $HTTP_POST_VARS[interest] and $HTTP_POST_VARS[interest[]] throw errors. Any suggestions would be greatly appreciated. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition

[PHP] Rollover not functioning

2002-03-22 Thread Joshua E Minnie
}, , $form); echo p align='center'font color='#FF'Your information has been successfully transmitted/font/p\n; echo $form; } ? -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net

[PHP] Browser detection

2002-04-03 Thread Joshua E Minnie
. vbscript. javascript...1 javaapplets..1 activexcontrols.. beta.1 I am using IE 6.0 running PHP 4.1.2 binary for Windows. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy

[PHP] MCAL for Windows

2002-04-03 Thread Joshua E Minnie
Does anybody know where I can find MCAL for Windows? -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Explode and Trim

2002-04-04 Thread Joshua E Minnie
].br\n; echo br; } } ---End of code snippit--- Here is the URL of where the code is being used: www.wildwebtech.com/acs/nuven/stores.php. The additional notes should only show up if there were additional notes. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always

Re: [PHP] Explode and Trim

2002-04-05 Thread Joshua E Minnie
Unfortunately it doesn't. That is why I am kind of puzzled by the situation. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. Maxim Maletsky [EMAIL PROTECTED] wrote I think what yo wrote should be working fine for you. My way

Re: [PHP] Explode and Trim

2002-04-05 Thread Joshua E Minnie
It works great using the foreach statements, but for some reason couldn't make it work the other way. Oh well, no one ever said there was only one way to do things when programming. Thanks for your help. --- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work

[PHP] Having problems deleting an element from an array

2002-04-05 Thread Joshua E Minnie
); } unset($HTTP_POST_VARS); ? -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array elements missing

2002-04-08 Thread Joshua E Minnie
, but for some reason the first element in the array never gets copied. Any help that you can provide would be greatly appreciated. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net

Re: [PHP] Array elements missing

2002-04-09 Thread Joshua E Minnie
Thanks for the suggestion. I did get it to work prior to your posting, but this does help slim up my code quite a bit. -- Joshua E Minnie CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. Jason Wong [EMAIL PROTECTED] wrote: On Monday 08 April 2002 23

[PHP] sorting a list using regex

2002-06-05 Thread Joshua E Minnie
I am trying to sort a list by their first character, my problem comes when that first character is a number. When the character is a number I should be able to display just the values which begin with a number. When the value is a letter, I have no problem sorting this out. Here is the code

[PHP] Re: sorting a list using regex

2002-06-05 Thread Joshua E Minnie
I am trying to sort a list by their first character, my problem comes when that first character is a number. When the character is a number I should be able to display just the values which begin with a number. When the value is a letter, I have no problem sorting this out. Here is the code

[PHP] Re: How do I split an alphabetical list (array) into A-M and N-Z?

2002-07-03 Thread Joshua E Minnie
Try looking up in the manual about array_slice (http://us2.php.net/manual/en/function.array-slice.php). -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy of recognition. Daevid Vincent [EMAIL

[PHP] Re: (OT) Our Spam Friend

2002-07-10 Thread Joshua E Minnie
Serves our spam friend right... now we can get on with our lives. Chris Shiflett [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I just thought this was worth sharing. :-) - The following addresses had permanent fatal errors - [EMAIL PROTECTED] -

Re: [PHP] (OT) Our Spam Friend

2002-07-10 Thread Joshua E Minnie
Why not just use this code: ? while(TRUE) { mail(Our Special Friend,); } ? Vins [EMAIL PROTECTED] wrote: ?php while($x != $count) { mail(The Creap, $x) $x++; } ? Note there isn't a count variable then the only person that can stop it is the system op on the free server.

[PHP] ARRAY_PUSH with $key

2002-07-18 Thread Joshua E Minnie
( [default] = css/default.css ) [1] = Array ( [forms] = css/forms.css ) )*/ ? If anyone can point me in the right direction, I would appreciate any help you can give me. -- Joshua E Minnie/Webmaster [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work

[PHP] Implement PHP within a string

2002-07-25 Thread Joshua E Minnie
html code/body/html; return ($str); } echo $obj-something(); -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net

[PHP] MS SQL problem

2002-04-29 Thread Joshua E Minnie
returned $rows row(s) of data.brbr\n; return $rows; } ? Any help that anyone can provide would be a big help. Thanks in advance. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy

[PHP] Deleting from a SQL db

2002-04-29 Thread Joshua E Minnie
running PHP 4.1.2 binary on Windows NT 4.0 with MS SQL Server 2000 running on Windows 2000. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http

Re: [PHP] Deleting from a SQL db

2002-04-29 Thread Joshua E Minnie
. It just doesn't delete. Here is the URL of the running script: http://www.acsurf.net/php_db/sql_test.php. I am trying to delete the username josh. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy

Re: [PHP] Deleting from a SQL db

2002-04-29 Thread Joshua E Minnie
(...) statement. The script is returning a positive integer from the mssql_query() function. I am not seeing it ever throw an error. It just doesn't delete. Here is the URL of the running script: http://www.acsurf.net/php_db/sql_test.php. I am trying to delete the username josh. -- Joshua E

[PHP] Looking for an easier regex check...

2002-04-29 Thread Joshua E Minnie
Does anybody know of a good way to make sure that a string contains ONLY certain characters. I tried using ereg([~`!@#$%^*(){}-+=|\\/.,'\:;\[\]], $string); but I get parse errors. Besides that I only want the characters A-Za-z0-9_ in $string. Is there is simpler way to ensure this rather than

[PHP] Looking for an easier regex check...

2002-04-29 Thread Joshua E Minnie
checking to see if any of the characters I don't want are in there? Thank you for your help in advance. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy of recognition. -- PHP General

Re: [PHP] Looking for an easier regex check...

2002-04-29 Thread Joshua E Minnie
Worked great only you forgot to escape the carat character. Thanks for the help. Josh Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, 29 Apr 2002, Joshua E Minnie wrote: Does anybody know of a good way to make sure that a string

Re: [PHP] PHP 4.2.0 on win2k, can't use mysql_fetch_* functions

2002-04-29 Thread Joshua E Minnie
Do you have some sample code that we could look at? -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy of recognition. 1lt John W. Holmes [EMAIL PROTECTED] wrote in message 01ee01c1efbb

[PHP] Checking to see if a DELETE was successful from MSSQL

2002-04-30 Thread Joshua E Minnie
); if(mssql_num_rows($result) 0) echo User successfully deleted.br\n; else echo User does not existbr\n; } ? *Running PHP 4.1.2 on Windows NT 4.0 with MS SQL Server 2000 -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do

Re: [PHP] Checking to see if a DELETE was successful from MSSQL

2002-04-30 Thread Joshua E Minnie
was not there. So how do I detect that situation. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy of recognition. Steve Bradwell [EMAIL PROTECTED] wrote: Try this, $query = DELETE FROM [users

Re: [PHP] Checking to see if a DELETE was successful from MSSQL

2002-04-30 Thread Joshua E Minnie
That was exactly what I needed. Thanks, this group has been so helpful. .:. Josh .:. Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 30 Apr 2002, Joshua E Minnie wrote: I tried that already, it always returns true. The reason is

[PHP] Hex2Bin??

2002-04-30 Thread Joshua E Minnie
I know that there is a built-in function for bin2hex(), but does any body know have any code to do just the opposite, convert hex2bin? -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't work for recognition, but always do work worthy

Re: [PHP] Hex2Bin??

2002-04-30 Thread Joshua E Minnie
ROTECTED]... On Tue, 30 Apr 2002, Joshua E Minnie wrote: I know that there is a built-in function for bin2hex(), but does any body know have any code to do just the opposite, convert hex2bin? Check the first comment in the manual under bin2hex. miguel -- PHP General Mailing List (http://www

Re: [PHP] Hex2Bin??

2002-04-30 Thread Joshua E Minnie
Expensive how? -josh Bogdan Stancescu [EMAIL PROTECTED] wrote: I'd recommend writing a wrapper around base_convert, naming it hex2bin and using that instead. base_convert() is way too expensive for this purpose (you know that any hex figure is translated to exactly four bits, so you don't

[PHP] Re: Variable Help.

2002-05-01 Thread Joshua E Minnie
Try using a link like this instead: http://www.danceportal.co.uk/charts.php?date=wk001-fri-18-jan-2002 Then you can use the variable $date and parse through the variable how you need it. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone: 616.276.9690 Fax: 616.342.8750 Nextel: 616.862.2847 Don't

Re: [PHP] Re: PHP Editors

2002-05-01 Thread Joshua E Minnie
I develop my stuff in TextPad as well. You can download other syntax highlighting files as well, not just PHP. So if you develop in Windows and like to code in a text editor TextPad would be my definite recommendation. -josh Miguel Cruz [EMAIL PROTECTED] wrote: On Wed, 1 May 2002, Liam Gibbs

[PHP] getting a function name of the calling function

2002-05-01 Thread Joshua E Minnie
Does anybody know of any constants or predefined functions that will retrieve the calling functions name? For example: ? function new_func($somedata) { echo I am function .get_func_name(); } ? -josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Query Close

2002-05-01 Thread Joshua E Minnie
Check the PHP manual for mysql_close Depends on how you opened it. Did you use mysql_pconnect or mysql_connect? Your answer should be in the manual. -josh Christian Ista [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, What's happen if when I used a

Re: [PHP] getting a function name of the calling function

2002-05-01 Thread Joshua E Minnie
I actually need it to print out the name of itself for error detection purposes. Does anybody know of any constants or predefined functions that will retrieve the calling functions name? For example: ? function new_func($somedata) { echo I am function .get_func_name(); } ?

[PHP] Re: Query Close

2002-05-01 Thread Joshua E Minnie
Christian Ista [EMAIL PROTECTED] wrote: Depends on how you opened it. Did you use mysql_pconnect or mysql_connect? mysql_connect Here is an excerpt from the manual http://www.php.net/mysql_connect The link to the server will be closed as soon as the execution of the script ends, unless it's

[PHP] Re: getting a function name of the calling function

2002-05-02 Thread Joshua E Minnie
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Joshua E Minnie) wrote: Does anybody know of any constants or predefined functions that will retrieve the calling functions name? For example: ? function new_func($somedata) { e

[PHP] bad row offset

2002-05-02 Thread Joshua E Minnie
I am a little confused with an error I am receiving on a function I am using. Here is the function: function get_user_data($user,$field) { # get_user_data is a base function assuming no errors have # been passed and will return the data of a specific field # based on the value of $user

[PHP] Re: getting a function name of the calling function

2002-05-02 Thread Joshua E Minnie
Cc Zona [EMAIL PROTECTED] wrote: [snip] A step up would be to use the error handling functions instead http://php.net/errorfunc. Then you can customize which errors get reported to the user, under what circumstances, how, whether to forward the reports to you as well, plus the opportunity to

Re: [PHP] Re: getting a function name of the calling function

2002-05-03 Thread Joshua E Minnie
Miguel Cruz [EMAIL PROTECTED] wrote: [snip] I'm guessing he wants to do something like a stack trace to figure out how a function managed to get itself called with bad data. With utility functions that may get called hundreds of times in a single run, that would be some really handy stuff.

[PHP] mssql_prev_result()???

2002-05-03 Thread Joshua E Minnie
in the table. Here is some psuedocode of what I am trying to do: the form //fields to be filled by the user data that comes in from each query button value=previous user onClick=get_prev_user() button value=next user onClick=get_next_user() /the form -- Joshua E Minnie/CIO [EMAIL PROTECTED] Phone

[PHP] trans-sid .. help

2002-05-15 Thread Joshua E Minnie
it without disclosing the session id in the URL. If anyone could give me some sample code to help me alleviate the confusion, it will be greatly appreciated. I am using PHP 4.1.2 compiled as CGI on Windows NT 4.0 -- Joshua E Minnie/CIO [EMAIL PROTECTED] Don't work for recognition, but always do work

[PHP] header failing...

2002-05-15 Thread Joshua E Minnie
4.0 -- Joshua E Minnie/CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] lists of headers

2002-05-17 Thread Joshua E Minnie
. -- Joshua E Minnie/CIO [EMAIL PROTECTED] Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
Hey all, I have a problem, that I can't seem to find the answer to. I have checked the archives and the website, but to no avail. I have installed PHP 4.2.1 on my local machine with IIS running W2K Pro. When I run php -i, I get the html output expected. But when I try to open the simple

Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
as a CGI extension in IIS (pointing to php.exe). --Bruce Joshua E Minnie [EMAIL PROTECTED] wrote: Hey all, I have a problem, that I can't seem to find the answer to. I have checked the archives and the website, but to no avail. I have installed PHP 4.2.1 on my local machine with IIS

Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
Message - From: Sqlcoders.com Programming Dept [EMAIL PROTECTED] To: php general [EMAIL PROTECTED] Cc: Joshua E Minnie [EMAIL PROTECTED] Sent: May 22 2002 09:14 PM Subject: Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5 Hi there!, In a word - script mappings. In the IIS administrator, you

[PHP] Re: W2K SP2, PHP 4.2.1, IIS 5

2002-05-22 Thread Joshua E Minnie
I even tried adding the mime type for php (application/x-httpd-php). Argh. Thanks for all the help that you guys have provided thus far. -josh Hey all, I have a problem, that I can't seem to find the answer to. I have checked the archives and the website, but to no avail. I have

[PHP] Re: [PHP-INST] W2K SP2, PHP 4.2.1, IIS 5

2002-05-23 Thread Joshua E Minnie
\extensions\php_mssql.dll' - The specified module could not be found. in Unknown on line 0 What I don't understand about this error is that the php_mssql.ddl is in that exact directory. Any suggestions? - Original Message - From: Paul Ellison [EMAIL PROTECTED] To: Joshua E Minnie [EMAIL

[PHP] undefined variable...working in PHP 4.1.2 not 4.2.1

2002-05-23 Thread Joshua E Minnie
Hey all, I am having a problem that maybe some of you have had as well. I am using a session and when I pass the session variable to the next page it comes back as undefined. Is there some new syntax in 4.2.1 that I am missing, I thought that I made all the necessary changes. Here is the

[PHP] Searching a db

2002-09-23 Thread Joshua E Minnie
appreciate any help or direction provided. -- Joshua E Minnie Advantage Computer Services, LLC Senior Project Manager [EMAIL PROTECTED] Phone: 269.276.9690 Fax: 269.342.8750 Don't work for recognition, but always do work worthy of recognition. -- PHP General Mailing List (http://www.php.net

[PHP] PEAR or not PEAR

2002-09-24 Thread Joshua E Minnie
] And my querys would still remain relatively the same. I hope you can shed some light on this because I am not really sure which one to use. -- Joshua E Minnie Advantage Computer Services, LLC Senior Project Manager [EMAIL PROTECTED] Phone: 269.276.9690 Fax: 269.342.8750 Don't work for recognition

[PHP] Re: Resource for locating user-written functions?

2002-09-24 Thread Joshua E Minnie
You might check out http://wildelement.users.phpclasses.org/ -- Joshua E Minnie Advantage Computer Services, LLC Senior Project Manager [EMAIL PROTECTED] Phone: 269.276.9690 Fax: 269.342.8750 Don't work for recognition, but always do work worthy of recognition. Paul Wilczynski [EMAIL PROTECTED

Re: [PHP] where's waldo

2002-09-26 Thread Joshua E Minnie
where waldo is at. Not sure how easy this would be but HTH. -- Joshua E Minnie Advantage Computer Services, LLC Senior Project Manager [EMAIL PROTECTED] Phone: 269.276.9690 Fax: 269.342.8750 Don't work for recognition, but always do work worthy of recognition. Kenneth Love [EMAIL PROTECTED] wrote

[PHP] Newline charactes causing problems

2002-12-05 Thread Joshua E Minnie
Hey all, I know this has been asked before, and I have tried many of the solutions that were posted in the mailing archives, and also did some googling. But I can't seem to eliminate some new line characters from a string. Here is the scenario: 1. A user inputs some text into an form and

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread Joshua E Minnie
Already tried that. Doesn't seem to change anything. - Original Message - From: John Wards [EMAIL PROTECTED] To: Joshua E Minnie [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, December 05, 2002 10:48 AM Subject: Re: [PHP] Newline charactes causing problems On Thursday 05 Dec 2002

Re: [PHP] Newline charactes causing problems

2002-12-05 Thread Joshua E Minnie
| +---+ | PHP v. 4.2.3 running on Win 2000 / IIS 5 | | MySQL v. 3.23.49 running on RedHat 7.3/Apache | +---+ John Wards [EMAIL PROTECTED] wrote: On Thursday 05 Dec 2002 3:48 pm, Joshua E Minnie wrote: A load of stuff

[PHP] phpMyAdmin for Microsoft SQL

2003-01-27 Thread Joshua E Minnie
Hey all, Does any body know of anything similar to phpMyAdmin for MS SQL? I have been doing some googling and haven't come across anything that would help me out. I have also checked out www.sourceforge.net and can't seem to come across anything either. I am looking for something that will

Re: [PHP] phpMyAdmin for Microsoft SQL

2003-01-28 Thread Joshua E Minnie
Maletsky [EMAIL PROTECTED] Joshua E Minnie [EMAIL PROTECTED] wrote... : Hey all, Does any body know of anything similar to phpMyAdmin for MS SQL? I have been doing some googling and haven't come across anything that would help me out. I have also checked out www.sourceforge.net and can't

[PHP] GD on Linux

2002-10-04 Thread Joshua E Minnie
I was wondering if anyone could point me in the right direction as to why I can't get image manipulation with PHP to work. I am running 4.1.2 on Redhat with Apache. The configure script has --with-gd and in the php.ini file I added the line extension=gd.so. I got it working on my W2K IIS5

[PHP] Re: GD on Linux

2002-10-04 Thread Joshua E Minnie
Joshua E Minnie [EMAIL PROTECTED] wrote: : I was wondering if anyone could point me in the right direction as to why I : can't get image manipulation with PHP to work. I am running 4.1.2 on Redhat : with Apache. The configure script has --with-gd and in the php.ini file I : added the line

[PHP] Interesting results with date()

2002-10-11 Thread Joshua E Minnie
Hey all, I am having some interesting, but confusing results when I use date(). What is confusing me is that when I use date with only the first argument, I get some interesting results with the timezone. i.e. ?php echo date(r T); ? You would expect to see something like this: Fri, 11

Re: [PHP] String manipulation

2002-10-24 Thread Joshua E Minnie
If you are trying to just validate the email you might also try to the email validation function that php.net uses. You can get it in the CSV area of the site. _ / Joshua Minnie\ ++---+ | Wild Web Technology

[PHP] Trouble maintaining a session

2002-11-05 Thread Joshua E Minnie
Hey all, I was wondering if anyone could explain to me why I can't seem to maintain a session using PHP 4.1.2 on my NT4 server. I am don't have any problems on my W2K/IIS5 or Linux machine. What I am doing is allowing my users to log on to the site at any time, and then being returned to

[PHP] Re: function()

2002-11-05 Thread Joshua E Minnie
First of all, you can't echo that variable in the manner you are trying. Try this instead: [lib.inc] function test_func($param1) { return $param1; } [main.php] ?php // option 1 $num = test_func(123); echo $num; // option 2 echo test_func(123); ? HTH _ / Joshua Minnie

[PHP] Re: Trouble maintaining a session - FIXED

2002-11-27 Thread Joshua E Minnie
Hey all, Not exactly sure why this fixed it, but when I upgraded the PHP on the NT4 server to PHP 4.2.3, everything worked as I had hoped. I plan on looking into it more, but I just thought that I would let you all know in case anyone else comes across a similar problem in the future. --