RE: [PHP] Tryng To Prevent Caching on IE 5-6.0

2003-03-08 Thread Kurst
-Original Message- From: Bryan Lipscy [mailto:[EMAIL PROTECTED] Sent: Saturday, March 08, 2003 1:38 AM To: 'Kurst'; [EMAIL PROTECTED] Subject: RE: [PHP] Tryng To Prevent Caching on IE 5-6.0 Try: header(Cache-control: private); It's a very good suggestion and I thank you for it

Re: [PHP] Displaying few words from record in mySQL

2003-03-08 Thread Nik Makepeace
On Sat, 2003-03-08 at 05:21, Rahul.Brenda wrote: Kevin, Your program certainly makes very good sense to me. I have written an extension of the idea available at http://nikmakepeace.com/goodies/abbreviate.phps It takes 5 arguments: string to be abbreviated, length in

Re: [PHP] Re: Difference between

2003-03-08 Thread Jome
James Taylor wrote: Where can I read more about this? I'm not sure that I understand why 4 4 == 4. http://se.php.net/manual/en/language.operators.bitwise.php Jome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $PHPSESSID

2003-03-08 Thread Ernest E Vogelsinger
At 05:45 08.03.2003, Liam Gibbs said: [snip] Here's the newest brain teaser: I have cookies disabled (well, I have IE set to the highest security mode, where it disables cookies). I understand that with cookies enabled, $PHPSESSID will return nothing when

Re: [Fwd: Re: [PHP] error while reading google-search-results]

2003-03-08 Thread Jens Lehmann
James Holden wrote: Welcome to a mine field of problems :-) 1. The url you have entered is invalid. Thats a good first check to make usually. Try /search?q=test to get that bit sorted. Ok, this was just a typo. :) 2. Google prevents known useragents from accessing it's content as it

[PHP] repost: cookie problem

2003-03-08 Thread H. Miersch
i've posted this before to the newsgroup, and i don't think it got through to the mailinglist, so i'll try again. hello. i'm new to this NG, so i don't know if this is the right mailinglist / newsgroup for my problem. if not, please let me know which one to post it to. anyway, here goes: i'm

Re: [PHP] Configure with register_globals on

2003-03-08 Thread Frank Keessen
Hi Mike, I've googled something for you! http://www.entropy.ch/software/macosx/php/#install Everything about PHP and running it on the MAC OS X.. Regards, Frank - Original Message - From: Mike Tuller [EMAIL PROTECTED] To: php mailing list list [EMAIL PROTECTED] Sent: Friday, March

Re: [PHP] Tryng To Prevent Caching on IE 5-6.0

2003-03-08 Thread Andre Dubuc
Hi Kurst, I don't know whether what I'm about to pass on will be of any help, or close to solving your problem, but perhaps the idea might lead you somewhere. I was faced with a problem: As my index page loaded, I had to test to see whether 'cookies' were enabled, without resorting to

[PHP] Video clip

2003-03-08 Thread Anthony Rodriguez
Hi! In PHP, does anyone know how I would display a video clip (.avi?) on a specific spot on a Web page? Thanks! Tony -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Video clip

2003-03-08 Thread daniel
definbately OT dude , use the windows media player object embed code = Original Message From Anthony Rodriguez [EMAIL PROTECTED] = Hi! In PHP, does anyone know how I would display a video clip (.avi?) on a specific spot on a Web page? Thanks! Tony -- PHP General Mailing List

[PHP] Re: Php +Xml?

2003-03-08 Thread James
There is nothing to install. By default php usually comes with XML parser methods - however if you want to invest time in running XSLT/XPATH styles against XML you need to install server side software such as Sablotron or Saxon. We run Sablotron and it's very good. We've also invested in Stylus

Re: [PHP] require_once adds a 1

