Re: [PHP] How to deal with XML?

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 01:29:35 -0500 Leif K-Brooks <[EMAIL PROTECTED]> wrote: > Robert Cummings wrote: > > >PHP docs are SGML as far as I can remember. > > > How so? PHP isn't XML, SGML, HTML, or anything else besides PHP. ? He's talking about the DOCS and *not* PHP... ;) - E - __

Re: [PHP] Upgrading GD...

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 02:57:08 -0500 Leif K-Brooks <[EMAIL PROTECTED]> wrote: > - Edwin - wrote: > > >That should do it. (Unless, of course, you encounter some > >"configure" or "make" problems.) > > > And of course, I did: > > con

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
Hi, On Wed, 29 Oct 2003 02:10:49 -0500 Leif K-Brooks <[EMAIL PROTECTED]> wrote: > Curt Zirzow wrote: > > >Try reversing the quotes: > > error_prepend_string = ""; > > > > > Not valid XHTML (not sure if it's even valid HTML). Why not? - E - __ D

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Wed, 29 Oct 2003 03:22:54 -0500 Leif K-Brooks <[EMAIL PROTECTED]> wrote: > - Edwin - wrote: > > >Why not? > > > > > Because that's what the standard says. Interesting. Where? - E - __ Do You Yahoo!?

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Tue, 28 Oct 2003 22:05:56 -0800 Evan Nemerson <[EMAIL PROTECTED]> wrote: > On Tuesday 28 October 2003 11:59 pm, - Edwin - wrote: > > Hi, > > > > On Wed, 29 Oct 2003 02:10:49 -0500 > > > > Leif K-Brooks <[EMAIL PROTECTED]> wrote: > > &

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Wed, 29 Oct 2003 03:29:13 -0500 Leif K-Brooks <[EMAIL PROTECTED]> wrote: > - Edwin - wrote: > > >Interesting. Where? > > > > > www.w3.org ? Sorry, *won't* find it there... In fact, a quick Google search gives you this: http://www.w3.org/TR/REC-h

Re: [PHP] quotes in php.ini

2003-10-29 Thread - Edwin -
On Tue, 28 Oct 2003 22:28:12 -0800 Evan Nemerson <[EMAIL PROTECTED]> wrote: > On Wednesday 29 October 2003 12:30 am, - Edwin - wrote: > > On Tue, 28 Oct 2003 22:05:56 -0800 > > > > Evan Nemerson <[EMAIL PROTECTED]> wrote: > > > On Tuesday 28 October

Re: [PHP] PHP and java

2003-10-30 Thread - Edwin -
On Wed, 29 Oct 2003 19:27:36 -0600 David Miller <[EMAIL PROTECTED]> wrote: > I have written PHP code to upload and download files to my > server through my browser. >On the local side I have generated a java applet to do a >few things that I just > can't do with a browser. There are som

Re: [PHP] Echo issue RESOLVED!

2003-10-30 Thread - Edwin -
(Just FYI) On Wed, 29 Oct 2003 23:03:55 +0100 "Ryan A" <[EMAIL PROTECTED]> wrote: > If I have said it once I have said it a thousand > times..MAC's are evil. Step away from it and leave the > darkness behind.come towards the light and thePC ...[snip]... Too bad for you... Just by re

Re: [PHP] Echo issue RESOLVED!

2003-10-30 Thread - Edwin -
On Thu, 30 Oct 2003 02:47:47 -0500 Leif K-Brooks <[EMAIL PROTECTED]> wrote: > - Edwin - wrote: > > >Just by reading this -> http://www.apple.com/macosx/ esp. > >these last two sections: > > > > * Solid as a rock > > * Developer's dream &g

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread - Edwin -
On 2003.10.30, at 18:46 Asia/Tokyo, Eugene Lee wrote: On Thu, Oct 30, 2003 at 10:36:37AM +0100, Marek Kilimajer wrote: : : Unless you want to do string manipulation you don't need mbstring. You : only need to pay atention to these details: : 1. Set charset to kanji for your html pages using : hea

Re: [PHP] Japanese entry into MySQL and into emails

2003-10-30 Thread - Edwin -
Hi, On 2003.10.30, at 18:11 Asia/Tokyo, Dave G wrote: PHP Gurus, Hello, I'm new to this list. I'm very much new to PHP, so my questions will be very basic. I have two things I need to do in Japanese: 1. Store people's names in kanji in my MySQL database. To this en

Re: [PHP] the function of the "@" symbol?

2003-11-04 Thread - Edwin -
Hi, On Tue, 4 Nov 2003 02:42:33 -0500 "Leevy, Joffrey L" <[EMAIL PROTECTED]> wrote: > Hi all: > > I have been searching through several books to find out > what the "@" character represents. > > An example used in code: > > if (@$first == "no"). > > Could anyone please explain th

Re: [PHP] Style.css

2003-11-04 Thread - Edwin -
On Tue, 4 Nov 2003 12:09:05 +0530 "PHPLover" <[EMAIL PROTECTED]> wrote: > I am going throught the CVS of PHP and happened to see the > Style.css file. > I found that background-color of body,html is set to White > instead of > #ff which i feel is not a valid CSS. > Am i right ? Check it here:

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, On Fri, 7 Nov 2003 12:58:51 +0530 "umesh" <[EMAIL PROTECTED]> wrote: > Hi Gurus, > > I am new to PHP. I am using PHP4 on Linux. > > I have accept input from the user and check if the input is > japanese character only, > for example : If name is accepted , I need to check if its > any of th

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, (B (BOn 2003.11.7, at 18:20 Asia/Tokyo, umesh wrote: (B (B...[snip]... (B (B> As there are fields called Last & First Name (Kanji) and Last & First (B> name (Kana) on my forms. Its the need of the application. (B> It would be great, If I could do that. (B (BLet's say you can do that

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
On 2003.11.7, at 18:37 Asia/Tokyo, Marek Kilimajer wrote: ...[snip]... Are Kanji and Kana chracter sets? "Kan" -> Chinese + "ji" -> character kana: (quoted from the American Heritage Dictionary) "1. Japanese syllabic writing. The characters are simplified kanji and are usually used

Re: [PHP] How to support Multi Lingual characters

2003-11-07 Thread - Edwin -
Hi, On 2003.11.7, at 20:09 Asia/Tokyo, K. Praveen Kumar wrote: Dear Umesh, Thanks for your quick reply. Let me explain the scenario: We have an application in English. The data will be stored in MySQL database. If some body enter the data using Japanese keyboard (Japanese language) that will

Re: [PHP] SQL Injections

2003-11-07 Thread - Edwin -
Just to add... On 2003.11.8, at 00:04 Asia/Tokyo, Chris Shiflett wrote: --- Shaun <[EMAIL PROTECTED]> wrote: does anyone know of a function i can include in my scrpits to ensure all $_POST values sent from a page don't include any SQL? It's only important that the data sent from the client will

Re: [PHP] Japanese character validation

2003-11-07 Thread - Edwin -
Hi, On 2003.11.8, at 00:42 Asia/Tokyo, Lew Mark-Andrews wrote: Howdy, I have accept input from the user and check if the input is japanese character only, for example : If name is accepted , I need to check if its any of the Hiragana, Katakana or Kanji. Hmm... why would you like to do that? I've

Re: [PHP] On OS X (10.2) where is php installed?

2003-11-07 Thread - Edwin -
Hi, On 2003.11.8, at 01:51 Asia/Tokyo, Adam wrote: All, Forgive me for the simplistic question, I'm not much of a Unix, Apache, or PHP wiz. I'm running Mac OS X 10.2 on a 12" PB. I've installed PHP 4.3.0 from Marc Lynric's site (http://www.entropy.ch). However, I cannot actually find the inst

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
I know this is becoming off-t but just for the curious... On Fri, 7 Nov 2003 13:43:06 -0600 Eugene Lee <[EMAIL PROTECTED]> wrote: > On Sat, Nov 08, 2003 at 01:35:40AM +0900, - Edwin - wrote: > : > : On 2003.11.7, at 18:37 Asia/Tokyo, Marek Kilimajer wrote: > : > : ...[s

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
On Fri, 7 Nov 2003 13:36:35 -0600 Eugene Lee <[EMAIL PROTECTED]> wrote: > On Sat, Nov 08, 2003 at 02:20:00AM +0900, - Edwin - wrote: > : > : Besides, there are some issues (for example with > Shift_JIS) that: "bothers" (with no easy "solution") even &

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
On 2003.11.8, at 20:32 Asia/Tokyo, Eugene Lee wrote: On Sat, Nov 08, 2003 at 06:26:39PM +0900, - Edwin - wrote: : : On Fri, 7 Nov 2003 13:43:06 -0600 Eugene wrote: : > : > Actually, kana are not "simplified kanji" because it is not : > the case that kana can replace kanji w

Re: [PHP] Japanese character validation

2003-11-08 Thread - Edwin -
On 2003.11.8, at 21:51 Asia/Tokyo, Dave G wrote: In hopes of bringing the kanji character validation issue back on topic, can I point out that it doesn't matter *why* someone would want to do this, or what the origins of kanji and kana are? The motivations of the original poster shouldn't

Re: [PHP] $_POST bug?

2003-11-12 Thread - Edwin -
On Thu, 13 Nov 2003 00:59:11 -0500 "Jake McHenry" <[EMAIL PROTECTED]> wrote: ...[snip]... > Just to test, I changed the input field length to 3, and > every time I tried it, single 0 does not create the $_POST > variable. Double 0's create it, along with any other > numbers, it's only when a sing

Re: [PHP] Calling PHP functions from within javascript

2003-11-13 Thread - Edwin -
On Thu, 13 Nov 2003 01:46:20 -0500 "Jake McHenry" <[EMAIL PROTECTED]> wrote: ...[snip]... > Someone correct me if I'm wrong, but this isn't possible > unless you have your javascript continuously refreshing the > page, and changing the url, or posting data. PHP is server > side, so the only way f

Re: [PHP] Explanation for php.net front page???

2003-11-13 Thread - Edwin -
On 12 Nov 2003 17:37:58 -0500 Robert Cummings <[EMAIL PROTECTED]> wrote: > It's not active on the main page. It's on the search page. > Go there instead. > > http://www.php.net/search.php > > And it doesn't seem to work with Opera 6 :) Try the latest version. It works for me ;) opera:about

Re: [PHP] On OS X (10.2) where is php installed?

2003-11-13 Thread - Edwin -
On Fri, 07 Nov 2003 23:10:53 +0300 Burhan Khalid <[EMAIL PROTECTED]> wrote: > - Edwin - wrote: > > > Hi, > > > > On 2003.11.8, at 01:51 Asia/Tokyo, Adam wrote: > > > >> All, > >> > >> Forgive me for the simplistic question, I'

Re: [PHP] $_POST bug?

2003-11-13 Thread - Edwin -
I changed the above code > to($_POST['accid'] != "") for each one, and it works now... > ? Could someone please enlighten me as to what's happening > here? Well, this if ($_POST['accid']) is asking something like if (TRUE) so if the value of $

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread - Edwin -
On Wed, 26 Nov 2003 02:51:58 +0900 "Dave G" <[EMAIL PROTECTED]> wrote: > This is, I suppose, a completely off topic thread. > However, I just > read the web page > http://www.unicom.com/pw/reply-to-harmful.html That's great! > and I was completely unconvinced. :( ...[snipped]... > I re

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread - Edwin -
On Tue, 25 Nov 2003 22:18:01 - "Thomas Svenson" <[EMAIL PROTECTED]> wrote: ...[snipped]... > I am not demanding this to be changed. These lists are > important enough for me to live with these problems. I > would be very grateful though if the moderator(s) decided > it would be a good idea to

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread - Edwin -
Hi, On Tue, 25 Nov 2003 19:10:12 -0500 "John W. Holmes" <[EMAIL PROTECTED]> wrote: > Adam i Agnieszka Gasiorowski FNORD wrote: > > > Thomas Svenson wrote: > >>>If you would stop using M$ Outlook and switch to a > >better mail client>>that supports mailing lists, your > >problem would be solved.>

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread - Edwin -
On Tue, 25 Nov 2003 15:55:15 -0500 "Glenn E. Sieb" <[EMAIL PROTECTED]> wrote: > > From: Eugene Lee [mailto:[EMAIL PROTECTED] > > > > If you would stop using M$ Outlook and switch to a better > > > > mail client that supports mailing lists, your problem > > would be solved. > > Amusing--I've use

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread - Edwin -
On Tue, 25 Nov 2003 15:21:22 -0600 "Jay Blanchard" <[EMAIL PROTECTED]> wrote: > [snip] > If you would stop using M$ Outlook and switch to a better > mail client that supports mailing lists, your problem would > be solved.[/snip] > > As has been said several times, not all can do this. True. But

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread - Edwin -
On Wed, 26 Nov 2003 01:49:09 - "Thomas Svenson" <[EMAIL PROTECTED]> wrote: > - Edwin - wrote: > > > What's the problem with the "Reply All" button? > > One problem is that people, like you did now, forget to > delete the non list add

Re: [PHP] Parsing a file line by line

2003-11-25 Thread - Edwin -
On Tue, 25 Nov 2003 17:44:09 -0800 "Jason Williard" <[EMAIL PROTECTED]> wrote: ...[snipped]... > Does anyone have any ideas for me? Okay, this is just an idea. Use file() to put everything in an array. http://www.php.net/manual/en/function.file.php Then find a function here that would let y

Re: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread - Edwin -
On Tue, 25 Nov 2003 17:27:50 -0800 "Roger B.A. Klorese" <[EMAIL PROTECTED]> wrote: > > I'm using the browser but not the email and news client > > so I'm not sure but I just came across this: (Pls. check > > under subheading "Mailing lists".) > > > > > http://www.opera.com/support/tutorials/ope

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread - Edwin -
Okay, I thought I won't be posting again for this thread but... On Tue, 25 Nov 2003 23:30:37 -0800 (PST) Panos Konstantinidis <[EMAIL PROTECTED]> wrote: > > > > What's the problem with the "Reply All" button? > > > > Which of the following words you just don't > understand: *some mail client

Re: [PHP] Add Reply-To to this list(s)

2003-11-26 Thread - Edwin -
Okay, I've seen my name so here we go again... ;) On Wed, 26 Nov 2003 16:59:27 +0900 "Dave G" <[EMAIL PROTECTED]> wrote: > Edwin, Hi Dave, > I read the articles you pointed out. I'm sorry, but I > still have > not seen any argument that makes m

Re: [PHP] DAMN

2003-11-28 Thread - Edwin -
I think... On 2003/11/29, at 14:30, Bronislav Klucka wrote: I'll shut up, I didn't realized there were some flame war, but somebody should do: 1/ Fix this "Reply to" problem (mail comes from PHP conference I suppose I should reply to this conference) You just missed the point: http://marc.the

Re: [PHP] DAMN

2003-11-28 Thread - Edwin -
On 2003/11/29, at 14:17, John Nichel wrote: Bronislav Klucka wrote: I've just realized I'm replaying to JeRRy only Could anybody fixt this problem by setting the Reply To header correctly? to be able to reply PHP conf. directly using Reply button?!!! Brona How many times is someone going to

Re: [PHP] Static Array vs MySQL query

2003-11-28 Thread - Edwin -
Hi, On 2003/11/29, at 8:10, John Nichel wrote: Hi, I'm designing my site to use drop down menus, and am having php generate the content of the main manus, as well as the sub-menus. What I'm wondering is what the performance hit will be with putting all the menu variables into an array in a

Re: [PHP] DAMN

2003-11-28 Thread - Edwin -
On 2003/11/29, at 14:54, Bronislav Klucka wrote: I would really like to stop this thread but... 1/ "What problemS"?? the two I mentioned? The first one was/is NOT a problem. 2/ I do not hawe time ro read the whole war you send me link to, I read just one mail [...] Why don't you read one more:

Re: [PHP] str_split()

2004-08-12 Thread - Edwin -
On Friday 13 August 2004 03:27, Aaron Todd wrote: (B> Do you know of a simular function that will split a string in the (B> same way. I have phone numbers stored in a database in the format (B> ##. I need to display the number on the page in the format (B> ###-###-. str_split() wo

Re: [PHP] auto converting a $string to ALL Upper Case.

2004-09-15 Thread - Edwin -
On Thursday 16 September 2004 15:36, Louie Miranda wrote: > Is there a PHP syntax that can convert a $string result to > all UPPER CASE? php.net -> manual -> strings -> strtoupper ? -- - E - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] List Etiquette

2004-09-20 Thread - Edwin -
Hi, (I know a lot has already been said but...) On Sat, 18 Sep 2004 17:37:59 -0400 Andre Dubuc <[EMAIL PROTECTED]> wrote: > Hi, > > After googling 'Web Etiquette, Top Posting', I still am > puzzled why some people on this list insist that top > posting is bad form, rather than personal preferen

Re: [PHP] List Etiquette

2004-09-20 Thread - Edwin -
On Sun, 19 Sep 2004 06:11:17 +0800 Jason Wong <[EMAIL PROTECTED]> wrote: > On Sunday 19 September 2004 05:37, Andre Dubuc wrote: [...] > > Seems to me much easier to scan the Subject, see how it's > > developing by reading the reply on the top, rather than > > have to wade through even snipped o

Re: [PHP] List Etiquette

2004-09-20 Thread - Edwin -
Hi, On Mon, 20 Sep 2004 04:01:47 +0300 "Octavian Rasnita" <[EMAIL PROTECTED]> wrote: > My email client (Outlook Express) puts a lot of information > at the top of the message automaticly, like: > > The signature, > --- original message --- > The From line > - The to line > - The date line > - The

Re: [PHP] PHP5 Book Recommendation?

2004-09-20 Thread - Edwin -
FWIW... On Sat, 18 Sep 2004 14:46:37 -0700 (PDT) Chris Shiflett <[EMAIL PROTECTED]> wrote: > --- Justin French <[EMAIL PROTECTED]> wrote: > > Can someone recommend a decent PHP5 book? > > I think Upgrading to PHP 5 is a particularly good book: > > http://www.oreilly.com/catalog/upgradephp5/ +1

Re: [PHP] List Etiquette

2004-09-20 Thread - Edwin -
Hi Jason, On Sun, 19 Sep 2004 23:42:09 -0700 "Jason Davidson" <[EMAIL PROTECTED]> wrote: > are we still on top posting.. shessh. i only top post cuase > im lazy... Maybe we should talk about "one-liners" next time... Anyway, I'm sure many people will appreciate it if you trim your posts. Thank

Re: [PHP] Creating Dropdown Menus From Tables

2004-09-20 Thread - Edwin -
On Thu, 16 Sep 2004 13:02:31 +0100 "Harlequin" <[EMAIL PROTECTED]> wrote: > Hi all. > > Hoping this might be relatively easy... > > I'm wondering if I can create a dropdown menu > (ABCDE) by using a select statement and > then populating this using PHP...? Yes. Hint: Do a "foreach" on the resu

Re: [PHP] simple math computation..

2004-10-03 Thread - Edwin -
On Monday 04 October 2004 15:26, Louie Miranda wrote: > the percent of 20% is = .20 right? 'don't know what's "the pecent of 20% is" ;) but in decimal form, yes, it's right. Or, just ".2" or "0.2". > how can i compute the correct value for this? > > my $totalCost is $4,000 and when i compute it t

Re: [PHP] Newbie needs help with MySQL and multiple databases

2004-10-04 Thread - Edwin -
Hi, (B (BOn Monday 04 October 2004 12:09, Matthew wrote: (B> Hi, im fairly new to php and mysql and need a little help. im (B> running a forum community and would like to have it run on (B> multiple databases because of performance issues others have (B> encountered using the same software on

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Edwin
Hi Adam, I am not sure this would help but does echo command end with semi colon ; ?. value=""/> Maybe the echo is having some issue? Else, you could try passing the variables as method = get and view the variables in Ur address bar.... regards, Edwin. -Original Mess

Re: [PHP] Protecting database passwords

2004-06-30 Thread - Edwin -
Hi, On Wednesday 30 June 2004 09:58, Bob Hockney wrote: > Hi there, > > I wrote a php script that accesses a database, and I am > wondering about securing the password to the database. I > could prompt the user for the password every session, but > I don't necessarily want the user to have the pa

Re: [PHP] What do I need in order to do the following with php.

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 01:38, [EMAIL PROTECTED] wrote: > I want to make sure I'm correct in doing something. What > do I need in order to perform the following: > > - > Send an XML message to "something" at a website, have it > load a database with the message, an

Re: [PHP] Protecting database passwords

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 02:17, Chris W. Parker wrote: > Red Wingate > > on Wednesday, June 30, 2004 9:33 AM said: > > Hashing ... but i guess he wants to protected the > > password needed to access the DB not a PW stored in the > > DB. > > you probably understand thi

Re: [PHP] Re: Converting strings to match multiple charsets

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 06:42, Red Wingate wrote: > yep, as i said it was displayed correctly everywhere > expect in the forms oh i might mention - Mozilla worked > well but IE destroyed the data (only in textareas) Just an idea... How about doing something like this: Retrieve data from the db(u

Re: [PHP] Protecting database passwords

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 08:25, Chris W. Parker wrote: > [EMAIL PROTECTED] > > on Wednesday, June 30, 2004 4:15 PM said: > > How can I use a password hash to log on to a database > > server (or for any other login for that matter)? > > i apologize. i completely misund

Re: [PHP] Is that a PECL in your pants?

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 13:56, Curt Zirzow wrote: > * Thus wrote John W. Holmes: > > Curt Zirzow wrote: > > > > Thanks for the explanation Curt. I'll do my best to > > educate! :) > > > > >As far as XSLT and XSL, the one is prefered over the > > > other. > > > > What do you mean by this? XSLT is p

Re: [PHP] imagerotate - lossless?

2004-06-30 Thread - Edwin -
On Thursday 01 July 2004 12:20, CSN wrote: > Anybody know if imagerotate does lossless rotation on > jpeg's? I don't know :) but maybe you can try this: Rotate an image 360°, save it under a different name, then examine it. (filesize, quality, etc.) - E - -- PHP General Mailing List (http://ww

Re: [PHP] Is that a PECL in your pants?

2004-07-01 Thread - Edwin -
On Thursday 01 July 2004 15:49, John W. Holmes wrote: > - Edwin - wrote: > > I guess it's more on the underlying library. (i.e. > > Sablotron vs libxslt) > > Yeah, I guess that's what I meant; the "XSLT extension" > versus the "XSL extension"

Re: [PHP] php 5 installation problem

2006-03-16 Thread - Edwin -
ere, I think. But there are other differences. (Like some functions not working, etc.) Pros and cons, one might say. Anyway, here are some results of a quick google search: http://www.google.com/search?q=php+CGI+module+difference Hmm.. I just couldn't find it but there should be a page about

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread - Edwin -
y" command to find the info you need. For more information: $ man identify Of course, this solution is not *in* PHP but you can invoke that program inside your PHP scripts (^_-) HTH, - Edwin - -- "Happy are the mild-tempered ones, since they will inherit the earth." - Matthew 5:

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread - Edwin -
ll can't view the whole > image on a monitor without zooming out. If resolution we set > to 10,000dpi, the image would print as 1" x 1", but you still > wouldn't be able to view it on a monitor (unless you have an I think you meant, "... but you still would b

Re: [PHP] making a tutorial

2006-03-16 Thread - Edwin -
parse ^0] > - nMax. It is a checkbox. Not exactly sure what you meant but check what's submitted with: $_POST['favourite'] or $_GET['favourite'] > I might use favourite[] with mail() or store it in a mysql > field. > > If mysql, would I store it in

Re: [PHP] making php code from db work

2006-03-17 Thread - Edwin -
ore robust fashion such > as loading the one by one in a for loop for example? Maybe that one's better. > Thanks in advance. HTH, - Edwin - -- "A wise person will listen and take in more instruction." - Proverbs 1:5 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How does one obtain the resolution of an image in PHP?

2006-03-17 Thread - Edwin -
ready knew that. (^_^) > an image having for example 48ppi would have pixels that use > 2x2 pixels (4 pixels) as one colored pixel and so on. > > Now guess what you see when you have 194 ppi. > Nothing, it's still 97 ppi because it's not possible for the > screen to v

Re: [PHP] Re: How does one obtain the resolution of an image inPHP?

2006-03-17 Thread - Edwin -
Hi! On Fri, 17 Mar 2006 13:12:21 - Ford, Mike wrote: > On 17 March 2006 11:15, - Edwin - wrote: > > > A 15-inch monitor at 800x600 will have around 53ppi x 40ppi > > (800 pixels divided by 15 inches, etc.) and *the same* monitor > > at 1024x768 will have around 68

[PHP] CPanel, PHP5 as CGI (was Re: [PHP] php 5 installation problem)

2006-03-17 Thread - Edwin -
Hi! On Fri, 17 Mar 2006 08:24:51 -0400 Miles Thompson wrote: > > Thanks Edwin. I guess it was too late and I couldn't formulate > a proper search expression. > > I'd like to hear Chris Shiflet's opinion on the security advantages > of running PHP5 as CGI.

Re: [PHP] Re: PHP files in the SRC attribute of an SCRIPT element

2006-03-17 Thread - Edwin -
Hi! On Fri, 17 Mar 2006 17:42:51 +0200 Karl-Heinz Christian Zeck wrote: > Thank you for your quick reply. > > I tried to modify the file. I removed all it's content and wrote > only a single line: > alert("test"); > > When I refresh the main page, I get the alert message - this > means the file

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-17 Thread - Edwin -
Hi! On Fri, 17 Mar 2006 10:58:12 -0500 John Hinton wrote: > - Edwin - wrote: > > Hi! > > > > On Thu, 16 Mar 2006 14:31:38 -0500 > > John Hinton <[EMAIL PROTECTED]> wrote: > > > > > >> Simon M. Campden-Main wrote: > >> &g

Re: [PHP] strtotime Question

2004-01-27 Thread - Edwin -
Hi, On Tue, 27 Jan 2004 23:05:09 -0500 gohaku <[EMAIL PROTECTED]> wrote: > Hi everyone, > I made the mistake of using strtotime("day") instead of > strtotime("today") > to get the current time. > I was just curious, what is strtotime("day") represent? > > Below is what I used to test the "day"

Re: [PHP] CGI ERROR

2004-01-27 Thread - Edwin -
On Tue, 27 Jan 2004 18:41:39 -0800 "Dale Hersh" <[EMAIL PROTECTED]> wrote: > CGI Error > The specified CGI application misbehaved by not returning a > complete set of HTTP headers. > > I am getting this error and I can't figure out what is causing > the problem. If I hit refresh on the broswer, t

Re: [PHP] null value and isset

2004-01-27 Thread - Edwin -
Hi, On Wed, 28 Jan 2004 11:17:52 +1100 (EST) <[EMAIL PROTECTED]> wrote: > Hi there regarding out discussions before about using isset, i > set function params which are false intitalially as null ie > function foo ($bar = null) , anyway $bar remains true both ways > if i do isset($bar), i didnt n

Re: [PHP] path problems

2004-01-27 Thread - Edwin -
On Tue, 27 Jan 2004 20:22:46 -0500 Scott Taylor <[EMAIL PROTECTED]> wrote: > I understand all of the file size ones. What I really don't > understand is why neither of the following examples work: > > /* example 1 */ > /* where $_SERVER['DOCUMENT_ROOT'] = > /usr/local/psa/home/vhosts/domain.com/

Re: [PHP] Re: help with mysql

2004-01-27 Thread - Edwin -
On Tue, 27 Jan 2004 18:01:40 -0500 "Tom Flood" <[EMAIL PROTECTED]> wrote: > Martin, > > Thank you for the insight when I ran the php file you > suggested, nothing appeared to be related to mysql. I > installed both the php and mysql packages onto my Linux box > through a rpm installer. Whe

Re: [PHP] PHP EDITORS

2004-01-27 Thread - Edwin -
Hello, On Wed, 28 Jan 2004 00:10:11 -0600 "John Jensen" <[EMAIL PROTECTED]> wrote: > Hello everyone. I am new to PhP and MySQL. I was wondering what > a good (Or Free) Php Editor is? Maybe you missed this: http://marc.theaimsgroup.com/?l=php-general&m=107396769431732&w=2 or http://www.phparc

Re: [PHP] OT, Maybe: Question Re: Apache/Macintosh Platform

2004-01-28 Thread - Edwin -
On Wed, 28 Jan 2004 22:18:16 -0500 "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > PHP/MySQL textbook I'm using says to copy its sample apps to > the root directory. What it says is: "[o]n Apache this folder > is usually named htdocs by default." Not only can't I find a > folder named "htdocs", b

[PHP] Re: Constant PHP_OS and Mac Server

2004-02-13 Thread - Edwin -
I don't have a Mac Server here; only a G5 with the "ordinary" Panther ;) The answer must be the same though... Gerard Samuel wrote: I dont have a Mac handy to get the value of the constant PHP_OS. If anyone has access to a Mac, please reply to me with the output of var_dump( PHP_OS ); var_du

Re: [PHP] Japanese Language

2004-02-13 Thread - Edwin -
Once upon a time, KidLat Ngayon wrote: whenever i've open the file in staroffice, it can read the nihongo, however when i open it in microsoft office, it turns out that the nihongo are something like a garbage character. *Maybe* the problem lies with the fact that the file was saved (encod

Re: [PHP] redirecting

2004-02-17 Thread - Edwin -
On Wed, 18 Feb 2004 17:19:03 +1100 ajay <[EMAIL PROTECTED]> wrote: > i want the user to have say 5s to read that page and then be > redirected to another page. 'Not sure if it's only me but I think I've seen this recently ;) http://marc.theaimsgroup.com/?t=10769831404&r=1&w=2 http://marc.t

Re: [PHP] mem

2004-02-17 Thread - Edwin -
On Wed, 18 Feb 2004 01:25:54 -0500 John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > I'm not even sure if this is a Unix thing, or if it can be > done, but ... How can I read the amount of memory used in a > directory /var/something/ (and maybe sub-directories) and echo > it? Try the manual: h

Re: [PHP] mem

2004-02-17 Thread - Edwin -
Not that this is still a php question but... On Wed, 18 Feb 2004 01:38:39 -0500 John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > Both for that matter. I have root access. I want to echo how > much /var/xxx contains, and while I'm at it, how much my > partition contains and how much is used. Try

Re: [PHP] Parse Error

2004-02-18 Thread - Edwin -
On Wed, 18 Feb 2004 21:35:15 -0800 "Bob Eldred" <[EMAIL PROTECTED]> wrote: > > The error is: > > Parse error: parse error, unexpected T_VARIABLE in > > /www/htdocs/rolfvand/thinkquest/browsercheck.php on line 46 > > [/snip] > > > > All of your values are not enclosed with single quotes - the > > f

Re: [PHP] fonts

2004-02-18 Thread - Edwin -
On Wed, 18 Feb 2004 22:09:13 -0500 "Jake McHenry" <[EMAIL PROTECTED]> wrote: [...] > Image files for the entire website? I want this to be the > standard font for the text of the site. Then why not just use standard fonts that exist on the clients? -- - E - -- PHP General Mailing List (http:

Re: [PHP] fonts

2004-02-18 Thread - Edwin -
On Wed, 18 Feb 2004 20:36:30 -0500 "Jake McHenry" <[EMAIL PROTECTED]> wrote: > it's for my intranet, figured it might be easier this way > instead of touching every machine. All my machines are either > on 98 or XP, which both will use the same font. I've manually > installed it on 4 machines so f

Re: [PHP] diskusage

2004-02-18 Thread - Edwin -
On Wed, 18 Feb 2004 21:21:45 -0500 "Chakravarthy Cuddapah" <[EMAIL PROTECTED]> wrote: > From the terminal I can do this by: > ssh [EMAIL PROTECTED] du -hs /home/user | awk '{print $1}' Hmm... that's a pretty scary setup. You can ssh as root? Without a password? I wouldn't want that kind of setup

Re: [PHP] ? Sub Directories

2004-03-24 Thread - Edwin -
Hi, On Thu, 25 Mar 2004 09:07:06 +0200 "Labunski" <[EMAIL PROTECTED]> wrote: > This script reads the content of the directory and turns it > into the array. The problem is, that this script reads the > names of the subdirectories in this directory too! ...[sample code and result]... > How to so

[PHP] Re: still having login problems sigh

2004-03-24 Thread - Edwin -
Hi, On Wed, 24 Mar 2004 23:59:30 -0500 [EMAIL PROTECTED] (Andy B) wrote: > hi... > > still having login problems.. > i tried just about everything i can think of to get this to > work but for some strange reason it keeps getting stuck... What do mean by "keeps getting stuck"? Where? What? Any e

[PHP] Re: PHP and GD

2004-03-24 Thread - Edwin -
Hi, On Thu, 25 Mar 2004 02:03:26 +0100 [EMAIL PROTECTED] (Patrik Fomin) wrote: > Hi, > > Is there anyway to split a picture with PHP (GD) ? > > Im uploading lots of pictures and i want to split them in 6 > pieces to make em load faster, is there anyway to do this in > PHP ? You mean, split the

Re: Fw: [PHP] Re: still having login problems sigh

2004-03-25 Thread - Edwin -
On Thu, 25 Mar 2004 02:58:39 -0500 "Andy B" <[EMAIL PROTECTED]> wrote: > >What do mean by "keeps getting stuck"? Where? What? Any error > >messages? > > 0 errors and 0 messages of any kind and what i meant by getting > stuck was every time the login.html is filled out and submitted > i either get

Re: [PHP] Re: still having login problems sigh

2004-03-25 Thread - Edwin -
On Thu, 25 Mar 2004 03:21:54 -0500 "Andy B" <[EMAIL PROTECTED]> wrote: > >What happens if you give a the correct ones? > > doesnt make any difference... Then there's a problem with your code. Check $username first before you use it. Also, if you're using $_POST then you should use $_POST['usern

Re: [PHP] Command Line Script

2004-10-30 Thread - Edwin -
Hi, On Sat, 30 Oct 2004 09:42:13 -0400 "Steve Douville" <[EMAIL PROTECTED]> wrote: > > > > If you want to stick with PHP, you're better off using an > > ssh key, so that you're not prompted for the password. > > > > Ahh, okay thanks. If anyone can point me to some useful > docs, I'd appreciate i

Re: [PHP] This is weird..whts the prob???

2004-11-05 Thread - Edwin -
Hi, On Fri, 5 Nov 2004 22:55:20 +1030 "Aalee" <[EMAIL PROTECTED]> wrote: > Hi guys, > Working on PHP ver 4.3.8 with register_globals turned OFF > and Apache 1.3.31. MySQL ver 4.0.20a on winXP pro SP1. This > script does not seems to work with the method of POST. When > I change it to GET method t

Re: [PHP] Re: Problems with MySql

2004-11-05 Thread - Edwin -
Hi, On Fri, 05 Nov 2004 12:55:17 -0200 Oliver <[EMAIL PROTECTED]> wrote: > Today I installed EasyPHP without any problems, but when > I updated the version of php, Mysql stoped.* Okay. So, how did you update it? Assuming you're on linux and using RPMs, [...] > / To connect to a MySQL server, P

Re: [PHP] Command Line

2004-12-12 Thread - Edwin -
Hi, On Sun, 12 Dec 2004 09:15:46 -0600 "Travis Conway" <[EMAIL PROTECTED]> wrote: > How do you reference command line arguments in php? > > i.e., chkmd5.php file.md5 > > I am wanting to reference file.md5. Since the output of md5sum is > not in the RFC I am having to manually parse each md5 and

Re: [PHP] Loading CSV data into MySQL

2003-02-02 Thread Edwin Boersma
Or add a "insert_date" column of type "timestamp" to the database. This will automatically store the time of insertion. Then use ORDER BY insert_date. Edwin Jason Sheets wrote: You could create a integer column with an autoincrement flag, then order the rows by this colu

Re: [PHP] using tags with php

2003-02-02 Thread Edwin Boersma
Are you absolutely sure that the query gives result? Try and add "or die (mysql_error())" behind mysql_connect, mysql_select_db and mysql_query. For the rest, it looks pretty good to me Sunfire wrote: ok let me try this question thing again... i am having a problem using tags by using cur

<    1   2   3   4   5   6   >