Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread @ Edwin
'Just wanted to make a few comments... I got my job because of PHP. All of my company's projects were coded in PHP. (Old ones that were not are soon to be converted.) Zend? I convinced my boss to buy the encoder--I didn't have to pay for it... Thanks! Thanks to Zend! Thanks to the PHP

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I use vim most of the time... but how 'bout some bluefish? http://bluefish.openoffice.nl/ Or, try using your fav editor with wine... http://www.winehq.com/ (I wouldn't want to do that though...) - E How 'bout I just switched over to Red Hat Linux from Win2k... Only to find my fav editor

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
I think there's a way how to fix that. But don't bother to ask--I couldn't do it and I forgot... BTW, if you know any that can convert from (Japanese) euc-jp to sjis and vice versa, I'll be happy to learn about it. TIA - E On Friday 09 August 2002 20:34, [EMAIL PROTECTED] wrote: I use vim

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
it... - E PS I hope it has good support of Japanese as well... I am using Quanta 2.0 and loving it. http://quanta.sourceforge.net Oh My Gosh they have a new verison out.. 3.0 Time to upgrade. Paul @ Edwin wrote: I use vim most of the time... but how 'bout some bluefish? http

Re: [PHP] Linux PHP editor

2002-08-09 Thread @ Edwin
Quanta 2.0 and loving it. http://quanta.sourceforge.net Oh My Gosh they have a new verison out.. 3.0 Time to upgrade. Paul @ Edwin wrote: I use vim most of the time... but how 'bout some bluefish? http://bluefish.openoffice.nl/ Or, try using your fav editor with wine... http

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread @ Edwin
I'm sure you can also use vim or jedit or Zend's mentioned earlier. Or, visit this site for more: http://php.weblogs.com/editors - E Is there a php editor for Win2k ? _ ウィルスメール、迷惑メール対策なら MSN Hotmail

Re: [PHP] Making PHP faster?

2002-08-12 Thread @ Edwin
Andrew, It's true that "the time you use in coding and figuring out ways to make PHP faster would be greater than..." The task mentioned might be a "one-off thing" NOW. However, the techniques that we can learn can also be applied in future task, so, I'm still interested in the answer to the

Re: [PHP] N6: PHP files can't show source

2002-08-12 Thread @ Edwin
I might be wrong but I think the only (easy) way you can view the source is to "Save as..." the page first into xxx.html then open that file and view the source... In other words: 1. Using N6, go to the page where you can't "view source" 2. Click on "File" - "Save as..." 3. Save it to desired

Re: [PHP] upgrading error

2002-08-13 Thread @ Edwin
Just a thought... If you have downloaded 10 packages perhaps you need to upgrade ALL of them AT THE SAME TIME. So, instead of doing: rpm -Uvh php-4.1.2-7.i386.rpm. Try this: 1. Put all packages in the same folder 2. rpm -Fvh *.rpm The "F" (instead of "U") updates all INSTALLED packages

Re: [PHP] mysql error

2002-08-13 Thread @ Edwin
Looks like you're updating your table so instead of "INSERT INTO...", try: "UPDATE malibu_data SET ..." HTH, - E I get this error: Error submiting paragraph.You have an error in your SQL syntax near 'WHERE page_name='features' AND par_id='13' ' at line 1 But my code, I think is fine: //

Re: [PHP] newbie PHP/HTML pull down menu problem

