Re: [PHP] Calendar System

2002-10-17 Thread Rick Emery
http://myphpcalendar.sourceforge.net/

Re: [PHP] processing form checkboxes

2002-10-24 Thread Rick Emery
Add [] to name of variable   Alabama - Original Message - From: "James Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 6:05 PM Subject: [PHP] processing form checkboxes Heya folks, not sure if this is more of a php question or an html quest

Re: [PHP] extract($_POST)

2002-10-25 Thread Rick Emery
GET variable at the beginning of each script literally. Monty > From: [EMAIL PROTECTED] (Mike Ford) > Newsgroups: php.general > Date: Thu, 24 Oct 2002 18:41:04 +0100 > To: "'1LT John W. Holmes'" <[EMAIL PROTECTED]>, Rick Emery > <[EMAIL PROTECT

Re: [PHP] extract($_POST)

2002-10-25 Thread Rick Emery
From: "Chris Boget" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]> Cc: "PHP General" <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 8:53 AM Subject: Re: [PHP] extract($_POST) > The more secure method ensures it MUST come from a

Re: [PHP] Ereg help

2002-10-25 Thread Rick Emery
- Original Message - From: "William Glenn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 10:34 AM Subject: [PHP] Ereg help Hey all, I've been fighting this all night, I need a bit of help. I have a string like. #21-935 Item Description: $35.95 Where the pa

Re: [PHP] cutted values after posting multiple select list

2002-10-25 Thread Rick Emery
use $_POST, not $_REQUEST - Original Message - From: "Heiko Mundle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 10:39 AM Subject: [PHP] cutted values after posting multiple select list Hi i struggling with multiple select lists in HTML forms. The resulting

Re: [PHP] extract($_POST)

2002-10-25 Thread Rick Emery
You can still use extract($_POST). It is as safe/vulernable as $_POST['isAdmin']. In either case, use only variables that you know are yours and be certain these contain values which you believe to be safe. For instance, if you expect a variable called $firstname to contain a name to be stored in

Re: [PHP] HTML filtering

2002-10-25 Thread Rick Emery
You could delete all HTML tags. Then use nl2br() to re-insert the tags - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 3:28 PM Subject: [PHP] HTML filtering I have a problem, I need to filter HTML from data but want to preserve the

Re: [PHP] extract($_POST)

2002-10-25 Thread Rick Emery
e out your table...a bad thing... - Original Message - From: "Chris Boget" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Monty" <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 3:41 PM Subject: Re: [PHP] extr

Re: [PHP] extract($_POST)

2002-10-25 Thread Rick Emery
You assume mysql. Other SQL databases allow multiple statements. > -Original Message- > From: Rick Emery [mailto:remery@;emeryloftus.com] > Sent: Friday, October 25, 2002 4:59 PM > To: Chris Boget; [EMAIL PROTECTED]; Monty > Subject: Re: [PHP] extract($_POST) > >

[PHP] Re: [PHP-DB] Enum table entry

2002-10-19 Thread Rick Widmer
$VarName = 'School' . $Choice; echo ""; } For extra credit, figure out how you can create the $SchoolChoices array from the output of the following query: DESCRIBE TableName School; (Yes you can send this to mysql_query, and get the possible values of the enum.) Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail() function

2002-10-28 Thread Rick Emery
I don't know what "Formulário de Cadastro" is, but it doesn't belong as fourth parameter. That parameter is for From, CC, BCC headers - Original Message - From: "Rodrigo de Oliveira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 12:39 PM Subject: [PHP] Mail()

Re: [PHP] back and forward through a result query

2002-10-29 Thread Rick Emery
This is a common requirement; check the archives and/or php.net, phpbuilder, etc. What you will do is use mysql's LIMIT parameter on your select; go to mysql.com to read about it. Lets assume you wish to display 20 lines per page; assume you use a pointer, $ptr, to determine where you are in a sea

Fw: [PHP] Yet another question

2002-10-29 Thread Rick Emery
Store it in a session variable or a cookie. - Original Message - From: "Trasca Ion-Catalin" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, October 29, 2002 8:05 AM Subject: [PHP] Yet another question It's posible to call a variable from another file? -- Trasca Ion-Catalin -- PHP General

Fw: [PHP] php form mail - checkbox problem

