[PHP] How to print nice looking text on an image?

2003-11-18 Thread Kevin Stone
-aliased text on an image? I'd appreciate any information, classes and links to guides you can point me to. Thanks! Kevin Stone [EMAIL PROTECTED]

RE: [PHP] preg question

2003-11-13 Thread Kevin Stone
The period is a modifier within the expression (see manual on pattern syntax link below). You need to escape it with a back slash: \. http://www.php.net/manual/en/pcre.pattern.syntax.php -- Kevin -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: [PHP] removing all duplicate values from an array

2003-10-30 Thread Kevin Stone
Or... you could use array_count_values() and loop through the array it produces to find out how many of each duplicate value exists in the original array. http://www.php.net/manual/en/function.array-count-values.php Kevin -Original Message- From: Allowee [mailto:[EMAIL PROTECTED]

[PHP] Re: Random Quotes...

2003-10-22 Thread Kevin Stone
Payne [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am working on a project and I need to see sample quote for doing random quotes. These quotes will be put from a database. Can some please share me some sample code. Thanks. Chuck For more solutions go to,

[PHP] a href=website-dictionary.html#vanitysiteVanity Sites/a

2003-10-17 Thread Kevin Stone

[PHP] Re: header() refresh vs location

2003-10-14 Thread Kevin Stone
The Refresh directive is a valid header. I've used it for many years and it seems to be supported by the majority of browsers. However I've never read anything that would indicate that Refresh works any differently than Location. The only difference is that Refresh allows you to set a number

[PHP] Re: header() function for displaying an opened PDF document.

2003-10-13 Thread Kevin Stone
Forget the content length and disposition headers. Just set the content type then output the file.. header(Content-type: application/pdf); readfile(junk.pdf); - Kevin Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I seem to be having problem with sending the PDF

[PHP] Re: header() function for displaying an opened PDF document.

2003-10-13 Thread Kevin Stone
. - Kevin Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I can't do readfile() because of lots of bug in IE (Internet Explorer) Kevin Stone [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Forget the content length and disposition headers. Just set the content

[PHP] Re: Display a JPG Image

2003-10-10 Thread Kevin Stone
Delete the line with header(Content-disposition: ... ). Just set the content type and output the file. -Kevin Pushpinder Singh Garcha [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Everyone, I am trying to display a JPG image to a use, who has logged in. Some research on

[PHP] Re: Check for page change efficiently [was Re: Creating a blogrolling/link management system]

2003-10-08 Thread Kevin Stone
Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [EMAIL PROTECTED] (Paul Van Schayck) wrote in news:[EMAIL PROTECTED]: First of all you need to check with the website you are going to check if they really enjoy all bandwith required. And people will not see their

[PHP] Re: Check for page change efficiently [was Re: Creating a blogrolling/link management system]

2003-10-08 Thread Kevin Stone
Paul Van Schayck [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [EMAIL PROTECTED] (Kevin Stone) wrote Hello Kevin. This is just a thought.. I have never employed this method personally.. but I suppose you could read the page into a string and use the md5() function

Re: [PHP] Read a PDF File using php

2003-10-01 Thread Kevin Stone
? header(Content-type: application/pdf); header(Content-disposition: attachment; filename=filename.pdf ); readfile(filename.pdf); ? Launching this script will prompt a file download screen if the Acrobat Reader Plugin is not available on the client browser. Otherwise it will display inside the

[PHP] Re: Sort an array of objects

2003-10-01 Thread Kevin Stone
Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have an array of object for files on my site. The objects hold a file's name, size, extension, etc... I was wondering if anyone knows where I could find a relatively easy function for sorting the array of these objects

[PHP] Re: Central authentication for multiple sites

2003-09-29 Thread Kevin Stone
If all domains have access to the same database then there is absolutely nothing preventing you from using a Cookie. Have a normal login on Domain1.com. Once authenticated produce a random ID and store it in the database. Store the ID in a cookie then Redirect the client to the desired

Re: [PHP] Need to convert seconds to DD:HH:MM:SS

2003-09-19 Thread Kevin Stone
Jennifer Goodie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] can't seem to figure out how to get the number of days integrated in here for $hh that are 24. to days:hours:minutes:seconds... This function works for what it does, can someone embelish it to handle days too?

Re: [PHP] countries,states and cities

2003-09-09 Thread Kevin Stone
Chris W. Parker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Augusto Cesar Castoldi mailto:[EMAIL PROTECTED] on Monday, September 08, 2003 4:16 PM said: where can I download a database with all countries and states and cities? I don't know but I would also be interested in

[PHP] info

2003-08-14 Thread Kevin Stone
domain: asiostudios.com host: Helpelf ftp_un: asio ftp_pw: uZGG7ai registrar: Godaddy reg_un: 1398706 reg_pw: iktomi reg-account email: [EMAIL PROTECTED] email1: [EMAIL PROTECTED] un: asio pw: iktomi email2: [EMAIL PROTECTED] un: webmaster pw: turtle email3: [EMAIL PROTECTED] un:

Re: [PHP] greedy preg

2003-08-14 Thread Kevin Stone
- Original Message - From: skate [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 3:16 PM Subject: [PHP] greedy preg $contents = preg_replace( |item.*?$file.*?/item|si, , $contents ); it's being run on an XML file, where each entry is item../item with

[PHP] Re: Frequent Mode Switching

2003-08-10 Thread Kevin Stone
Derrick Fogle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thoughts on frequent switching in and out of PHP mode: ? switch in, do some code ?Switch out, static HTML ? switch in, do more code ?Switch out, more static HTML I've found that I prefer programming this way, for the

[PHP] Re: why doesn't default values for this function work

2003-08-05 Thread Kevin Stone
Anders Thoresson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm having problem with a function that I'll use to validate user input before passing it to MySQL. For strings, I want to make sure that they aren't to long, so I have written this function: function

[PHP] Re: using mail()

2003-08-01 Thread Kevin Stone
Amanda McComb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If I am using this code: mail([EMAIL PROTECTED], test, testbody); and want to add a From: line, how do I do it? Also, is this an excepted way of sending mail from a web page? Thanks, Amanda The mail() function has

Re: [PHP] Simple date question

2003-07-30 Thread Kevin Stone
David Nicholson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you wrote on Wed, 30 Jul 2003 at 19:18, lines prefixed by '' were originally written by you. If I have: $firstdate = 2003-06-28; then how can I get $firstdate plus 4 days?

[PHP] Re: retrieving multi-select form values

2003-07-30 Thread Kevin Stone
Hank Tt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Given the following querystring generated by, for example, a multi-select form list (menu), the contents of $_GET['list'] is expected to be an array holding 3 elements: http://awebsite.net/formlist.php?list=2list=3list=99

[PHP] Re: textbox+database

2003-07-30 Thread Kevin Stone
Mehdi Achour [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Patrik Fomin wrote: hi, i have a textbox, after someone puts text into it, it saves into the database, textarea cols=2 rows=2/textarea when it saves to the database the formattion in the textbox dosent work

Re: [PHP] Weird Problem

2003-07-29 Thread Kevin Stone
Aaron Axelsen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, connect.inc.php does the following: @$connect=mysql_connect(localhost,$dbuser,$dbpass); if (!$connect) { echo Could not connect to mysql!;

Re: [PHP] I'm really getting annoyed with PHP

2003-07-24 Thread Kevin Stone
Zerof [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You are absolutely right, exit, quits my script, this let me use an independent script to handle the headers. if used with conditional calls. . zerof - Comex [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL

[PHP] Re: ARRAY QUESTION

2003-07-24 Thread Kevin Stone
Dale Hersh [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a question regarding the count function. Here goes: Lets pretend I have this array called myStuff. If I add two elements to myStuff and call the count function, I will get a result of 2. My question is how do I

[PHP] Re: How to pass connection to next page

2003-07-23 Thread Kevin Stone
Minghua Yao [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, On one page, I have: ?php ... $dbcnx0 = @mysql_connect(localhost, $name, $password); ... session_start(); $_SESSION['my_con'] = $dbcnx0; ... ? On another page, I have: ?php ..

[PHP] Re: Global variable question question

2003-07-23 Thread Kevin Stone
Jason Giangrande [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When registered globals is set to off this does not effect the $PHP_SELF variable right? In other words I should be able to call $PHP_SELF with out having to do this $_SERVER['PHP_SELF'], right? Thanks, Jason

[PHP] Re: newbY prob

2003-07-23 Thread Kevin Stone
Phillip Blancher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Problem with Count. ! am trying to count the number of items in this table. The table has one field in it. The code I am using is: $dbquerymeal = select COUNT(*) from mealtype; $resultmeal =

[PHP] Re: I'm really getting annoyed with PHP

2003-07-23 Thread Kevin Stone
Beauford.2005 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes, I'm still screwing around with this stupid redirection thing, and either I'm just a total idiot or there are some serious problems with PHP. I have now tried to do it another way and - yes - you guessed it. It does

[PHP] Re: closing windows

2003-07-23 Thread Kevin Stone
Jon Phipps [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am curious as to how, from within php, you could emulate the javascript window.close() function. The other thing is how would I blend javascript and php, it call javascript functions from php. The javascript will be located

[PHP] Re: Sending data using the POST method.

2003-07-22 Thread Kevin Stone
Guillermo Scharffenorth [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I am a beginner programmer and I am trying to do the following: I have a commercial script (catalog.php) which accepts variables using the POST method. This script, however, is not designed to handle

Re: [PHP] Redirection Question

2003-07-22 Thread Kevin Stone
The other methods suggested avoid that entanglement. Kevin Beauford.2005 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Maybe I didn't explain enough. What if they come from b.php or c.php. How do I automatically log what page they tried to access. So hard coding

[PHP] Re: Redirection Question

2003-07-22 Thread Kevin Stone
Beauford.2005 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to figure out how to redirect a user back to a page but not having much luck. For example: I click on a menu item on my site which goes to a.php. This file includes another file that determines if they

[PHP] Re: bug in addslashes command?

2003-07-22 Thread Kevin Stone
Merlin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello there, I am running php 4.2.1 on a linux machine. Not sure, but I think there might be a bug in there. While putting data into the db I do get an error in a verry rar case. All values are escaped by addslashes commands.

[PHP] Re: Print help

2003-07-21 Thread Kevin Stone
Ron Allen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What I would like to do is to make an optional page that can print information to a specified printer. Can PHP do this? If so how??? Please help!!! Look in the manual under 'printer'..

[PHP] Re: echo statements

2003-07-18 Thread Kevin Stone
Jay Fitzgerald [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When echoing html code that will include variables from a while or if loop, which method is best? Method 1: echo td align=\left\ VALIGN=\top\font class=\dbtables\$employer/font/td; OR Method 2: td align=left

Re: [PHP] Re: Eval var from query

2003-07-14 Thread Kevin Stone
The string you send to eval() must be valid PHP code. So try this.. eval( 'echo '.$data.';'); - Kevin - Original Message - From: Shawn McKenzie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 14, 2003 1:15 PM Subject: [PHP] Re: Eval var from query eval($data) returns

Re: [PHP] Re: Eval var from query

2003-07-14 Thread Kevin Stone
name is Shawn. Hope that makes it more clear. - Kevin - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: PHP-GENERAL [EMAIL PROTECTED] Sent: Monday, July 14, 2003 1:23 PM Subject: Re: [PHP] Re: Eval var from query The string you send to eval() must be valid PHP code. So try

Re: [PHP] Re: Eval var from query

2003-07-14 Thread Kevin Stone
- Original Message - From: Shawn McKenzie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 14, 2003 1:51 PM Subject: Re: [PHP] Re: Eval var from query Thanks Kevin! That works great. It outputs: hi my name is Shawn Now if I want to assign $data to another var, let's say

[PHP] Re: A MySQL question

2003-07-14 Thread Kevin Stone
Zavaboy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ok, I want to delete only 1 row off of a database table... Example: I have a table with columns user and item... Lets say the table contains the following rows (user | item): 582-668243 | Toothbrush 582-668243 | Toothbrush

Re: [PHP] How To Ask Questions - Some List Guidelines

2003-07-14 Thread Kevin Stone
Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Burhan Khalid [EMAIL PROTECTED] wrote: Next thing, please add a reply-to header that has the lists mailing address. This is a topic of debate, and many people (including myself) would urge people to ignore this

Re: [PHP] Session Problem

2003-07-14 Thread Kevin Stone
- Original Message - From: Sourabh G [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 13, 2003 11:15 AM Subject: [PHP] Session Problem Hi, I am getting a weird session problem in my site. Background of the Problem: -- My site use sessions for user

Re: [PHP] Mind exploded on this one!

2003-07-11 Thread Kevin Stone
- Original Message - From: Phil Powell [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:21 PM Subject: [PHP] Mind exploded on this one! $booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile', 'hasSelectedProfile',

Re: [PHP] Mind exploded on this one!

2003-07-11 Thread Kevin Stone
- Original Message - From: Kevin Stone [EMAIL PROTECTED] To: Phil Powell [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:33 PM Subject: Re: [PHP] Mind exploded on this one! - Original Message - From: Phil Powell [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: [PHP] TextArea vs. URLEncode/URLDecode/quotes

2003-07-09 Thread Kevin Stone
- Original Message - From: Arcadius A. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 12:50 PM Subject: [PHP] TextArea vs. URLEncode/URLDecode/quotes (snip) So, My question is: What's the best way to get the value of a textarea back after validation without

Re: [PHP] session data missing

2003-07-09 Thread Kevin Stone
- Original Message - From: ulf sundin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 1:00 PM Subject: Re: [PHP] session data missing ok, so now the variable names are registred and stored in the file. But without values. check this: --firstpage.php

Fw: [PHP] preg_replace - understanding

2003-07-08 Thread Kevin Stone
- Original Message - From: Micah Montoy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:01 PM Subject: [PHP] preg_replace - understanding I'm trying to understand how the code works within the preg_replace function but the manual is just obscure as the examples

Re: [PHP] New to PHP

2003-07-07 Thread Kevin Stone
There are many great books to help get you started. Infact.. believe it or not.. for the complete newbie PHP for Dummies is a great chioce. It's very well written and starts with no assumptions about your skill level. But if you do happen to have some programming experience try PHP and MySQL

Re: [PHP] New to PHP

2003-07-07 Thread Kevin Stone
suggests any pre-requisites before starting off with the books? Someone told me it would be much better if I learn Linux first Hiren - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: Hiren Mehta [EMAIL PROTECTED]; PHP [EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 3:18 AM

Re: [PHP] Table trouble

2003-07-07 Thread Kevin Stone
I'd just dump all of the results into an array and do something like this: echo table border=1\n; for($i=0; $icount($array);) { echo \ttr\n; for($j=0; $j2; $j++) { echo \t\ttd.$array[$i]./td\n; $i++; } echo \t/tr\n; } echo /table\n; On odd numbered arrays

[PHP] Reg Ex to search for both Integer and Comma-spaced Integer

2003-07-01 Thread Kevin Stone
I'm a little confused by something. I need to build a reg-ex to scrape for both plain integers and comma spaced integers in the same place in the same string at the same time. For example.. $string = Mark's average score was 544.; preg_match(/average score was ([0-9]+)/, $string, $matches);

Re: [PHP] Reg Ex to search for both Integer and Comma-spaced Integer

2003-07-01 Thread Kevin Stone
- Original Message - From: Ford, Mike [LSS] [EMAIL PROTECTED] To: 'Kevin Stone' [EMAIL PROTECTED]; PHP-General [EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 12:19 PM Subject: RE: [PHP] Reg Ex to search for both Integer and Comma-spaced Integer -Original Message- From: Kevin

Re: [PHP] Please help can anyone figure whats wrong with this?

2003-06-25 Thread Kevin Stone
- Original Message - From: Mark Clarkstone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 10:10 AM Subject: [PHP] Please help can anyone figure whats wrong with this? if (!$logusername) echo html head title$sitename -- Login --- Error/title /head body

Re: [PHP] clearing cache

2003-06-20 Thread Kevin Stone
- Original Message - From: Mark McCulligh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 20, 2003 11:44 AM Subject: Re: [PHP] clearing cache I can't just create a link on the last page back to the first page. Because if the user hits the back button on the browser they end

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Kevin Stone
- Original Message - From: Logan McKinley [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 12:51 PM Subject: [PHP] Strange roblems with sessions what it is meant to do: take a querystring set it to a session variable (outputs error if neither

[PHP] How to avoid Socket Post output?

2003-06-16 Thread Kevin Stone
this output and have a completely invisible manual socket POST? Thanks, Kevin Stone [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to avoid Socket Post output?

2003-06-16 Thread Kevin Stone
ACK! NEVER MIND! I'm just blind. I didn't see the echo statement on the fgets() line. Problem solved. - Kevin - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 2:46 PM Subject: [PHP] How to avoid Socket Post output? Hello

Re: [PHP] How to avoid Socket Post output?

2003-06-16 Thread Kevin Stone
in depth? - Kevin - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, June 16, 2003 2:54 PM Subject: Re: [PHP] How to avoid Socket Post output? ACK! NEVER MIND! I'm just blind. I didn't see the echo statement

Re: [PHP] How to avoid Socket Post output?

2003-06-16 Thread Kevin Stone
- Original Message - From: David Nicholson [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 3:22 PM Subject: Re: [PHP] How to avoid Socket Post output? Hello, This is a reply to an e-mail that you wrote on Mon, 16 Jun 2003 at 22

Re: [PHP] How to avoid Socket Post output?

2003-06-16 Thread Kevin Stone
- Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 4:02 PM Subject: Re: [PHP] How to avoid Socket Post output? - Original Message - From: David Nicholson [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED] Cc: [EMAIL

Re: [PHP] Redirects in PHP

2003-06-13 Thread Kevin Stone
Javascript.. bah humbug. :) Carl, you can avoid these issues by using output buffering allowing you to call header() whever you want in your script. ? // example.. ob_start(); // buffer output echo this is output you'll never see; header(Location: thankyou.html); // header redirect

Re: [PHP] Redirects in PHP

2003-06-13 Thread Kevin Stone
- Original Message - From: Zak Johnson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 13, 2003 11:00 AM Subject: Re: [PHP] Redirects in PHP On 2003-06-13 10:54-0600, Kevin Stone wrote: Carl, you can avoid these issues by using output buffering allowing you to call

Fw: [PHP] uploading files after passing vars between forms

2003-06-12 Thread Kevin Stone
- Original Message - From: Artoo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:16 AM Subject: [PHP] uploading files after passing vars between forms Hey I'm confused! Do I use move_uploaded_file() or copy() and what is the first parameter of both in the

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Kevin Stone
- Original Message - From: Emma Jane Hogbin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 1:08 PM Subject: Re: [PHP] sessions, IE and pop-up windows On Mon, Jun 09, 2003 at 09:26:45PM +0200, winst0n wrote: Hi, try to write a @session_start(); in ur popup

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Kevin Stone
- Original Message - From: Emma Jane Hogbin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:32 PM Subject: Re: [PHP] sessions, IE and pop-up windows On Mon, Jun 09, 2003 at 02:27:50PM -0600, Kevin Stone wrote: I'll bet you're using an onLoad command to launch

Re: [PHP] solved Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Kevin Stone
- Original Message - From: Emma Jane Hogbin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 4:21 PM Subject: [PHP] solved Re: [PHP] sessions, IE and pop-up windows On Mon, Jun 09, 2003 at 03:56:28PM -0600, Kevin Stone wrote: I still believe what's happening

Re: [PHP] Passing values back to form

2003-06-06 Thread Kevin Stone
in a switch() statement to highlight the form fields that are left blank. This makes for a nice user interface, esspecially on larger forms. Read up on sessions.. http://www.php.net/manual/en/ref.session.php HTH, Kevin Stone - Original Message - From: Daniel J. Rychlik [EMAIL PROTECTED

Re: [PHP] Question about fopen

2003-06-06 Thread Kevin Stone
- Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 06, 2003 1:13 PM Subject: [PHP] Question about fopen I have a file named billed.crm.php and it fopen throws the error no such file or directory. It seems to have something to do with

Re: [PHP] Passing page referrer on as variable

2003-05-31 Thread Kevin Stone
- Original Message - From: Mallen Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 30, 2003 8:48 AM Subject: [PHP] Passing page referrer on as variable I have a login process for an intranet that aims to allow all people to view the intranet front page, but as soon as

Re: [PHP] reserver variable names

2003-05-31 Thread Kevin Stone
- Original Message - From: Lee Doolan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 30, 2003 10:49 AM Subject: [PHP] reserver variable names I could swear that I once saw a statement to the effect that certain variable names were reserved in PHP. Something along the

Re: [PHP] array count() oddity

2003-05-31 Thread Kevin Stone
- Original Message - From: Guru Geek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:15 PM Subject: [PHP] array count() oddity Hello, I have a mysql statement listed below. The table contains about 100 rows of information. Only one row matches the $criteria.

Re: [PHP] Re: Opening a Dynamic Pop Up Window

2003-05-30 Thread Kevin Stone
In 4.06 you have to use $HTTP_GET_VARS in place of $_GET. It's the same thing, just a different name. Ditto with $_SERVER, $_POST and $_SESSION - Kevin - Original Message - From: Jeffrey L. Fitzgerald [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 4:05 PM

Re: [PHP] Opinion on a method....

2003-04-04 Thread Kevin Stone
- Original Message - From: Jon Haworth [EMAIL PROTECTED] To: Dan Joseph [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, April 04, 2003 12:19 PM Subject: RE: [PHP] Opinion on a method Hi Dan, I would like to get some opinions here on a method I'm doing to grab connect

Re: [PHP] Session Variables and Posting

2003-04-04 Thread Kevin Stone
- Original Message - From: Van Andel, Robbert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 04, 2003 4:00 PM Subject: [PHP] Session Variables and Posting Is there a way that I can prevent session variables getting values from query strings. I want them to receive values

Re: [PHP] mysql_num_rows

2003-04-04 Thread Kevin Stone
Uh. no that can't be right becuase mysql_query() returns a pointer not an array. The variable does contain a string refering to the pointer ID but that's about all the information you're going to disseminate from print_r(); -- Kevin - Original Message - From: [EMAIL PROTECTED] [EMAIL

Re: [PHP] mailing forms and input into MySQL

2003-04-02 Thread Kevin Stone
There is no trick to it. Query the database, build a string, send it off. ? $query = SELECT * FROM mytable; $result = mysql_query($query); while($row = mysql_fetch_assoc($result)) { foreach ($row as $column = $value) { $body .= $column : $value\n; } $body .= \n; }

Re: [PHP] Humour in programming?

2003-04-01 Thread Kevin Stone
The image is grabbed from their servers. - Original Message - From: Aaron Gould [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 1:36 PM Subject: Re: [PHP] Humour in programming? Hehe, I though something was wrong with my

Re: [PHP] Date Problem - Last Day Of Month

2003-03-31 Thread Kevin Stone
- Original Message - From: Vinesh Hansjee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 31, 2003 6:55 AM Subject: [PHP] Date Problem - Last Day Of Month Hi there, can anyone tell me how to fix my code so that on the last day of the month, my code doesn't repeat the

Re: [PHP] str_replace() problem

2003-03-31 Thread Kevin Stone
- Original Message - From: Ren Fournier [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Monday, March 31, 2003 1:52 PM Subject: [PHP] str_replace() problem I am performing a str_replace() on a large string, and everything works fine, except that two of the elements I'm searching for

Re: [PHP] Files uploads problem

2003-03-31 Thread Kevin Stone
- Original Message - From: Adrian Greeman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 31, 2003 3:04 PM Subject: [PHP] Files uploads problem I am a learner in PHP - I have been using Larry Ullman's Peachpit beginners book which I have found useful to take me through the

Re: [PHP] Apache vs. IIS

2003-03-28 Thread Kevin Stone
As much as I disaprove of off topic posts... that was hillarious. LOL - Kevin - Original Message - From: Richard Whitney [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Friday, March 28, 2003 2:30 PM Subject: [PHP] Apache vs. IIS How do you take out the Iraqi Intelligence Service?

Re: [PHP] Re: Include Question

2003-03-28 Thread Kevin Stone
Guys I would say looping include()'s is just a bad idea all together. It can get you into some gritty situations. For example it would be very easy to end in an infinte loop, or overwrite variables, or just confuse the heck out of the PHP parser. I recommend you do a header() redirect rather

Fw: [PHP] post method with fopen

2003-03-28 Thread Kevin Stone
- Original Message - From: Lambert Antonio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 8:16 PM Subject: [PHP] post method with fopen if it possible to send a post data when using fopen? -- Lambert Antonio Re:Site WebWorks and System Solutions You can open

Re: [PHP] register globals :|

2003-03-26 Thread Kevin Stone
- Original Message - From: Sebastian [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 3:45 PM Subject: [PHP] register globals :| Is there any work-around to get a scipt that requires globals to be ON work when globals is OFF? Its a small script so it

Re: [PHP] Grabbing image information from an html string

2003-03-25 Thread Kevin Stone
You need to use preg_match_all() and a more greedy expression that is not case sensitive.. preg_match_all('/src=(\S*)/i', $html, $matches); $image_array = $matches[1]; HTH, Kevin - Original Message - From: Dan Rossi [EMAIL PROTECTED] To: Luis Lebron [EMAIL PROTECTED]; Php-General

Re: [PHP] variables??

2003-03-25 Thread Kevin Stone
- Original Message - From: Rick Gaine [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 1:25 PM Subject: [PHP] variables?? I'm having a problem with form data being recognized by a php script. If I send information with a GET the variable data appears in $GET[var]

Re: [PHP] Default setting garbage

2003-03-25 Thread Kevin Stone
- Original Message - From: Liam Gibbs [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:10 PM Subject: [PHP] Default setting garbage Why is it that when I send call this function: function GetNextDate($whichfriday, $month = , $frequency = 1, $basedate = )

Re: [PHP] mail() Bcc:

2003-03-24 Thread Kevin Stone
- Original Message - From: Oden Odenius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:44 PM Subject: [PHP] mail() Bcc: How can send bcc: with mail()? -- Programmers are tools for convert coffeine into code... (c) Oden From, CC and BCC are headers to be

Re: [PHP] File uploads...

2003-03-24 Thread Kevin Stone
- Original Message - From: Al [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:14 PM Subject: [PHP] File uploads... Trying to do what should be rather simple and I have done before. Maybe I am just overlooking the obvious but this is the error I get... Warning:

Re: [PHP] mail() Bcc:

2003-03-24 Thread Kevin Stone
- Original Message - From: CPT John W. Holmes [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 24, 2003 3:51 PM Subject: Re: [PHP] mail() Bcc: How can send bcc: with mail()? From, CC and BCC are headers

Re: [PHP] mail() Bcc:

2003-03-24 Thread Kevin Stone
- Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:17 PM Subject: Re: [PHP] mail() Bcc: - Original Message - From: CPT John W. Holmes [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius [EMAIL

Re: [PHP] problem with page loading

2003-03-21 Thread Kevin Stone
- Original Message - From: Amanda McComb [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 21, 2003 12:11 PM Subject: [PHP] problem with page loading Hello! I am working on a site that I thought was working just fine - I tested it in Netscape 7 and IE. However, several

Fw: [PHP] php and javascript

2003-03-21 Thread Kevin Stone
- Original Message - From: shaun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 21, 2003 12:25 PM Subject: [PHP] php and javascript Hi, I'm not sure if this is a PHP or a JavaScript question but I have found the following code to enable me to select all of the

Re: [PHP] Increase a month

2003-03-21 Thread Kevin Stone
echo date(F); // prints March echo date(F, strtotime(month + 1)); // prints April - Kevin - Original Message - From: Boaz Yahav [EMAIL PROTECTED] To: shaun [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 21, 2003 1:44 PM Subject: RE: [PHP] Increase a month This can help :

Re: [PHP] Sessions question

2003-03-21 Thread Kevin Stone
This is one of those rare things in programming that can only be done one way. Absolutely the only way to kill the session when a user leaves your site is to go through a script and then redirect after the session has been destroyed. For this to work every outgoing link on your website will have

Re: [PHP] Session Not Working

2003-03-21 Thread Kevin Stone
Why is there a space between = = ? And where is $user_data and $database_data coming form? First thing I would recommend you do is print out those variables to make sure they actually contain the information you're expecting. - Kevin - Original Message - From: Guru Geek [EMAIL

Re: [PHP] detecting end of line - php 4.1.2

2003-03-21 Thread Kevin Stone
- Original Message - From: Paul Godard [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Friday, March 21, 2003 3:53 PM Subject: [PHP] detecting end of line - php 4.1.2 Hi I am trying to get php 4.1.2 to read a Mac file (exported from FileMaker Pro) and split it into different lines

Re: [PHP] credit card validations..

2003-03-20 Thread Kevin Stone
- Original Message - From: Edward Peloke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Php. Net [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:50 AM Subject: [PHP] credit card validations.. The owner of the php site I am working on just told me he want to do credit card validations on

  1   2   3   4   5   6   >