[PHP] Largest Member of Array

2003-06-26 Thread John Wulff
How would i find the value of the largest number in this array? $example_data = array( array("Mar-99",100,2000,5945.33,1234,10), array("Feb-99",908,3454,4764.90,4321,50), array("Jan-99",542,8000,13365.52,6012,60) ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] Strange output issue

2003-06-27 Thread John Luxford
On Friday, June 27, 2003, at 03:40 AM, Ford, Mike [LSS] wrote: -Original Message- From: John Luxford [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 18:15 Thanks for the info. The problem is that I'm trying to output an M3U file to stream a series of MP3s, and some players won'

Re: [PHP] include question

2003-06-28 Thread John Luxford
ECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- John Luxford President and Chief Developer __ SIMIAN systems Driving Web Content Management __ web : http://www.simian.ca/ email : [

[PHP] IsSet() and $_SESSION

2003-06-29 Thread John Manko
I'm having a problem with the value that isset returns on $_SESSION variables. For some reason, even if $_SESSION['uid'] is set, isset returns FALSE. Here is the code: -- file1.php --- include "file2.php"; if (!isset($_SESSION["uid"])) { // This first time $_SESSION["uid"] is

Re: [PHP] Securing PHP code

2003-06-29 Thread John Manko
For some people, putting information outside the docroot isn't possible, especially when your site is hosted. On thing you can also try (which is nowhere near the security of outside the docroot) is to put ocnfig data (user, pass, etc...) inside it's own php file that is included in outfiles. F

Re: [PHP] PHP5 with MySQL on windows

2003-06-29 Thread John Coggeshall
d of PHP5.0 available at http://snaps.php.net/ John -- -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Coggeshall john at coggeshall dot org http://www.coggeshall.org/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- -- PHP Gene

[PHP] Re: IsSet() and $_SESSION

2003-06-30 Thread John Manko
es do not exist. in fact, the session isnt even started, cause I get an "Undefined variable _SESSION". so, it looks like the session is not spamming page requests. Do I have to call session_start() on every page to read the $_SESSION variables set in another? Shivanischal A w

[PHP] php-general as REPLY TO

2003-06-30 Thread John Manko
Hello, I'm wondering why the listed "Reply To" address is not "[EMAIL PROTECTED]" Thing would be so much easier to just reply than cut-n-paste when reply to the entire list on a subject (which is the norm). Can the maintainer set this up? John -- PHP G

[PHP] list() with unknown number of values

2003-06-30 Thread John Wulff
I want to write a function that manipulates each piece of data in an array (except for the first). Right now I'm using list as follows from this array: $cdata = array( array("Apr-03",12747.17,23486.55,319062.24,257828.73,0.00), array("Sep-02",12379.46,10246.92,482295.71,618131.35,14.99) ); forea

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread John Manko
Keep in mind that many people post without being subscribed to the list, This is false. In fact, I tried sending a message to the list from another account that wasn't subscribed, and I got a reply stating the following: Because you are not subscribed to "[EMAIL PROTECTED]" using the email addres

Re: [PHP] IsSet() and $_SESSION - BUG?

2003-06-30 Thread John Manko
esetSessionVariables(); $_SESSION['username'] = strtolower(formatformdata($user)); $_SESSION['adminlogin'] = True; $_SESSION['fname'] = mysql_result($results,0,"fname"); $_SESSION['lname'] = mysql_result($results,0,"lna

Re: [PHP] PHP Programmer Needed!

2003-07-01 Thread John Coggeshall
I may be interested if you haven't filled the spot yet. John On Fri, 2003-06-27 at 02:55, Erica Ziegler-Roberts wrote: > I am swamped with work and need a php expert who is familiar with IC-Radius > to do the following project for me. If it can be done by Monday, I will be > willi

RE: [PHP] Formating datevariables...

2002-07-22 Thread John Holmes
OM your_table There's no need to involve PHP at all... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Digit Grouping

2002-07-22 Thread John Holmes
to do it? number_format() ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] redirecting after login

2002-07-23 Thread John Holmes
> why don't u do something like > > if (!username) > { you can not access this page > } > else > { > //page content > } > > ? > > that's a quick fix but might be all you need to do.. Umm...I hope register_globals is off... www.yourdomain.com

RE: [PHP] Re: MySQL - PHP combined log

2002-07-23 Thread John Holmes
QL. You'll still have the problem of identifying which PHP page caused the MySQL error, though... ---John Holmes... > -Original Message- > From: PHPCoder [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 2:23 AM > To: Richard Lynch > Cc: php-general > Subject: R

RE: [PHP] How to store an image into a mysql database using php language?

2002-07-23 Thread John Holmes
;ll tell you exactly how to do it. ---John Holmes... > -Original Message- > From: Rija [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 11:03 PM > To: [EMAIL PROTECTED] > Subject: [PHP] How to store an image into a mysql database using php > language? > >

RE: [PHP] Re: Formating datevariables...

2002-07-23 Thread John Holmes
pter 6 of the MySQL manual. It will save you a ton of work later on... ---John Holmes... > -R > > "Ragnar" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a column in a mysql table with a timestamp. The value of this

RE: [PHP] Sorting db entries by Year-Month

2002-07-23 Thread John Holmes
Isn't there a MONTH function in PG? SELECT * FROM your_table WHERE MONTH(NOW()) = MONTH(your_column) ?? Or if PG stores dates in the Unix timestamp format, is the an equivalent to date() that you can extract the month from the column and compare them?? ---John Holmes... > -

RE: [PHP] Sorting db entries by Year-Month

2002-07-23 Thread John Holmes
ber of seconds since Jan 1, 1970 or something. You could use a combination of date() and mktime() and maybe even strtotime() to figure the unix timestamp of the current month's start and end, then use the BETWEEN SQL given above... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Formating datevariables...

2002-07-23 Thread John Holmes
ts may vary. I used some benchmark class by Sebastian Bergmann. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MySQL Backup and Restore

2002-07-23 Thread John Holmes
base and use this: mysql -uuser -ppassword database_name < filename.sql ---John Holmes... > -Original Message- > From: Peter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 11:04 PM > To: kip; [EMAIL PROTECTED] > Subject: RE: [PHP] MySQL Backup and Restore &

RE: [PHP] Accessing upper directory of public_html directory

2002-07-23 Thread John Holmes
n include/ directory above your web root. You can use: include("/home/full/path/to/your/dir/include/db.php"); Or include("../include/db.php"); ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Trouble with \

2002-07-24 Thread John Holmes
> > Try this function: > > http://www.php.net/manual/en/function.stripslashes.php > > Oddly enough, as I told John, I did that as well and it doesn't work. Are the \ there to escape anything, like ' or " or are they just in there by themselves..as a delimiter or

RE: [PHP] Speeding up PHP or MySQL

2002-07-24 Thread John Holmes
for _anything_ that will speed up showing results to large > queries.. How about an index on your tables? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: date

2002-07-24 Thread John Holmes
mn with June 24th, or any 24th, will come up as Today. Something like this will work, though... SELECT IF(TO_DAYS(CURDATE()) = TO_DAYS(date_column),'Today',IF(TO_DAYS(CURDATE())-1 = TO_DAYS(date_column),'Yesterday',date_column)) FROM your_table; Hope that helps... ---John

RE: [PHP] datetime field - still a newbie

2002-07-25 Thread John Holmes
echo "Today"; break; case date("Ymd",strtotime("-1 day")): echo "Yesterday"; break; default: echo $your_row['Date_Column']; } Untested code, of course... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] preg_match() occurence position