2002-10-29 Thread Rick Emery
What is $medlemskap[]??? You MUST refer to item_1[]. Also, I believe you REALLY meant that all values be accessed through an array; therefore the "name=" parameter in your HTML must all be the SAME name: hovedmedlemskap [200 kr.] 2 eller flere i samme husholdning [100 kr.] - Original Me

Fw: [PHP] php form mail - checkbox problem

2002-10-29 Thread Rick Emery
Please don't answer with "Tried that" without showing us your new HTML and code Show us the new code. - Original Message - From: "Tine" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, October 29, 2002 9:12 AM Subject: Re: [PHP] php form mail - checkbox prob

Fw: [PHP] Select values in an array???

2002-10-29 Thread Rick Emery
Where are the selected values coming from? Please provide more details and code...we cannot read your mind... - Original Message - From: "Craig" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, October 29, 2002 9:19 AM Subject: [PHP] Select values in an array??? I am trying to pass the values

Re: [PHP] Select values in an array???

2002-10-29 Thread Rick Emery
You don't even need the word "multiple" - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "Craig" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 2002 9:27 AM Subject: Re: [PHP] Select values in an array??? Change the name of your select field to "se

Re: [PHP] Select values in an array???

2002-10-29 Thread Rick Emery
I've used it without "multiple" many times - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]> Cc: "Craig" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 2

Fw: [PHP] Select values in an array???

2002-10-29 Thread Rick Emery
anged the select to slect[] but the next page displays array how do i display each individual select item in a list ie you have selected item2 item4 item5 . . . . "Rick Emery" <[EMAIL PROTECTED]> wrote in message news:05e401c27f60$52399a90$0500a8c0@;honeybee... >

Re: [PHP] Select values in an array???

2002-10-29 Thread Rick Emery
I HAVE selected multiple items without including MULTIPLE. - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 2002 9:54 AM Subject: Re: [PHP] Select val

Re: [PHP] Select values in an array???

2002-10-29 Thread Rick Emery
. Yes, this page works... http://www.preferred-pet.com/volunteer/volunteer.php - Original Message - From: "John Nichel" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 2002 9:54 AM Subjec

Re: [PHP] Select values in an array???

2002-10-29 Thread Rick Emery
Edwin, you are CORRECT. I had a brain-fart. I stand before you all, humbled Round of beer for everyone in the house cheers rick- Original Message - From: "@ Edwin" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>

Re: [PHP] HTML Post

2002-10-29 Thread Rick Emery
http://www.isp.com/directory/directory // $form_method: GET or POST // $form_data: associative array of data for GET or POST // $ShowRequest: if set, return the request sent to server // Request text enclosed by // Returns: string with data received from server function GetPost( $form_url

Re: [PHP] MySQL and images

2002-10-29 Thread Rick Emery
In order to speed-up queries, it is suggested that you DO NOT store images in the database. Rather, store the images in files and store file names in the database. - Original Message - From: "John Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 29, 2002 9:32 PM Su

[PHP] File Random Access

2002-10-30 Thread Rick Emery
I never noticed before...there is no easy way to perform random-access read and WRITE on a file. I vote/recommend/suggest that this most basic functionality be added to the next release of PHP. This would not be an enhancement; rather, it is correcting a serious flaw. Or am I missing something

Re: [PHP] write on the begin of a file

2002-10-30 Thread Rick Emery
Mike Ford had the answer: $fp = fopen("test", "r+"); - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 6:28 AM Subject: Re: [PHP] write on the begin of a file There is no insert in fputs, you need to make a ne

Re: [PHP] File Random Access

2002-10-30 Thread Rick Emery
You are correct. In fact, simply r+ works; I just tried it. Thanks - Original Message - From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]> To: "'Rick Emery'" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Wednesday, Octo

Re: [PHP] Mutiple header statements?

2002-10-30 Thread Rick Emery
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 6:25 AM Subject: [PHP] Mutiple header statements? Why doesn't this work? If I select "that" from the form submitting the value to "var" I get a header already sent error. Ther

Re: [PHP] array question

2002-10-30 Thread Rick Emery
What happened when you tried both methods? - Original Message - From: "John Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 10:29 AM Subject: [PHP] array question When retrieving an array from $_POST, which is the right way: $arrInterests = $_POST["