2003-03-08 Thread James
? if ([EMAIL PROTECTED](topten.php)){ echo Loading of top ten failed on line .__LINE__; } ? Gary [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for your response James! but still I must be doing something wrong the 1 is a persistent little bugger. Have you

Re: [Fwd: Re: [PHP] error while reading google-search-results]

2003-03-08 Thread James
LWP is a perl thing. Curl is probably the best thing to use. Have you tried using googles php api which they provide free? http://www.google.com/apis/ Jens Lehmann [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] James Holden wrote: Welcome to a mine field of problems :-) 1.

RE: [PHP] Re: Php +Xml?

2003-03-08 Thread daniel
wot exactly does the xml parse do over sablot ? and what benfit do u get xml'ing an entire site , where some processes which come easy to do in php are insanely tedious to replicate in xsl :| = Original Message From James [EMAIL PROTECTED] = There is nothing to install. By default php

Re: [PHP] repost: cookie problem

2003-03-08 Thread Marek Kilimajer
First find out if the cookie is send as it should be - use a php script to simulate sending the login form and look at the response you will recieve. Curl is great for this. H. Miersch wrote: i've posted this before to the newsgroup, and i don't think it got through to the mailinglist, so

Re: [PHP] Executing PHP code in a database

2003-03-08 Thread Ernest E Vogelsinger
At 06:15 08.03.2003, Leo Spalteholz said: [snip] I have a table that stores all the boxes that my website will display on the sides. So far the content is simply stored in a text field and then substituted for the box body. However this way I can't have

Re: [PHP] Is this possible? Group related results from mysql to one field

2003-03-08 Thread Marek Kilimajer
The only way that comes to my mind is using a SET column type - in related table you would not wave toid relating to categories, but instead it would be of type SET(demonstrations,people). This column can be set to -empty, no category demonstrations people demonstrations,people But SET column

[PHP] TextImage

2003-03-08 Thread Christopher Smith
Greetings, I've recently searched newsgroup archives on how to convert text into an image. However, I cannot seem to find a clear example on how to create the image dimensions based on the size of a textfile and then once I create the initial image how to paint the text on the image based on

Re: [PHP] TextImage

2003-03-08 Thread David Rice
On Saturday, March 8, 2003, at 08:49 AM, Christopher Smith wrote: Greetings, I've recently searched newsgroup archives on how to convert text into an image. Another good place to get start-up information, assuming that GD is available on your setup, is the manual:

Re: [PHP] test for rtf

2003-03-08 Thread bill
Just a note, testing for those characters is trickier than it sounds. The backslash throws off the test. Here's what I did on a POST form. Note the -two- backslashes. $chkstring=substr($thisfile,0,5); if ($chkstring != {\\rtf) { // fail } This seems to work, but I'm wondering

[PHP] PHP removing data...

2003-03-08 Thread Doug Coning
Hi all, I'm trying to save a text file from my server to a client machine through PHP and am using the following headers: header(Content-type: application/text); header(Content-Disposition: attachment; filename=variables.txt); The header does save a text file from the server to my desktop

Re: [PHP] Displaying few words from record in mySQL

2003-03-08 Thread chris
On Fri, 7 Mar 2003 10:22:01 -0800 (PST), Rahul.Brenda [EMAIL PROTECTED] wrote: Glory Supreme Power What i'm looking to do is.. i want to display only the first few words of the record in my mySQL database.. For example.. i have a table with a field title.. and let's say my last record has the

[PHP] Functions internal to a class implementation

2003-03-08 Thread trlists
I have a class for elements of an HTML form and a bunch of subclasses for text box, radio, etc. I need some utility functions which will be called by some of the subclass implementations. These are utilities used within the class only, they are not methods. Is there a best way to implement

Re: [PHP] $PHPSESSID

2003-03-08 Thread Jim Lucas
I think it might have something to do with --enable-trans-sid read up on that Jim - Original Message - From: Liam Gibbs [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Friday, March 07, 2003 8:45 PM Subject: [PHP] $PHPSESSID First of all, thanks all who helped with the min and

Re: [PHP] Difference between

2003-03-08 Thread Ernest E Vogelsinger
At 05:54 08.03.2003, James Taylor said: [snip] Ok, this may have already been posted to the list already, but the archives don't seem to like the and characters. I'm running into some code that looks like this: snip Define('INPUT', 2); snip

RE: [PHP] Re: Difference between

2003-03-08 Thread Ernest E Vogelsinger
At 08:04 08.03.2003, James Taylor said: [snip] Where can I read more about this? I'm not sure that I understand why 4 4 == 4. [snip] Bitwise comparison means just that, i.e. comparing two numbers bit by bit. Any

[PHP] Re: Php +Xml?

2003-03-08 Thread Alexandru COSTIN
Hello, Hello people, I want to start using Xml with php. How do I install xml on Apache with Php? I am running redhat 7.2,Apache 1.3.12 and php latest version. If you want to use SAX, you should already have it installed if you have compiled PHP with '--with-xml'. (BTW, have you

Re: [PHP] PHP removing data...

2003-03-08 Thread Ernest E Vogelsinger
At 17:12 08.03.2003, Doug Coning said: [snip] Hi all, I'm trying to save a text file from my server to a client machine through PHP and am using the following headers: header(Content-type: application/text); header(Content-Disposition: attachment;

Re: [PHP] Mining a file for data

2003-03-08 Thread Ernest E Vogelsinger
Dear Hugh, please don't use background colors. Black text on darkblue background is definetely hard to decipher. -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] RE: Calculate UTC Time from GPS device

2003-03-08 Thread YC Nyon
Hi, I got time data from a GPS unit like 054544 which is rollback to 1970s or something. Has anyone got script to convert it into current time? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release

Re: [PHP] Displaying few words from record in mySQL [WORKS]

2003-03-08 Thread Rahul.Brenda
Chris.. 2 words for you.. WOW and WOW. This works real well.. thanks. I didn't know it was possible through an SQL statement. Nik Kevin, thanks a lot .. but this SQL Query works too efficiently and fast. Thanks again.. Rahul S. Johari Make mysql do the work for you. select

[PHP] Deleting Files

2003-03-08 Thread Vernon
I need to have files that exist within a folder on my server based on the a MySQL record that contains it's name. What command would I be looking for in the php functions list? Anyone? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Deleting Files

2003-03-08 Thread Ernest E Vogelsinger
At 19:14 08.03.2003, Vernon said: [snip] I need to have files that exist within a folder on my server based on the a MySQL record that contains it's name. What command would I be looking for in the php functions list? Anyone?

Re: [PHP] Deleting Files

2003-03-08 Thread Ernest E Vogelsinger
At 19:14 08.03.2003, Vernon said: [snip] I need to have files that exist within a folder on my server based on the a MySQL record that contains it's name. What command would I be looking for in the php functions list? Anyone?

php-general Digest 8 Mar 2003 18:31:42 -0000 Issue 1926

2003-03-08 Thread php-general-digest-help
php-general Digest 8 Mar 2003 18:31:42 - Issue 1926 Topics (messages 138725 through 138769): Re: Access 138725 by: Uttam Session hanling session disabled 138726 by: Jacques Jocelyn mysql connect to database problem 138727 by: Karl James Re: Difference between

Re: [PHP] Re: Php +Xml?

2003-03-08 Thread James
There are distinct differences to parsing XML into your program and producing XML from your program. We use the following method's which are enabling us to create scalable systems with independent design from code. One of the clear reasons for using XML/XSLT is the seperation of data and design.

Re: [PHP] Mining a file for data

2003-03-08 Thread John Wulff
I've toyed with this for a few hours now with no luck. I think the best way to go about extracting the data is to look for the field names and seperate the fields by them. Any more hints on how to do this? The file structure is as shown below. Card Name: Akroma, Angel of Wrath Card Color: W

[PHP] global find and replace

2003-03-08 Thread Didier McGillis
I have to remove all semi-colons from user input fields that will be sent down to our backend system, semi-colons are the delimiter in the messages that flow from ur website to our backend system. How I need this to work is not client side but server-side in our pages, I need to do this in the

[PHP] Re: global find and replace

2003-03-08 Thread James
Add an append file to the php.ini file, this script will act the default loader before any other php action. parse $HTTP_POST_VARS and $HTTP_GET_VARS and $HTTP_FILES or whatever you want Parsing the POST_VARS and GET_VARS will mean you will not have to worry about variable names dont use eregi_*

[PHP] Re: global find and replace

2003-03-08 Thread Mark Heintz PHP Mailing Lists
Actually, in this case str_replace() would be preferred over preg_replace, as it would be faster. foreach($_REQUEST AS $key = $val) { $_REQUEST[$key] = str_replace(';', '', $val); } mh. On Sat, 8 Mar 2003, James wrote: Add an append file to the php.ini file, this script will act the

[PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Vernon
I have users uploading images to a server and need to have those files resized on upload. I looked under filesystem, but found nothing like that. Anyone? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Liam Gibbs
I have users uploading images to a server and need to have those files resized on upload. I looked under filesystem, but found nothing like that. Anyone? Check the GD extension. You'll need that installed, and the images can't be GIFs (must be JPEGs or TIFs, something like that). Anyway, there

Re: [PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Weston Houghton
You'll need to either use the gd functions, or my recommendation, get the imagick module and use it. Both should do an excellent job. iMagick is in PEAR. Wes On Saturday, March 8, 2003, at 03:15 PM, Vernon wrote: I have users uploading images to a server and need to have those files

Fw: [PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Liam Gibbs
You'll need to either use the gd functions, or my recommendation, get the imagick module and use it. Both should do an excellent job. iMagick is in PEAR. How is PEAR making out? What makes it better than using the GD extension? I will need to do image manipulation (much like the original

Re: Fw: [PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Weston Houghton
iMagick offers all of the functionality of imageMagick, which is a substantially different subset than GD. iMagick is primarily geared toward modifying existing images. Resizing, converting formats, apply effects to, etc. It also works with a far larger set of base image formats. Check

Re: [PHP] Re: global find and replace

2003-03-08 Thread James
yup. Mark Heintz Php Mailing Lists [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Actually, in this case str_replace() would be preferred over preg_replace, as it would be faster. foreach($_REQUEST AS $key = $val) { $_REQUEST[$key] = str_replace(';', '', $val); } mh. On

[PHP] file_exists() question

2003-03-08 Thread Charles Kline
Can anyone tell me why this code does not return true when the file in the directory cherpdocs/ with the file (which I see as being there) does exist? if(file_exists('cherpdocs/$annrow[id].doc')){ echo br /a href=\cherpdocs/$annrow[id].doc\Funding details paper/a; } This is a path

[PHP] Re: [PHP-DB] explode string variable

2003-03-08 Thread Leif K-Brooks
Try the limit parameter of the explode function, www.php.net/explode. André Sannerholt wrote: Hi everyone! Does anybody know how to stop an explosion of a string: Let me explain: $variable_aray=explode('-', $variable); I want the variable to be devided in only two other ones! If for example:

Re: [PHP] file_exists() question

2003-03-08 Thread Jim Lucas
what does $annrow[id] return? I HAVE found that I have to refer to a file when using file_exists() from / so file_exists(/path/to/me/cherpdocs/filename.doc) for it to work right. Jim - Original Message - From: Charles Kline [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March

Re: [PHP] file_exists() question

2003-03-08 Thread Khalid El-Kary
because you can't directly use the $annrow[id] within single quotes, you should use double quotes to do so. file_exists(cherpdocs/$annrow[id].doc) or file_exists('cherpdocs/'.$annrow[id].'.doc') or file_exists(cherpdocs/.$annrow[id]..doc) Note: i heared it's prefered to always use the .

[PHP] no phun intended!!!

2003-03-08 Thread Chris Knipe
http://www.fingers.co.za/arb/mod_perl.jpg If this starts a flame war, I'm going to be rather disappointed at people that's not able to take a joke :P I think it's hilarious though... -- me -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Resizing Images Uploaded to Web Page

2003-03-08 Thread Hugh Danaher
Actually you can input .GIF files but you can't output in that format on most php-gd installs. The following script shows most of the steps you're going to need to get an image resized. This script resizes files already stored online but it can be changed to deal with a temp file. Hope this

Re: [PHP] no phun intended!!!

2003-03-08 Thread Khalid El-Kary
sorry, but if PHP (a great piece of knowledge) worths a wet girl for you, so you don't know how to appreciate knowledge. Both PHP and mod_perl are knowledge, science that's more honourful than a wet girl Regards, Khalid Al-Kary http://creaturesx.ma.cx/kxparse/

[PHP] Re: TextImage

2003-03-08 Thread Christopher Smith
I understand how to place the text on the image etc. Just not exactly sure how to make the image based on how big the text file I put into an array Christopher Smith [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings, I've recently searched newsgroup archives on how to

RE: [PHP] Re: Php +Xml?

2003-03-08 Thread daniel
what is domxml ? is it similar to sablot ? = Original Message From Alexandru COSTIN [EMAIL PROTECTED] = Hello, Hello people, I want to start using Xml with php. How do I install xml on Apache with Php? I am running redhat 7.2,Apache 1.3.12 and php latest version. If you want

RE: [PHP] Re: Php +Xml?

2003-03-08 Thread Khalid El-Kary
try this parser, it would be useful. http://creaturesx.ma.cx/kxparse/ Regards, Khalid _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List

[PHP] save to file

2003-03-08 Thread Ryan Holowaychuk
I am trying to save to a text file. And I have managed to do that part now, but what happens is when I save to the file, all the lines get put into one big line in the file. I am creating a roster input that I adding to our website: No, name grade . The roster will contain 15 players

Re: [PHP] file_exists() question

2003-03-08 Thread Jason Sheets
You will probably need to use file_exists(cherpdocs/{$annrow['id']}.doc) you could also use file_exists('cherpdocs/' . $annrow['id'] . '.doc') You should use single quotes to identify your element in an array, otherwise PHP will try to use it as a constant first. Jason On Sat, 2003-03-08 at

Re: [PHP] Re: TextImage

2003-03-08 Thread Jason Sheets
Hi Christopher, You have to get the width of the font you are using in the image then multiply that by the length of your string. There is a gd/image function that returns the width of a font, you can look at http://www.php.net/manual Jason On Sat, 2003-03-08 at 15:30, Christopher Smith wrote:

Re: [PHP] file_exists() question

2003-03-08 Thread Ernest E Vogelsinger
At 22:40 08.03.2003, Khalid El-Kary said: [snip] because you can't directly use the $annrow[id] within single quotes, you should use double quotes to do so. file_exists(cherpdocs/$annrow[id].doc) or file_exists('cherpdocs/'.$annrow[id].'.doc') or

[PHP] wont display anything but a white page!!!

2003-03-08 Thread Karl James
http://66.12.3.67/webdb/webdb13/assignment_1.phps Can anyone tell me why I only get a white page And no text to be on the browser? Thanks karl. ultimatefootballleague.com/index.php [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] save to file

2003-03-08 Thread Ernest E Vogelsinger
At 00:30 09.03.2003, Ryan Holowaychuk said: [snip] So right now the implode puts everything on one line in the text file!!! So I am no sure if anybody can shed some light on this one. Thanks again Ryan ? //create a new file $fp =

[PHP] Part PHP part MySQL question

2003-03-08 Thread Beauford.2002
Hi, I have a hockey database with players names in it and I want to be able to update their stats one after the other. To be more clear - when the page is first entered I want the first players name to automatically appear showing his current stats (this will be in a form). Then you can update

[PHP] Re: Part PHP part MySQL question

2003-03-08 Thread bill
I'd add a timestamp to the database to automatically track when a record was last modified. Then poll the database for the oldest one every time you call the form, loading it with his stats. Every time you update a player's data, his timestamp will become the newest, the form then gets the next

[PHP] phorm (PHPMail) script setup problem...

2003-03-08 Thread Dan Sabo
Hi, I'm New to PHP, I'm running 4.1.2 I'm switching over from perl, trying to get a basic mail form going, trying to get some freeware running in the meantime while I'm learning PHP and can write my own. I'm setting up a freeware script called Phorm, it was previously called PHPMail. I got it

[PHP] Variable Undefined, even when global?

2003-03-08 Thread Ron Biggs
I'm getting a Variable Undefined error, even tho phpinfo() shows me that globals are set to ON. I've done massive searches on the web to find a solution, but I'm totally missing it. Help? (I've bolded where the Variable Undefined is occuring --- where $whatglass = $lkColor[$i]-glass; is

Re: [PHP] Variable Undefined, even when global?

2003-03-08 Thread Ernest E Vogelsinger
At 01:28 09.03.2003, Ron Biggs said: [snip] function ColorCollection($lkID){ $whatX = $lkID + 1; // Adding 1 turns makes the index correspond to the template number. // $aColLen = count($lkColor); //.length $aColLen = test; //sizeof($lkColor); //.length

[PHP] PHP5 + PHP4

2003-03-08 Thread daniel
i forgot who asked but just to show u PHP4.3.1 : http://electroteque.dyndns.org:1023/phpinfo.php PHP5: http://electroteque.dyndns.org:1025/phpinfo.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file_exists() question

2003-03-08 Thread Justin French
on 09/03/03 8:10 AM, Charles Kline ([EMAIL PROTECTED]) wrote: if(file_exists('cherpdocs/$annrow[id].doc')){ echo br /a href=\cherpdocs/$annrow[id].doc\Funding details paper/a; } This is a pretty simple debugging type query, so: First things first, make sure that $annrow[id] is what you

[PHP] Array - Newbie question

2003-03-08 Thread John Taylor-Johnston
New at this, somewhat: ?php #http://www.php.net/manual/en/ref.array.php $EricCodesArray = array ( CO = Description, Input Name, Select Name, Option Name, Option Selected, AN = ERIC Number, EricAN, SelAN, AN, AN «Annotation», TI = Title, EricTI, SelTI, BT, BT «Book Title» ); echo

RE: [PHP] Array - Newbie question

2003-03-08 Thread daniel
would this work ? $EricCodesArray[2][2] ? = Original Message From [EMAIL PROTECTED] = New at this, somewhat: ?php #http://www.php.net/manual/en/ref.array.php $EricCodesArray = array ( CO = Description, Input Name, Select Name, Option Name, Option Selected, AN = ERIC Number,

Re: [PHP] repost: cookie problem

2003-03-08 Thread Justin French
1. Perhaps the browsers aren't accepting the cookies, or there are some other security settings set too high? Have you LOOKED in each browser to see if the cookie is set? 2. Is it the EXACT same version of PHP that you have before/after the reinstall? 3. It *may* be something to do with

Re: [PHP] Array - Newbie question

2003-03-08 Thread John Taylor-Johnston
echo $EricCodesArray[2][2]; No. would this work ? $EricCodesArray[2][2] ? ?php #http://www.php.net/manual/en/ref.array.php $EricCodesArray = array ( CO = Description, Input Name, Select Name, Option Name, Option Selected, AN = ERIC Number, EricAN, SelAN, AN, AN «Annotation»,

Re: [PHP] Variable Undefined, even when global?

2003-03-08 Thread Ron Biggs
You are a god among men, Ernest. THANK YOU! -ron Ernest E Vogelsinger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 01:28 09.03.2003, Ron Biggs said: [snip] function ColorCollection($lkID){ $whatX = $lkID + 1; // Adding 1 turns makes

[PHP] Array - Newbie question

2003-03-08 Thread John Taylor-Johnston
echo $EricCodesArray[2][2]; No. Sorry. Empty set. I would also like to express it something like: select EricCodesArray where TI displays [2] I want to pass TI into a function and build some html for that record. Pseudo code: echo (PTI[0] input name=TI[1] select name=TI[2]option

RE: [PHP] phorm (PHPMail) script setup problem...

2003-03-08 Thread Dan Sabo
Hi Ernest, Not exactly sure but here's everything on $PHORM_RCONFIG from the readme... Requiring a Form-Specific Config File The normal way to run Phorm is to have it named in the ACTION attribute of your FORM tag on an HTML form, as described above. However, if a visitor should happen

[PHP] Changes in PHP 5.0? Important? What?

2003-03-08 Thread Sascha Ende \[GetContent\]
Hello @ all freaks, what will be the most important changes in PHP 5.0? I only ask, because I heard, that there will be big changes so that older software will not work anymore... Some announces...? -- MFG Sascha Ende -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Array - Newbie question

2003-03-08 Thread Jim Lucas
You need to have this $EricCodesArray = array ( CO = array(Description, Input Name, Select Name, Option Name, Option

RE: [PHP] Array - Newbie question

2003-03-08 Thread John W. Holmes
You need to have this $EricCodesArray = array ( CO = array(Description, Input Name, Select Name, Option Name,

RE: [PHP] Part PHP part MySQL question

2003-03-08 Thread John W. Holmes
I have a hockey database with players names in it and I want to be able to update their stats one after the other. To be more clear - when the page is first entered I want the first players name to automatically appear showing his current stats (this will be in a form). Then you can update

RE: [PHP] wont display anything but a white page!!!

2003-03-08 Thread John W. Holmes
http://66.12.3.67/webdb/webdb13/assignment_1.phps Can anyone tell me why I only get a white page And no text to be on the browser? Is display errors turned on in php.ini? Usually you get a page like then when there was an error, but displaying it is not activated in php.ini. ---John W.

Re: [PHP] no phun intended!!!

2003-03-08 Thread Ernest E Vogelsinger
At 23:11 08.03.2003, Chris Knipe said: [snip] http://www.fingers.co.za/arb/mod_perl.jpg If this starts a flame war, I'm going to be rather disappointed at people that's not able to take a joke :P I think it's hilarious though...

Re: [PHP] phorm (PHPMail) script setup problem...

2003-03-08 Thread Ernest E Vogelsinger
At 01:17 09.03.2003, Dan Sabo said: [snip] # This variable indicates that a local config file is NOT required. $PHORM_RCONFIG = N; [snip] Not that I'd know _anything_ of Phorm, but in my first sight of your post I

Re: [PHP] Array - Newbie question

2003-03-08 Thread Ernest E Vogelsinger
At 01:47 09.03.2003, John Taylor-Johnston said: [snip] New at this, somewhat: ?php #http://www.php.net/manual/en/ref.array.php $EricCodesArray = array ( CO = Description, Input Name, Select Name, Option Name, Option Selected, AN = ERIC Number,

[PHP] PEAR AUTH :: Need some advice

2003-03-08 Thread Alex Piaz
Hi Folks! I am working with pear auth package in order to authenticate some users on a project. Well, I have a mysql table with the following columns: uid username password name I can authenticate the user against his username/password without problems, but I need also to include the uid,

Re: [PHP] Variable Undefined, even when global?

2003-03-08 Thread Ernest E Vogelsinger
At 01:53 09.03.2003, Ron Biggs said: [snip] You are a god among men, Ernest. THANK YOU! [snip] Bless you :) Nope. You're welcome, -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^

RE: [PHP] wont display anything but a white page!!!

2003-03-08 Thread Daevid Vincent
I have the same problem, and I've found that if you set error_reporting(E_ALL); at the top of the page you're working on, you will at least get some info. You may also set that in the /etc/php.ini file I also suggest you make a phpinfo.php page wich contains simply: ?php phpinfo(); ?

[PHP] variable string names

2003-03-08 Thread julian haffegee
Hi all, I have something thats been driving me mad for days I have: if ($where1 != '') { $whereArray = array_push($whereArray, $where1); } and I want to repeat for $where1 up to $where8 but rather than write it out 8 times, I'd rather use a loop for ($i=1; $i=8 i++) { if

Re: [PHP] variable string names

2003-03-08 Thread Leif K-Brooks
for ($i=1; $i=8 i++) { if (${'where'.$i} != '') { $whereArray = array_push($whereArray, ${'where'.$i}); } } julian haffegee wrote: Hi all, I have something thats been driving me mad for days I have: if ($where1 != '') { $whereArray = array_push($whereArray, $where1);

Re: [PHP] variable string names

2003-03-08 Thread Liam Gibbs
You could probably do this. Set up a $$where variable, which would contain where . $i, $i being the iterator of your loop. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php trouble

2003-03-08 Thread Benny Pedersen
how do i get var from a url like this one http://localhost/index.php?sort=namevar2=login thanks, i have googled, and have found alot of trees but no answer :/ -- 5:06am up 4 days, 1:51, 4 users, load average: 0.25, 0.25, 0.26 -- PHP General Mailing List (http://www.php.net/) To

[PHP] More array syntax

2003-03-08 Thread John Taylor-Johnston
I have an array $var (see structure below), which contains AN, AU, TI, PY ... etc. (28 in total - no teasing.) How can access these keys so I can do this: foreach key in $var until $var.length { if(!$something){$something = filter_strings(something: ,$line);} } So I can avoid doing this 28

Re: [PHP] php trouble

2003-03-08 Thread Ashley M. Kirchner
Benny Pedersen wrote: how do i get var from a url like this one http://localhost/index.php?sort=namevar2=login In index.php: echo $sort; echo $var2; -- M | I haven't lost my mind; it's backed up on tape somewhere.

RE: [PHP] php trouble

2003-03-08 Thread John W. Holmes
Benny Pedersen wrote: how do i get var from a url like this one http://localhost/index.php?sort=namevar2=login In index.php: echo $sort; echo $var2; And if you're wondering why that doesn't work (if it doesn't), then try echo $_GET['sort']; echo $_GET['var2']; and

Re: [PHP] php trouble

2003-03-08 Thread Greg Beaver
If register_globals is off echo $_GET['sort']; echo $_GET['var2']; Greg -- phpDocumentor http://www.phpdoc.org Ashley M. Kirchner wrote: Benny Pedersen wrote: how do i get var from a url like this one http://localhost/index.php?sort=namevar2=login In index.php: echo $sort; echo

Re: [PHP] More array syntax

2003-03-08 Thread Greg Beaver
Hi John, foreach ($var as $key = $value) { if (!$key) { $$key = filter_string($key.': ',$line); } } Regards, Greg -- phpDocumentor http://www.phpdoc.org John Taylor-Johnston wrote: I have an array $var (see structure below), which contains AN, AU, TI, PY ... etc. (28 in total -

RE: [PHP] variable string names

2003-03-08 Thread John W. Holmes
I have: if ($where1 != '') { $whereArray = array_push($whereArray, $where1); } and I want to repeat for $where1 up to $where8 but rather than write it out 8 times, I'd rather use a loop for ($i=1; $i=8 i++) { if ($where1 != '') { $whereArray =

RE: [PHP] Array - Newbie question

2003-03-08 Thread daniel
sorry yeh its not a numbered key as like the next posts $EricCodesArray[TI][2] = Original Message From [EMAIL PROTECTED] = echo $EricCodesArray[2][2]; No. would this work ? $EricCodesArray[2][2] ? ?php #http://www.php.net/manual/en/ref.array.php $EricCodesArray = array ( CO =

RE: [PHP] More array syntax

2003-03-08 Thread daniel
here is a tricky question , as i've probably said work is still using php3 and mysql 3.22 which has no random select function , and the only way i can randomise results is place them into an array and use shuffle , although shuffle will not randomise on a two dimensional array , how can i get

RE: [PHP] More array syntax

2003-03-08 Thread John W. Holmes
here is a tricky question , as i've probably said work is still using php3 and mysql 3.22 which has no random select function , and the only way i can randomise results is place them into an array and use shuffle , although shuffle will not randomise on a two dimensional array , how can i get

  1   2   >