2002-07-25 Thread John Holmes
are searching for? If not, you can use strpos(). www.php.net/strpos ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Parse error - new set of eyes?

2002-07-25 Thread John Holmes
> elseif ((!isset($HTTP_SESSION_VARS['clk']) || > (!isset($HTTP_SESSION_VARS['holy_cow']) || > (!isset($HTTP_SESSION_VARS['ipaddy']) || (!isset($HTTP_SESSION_VARS['a'])) Your parenthesis don't match up, if I can count correctly today. --

RE: [PHP] still on sessions

2002-07-26 Thread John Holmes
regular variable it is. Anything you assign to it will be available on any page you call session_start(). How much easier can it be?? If you really want a message, then on the last line of your file put echo "Session Closed"; ---John Holmes... -- PHP General Mailing List (http://www.php.n

RE: [PHP] calling user-defined php functions from tag

2002-07-26 Thread John Holmes
s on the link, he'll see: "The result of this > function is: 20" And he will, but it requires a page to be requested...otherwise use JavaScript. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:

2002-07-26 Thread John Holmes
h or request to invoke PHP again. That being said, in your href link, pass an ID saying which function to call. It can be the name of the function, or a number to relate to it. Make the action of the page the current page. Maybe something like this is what you're after?? Run Function One";

RE: [PHP] Re: Cookies

2002-07-26 Thread John Huggins
;hl= en So watch out for 4.2.2 if you use Apache 2.x.x. It seems to be okay with Apache 1.3.26. John > -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 26, 2002 12:33 PM > To: John S. Huggins > Cc: [EMAIL PROTECTED] > Subject: [P

RE: [PHP] Re: Date() Problem

2002-07-27 Thread John Holmes
you can do with a PHP function you can do with a MySQL function. You are also not completely lost if you're storing things as Unixtimstamps. You can convert from and to unixtimestamps and still make use of all of the MySQL functions... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread John Holmes
it all up, and then call up http://localhost/ to view your pages. ---John Holmes... > -Original Message- > From: Marcus Unlimited [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 27, 2002 10:05 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Q:What is the easiest way to test

RE: [PHP] removing html...

2002-07-27 Thread John Holmes
Use a regular expression. Something like this should work. eregi("(.*)",$html_text,$matches); $matches[1] should contain the text you are after. ---John Holmes... > -Original Message- > From: JJ Harrison [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 27, 2002 9

RE: [PHP] removing html...

2002-07-27 Thread John Holmes
Or... preg_match("/(.*)<\/body>/i",$html_text,$matches); ---John Holmes... > -Original Message- > From: JJ Harrison [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 27, 2002 9:41 AM > To: [EMAIL PROTECTED] > Subject: [PHP] removing html... > > Hi

RE: [PHP] Q:What is the easiest way to test my PHP+Html pages?

2002-07-27 Thread John Holmes
ns for the package you install. ---John Holmes... > -Original Message- > From: Marcus Unlimited [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 27, 2002 11:17 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Q:What is the easiest way to test my PH

RE: [PHP] Re: How to UPDATE two MySQL Tables

2002-07-27 Thread John Holmes
rony!) Just note that REPLACE is MySQL specific. A solution using it may not be portable to other databases. May or may not matter to you... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Is it possible...

2002-07-27 Thread John Holmes
and only HTML is sent to you. ---John Holmes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Quotes getting screwed up in form fields

2002-07-27 Thread John Holmes
ot;" HTML doesn't know that \ is used to escape the " character. It just sees the string "New York\" and treats the rest as an unknown attribute. So, to do it correctly, you should use this: Value="" ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] removing html...

2002-07-27 Thread John Holmes
s); Preg vs. Ereg nametotal time average iteration time 100%Preg Method 59ms5.906E-005 339%Ereg Method 200ms 0.00020036 Each method was called 10,000 times. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubs

RE: [PHP] Stopping Multiple Entries in mySQL DB

2002-07-27 Thread John Holmes
A", "Jackson, UK", "Someone Else, USA", etc...just not the same combination at all. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] string comparison

2002-07-27 Thread John Holmes
Strcmp() is case sensitive. So use it when you need a case sensitive comparison. ---John Holmes... > -Original Message- > From: Bas Jobsen [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 27, 2002 12:35 PM > To: PHP General > Subject: [PHP] string comparison >

RE: [PHP] Combining Columns in MySQL for PHP

2002-07-27 Thread John Holmes
> SELECT COMBINE(column_1, column_2) As column FROM column_list; > > Would give me the results of column_1 and column_2 simply by going through > "column". Use CONCAT() where you have COMBINE(). ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To un

RE: [PHP] Combining Columns in MySQL for PHP

2002-07-27 Thread John Holmes
with a temporary table, though: INSERT INTO temp (col) SELECT col1 FROM your_table; INSERT INTO temp (col) SELECT col2 FROM your_table; SELECT col FROM temp ORDER BY col ASC; ---John Holmes... > -Original Message- > From: Chris Earle [mailto:[EMAIL PROTECTED]] > Sent: Saturday

RE: [PHP] Speed issues.

2002-07-28 Thread John Holmes
ding the PHP script in the main page. For example > using printf(" and so forth. (A) will be faster, generally. Plus it's easier to read and find the PHP snippets in the HTML, than it is to read an entire page of print/echo statements. And it'll generally open neatly in a graph

RE: [PHP] php 'mail()' security

2002-07-28 Thread John Holmes
gives them less of a chance to insert extra headers, which is pretty much the only threat. If there's a possibility of the email not being shown as plain text, then you'll want to use striptags() like others mentioned. ---John Holmes... > -Original Message- > From: Tech

RE: [PHP] PHP-MySQL connection problem

2002-07-29 Thread John Holmes
Edit that file if it's there. If it's not, then look for a PHP-ini.dist or PHP-ini.recommended in the files you downloaded and rename it to PHP.ini and copy it to that location. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Resetting ID

2002-07-30 Thread John Holmes
u are using this column incorrectly. My guess is that you'd want to read up on the COUNT() or LIMIT functions in MySQL... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Pulling a data from array of checkboxes

2002-07-27 Thread John Holmes
> I am passing a value of checkboxes in a form to a new page like this (see > example here: http://www.gibsonusa.com/test/check/) > In a new page how can I pull the data from a MySQL database according to > each value I passed from a previous page? In other words: Assume that the > value of a chec

RE: [PHP] Hide the undefined offset error for the array?

2002-07-30 Thread John Holmes
) Hmm...what are you doing, btw? Are you use you couldn't make use of in_array()?? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP mail() problems

2002-07-30 Thread John Williams
ed the web server. ; For Unix only. ;You may supply arguments as well (default: 'sendmail -t -i'). sendmail_path = "/usr/sbin/sendmail -t -i" (I've tried it with and without quotes) Still no luck... Any ideas? Thanks! John -- PHP General Mailing List (http://www.ph

RE: [PHP] $row and alias

2002-07-30 Thread John Holmes
Use ibase_fetch_row() instead... Then you can use count() on it to see how many columns there are and loop through them all. ---John Holmes... > -Original Message- > From: Saci [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 30, 2002 2:44 PM > To: [EMAIL PROTECTED] >

RE: [PHP] shorter way to write include function?

2002-07-31 Thread John Holmes
No. ---John Holmes... > -Original Message- > From: Bas Jobsen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 7:58 AM > To: PHP General > Subject: [PHP] shorter way to write include function? > > Hello, > > i have > /include/dotest.php: &g

[PHP] Re: PHP mail() problems FIXED

2002-08-01 Thread John Williams
John Williams wrote: >I'm having a problem getting the mail() function working on php 4.2.2. > >I get the error message: >Warning: mail() is not supported in this PHP build > >I'm running Solaris 8 and have set the symlink for sendmail. I have >recompiled P

RE: [PHP] Can several different sessions coexist?

2002-08-01 Thread John Holmes
; $_SESSION['area_one']['value2'] = 10; Then, in another area, you can do the same thing, basically... $_SESSION['area_two']['value1'] = 'Something'; $_SESSION['area_two']['value2'] = 1000; Then...when you want to drop the sessi

RE: [PHP] Why do i get this Notice Message?

2002-08-02 Thread John Holmes
ister_globals ON, but you are inside of a function, so it is a whole new variable now. So, like someone else suggested, make it global inside your function Global $PHP_SELF; Or, if you're on a new version, just use $_SERVER['PHP_SELF'] and you don’t have to worry about global. ---

RE: [PHP] PHP Hosting

2002-08-02 Thread John Holmes
Safe_mode = ON Open_basedir restrictions Use PHP in CGI mode and each runs as it's own user with access to only it's own file (may require separate Apache's, too...) ---John Holmes... > -Original Message- > From: Matt Babineau [mailto:[EMAIL PROTECTED]] > Sent:

Re: [PHP] ODBC

2002-08-03 Thread John Lim
Have a look at http://php.weblogs.com/adodb_csv "Bob Lockie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >Can PHP be used on an Apache server (linux) to connect to a (remote) MS > >Access server (NT) through ODBC? > > Yes. > > > > If so, does anyone

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread John Wards
Try Zend studio if you have the mulla it rocks! http://www.zend.com/store/products/zend-studio.php John Wards SportNetwork.net - Original Message - From: "Negrea Mihai" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 09, 2002 12:21 PM Subject: R

Re: [PHP] PHP form port

2002-08-10 Thread John Wards
l that is outputed. You don't need to use the html if you don't want to. John Wards SportNetwork.net - Original Message - From: "Daniel Guerrier" <[EMAIL PROTECTED]> To: "php user group" <[EMAIL PROTECTED]> Sent: Saturday, August 10, 2002 5:14 PM Subjec

[PHP] Problem with $PHP_SELF on PWS

2002-08-11 Thread John Brooks
having the method embedded or separate. Thanks in advance, John Brooks.

[PHP] Php lib?

2002-08-12 Thread John Wards
Anyone got any handy hints on how to convert scripts running on PHP3 and PHPlib? Its doing my head in! John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread John Wards
right am i missing something or is that not just an other Y2K "bug" waiting to happen? Not that I plan to be coding php in 2038 but my kids might be.:-P John - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[

Re: [PHP] Php lib?

2002-08-13 Thread John Wards
converter for this(wishful thinking! anything for an easy life) My boss set me this task before he went on holiday...I am sure he is bloody laghing his socks off right now! I wondered why he never bothered porting this for PHP4! Arrgh! John > > Anyone got any handy hints on how to convert s

Re: [PHP] Php lib?

2002-08-13 Thread John Wards
Again ta! I had sort of figured it out while waiting for someone to get back to me. Mental note..must learn objects.no argh John > Hi, > sets the value of the var to be parsed later. > > HTH > > Andrey > > - Original Message - > From: &qu

[PHP] PHP lib again

2002-08-13 Thread John Wards
this display()!! Thanks for any help! John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Persistant Connections

2002-08-14 Thread John Wards
the phorum message board system. Thanks in advance John Wards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] create header and redirecting

2002-08-15 Thread John Wards
Or maybe not whats line 16? John - Original Message - From: "Reymond " <[EMAIL PROTECTED]> To: "'John Wards'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 15, 2002 11:29 AM Subject: RE: [PHP] create header an

[PHP] Apache 2.0 and PHP

2002-08-19 Thread John Wards
Guys and Girls got a question for you. Is Apache 2.0 any good and is there any advantages to installing it? Does it work fine enough with PHP and MySQL? Would I be able to install it along side 1.3 and run it on a separate port? Cheers John Wards SportNetwork.net -- PHP General

Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread John Wards
alert() - Original Message - From: "Michael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 1:54 PM Subject: [PHP] Passing a PHP variable to javascript > Hello everyone, > > This may seem a newbie question... > > I have a PHP variable containing the text of the

Re: [PHP] Simple Security Clarification

2002-08-21 Thread John Wards
Andre Doc root = http://www.yoursite.com/ '/var/www/html/secure' = http://www.yoursite.com/secure/ So its not secure You could use .htaccess files but I am not that clued up on them John - Original Message - From: "Andre Dubuc" <[EMAIL PROTECTED]> To

Re: [PHP] PHP IDEs

2002-08-21 Thread John Wards
is far too buggy to use on a day to day bases. John - Original Message - From: "Jaski" <[EMAIL PROTECTED]> To: "PHP General(E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 2:27 PM Subject: Re: [PHP] PHP IDEs > Even I would be very interest

[PHP] file creation question

2002-08-29 Thread John Hegele
igure out how I can generate a file, fill it with values from the database and allow the user to download it without the file ever really existing on the server. Thanks in advance for any help you can give. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with include

2002-08-30 Thread John Wards
hmm. It should have nothing to do with cookies unless you are using cookies in the scripts. Try using require rather than include to see if that makes any difference Cheers John Wards SportNetwork.net p.s. your english is as good as mine and i am scottish.. - Original Message

Re: [PHP] problem with include

2002-08-30 Thread John Wards
hmmbeyond my scope...but I did the following to test And it echoed "onetwothree" must be some setting on your system but what I don't knwo John - Original Message - From: "skitum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Fri

Re: [PHP] Drawing graphs

2002-09-02 Thread John Wards
erm jgraph is what i use but for the life of me I cannot remeber the url Try searching for it on hotscripts.com or http://php.resourceindex.com/ John - Original Message - From: "Ivens Porto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Sept

Re: [PHP] Newbie "Parse" error

2002-09-02 Thread John Wards
$subject = "Message From MCV Contact Form" you have missed out a ; on the above line use your eyes...:-) John - Original Message - From: "Chase Knott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 4:18 PM Subject: [PHP] Ne

[PHP] Session problem

2002-09-09 Thread John Wards
tests and it dumps the information i am needing. but it won't put it in the session. Would it have anything to do with me testing it on my windoze box? Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session problem

2002-09-09 Thread John Wards
h I dunno why but if I returned $data from my function and registered it out side the function it works fine and yes my session_start() is above my function John > I am having problems with my sessions. > > This function registered my username password and userid in the s

[PHP] Confusing array question ...

2002-09-10 Thread John Kelly
Hi, I have 1 primary array called $item containing 20 values each of whose value is part of the name of 20 other arrays containing various number of values. How can I cycle through the primary $item array using a foreach and within that do a for on each of the 20 secondary arrays dynamically inse

Re: [PHP] Confusing array question ...

2002-09-10 Thread John Kelly
Thanks that did it! "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try adding curly braces around the var name, like this: > > for($i=0; $i -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] Confusing array question ...

2002-09-10 Thread John Kelly
Thanks for the examples Zak! I got it working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions nightmare

2002-09-11 Thread John Wards
I can't see anything sticking out...but why have you done this... $test2Url = "test2.php?PHPSESSID=" . session_id( ); You don't need to do this. Try doing this $test2Url = "test2.php"; Your server might be set up to use a different name for session

Re: [PHP] question

2002-09-11 Thread John Wards
pass the message as a variable header:location.php?message=$message - Original Message - From: "Meltem Demirkus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 11, 2002 2:31 PM Subject: [PHP] question > Hi, > I am working on a process which turn to the previous

Re: [PHP] Re:[PHP]question

2002-09-11 Thread John Wards
gt; Thanks ...But I know this way about carrying data from one page to > another.. > > I want this message to be seen on the page without my doing > anythingand > > I cant do that?.. > > > > - Original Message - > > From: "John Wards" <

Re: [PHP] Re:[PHP]question

2002-09-11 Thread John Wards
oh missed something out... function your_form_html($var_1=null, $var_2=null){ global $message echo $message; ?>etc... This will print out your form again with the variables the user submited plus the message. Is this what you need? John > I think it only prints out the message .. am I

Re: [PHP] Re:[PHP]question

2002-09-11 Thread John Wards
Meltem, Your english is very good but you have lost me :) could you explain more slowly John - Original Message - From: "Meltem Demirkus" <[EMAIL PROTECTED]> To: "John Wards" <[EMAIL PROTECTED]> Sent: Wednesday, September 11, 2002 3:32 PM Subject: Re:

[PHP] Re: Cry for help

2002-09-12 Thread John Wards
things that install apache,php, mysql and phpmyadmin at once which got me started but after a we while i uninstalled it all and did each thing individually. I just wanted to know where every thing went! Anyhooo good luck and have fun! John Wards SportNetwork.net - Original Message - From

[PHP] PHP mem leaks

2002-09-12 Thread John Wards
. Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A question about .php file extension

2002-09-12 Thread John Wards
just be sportnetwork.net/main.php?s=85 we use eregs to get the values out. Cheers John Wards - Original Message - From: "LI DONG" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 12, 2002 3:23 PM Subject: [PHP] A question about .php file extens

[PHP] A mailing list

2002-09-13 Thread John Wards
mailman help list. This is pretty urgent please help! Cheers John Wards SportNetwork.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A mailing list

2002-09-13 Thread John Wards
Tony, You are a star! I can't for the life of me get mailman working with qmail and I have read every readme i can get my hands on. I will probably go for one of the others you recomended!! Your a life saver! Cheers John - Original Message - From: "Tony Earnshaw" &l

Re: [PHP] PHP mem leaks

2002-09-13 Thread John Wards
problem but I have commented that out from http.conf but that made no difference Cheers John Wards > Is the apache parent process ( the one running under root) getting > larger too? > > John Wards wrote: > > >After being told off on the dev list I have posted this on this list

RE: [PHP] REGISTER_SHUTDOWN_FUNCTION() BUG -- Please Fix.

2002-09-17 Thread John Holmes
I'm not sure if that's a "bug", it's more of a feature request. ---John Holmes... > -Original Message- > From: Jason Caldwell [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 17, 2002 3:24 AM > To: [EMAIL PROTECTED] > Subject: [PHP] REGIST

RE: [PHP] COOKIE Question.

2002-09-17 Thread John Holmes
> I do the print $_COOKIE["Acccess]"; and I still don't see any data print. Did you typo in your code like you did here?? Try to dump the whole $_COOKIE[] array and see what's in it. print_r($_COOKIE); Did you mention what version of PHP you were using? ---John Holm

Re: [PHP] mail() question

2002-09-17 Thread John Wards
Meltem What is you system set up? OS etc? Cheers John Wards SportNetwork.net - Original Message - From: "Meltem Demirkus" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 17, 2002 2:35 PM Subject: [PHP] mail() question > Hi, > I am tryi

Re: [PHP] mail() question

2002-09-17 Thread John Wards
Have you set up you php.ini file correctly? You need to set up your SMTP settings and your sendmail_from settings John - Original Message - From: "Meltem Demirkus" <[EMAIL PROTECTED]> To: "John Wards" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sen

Re: [PHP] mail() question

2002-09-17 Thread John Wards
SMTP setting would be what ever you send your mail with currently. Looking at you email address somthing like mail.momentum-dmt.com and your sendmail_from setting would just be your email address Cheers John - Original Message - From: "Meltem Demirkus" <[EMAIL PROTECTED]>

<    1   2   3   4   5   6   7   8   9   10   >