Re: [PHP] array question

2002-10-30 Thread Rick Emery
What does you HTML look like? - Original Message - From: "John Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 10:36 AM Subject: RE: [PHP] array question Either way, I'm not getting the interests. -Original Me

Re: [PHP] HTML Post

2002-10-30 Thread Rick Emery
On return, just cut out the part you don't need; PHP's string functions take care of this nicely - Original Message - From: "Drew Kime" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 12:22 PM Subject: Re: [PHP] HTML Post I used a similar script and had the

Re: [PHP] Multiple Addresses Mailer

2002-10-30 Thread Rick Emery
Put all addressees in the BCC?? - Original Message - From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 1:47 PM Subject: [PHP] Multiple Addresses Mailer Hi All I am creating a mailing list system in which I should be able to b

Re: [PHP] Php web hosting

2002-10-30 Thread Rick Emery
www.nomonthlyfees.com 600 megs space 6 gig bandwidth 5 mysql databases unlimited email addresses ssl ssh $200 for first year; $70 per year thereafter. Fee includes domain registration Fast tech support turnaround - Original Message - From: "Steve Jackson" <[EMAIL PROTECTED]> To: "Php-Ge

Fw: [PHP] Can't store info on a mysql database...

2002-11-01 Thread Rick Emery
$md = MD5($passwdtxt); $sql="INSERT INTO users (login,passwd) VALUES (\"$logintxt\", \"$md\")"; mysql_query($sql) or die(mysql_error()); next time, show the error messages you got. Also, ALWAYS USE mysql_error() when executing mysql_query() -- see above = "Mr

Re: [PHP] Executing the value of a variable

2002-11-02 Thread Rick Emery
eval() - Original Message - From: "Jackson Miller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 02, 2002 7:02 AM Subject: [PHP] Executing the value of a variable I would like to store some code in a database and load/execute that code based on a query. Is it poss

Re: [PHP] Help me learn! with an explanation of these two functions.

2002-11-05 Thread Rick Emery
$orderid WILL NOT contain all the rows. mysql_fetch_array() returns only one row each time it is called. Upon fetching last row, it returns NULL/FALSE/0. Therefore, as you fetch each row, you will then execute your second function to pull all the data for that particular order number. Finally,

Fw: [PHP] PHP/MySql Array problem (newbie)

2002-11-05 Thread Rick Emery
show us your code...we can't read your mind - Original Message - From: "alex koppie" <[EMAIL PROTECTED]> To: <> Sent: Monday, November 04, 2002 4:58 AM Subject: [PHP] PHP/MySql Array problem (newbie) Hi there, I am trying to send an array to a database and visualize it again. Alltough

Re: [PHP] addslashes/stripslashes

2002-11-05 Thread Rick Emery
what happens when you type: Select * from tblContacts, tblCountries WHERE (tblContacts.CountryCode=tblCountries.CountryID) AND (Organization LIKE '%o\'mallies%' ) at the mysql command line? - Original Message - From: "Paul Dionne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesda

Re: [PHP] arrays