2002-08-13 Thread @ Edwin
Something like this should work: after mysql_connect() and mysql_select_db() ... $sql = "SELECT color_id,color FROM mytable"; $result = mysql_query($sql); echo 'form blah,blah,blah'; echo 'select name="color_id"'; while ($row = mysql_fetch_array($result)){ printf("option

Re: [PHP] wanto uninstall php manual

2002-08-13 Thread @ Edwin
. thank @ Edwin for your suggestion for upgrading. You're welcome! -- --- TrafficBuilder Network: http://www.bestadv.net/index.cfm?ref=7029 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seemingly simple header problem, isn't!

2002-08-14 Thread @ Edwin
was working perfectly fine--without doing anything special in httpd.conf... - E Hi, Edwin. Of course... thanks! Apache version 1.3.23. Definitely not IIS. Robert Orenstein Perforce Software Try running ?php phpinfo(); ? and I'm sure you'll find out something about the Apache version

Re: [PHP] Shared network server failing to include files

2002-08-14 Thread @ Edwin
And still, if this doesn't work, why not install PHP as well--with Apache... (Perhaps, there must really be some good reason why not...) I'm not sure what was meant by A Windows 2000 takes care of our network internet connectivity but if a router is present, why not just map HTTP request

Re: [PHP] frames and variables

2002-08-14 Thread @ Edwin
I think one of the (if not THE) best implementation of frames with PHP/Javascript (HTML,CSS...) is phpmyadmin... http://www.phpmyadmin.net/ Of course, there could be a lot of others... - E The only way to talk to multiple frames is with javascript. yuk. Justin French on 15/08/02 2:37

Re: [PHP] SQL Injection/Data Balidation

2002-08-16 Thread Edwin @
Yeah, I'm scared... Please excuse me but may I say that it seems like you've sent some wrong info to the wrong mailing list? I use PHP NOT ASP, I use MySQL or PostgreSQL or Oracle but NOT M$ SQL Server. And IIS? Of course, some people use it (perhaps) because of some unavoidable

Re: [PHP] SQL Injection/Data Balidation

2002-08-16 Thread Edwin @
Actually, I DID read the articles before I replied. If you read it again, the basic problem is not about any extended SQLServer functionality--it's about how ASP works AND how the database server was configured AND how Window$ works. Sorry, but the attacks mentioned CANNOT be done on any of

Re: [PHP] SQL Injection/Data Balidation

2002-08-16 Thread Edwin @
Oops! Sorry! I meant to say apostrophe and not single quotes... And sorry 'bout this additional post... Regards, - E Actually, I DID read the articles before I replied. If you read it again, the basic problem is not about any extended SQLServer functionality--it's about how ASP works AND

Re: [PHP] Secure connection with MySQL database

2002-08-18 Thread Edwin @
Well, I'm not sure if this is what you're looking for but... if you name the file with a .php extension (instead of .txt or .inc) then your password is protected. For example, you have a password declared like this: $my_db_username = 'MyUserName'; $my_db_password = 'MyPassWord'; And it's

Re: [PHP] Secure connection with MySQL database

2002-08-18 Thread @ Edwin
e contents of the script, since the directory you place it in would not be readable by the web server. --- "Edwin @" [EMAIL PROTECTED] wrote: Well, I'm not sure if this is what you're looking for but... if you name the file with a .php extension (instead of .txt or .inc) then your pass

Re: [PHP] mail and attachments

2002-08-19 Thread @ Edwin
Also, somebody has already posted (2 weeks ago?) a similar or related question. I think, the answers given also apply to this question as well. - E If you mean that you want to add attachments to emails it is possible of course... Try Phpmailer... I recommend you to print out a copy of this

Re: [PHP] Apache 2.0 and PHP

2002-08-19 Thread @ Edwin
Would I be able to install it along side 1.3 and run it on a separate port? I know some who installed two 1.3s in two different folders, run two different daemons, in two different ports. I think it should work with 1.3 and 2.0 as well... - E Cheers John Wards SportNetwork.net -- PHP

RE: [PHP] Old PHP files not working

2002-08-19 Thread @ Edwin
It seems like if you "turn on" register_globals in php.ini, everything might just work... but, it's strange because you said that if you type everything exactly as they were in the new server everything works! Strange... Anyway, why not try it this way. Don't turn register_globals on (you

Re: [PHP] phpMyAdmin

2002-08-21 Thread @ Edwin
All depends on your host and how phpMyAdmin was configured. It's better to ask them directly... - E Is it possible to use phpMyAdmin to add new databases (not tables whole databases) to my website? I ask because currently my host has provided me with one database and I don't want to mix

Re: [PHP] PHP Site Mirror

2002-08-21 Thread @ Edwin
Try this Jay, http://us.php.net/mirrors.php (A mirror PLUS a list of mirrors...) - E Can someone give me a URL for a php.net mirror? I am having trouble with access... Thanks! Jay *** * Texas PHP Developers Conf Spring 2003

Re: [PHP] Call to undefined function mysql_connect()

2002-08-25 Thread @ Edwin
Help! I am getting the following error message for : ? $link=mysql_connect("localhost","$user","$pass"); // line 34 ? Fatal error: Call to undefined function: mysql_connect() in /home/www/test.somename.org/aux/db-mod.php on line 34 I have used this call successfully on php v4.0.6, and am

Re: [PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread @ Edwin
Just curious... Have you tried it with POSTed variables? As in the case mentioned? Just wondering... Anyway, I'll try it myself later... - E using register_globals=on and trying to echo out the $5400 errors as expected, but php sees the correct entry in the $_GET superglobal array as it

Re: [PHP] Base64 and MS Word cutting and pasting.

2002-08-25 Thread @ Edwin
isolated the problem with MS Word and MS Wordpad; The problem does not occur when pasting from Notepad. I want to make sure that all the text is ASCII before converting to MIME encoding. This shoul alleviate the problems that are occuring. Thanks, /dkm - Original Message - From: "

Re: [PHP] Problems with the safe mode...

2002-08-26 Thread @ Edwin
I'm not sure but... Check your httpd.conf and see if you're running Apache as "Group -1". Change this to "nobody" or better yet make a new user/group (like apache/apache for example) for your Apache and change the lines- User nobody Group -1 to User apache Group apache Then,

Re: [PHP] newbie... - undefined var

2002-08-26 Thread @ Edwin
Or, perhaps, you should do: (if register_globals off) if (!isset($_GET['vw'])){ echo "variable is not set"; } Of course, you can also do: (if you want to--for some reason) if ($_GET['vw'] == ""){ write this code } - E PS Do all vars in PHP have to be defined first? No.

Re: [PHP] Re: Blank db entry??

2002-08-26 Thread @ Edwin
I think you can use this: http://www.php.net/manual/en/function.mysql-num-rows.php - E Forgot to add one thing - I don't need to add the new number after detection to the db but rather just print it out "Johnp" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] PHP: User Authentication Script

2002-08-27 Thread @ Edwin
You can insert the line at the very end of your httpd.conf file... I'm sure you can find more info here... http://www.php.net/manual/en/install.windows.php - E Thank you for the reply Farianto. Exactly where in the httpd.conf file should I insert that line? If you could copy and paste

Re: [PHP] move_uploaded_file problem

2002-08-27 Thread @ Edwin
There could be a lot of different reasons why. Check the manual again (esp. the user's comments). I'm sure you'll find a lot of ideas. http://www.php.net/manual/en/features.file-upload.php Also, this has been discussed many times recently. I'm sure you'll find a lot too in the archives. :)

Re: [PHP] using variable ..help

2002-08-28 Thread @ Edwin
I want my tr bgcolor display with one by one like this below tr bgcolor="#E8D0E8" td/td /tr tr bgcolor="#F8EFF8" td/td /tr Try this: /* -- from here -- */ ?php $mycolor = array("#E8D0E8", "#F8EFF8"); echo "table\n"; foreach ($mycolor as $value) { echo "tr

Re: [PHP] Re: No Localhost with apache?

2002-08-28 Thread @ Edwin
Actually, the same thing happens if the ServerName directive was not set. But anyway, even if the default page doesn't show up, http://localhost/some.php would still work... - E --- "Ryan A" [EMAIL PROTECTED] wrote in message

Re: [PHP] Re: No Localhost with apache?

2002-08-28 Thread @ Edwin
forapache still only responds to 127.0.0.1 Any new ideas? Maybe you should ask the Apache ml... Cheers, -Ryan - Original Message - From: "@ Edwin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 28, 2002 7:00 PM Subject: Re: [PHP

Re: [PHP] Building a query on multiple variables, how to test for which variable

2002-08-28 Thread @ Edwin
There must be a better way how to do it but this is what I would do: (Not tested--just the "idea"...) Instead of $var1, $var2... I'd use an array for the drop downs thus, $var[] $var[] $var[] $var[] Then, check if any is set, then... anyway, this is how it goes: // from here

Re: [PHP] sprintf() question

2002-08-29 Thread @ Edwin
Experiment a bit and I'm sure you'll find it easy. One example, change this portion $formatted = sprintf("%01.2f", $money); to $formatted = sprintf("%01.3f", $money); then see how it works... ?php $money1 = 68.75; $money2 = 54.35; $money = $money1 + $money2; echo "This is money:

Re: [PHP] Print page

2002-08-29 Thread @ Edwin
Hi, I'm using PHP to generate some report for printing. But when I print report from IE 5.0 browser, in the bottom of page IE prints URL of page. Can I remove it ? Yes. Click on "File" - "Page settings..." then find "Footer" and you'll see something like this: ubd Take away the "u", print

RE: [PHP] Building a query on multiple variables, how to test for which variable

2002-08-29 Thread @ Edwin
Does this fit your idea of a "more elegant solution"? This is just an enhanced and tested version of the one I posted earlier (somehow I had time and was curious about it). ?php if (isset($_POST['var'])){ // if POSTed // initial query // make sure "WHERE" not included when none is

Re: [PHP] subject in big5 characters of an email can't be read in Lotus Notes

2002-08-29 Thread @ Edwin
I'm not sure if this will help but using mb_send_mail() instead of mail() solved the problems I had with Japanese characters... However, it might be the mail client itself. Check if they had no problem before (when they received similar e-mails from other sources). - E I have sent an email

Re: [PHP] Average Number For Math Functions

2002-08-29 Thread @ Edwin
I am still very new to PHP so things are still a little foreign to me - what exactly is the SUM finction - I tried to locate one on both the PHP and MySQL site but found nothing! http://www.mysql.com/doc/en/Group_by_functions.html#IDX1364 Well, it's close to "nothing" but if you study how

Re: [PHP] Re: Reading from a file using fgets()

2002-08-29 Thread @ Edwin
Or, is it? :) http://www.php.net/manual/en/function.file.php - E Interesting. It's not documented. On Thu, 2002-08-29 at 14:44, Dallas Thunder wrote: Well, this is exactly what function file() does. "David Christensen" [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Re: Reading from a file using fgets()

2002-08-30 Thread @ Edwin
anything about whether or not it reads data sequentially from top to bottom or if there's an option to read bottom to top or anything in between. Dave On Thu, 2002-08-29 at 22:37, @ Edwin wrote: Or, is it? :) http://www.php.net/manual/en/function.file.php - E Interesting. It's

Re: [PHP] Dumb Question

2002-08-31 Thread @ Edwin
My "dumb" answer :) Try Google. Type: "procedural code" You might want to check, "object-oriented" as well... I'm sure, you'll find helpful explanations... - E And I feel foolish asking... What is meant by 'procedural code' ??? -- Gerard Samuel http://www.trini0.org:81/

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread @ Edwin
Actually, you can--just don't "break;". Try it. - E I'd like to be able to modify the switch variable inside a case statement, like this: switch ($foo) { case 'step2': do_step2(); if ($error) $foo='step1'; //repeat step1 break; case 'step1': do_step1(); break;

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread @ Edwin
noring any subsequent case statements. In my example, eliminating the break after step2 would cause execution of do_step1(), but also do_something_else(), which is not desired. --- "@ Edwin" [EMAIL PROTECTED] wrote: Actually, you can--just don't "break;". Try it.

Re: [PHP] Dumb Question

2002-08-31 Thread @ Edwin
ich it seems like its not :( Thanks :) @ Edwin wrote: My "dumb" answer :) Try Google. Type: "procedural code" You might want to check, "object-oriented" as well... I'm sure, you'll find helpful explanations... - E

Re: [PHP] alter switch variable inside case?

2002-08-31 Thread @ Edwin
if do_a fails, since it exits the switch statement upon seeing a break. if I remove the break after do_a, it will execute do_a and do_b -- bad. what we really want is for it to execute do_a and if do_a returns false, print_menu. Joe --- "@ Edwin" [EMAIL PROTECTED] wrote: Well, you don't

Re: [PHP] Re: alter switch variable inside case?

2002-09-01 Thread @ Edwin
I'm not sure if you've already tried the idea I posted earlier. Anyway, I tried it myself and it works! (At least with this simple example...) !-- whatevername.php -- ?php echo 'myvar BEFORE the switch : ' . $_GET['myvar']; echo 'hr /'; switch ($_GET['myvar']){ case 1: $_GET['myvar'] =

Re: [PHP] Safe mode? newbie alert!

2002-09-01 Thread @ Edwin
Try the "mothership" again and type php and "safe mode" Click "Search". The first two results: http://www.dynamic-webpages.de/php/features.safe-mode.php http://info.ccone.at/INFO/PHP4/features.safe-mode.html You can read only ONE so as not to get more confused... :) - E PS Of course,

Re: [PHP] contact list re-ordering (php/mySQL CMS design)

2002-09-07 Thread @ Edwin
I'm not sure if what you mean is something like this: Say, you have a table with 2 columns (1) id and (2) contact. And your table is populated in this way: id contact 1 a 2 b 3 c 4 d 5 e And, let's say that your id is auto_incremented. Also, the contacts are shown ORDER BY

[PHP] Re: file include relative file addressing.

2002-09-08 Thread @ Edwin
??? I thought you said "my.inc.php" but you're including "my.php". This one should work: include_once "../include/blah/my.inc.php"; // filename is my.inc.php - E "Nelr" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From the root of a website: / I had a

[PHP] Re: file include relative file addressing.

2002-09-08 Thread @ Edwin
??? I thought you said "my.inc.php" but you're including "my.php". This one should work: include_once "../include/blah/my.inc.php"; // filename is my.inc.php - E "Nelr" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From the root of a website: / I had a

[PHP] Re: file include relative file addressing.

2002-09-08 Thread @ Edwin
??? I thought you said "my.inc.php" but you're including "my.php". This one should work: include_once "../include/blah/my.inc.php"; // filename is my.inc.php - E "Nelr" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... From the root of a website: / I had a

[PHP] Re: POST form variables not being sent to destination page

2002-09-09 Thread @ Edwin
Hi there, I don't really see any "serious" problem in your code except that your opening body tag is in the wrong place :). Since I don't have php/apache running on my XP I cannot really tell if this is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on Linux and

Re: [PHP] POST form variables not being sent to destination page

2002-09-09 Thread @ Edwin
Hi there, I don't really see any "serious" problem in your code except that your opening body tag is in the wrong place :). Since I don't have php/apache running on my XP I cannot really tell if this is an installation problem. Anyway, I have php/apache (4.2.2/1.3.26) on Linux and

Re: [PHP] Session problem

2002-09-09 Thread @ Edwin
I think this one worked because if($count ==1){ $user_data = mysql_fetch_row($user_res); $user_id = $user_data[0]; // --- of this if(!session_is_registered(user_id)) session_register(user_id); if(!session_is_registered(username))

Re: [PHP] help with installation

2002-09-09 Thread @ Edwin
Of course, you restarted Apache? Also, try leaving this out --- IfDefine PHP4/IfDefine and just write LoadModule php4_moduleextramodules/libphp4.so (Applies to AddModule as well...) And make sure that the extramodules folder does exists! - E On Monday, September 09, 2002 11:43 PM

Re: [PHP] BUG?: header(location: ) causes GET vars to be encoded in wrong charset in IE5.5

2002-09-09 Thread @ Edwin
Hello, On Tuesday, September 10, 2002 1:52 PM Jean-Christian Imbeault wrote: snip The problem is that the POST variables are coming in EUC-JP (japanese) correctly but for some reason IE re-encodes the variable into some other charset (SJIS I am guessing) when requesting the new page sent in

Re: [PHP] BUG?: header(location: ) causes GET vars to be encoded in wrong charset in IE5.5

2002-09-09 Thread @ Edwin
And by the way, please check the NOTE: on http://jp2.php.net/manual/en/function.header.php for the use of header(). Something's missing in the way you used it--perhaps, this is causing the problem... - E quoted Note: HTTP/1.1 requires an absolute URI as argument to Location: including the

Re: [PHP] Best Practice

2002-09-21 Thread @ Edwin
Hi there, On Sunday, September 22, 2002 12:20 PM Subject: Re: [PHP] Best Practice Peter J. Schoenster wrote: snip On 21 Sep 2002 at 12:51, Ashley M. Kirchner wrote: I'm working on converting several static (price) pages on our site into dynamic pages, with the data stored in an

Re: [PHP] Design question.

2002-09-21 Thread @ Edwin
(Sorry if I've already sent this.) I agree. But, I don't really see any problem having *.inc files as *.inc.php (so that they'll be executed by Apache) esp. IF the config file have only this: (Even if this is executed nothing shows up...) ?php $my_super_user = 'blahblah';

Re: [PHP] file uploads problem

2002-09-24 Thread @ Edwin
Just a comment... On Tuesday, September 24, 2002 1:39 PM Jaski wrote: snip I tried to copy this file using move_uploaded_file($userfile, "/place/to/put/uploaded/file"); and here a strange thing happened. The file was successfully copied BUT it had permissions like -rw-- which I interpret

Re: Re: [PHP] file uploads problem

2002-09-24 Thread @ Edwin
Jaski, On Tuesday, September 24, 2002 5:07 PM Jaski wrote: No Edwin .. I can't do any thing to that file .. not even from my ftp client .. can't download can't change permissions .. I think you won't be able to do anything with the file IF you use your ftp client. The reason is because *you

Re: Re: [PHP] file uploads problem

2002-09-24 Thread @ Edwin
Oops, what I wanted to post was http://www.php.net/manual/en/function.chmod.php and not http://www.php.net/manual/en/function.chown.php - E On Tuesday, September 24, 2002 6:00 PM @ Edwin wrote: Jaski, On Tuesday, September 24, 2002 5:07 PM Jaski wrote: No Edwin .. I can't do any

Re: [PHP] where's waldo

2002-09-25 Thread @ Edwin
True. Perhaps. But, I think, you can actually do something like that WITH php. Say PHP+Flash or PHP+Javascript... Of course, if you're able to do something like this just by using PHP+Javascript (and HTML only), most probably, you can just take a peek at the code and find out where waldo is...

Re: [PHP] where's waldo

2002-09-25 Thread @ Edwin
Good idea! And your idea about this is also great: input type="image" src="myimage.xxx" name="thename" / It should work... I forgot that there was someting like that in HTML... :) - E On Thursday, September 26, 2002 12:55 AM Subject: RE: [PHP] where's waldo Kevin Porter wrote: snip One

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am looking for a function that will give me the number of characters of a

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am looking for a function that will give me the number of characters of a

[PHP] Re: length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am looking for a function that will give me the number of characters of a

Re: [PHP] length function

2002-09-26 Thread @ Edwin
Why, can't you just use strlen()? http://www.php.net/manual/en/function.strlen.php Or, am I missing something? - E "Jeff Bluemel" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am looking for a function that will give me the number of characters of a

Re: [PHP] where's waldo

2002-09-27 Thread @ Edwin
like to give people credit for being more honest than that. "@ Edwin" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... True. Perhaps. But, I think, you can actually do something like that WITH php. Say PHP+Flash or PHP+Javascript... Of

[PHP] Re: PHP and MSSQL Problem

2002-09-28 Thread @ Edwin
Hello, ...just wondering... Are you sure VARCHAR in MS SQL can handle 5000? Should be 255 only? (I'm not really familiar with MS SQL but you can count the number of characters returned by php...) - E "Christopher J. Crane" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] where's waldo

2002-09-28 Thread @ Edwin
distribution. more for a class. "@ Edwin" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I didn't really mean to imply anything about people's honesty and so forth... I just wanted to say that validating (anything) on the

Re: [PHP] Multiple Domains in cookie?

2002-09-28 Thread @ Edwin
You mean from this list? Please take a loot at the end of this e-mail... - E On Thursday, July 27, 2000 11:36 AM Saif wrote: Please how can I unsubscribe . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie Q: Any difference what the .ext is on include() files???

2002-09-30 Thread @ Edwin
Hello, On Monday, September 30, 2002 4:32 PM Subject: Re: [PHP] Newbie Q: Any difference what the .ext is on include() files??? [ Rene Brehmer ] wrote: I appreciate your advice, but it would not really apply to my structure ... because of the amount of files I use, I've got seperate include

Re: [PHP] php 5 installation problem

2006-03-16 Thread - Edwin -
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 it on www.php.net ... (^_-) Regards - Miles HTH, - Edwin - -- Give to a wise person and he will become

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

2006-03-16 Thread - Edwin -
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:5 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

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

2006-03-16 Thread - Edwin -
multi-display setup that can reach 10,000 pixels wide and tall). That's the bottom line. So, I keep seeing 'display size' when I'm thinking the term should be 'printed size'. John Hinton HTH HAND, - Edwin - -- A capable wife is a crown to her owner. - Proverbs 12:4 -- PHP General

Re: [PHP] making a tutorial

2006-03-16 Thread - Edwin -
store it in a varchar(20) or an enum() and how? It all depends on how your tables are setup but I don't know about enum()... John HTH, - Edwin - -- Keep doing this in remembrance of me. - Luke 22:19 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] making php code from db work

2006-03-17 Thread - Edwin -
+php+code+db better to build this nav tree in a more robust fashion such as loading the li 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

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

2006-03-17 Thread - Edwin -
. Nothing, it's still 97 ppi because it's not possible for the screen to view anything else. Normally the screen would just duplicate the imagesize from 400x400 to 800x800. Greets Barry HTH HAND, - Edwin - -- He that is slow to anger is abundant in discernment, but one

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 68ppi x 51ppi. Er

[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. That'd be nice. But as somebody pointed out

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

2006-03-17 Thread - Edwin -
; Thanks! HTH, - Edwin - -- An answer, when mild, turns away rage, but a word causing pain makes anger to come up. - Proverbs 15:1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI

Re: [PHP] Script not working from one computer

2002-12-05 Thread @ Edwin
Hello, 1LT John W. Holmes [EMAIL PROTECTED] wrote: [snip] So, I'm sure it's not the PHP script, so I'm looking for ideas of what I should check, settings wise, on the client computer? Any help is greatly appreciated. [/snip] Well, my magic PHP 8-ball says... Just kidding :) Anyway, here's a

Re: [PHP] Check wheter GD function is working

2002-12-06 Thread @ Edwin
Hello, [EMAIL PROTECTED] wrote: Hello list, how can I check wheter GD-function is working and running? First check phpinfo() and see under gd then read more info here: http://www.php.net/manual/en/ref.image.php - E PS: Pls. don't flood the list with same messages... -- PHP General

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread @ Edwin
Hello, [EMAIL PROTECTED] wrote: ...[snip]... What do I need to use to create real linefeeds or new lines when viewing under windows? Try the manual again and check specifically the User Contributed Notes--I'm sure you'll find something :) http://www.php.net/manual/en/function.fputs.php -

Re: [PHP] Output of MySQl sorted query to text or Word file.

2002-12-06 Thread @ Edwin
Oops... [EMAIL PROTECTED] wrote: success. And I have read through the user contributed notes and havent' found it there. Sorry 'bout the link earlier. (You could find some hints under file() though...) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mail() problems...

2002-12-06 Thread @ Edwin
Hello, Anthony Ritter [EMAIL PROTECTED] wrote: DL, I'm not sure I understand. Let me try :) I had this working a few months ago by changing the php.ini settings to: SMTP = localhost ;for win32 only sendmail_from = [EMAIL PROTECTED] ;for win32 only and I was able to run that script

Re: [PHP] Where can I find a new HowTo of compiling php with gd support???

2002-12-06 Thread @ Edwin
Did you try Google? Keyword: compiling php with gd support [EMAIL PROTECTED] wrote: Hi folks, a single and simple question : Where can I find a new HowTo of compiling php with gd support??? Incl Bugtraps? Oliver Etzel -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] String to an Array

2002-12-06 Thread @ Edwin
Hello, Rodrigo de Oliveira Costa [EMAIL PROTECTED] wrote: Hi guys, I got a string that I need to be transformed into na array of characters, something like: $str =im the one trying to do this; //this is the string I'd like to get an array that I can access something like

Re: [PHP] Humour me

2002-12-06 Thread @ Edwin
Hello, John Taylor-Johnston [EMAIL PROTECTED] wrote: Humour me. New server. I'm a little tired. Where is my php.ini on a red hat server? I took it :) Anyway, Run phpinfo() --should give you a hint... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Allowed memory size exhausted

2002-12-06 Thread @ Edwin
Hello, Jeff Schwartz [EMAIL PROTECTED] wrote: I have a large amount of data (1,948,280 bytes) that I tried to write out to a file using if ($fp = fopen($file,w)): fwrite($fp,$contents,strlen($contents)); fclose($fp); endif; I'm not sure if I understand this correctly but

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
Hello, John W. Holmes [EMAIL PROTECTED] wrote: Daylight Savings Time? John, I think Daylight Saving Time creates a difference of 1 hour and not 1 day :) Anyway, I live in a place where we don't practice this so I could be wrong... ...[snip]... Now, what could be causing this problem?

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
But, then again, it could be just because the other server's time is really late... (caused by old motherboard batteries, etc.) - E @ Edwin [EMAIL PROTECTED] wrote: Hello, John W. Holmes [EMAIL PROTECTED] wrote: Daylight Savings Time? John, I think Daylight Saving Time creates

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
Justin French [EMAIL PROTECTED] wrote: [snip] Perhaps strtotime() is NOT running off GMT, [/snip] Bingo! ...or, Bull's eye!, whatever :) Anyway, I think this is implied in the manual. http://www.php.net/manual/en/function.strtotime.php Also, check User Contributed Notes: piran at

Re: [PHP] date() on two diff. servers

2002-12-08 Thread @ Edwin
Justin French [EMAIL PROTECTED] wrote: on 09/12/02 3:06 PM, @ Edwin ([EMAIL PROTECTED]) wrote: [snip] Perhaps strtotime() is NOT running off GMT, [/snip] Bingo! *GULP*... so, what we're saying is, that if I intend to pass data around on multiple servers (in different timezones

  1   2   3   4   5   6   >