2002-11-05 Thread Rick Emery
If I understand your question, you are trying to store values into an array: for( $=0; $i<5; $i++) { ...get $picture from somewhere... $mypics[] = $picture; } To retrieve: foreach($mypics as $pic) { ...do something with $pic... } - Original Message - From: "Edward Peloke" <[EMAIL PROTEC

Re: [PHP] Using info from a MySQL Query

2002-11-05 Thread Rick Emery
$sql ="SELECT company, name, email FROM $table_name WHERE email = '$_POST[email]' AND password = password('$_POST[password]')"; $result = mysql_query($sql) or die("Error: $sql".mysql_error()); extract(mysql_fetch_row($result)); print "$company $

Re: [PHP] Most current non-beta version, and bcc

2002-11-07 Thread Rick Widmer
om these sources is under active development and at any given time may not even compile. (Not that it happens often.) I can understand why a hosting provider might not want to run them. On the other hand I switched to PHP4 at Beta 2 and never looked back. Rick -- PHP General Mailing List

Re: [PHP] attachement

2002-11-10 Thread Rick Emery
Here is a PHP mail class that handles multiple attachments and several other functions: mailbody("This is simply text","This is HTML text"); * $m->attach("example.html","text/html",$filebody); * $m->attachFile("resume.gif","image/gif"); * $m->send(); * NOTE: if your system have chunk_split functio

Re: [PHP] Post Problem

2002-11-18 Thread Rick Emery
No, he's saying that: echo $sqn; displays SQN=4. it should say simply 4 - Original Message - From: "BigDog" <[EMAIL PROTECTED]> To: "Dave J. Hala Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 4:33 AM Subject: Re: [PHP] Post Problem That is what you s

Re: [PHP] Combo box selected value...

2002-06-06 Thread Rick Emery
the value is returned in whatever is stored in $nome. So, if $nome="var", then $var will contain the selected value. - Original Message - From: "Alexandra Aguiar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 1980 12:56 PM Subject: [PHP] Combo box selected

Re: [PHP] Combo box selected value...

2002-06-06 Thread Rick Emery
The value is returned in whatever is stored in $nome. So, if $nome="var", then $var will contain the selected value. Second, this could not possibly operate the way you want it to, because the mysql_result() is called TWICE with each line. You want it called only ONCE to retrieve the value

Re: [PHP] Php 4 Deleteing Cookies: Trying to set and delete a cookie in same page

2002-06-06 Thread Rick Emery
first, it's not PHP that won't delete the cookie...it's the nature of cookies. second, there is no need to try to delete it and set it to a new value. Just set it to the new value. third, the cookie will expire and disappear when the browser closes. The browser MUST close, not simply go

[PHP] Sessions... wtf is wrong?!

2002-06-14 Thread Rick Kukiela
... either way its broke and I need it working very badly. Im sick of ripping my hair out. Can anyone help me? please?!? Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions... wtf is wrong?!

2002-06-14 Thread Rick Kukiela
This is an ls -la from /tmp [rick@wacky /tmp]$ ls -la total 58 drwxrwxrwt3 root wheel 512 Jun 14 14:20 . drwxr-xr-x 22 root wheel1024 Jun 13 16:39 .. drwxr-xr-x2 root wheel 512 Apr 29 14:43 .webmin -rw-rw-rw-1 root wheel 46193 Jun 11 14

RE: [PHP] getting variables the hard way?

2002-06-18 Thread Rick Emery
$_POST[] $HTTP_POST_VARS[] - Original Message - From: "Renaldo De Silva" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 3:21 PM Subject: [PHP] getting variables the hard way? how can i get variables posted from a form without calling then distinctly

Re: [PHP] sessions trouble

2002-06-18 Thread Rick Kukiela
Try using the fuction session_write_close() after your done setting the session vars. dunno but it might work :) Rick - Original Message - From: "Leston Drake" <[EMAIL PROTECTED]> To: "Johnson, Kirk" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>

[PHP] some one PLEASE help me!

2002-06-21 Thread Rick Kukiela
ready sent by (output started at /usr/local/apache/htdocs/cp/login.php:43) in /usr/local/apache/htdocs/cp/login.php on line 45 - Thanks Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] some one PLEASE help me!

2002-06-21 Thread Rick Kukiela
how do u do that? - Original Message - From: "Ray Hunter" <[EMAIL PROTECTED]> To: "Rick Kukiela" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 1:16 PM Subject: Re: [PHP] some one PLEASE help me! > Why don't you try us

Re: [PHP] some one PLEASE help me!

2002-06-21 Thread Rick Kukiela
Well, i would rather not have to recompile becuase of all the problems i had compiling with mod_perl and mod_ssl together with apache so does anyone else have any ideas how to get files to work??? anyone else have this problem? what gives? Rick - Original Message - From: "Ray H

Re: [PHP] some one PLEASE help me!

2002-06-21 Thread Rick Kukiela
unter" <[EMAIL PROTECTED]> To: "Rick Kukiela" <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 1:40 PM Subject: Re: [PHP] some one PLEASE help me! > You might have to check on your freebsd4.6, how stable is it running... > > > > S RAY HUNTER > email: [EMA

[PHP] mod_mm problems now....

2002-06-21 Thread Rick Kukiela
x7d3): undefined reference to `mm_unlock' *** Error code 1 Stop in /usr/local/src/apache_1.3.26/src. *** Error code 1 Stop in /usr/local/src/apache_1.3.26. *** Error code 1 Stop in /usr/local/src/apache_1.3.26. Anyone have any ideas? -- im thinking it may have to do with ldconfig but how do

Fw: [PHP] New Newsgroups

2002-06-26 Thread Rick Emery
Somewhat related to this discussion. There are some posters to this email list that appear as Newsgoup entries in my OutLook Express. Most posters, however, are identified as mail, not news postings. "Peter" is one of those that appears as a News post. I've looked at the headers of his m

[PHP] ok what kind of crack is my computer smoking?

2002-06-27 Thread Rick Kukiela
l the origional options... SO what do i have to do to get php to acknolege the fact that it has been recompiled with new options???? Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ok what kind of crack is my computer smoking?

2002-06-27 Thread Rick Kukiela
Thats what i did, i rm -rf /usr/local/src/apache_1.3.26 ; rm -rf /usr/local/src/php-4.2.1 ; rm -rf /usr/local/src/mod_per-1.27 then i reextracted the tarballs and restarted totaly from scratch, everything worked as expected except when i restarted it up its like nothing changed. rick

Re: [PHP] ok what kind of crack is my computer smoking?

2002-06-27 Thread Rick Kukiela
i did restart the server is there like a php install-to direcotry that php installed to that i should remove before rebuilding, it seems like new make install didnt overwrite the old install for some reason thats the only thing i can think of that would cause this. rick - Original

[PHP] RE: ############

2002-07-09 Thread Rick Emery
lets all spam Erik

Re: [PHP] SQL field problem

2002-07-10 Thread Rick Emery
SELECT DISTINCT kat FROM mytable; Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 12:40 PM Subject: [PHP] SQL field problem Hello I have a problem with mysql.I create a table with a field "kat".In this field are entries

Re: [PHP] Re: Includes vs. Functions

2002-07-18 Thread Rick Widmer
al $superglobals; > foreach($superglobals as $varname) { > global $$varname; //resolves to $var1, $var2, $var3, etc. > } > > //Other stuff here > >} You're working too hard! function somefunction( $somevar ) { global $suberglobals; extract( $superglobals ); //

Re: [PHP] Re: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in .....

2002-07-18 Thread Rick Widmer
ons, check for new options I might want to use, plug the new version numbers into the top of the script, run it and go find something else to do while it runs. Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need Charting Utility

2003-10-09 Thread rick rice
Can anyone suggest a good charting utility for PHP running on a freeBSD box? We need to put line/bar charts on our web pages. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File Uplaod

2004-01-11 Thread Rick Laird
I am trying to uplaod a 3 MB file to a server running apache and PHP. I seem to hitting a 1.7 MB limit on the file size. I do not have max_file_size set in my php.ini. I am using the Jakarta HTTPClient java classes as the client. Any help would be much appriciated. Thanks Rick Laird -- PHP

Re: [PHP] logging page views, which method is better????

2001-01-15 Thread Rick Widmer
And the answer about merging logs for webalizer is: > Is there a way to create a combined report showing hits to a number of > separate servers all handling the same web sites. > > I am guessing all you have to do is feed it each of the log files in > turn, and make sure you don't duplicate them

Re: [PHP] Running a php script at a giveb time

2001-01-16 Thread Rick Hodger
php.exe directly, or make up batch files to do the job. -- Rick Hodger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] WML/WAP and PHP

2001-01-16 Thread Rick Hodger
d as long as you use echo/printf etc to output your page. The second you deviate out of PHP and back to HTML the content-type gets overwritten with a text/html, and so the page doesn't work. ASP used to be able to cope with this, is it a bug or something I'm doing wrong? -- Rick Hodger

Re: [PHP] WML/WAP and PHP

2001-01-16 Thread Rick Hodger
"Pavel Kalian" <[EMAIL PROTECTED]> wrote in message 028e01c07fc1$dffdecf0$8361d4c2@pavelk">news:028e01c07fc1$dffdecf0$8361d4c2@pavelk... > Hi Rick, > you are not doing anything wrong. You just have to send the proper > content-type depending on what you're

[PHP] RE: [phplib] problems ie suggestions

2001-01-16 Thread Herbel, Rick
.inc 14c14 < --- > 15a16,18 > #printf("sess is %s",$feature["sess"]); >header("Pragma: no-cache"); >header("Cache-Control: no-cache, must-revalidate"); This one line took me soo many hours troubleshooting . Rick -- PHP Gene

Re: [PHP] WML/WAP and PHP

2001-01-17 Thread Rick Hodger
up on my laptop, it doesn't work. I think it must be something in the setup...although AFAIK they should both be near enough the same. I'll have to experiment. -- Rick Hodger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] WML/WAP and PHP

2001-01-17 Thread Rick Hodger
Chris Adams <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On 16 Jan 2001 05:05:18 -0800, Rick Hodger <[EMAIL PROTECTED]> wrote: > >Here's a fun little thing I discovered, possibly a bug in PHP itself? > > > >

Re: [PHP] Zend Optimizer

2001-01-17 Thread Rick Hodger
debug enabled version of PHP. If you are, it won't load the optimiser. -- Rick Hodger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] best user authentication method?

2001-01-18 Thread Rick Hodger
Miles Thompson <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > IIS I'm not familiar with, and Apache has a native scheme involving .htaccess. > > If you want a portable authentication method, I'd recommend authenticating > against a list of users/passwords cont

Re: [PHP] Downloads, headers and binary data

2001-01-19 Thread Rick Hodger
So I tryied > > $fp=fopen($filename,"r"); > fread($fp,filesize($filename)); > fclose($fp); Try this, only change your fread line like so: echo fread($fp,filesize($filename)); I have to do this to put out an image with a image/vnd.wap.wbmp header, and it works for me. -- Ri

[PHP] " " charactor problem

2001-01-20 Thread Rick Ridgeway
lso does not seem to work Please help... Thanks in advance Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] " " charactor problem

2001-01-21 Thread Rick Ridgeway
> Are you sure $thelinefromfile is actually being set correctly? > > Regards, > > Sean Yes I print it out it says "Array" so i then do print $thelinefromfile[0]; and it prints out the whole line instead of the first field from the line... -- Rick Ridgeway -- PH

[PHP] Sybase

2001-01-26 Thread Rick Ridgeway
Can someone give me an example of a simple sybase query page? here is what i have: Here is what I get: Warning: -1 is not a Sybase link index in /www/smurfy/include/clumpysql.php on line 7 Warning: -1 is not a Sybase link index in /www/smurfy/include/clumpysql.php on line 8 -- PHP General

Re: [PHP] No result - need advice.

2001-02-21 Thread Rick Hodger
#x27;See my project page for details.', 'See my project page for details.', 'See my project page for details.', 'See my > project page for details.', 'this is a test. let\'s see if this goes through.', '', '1gtcs14r3h8515786')

Re: [PHP] Download PHP from Linux machine?

2001-02-26 Thread Rick Hodger
apparently not bother to actually read what people are writing? On a unix shell, try putting a \ in front of all your funny characters. eg: http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz\&source site=www.php.net Or whatever the URL is. I think that got mangled by Outlook

Re: [PHP] PHP single user??

2001-03-01 Thread Rick Hodger
not available to other users. And I > have no problems with Win 2K. > > Am I missing something very obvious? Umm...is IIS5 not Win2k -only-? -- Rick @ DomainsBuy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] best slashdot?

2001-03-01 Thread Rick Hodger
certainly seems to have the > goods on customisation. > > Besides which, you can always edit and fiddle :) I'm working on one at the moment that'll (hopefully, fingers crossed) be fully customisable. And the admin/users area has permissions. Which is something PHPNuke is lacking

[PHP] RE: [PHP-DB] Login System with access levels

2001-03-16 Thread Rick Emery
First, I would NOT store passwords in a database. Rather, I'd store a hash based upon the password and username. Storing a password is dangerous as regards security. Second, if you're asking for syntax on how to add the security level column: ALTER TABLE mytable ADD access tinyint unsigned no

[PHP] files with html extension

2001-03-20 Thread Rick VanNorman
Hi, Is is possible to use the php script tags in files with an html extension? I'm running 4.0.4pl1 and apache 1.3.12 on OpenBSD 2.8. Thanks, Rick VanNorman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
;file would get parsedwhy are you trying to do this? > To be able to include php code in otherwise full html files; most especially to allow me to do it without having to change the name of every file and fix every href in the entire site. So, exactly how do I tell apache to do this? Thank

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
This is the best idea I've heard/read yet. Thanks Jeff! Rick VanNorman *** REPLY SEPARATOR *** On 3/20/2001 at 6:49 PM Jeff Armstrong wrote: > This is exactly why http://www.w3.org recommend that you DONT > SPECIFY A FILE TYPE TYPE in your HREFs. > > Cool

[PHP] SOMEONE SHOOT ME!!!

2001-04-17 Thread Rick Kukiela
symbol `_mm_dlog' referenced from text segment smtp.c:585: Undefined symbol `_mm_dlog' referenced from text segment collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/local/src/apache_1.3.19/src/helpers (line 39 of Makefile). Error Output for sanity check

[PHP] Sorting Multidimensional Arrays

2001-05-07 Thread Rick Dietz
name"=>"Alice", "age"=>"25", married="no"), array ("name"=>"Jim", "age"=>"19", married="no"), array ("name"=>"Janice", "age"=&

[PHP] RE: [PHP-DB] php+mysql simple query help me pls! ty.

2002-01-04 Thread Rick Emery
Test the mysql_query() return value: $result = mysql_query("SELECT * FROM members") or die("Error:".mysql_error()); there may be an error in your query. -Original Message- From: louie miranda [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 1:59 PM To: [EMAIL PROTECTED] Cc: [E

RE: [PHP] can u find error in php file?

2002-01-08 Thread Rick Emery
Given the simplicity of the mail() function, why go to all this trouble? I must be missing something here. Does your PHP host lack SMTP, so you must use another server's SMTP? -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 3:25 AM To: [E

RE: [PHP] Getting data from DB

2002-01-10 Thread Rick Emery
Dani, you need to aska a specific question for us to help you. -Original Message- From: Dani [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 10:01 AM To: PHP LIST Subject: [PHP] Getting data from DB Hi! I'm trying to make a webpage which can be edited online. My problem is

RE: [PHP] headers showing up in browser

2002-01-10 Thread Rick Emery
what does your code look like? -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 1:17 PM To: PHP Subject: [PHP] headers showing up in browser I've got this problem that won't go away. The headers are showing up at the top of the page when I run p

RE: [PHP] does this work?

2002-01-10 Thread Rick Emery
Show all your code. Did you open a connection to the MYSQL server? If so, show the code. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 3:29 PM To: PHP Subject: [PHP] does this work? It seems that I have a "parse error" somewhere in the

RE: [PHP] does this work?

2002-01-10 Thread Rick Emery
Show all your code. Did you open a connection to the MYSQL server? If so, show the code. What is the exact error that you get? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 3:29 PM To: PHP Subject: [PHP] does this work? It seems that

RE: [PHP] does this work?

2002-01-10 Thread Rick Emery
quotes are not needed -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Friday, January 11, 2002 3:26 AM To: Erik Price; PHP (E-mail) Subject: Re: [PHP] does this work? Hmm I believe that the mysql_query() function requires quotes around the query statement even it

RE: [PHP] Passing variables with include()

2002-01-14 Thread Rick Emery
Does "http://www.someremote.server/calculate_drivers.php"; contain a function? If so, you may have to declare "$serie_id" as global within it. -Original Message- From: Imar de Vries [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 5:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Pas

RE: [PHP] Change column in mysgl

2002-01-15 Thread Rick Emery
ALTER TABLE mytable CHANGE COLUMN adress VARCHAR(40); -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Change column in mysgl Hi! Can I change this column "adress VARCHAR(25)" to "adress VARCH

RE: [PHP] Change column in mysgl

2002-01-15 Thread Rick Emery
ALTER TABLE mytable CHANGE COLUMN adress VARCHAR(40); -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 5:11 AM To: [EMAIL PROTECTED] Subject: [PHP] Change column in mysgl Hi! Can I change this column "adress adress VARCHAR(25)" to "adres

RE: [PHP] Beginner: Open URL

2002-01-16 Thread Rick Emery
In your original post (see below), you stated that that you wanted tag functinality, which would involve the user clicking. In your last post, you state that you do not want the user to click; which is it to be? Now, your question is really about re-direction based upon a condition, whereby the

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