[PHP] webpage has expired remedies

2009-06-04 Thread Ed Bukhman
about these things and would appreciate any guidance. Best regards, --Ed Bukhman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] webpage has expired remedies

2009-06-04 Thread Ed Bukhman
way (that avoids the GET method)? --Ed Bukhman Eric Butera eric.but...@gmail.com wrote in message news:6a8639eb0906041557n71e8b671ycafc72fd9c9ba...@mail.gmail.com... On Thu, Jun 4, 2009 at 2:14 PM, Ed Bukhman eb...@yahoo.com wrote: Hello, Could someone suggest the steps needed to troubleshoot

Re: [PHP] CSS tables

2009-05-15 Thread Ed Curtis
PJ wrote: I know of no better place to ask. This may not be strictly a PHP issue, but... I am busting my hump trying to format rather large input pages with CSS and trying to avoid tables; but it looks to me like I am wasting my time as positioning with CSS seems an impossibly tortuous exercise.

Re: [PHP] Re: New Horizon! scam

2009-03-02 Thread Ed Curtis
Alan Bell wrote: that would appear to be a scam of some sort, not sent by Alan Lord at all, he can spell electronic and generally speaks English. Alan. Alan Lord wrote: New Horizon! i would like to introduce a good company who trades mainly in electornic products. Now the company is under

[PHP] Which file Included me?

2009-02-18 Thread Ed Curtis
. thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Chrome 1.0 released

2008-12-24 Thread Ed Curtis
Bill Guion wrote: At 9:30 AM -0500 12/14/08, tedd wrote: At 3:08 PM -0800 12/13/08, Yeti wrote: I have to defend poor little IE a little now. It supports XHTML and CSS2 pretty well so far. And those standards came out a couple of months ago. Even a blind pig finds an acorn every once in a

[PHP] alphabetical filenames with readdir

2008-08-25 Thread Ed Curtis
Is there a way to make readdir output filenames alphabetically? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] alphabetical filenames with readdir

2008-08-25 Thread Ed Curtis
Ed Curtis wrote: Is there a way to make readdir output filenames alphabetically? Thanks, Ed Never mind. I figured out how to do it using an array and sort. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Code works alone but not with other code.

2008-07-25 Thread Ed Curtis
. There are no real similarities between the two that I can see. Thanks, Ed //DO COUNTY BY COUNTY SORTED REPORTS (SORTED BY CITY,PRICE) echo Starting Standard County By County Reportsbr; mysql_connect ($local_host, $local_user, $local_pass); $result = mysql_query (SELECT

[PHP] strlower problem

2008-06-02 Thread Ed Curtis
I'm converting upper case characters in a string to lower case and am coming up with an empty string. As I've done a million times before with other non-numerical strings. $thisStr = CL22; $strLow = strtolower($thisStr); echo $thisStr; Why does $strLow come up empty? Thanks, Ed -- PHP

Re: [PHP] strlower problem

2008-06-02 Thread Ed Curtis
Richard Heyes wrote: Ed Curtis wrote: I'm converting upper case characters in a string to lower case and am coming up with an empty string. As I've done a million times before with other non-numerical strings. $thisStr = CL22; $strLow = strtolower($thisStr); echo $thisStr; Why does

Re: [PHP] strlower problem

2008-06-02 Thread Ed Curtis
Michael Kubler wrote: Does : /echo strtolower(CL22);/ work? You could also try : /var_dump($strLow); / Ed Curtis wrote: Richard Heyes wrote: Ed Curtis wrote: I'm converting upper case characters in a string to lower case and am coming up with an empty string. As I've done a million

Re: [PHP] Memory usage very high under AMD64?

2008-04-03 Thread Ed W
Aschwin Wesselius wrote: Ed W wrote: RSS is staying approximately constant, ie the memory in use has not changed much VSZ, ie virtual memory has increased by more than 2x2=4. If someone has some hard experience of both platforms then please add some experience to this - however, I'm

Re: [PHP] Memory usage very high under AMD64?

2008-04-03 Thread Ed W
Aschwin Wesselius wrote: Ed W wrote: 45MB x2 is a lot less than 215MB... Also, I would expect the actual consumption to be less than 2x since not all the data will be doubled in size..? Any other suggestions on how to debug this 5x jump in memory usage? Thanks Ed W Robert Cummings wrote

[PHP] Memory usage very high under AMD64?

2008-04-02 Thread Ed W
processes are consuming around 215MB virt and 20MB RSS Can anyone please help debug why the virtual consumption is so high? Actually the RSS numbers look fine - it's the vsz numbers that I am trying to understand why so high? Thanks Ed W -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Memory usage very high under AMD64?

2008-04-02 Thread Ed W
45MB x2 is a lot less than 215MB... Also, I would expect the actual consumption to be less than 2x since not all the data will be doubled in size..? Any other suggestions on how to debug this 5x jump in memory usage? Thanks Ed W Robert Cummings wrote: 64 bit integers are twice as big

[PHP] Upgrade

2007-09-21 Thread Ed Curtis
it on a test server and have run into a couple of problems with the upgrade. Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upgrade

2007-09-21 Thread Ed Curtis
is not an option for us. -- Ben Web Design Shropshire, Software programing http://www.sparkcomputing.co.uk Thanks, I did find a way to do what I needed to do and not have to upgrade. There are more system calls but it won't be used often enough to worry about. Ed -- PHP General Mailing List (http

[PHP] using preg_match

2007-05-16 Thread Ed Curtis
I'm trying to use preg_match to find a string in a system path. What I need to do is see if the string '/realtors' exists in a variable named '$path'. I know '/' is used as a container within the command itself. How do I escape it to find the string '/realtors'? Thanks, Ed -- PHP General

Re: [PHP] using preg_match

2007-05-16 Thread Ed Curtis
Christian Haensel wrote: Hi Ed, did you try the backslash as escape character? ? $path = testing/realtors/userdata/; if(preg_match(/\/realtors/, $path)) { echo 'Success'; } ? That's what did it. I was thinking the \ was the escape for the command but wanted to make sure. Thanks! -- PHP

[PHP] Opening file

2007-04-26 Thread ed gregory
(except for FTP functions) to solve this? Thank you. Best regards, Ed -- http://www.freenet.am/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help needed to write an installation script for my php application

2007-04-23 Thread Ed Oceo
On Mon, April 23, 2007 5:36 am, [EMAIL PROTECTED] wrote: Hi There, Could you please help me to write an installation script to install a php based application in Windows. NSIS, nullsoft installer is a nice installer to use for Windows applications. http://nsis.sourceforge.net/Main_Page --

[PHP] db query not working

2007-03-07 Thread Ed Curtis
= mysql_fetch_array($result)); } mysql_close(); It dumps the table fine, works the explode, outputs the string in the echo command the way I expect, but doesn't place the value in tmphitsmag table. Anyone have a clue? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] db query not working as expected

2007-03-07 Thread Ed Curtis
= mysql_fetch_array($result)); } mysql_close(); The code dumps the first table fine, selects, manipulates, and echoes the string the way I expect, but fails to input the string into the tmphitsmag table. Any ideas? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] php and javascript error

2007-03-07 Thread Ed Curtis
I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox and

Re: [PHP] db query not working

2007-03-07 Thread Ed Curtis
, not in the code itself. And I do, by the way, end all my queries with or die(). I just left it out of the edit. Besides, the problem is fixed now. Thanks to all that helped. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
Németh Zoltán wrote: 2007. 03. 7, szerda keltezéssel 10.59-kor Ed Curtis ezt írta: I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox and Netscape. I have several other javascript calls on

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
control My scripts aren't meant for distribution also they will only ever be delpoyed on a server that I control. Thanks for the tip though and thanks to everyone that helped. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] db query not working

2007-03-07 Thread Ed Curtis
It is an old guy thing, at least in my case (trivia: I was born the day after the ENIAC was turned off) Aha! October 3, 1955 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] counting hyperlink clicks in php

2007-02-17 Thread Ed Grigoryan
might look like this: a href=http://www.news.com/redirect.php?news_id=150;read news/a Hope this helps. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] How can I know if a browser is cookies enables?

2007-02-05 Thread Ed Grigoryan
://ancientstones.com http://earthstones.com It can also be done with JavaScript. Found an example at: http://techpatterns.com/downloads/javascript_check_cookies.php Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I know if a browser is cookies enables?

2007-02-05 Thread Ed Grigoryan
Also try: http://www.aspfaqs.com/webtech/082400-1.shtml What would we do without search engines? :)) Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] connect.c+php

2007-01-26 Thread ed gregory
Can anyone give me an example on using connect.c with php? Thank you. Ed -- http://www.freenet.am/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CSS / PHP / Javascript

2006-11-14 Thread Ed Lazor
for this instead - specifically with defining style sheets for different target browsers and platforms? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] dns_get_record()

2006-11-08 Thread Ed
server? Any help appreciated. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protecting Streaming Audio

2006-11-06 Thread Ed Lazor
questions.. Sincerely, Adam On 11/4/06, Ed Lazor [EMAIL PROTECTED] wrote: You put the data in a directory outside of the webspace and use PHP to grab the file and send it to someone. That way you're able to control access to the file. By webspace, I'm referring to the directories outside

Re: [PHP] Frameworks

2006-11-06 Thread Ed Lazor
I think you pegged it... the benefit is that you save time, the drawback is that you're limited in what you can do. I think you have to review each framework and chose one based on your personal preferences, the project at hand, etc. On Nov 2, 2006, at 7:37 AM, [EMAIL PROTECTED] wrote:

Re: [PHP] Protecting Streaming Audio

2006-11-04 Thread Ed Lazor
You put the data in a directory outside of the webspace and use PHP to grab the file and send it to someone. That way you're able to control access to the file. By webspace, I'm referring to the directories outside of the ones used to store and serve your webpages. This directory

Re: [PHP] ChangeLog PHP 5.2.0 - Fileupload

2006-11-04 Thread Ed Lazor
Very cool example. Probably best explained with an example: http://progphp.com/upload.php Try uploading a 200-300k file. The source code is at: http://progphp.com/upload.phps -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mac PHP MySQL

2006-11-03 Thread Ed Lazor
Thanks Johan, I appreciate the info. I ended up going with MAMP as a quick solution. On Nov 2, 2006, at 11:29 PM, Johan Martin wrote: On 02 Nov 2006, at 5:11 PM, Ed Lazor wrote: I'm trying to configure and compile PHP 5. The configure is failing to find the MySQL UNIX socket. Any

Re: [PHP] Re: PHP 5.1.6 on Mac OSX 10.4.8 w/MySQL 5.0.27 support

2006-11-02 Thread Ed Lazor
Thanks Colin. I'd seen that site and noticed in their forums that people were reporting problems with PHP 5.1.6. I also noted that they use Apache 1.3 and I'm trying to use 2.2. On Nov 2, 2006, at 6:02 AM, Colin Guthrie wrote: Ed Lazor wrote: Any ideas on how to get this PHP configure

[PHP] Mac PHP MySQL

2006-11-02 Thread Ed Lazor
/tmp. The /tmp is a link to /private/tmp. I also tried specifying the --with-mysql- socket=/private/tmp with no luck. PHP 5.1.6 Apache 2.2.3 MySQL 5.0.27 Mac OS X 10.4.8 Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing a connection to browser without exiting the script

2006-11-02 Thread Ed Lazor
Here's another idea: display your message in the original browser window, launch a new browser window for the processing script, have the window set behind the first with javascript. When your script is finished, have it output javascript that closes the processing window. On Nov 2,

Re: [PHP] Mac PHP MySQL

2006-11-02 Thread Ed Lazor
Very very nice. I'm impressed with how easy everything was to setup. I keep wondering why nobody at PHP/MySQL/Apache ever sets up stuff like this. On Nov 2, 2006, at 8:40 PM, Wee Keat Chin wrote: Ed, Ed Lazor wrote: I'm trying to configure and compile PHP 5. The configure is failing

Re: [PHP] Changing the Action attribute of Form

2006-11-01 Thread Ed Lazor
in the data (you'll lose the ability to POST though). I'd chose the javascript route personally. You could use PHP's curl functions to rePOST the data, but that seems like more work than is necessary. My .02 cents. :) -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] php.ini ini_set

2006-11-01 Thread Ed Lazor
I think that's what he's trying, but he's missing the fact that he needs to include the actual From: that you've specified. In other words, I think he's doing: mail([EMAIL PROTECTED], Subject, Body, [EMAIL PROTECTED]); instead of: mail([EMAIL PROTECTED], Subject, Body, From:[EMAIL

Re: [PHP] 301 redirect returning 302 instead

2006-11-01 Thread Ed Lazor
Have the lighttpd guys come up with any ideas? On Nov 1, 2006, at 10:24 AM, [EMAIL PROTECTED] wrote: Just a shot in the dark, but it's possible that providing a Location header resets the status response. Try swapping your two header calls. Stut: Flipping the headers doesn't work,

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Ed Lazor
It's great to see Microsoft be so supportive of PHP. Go Andi! :) Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not allow that to happen. But everyone has a price, and you through enough money at something and you

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Ed Lazor
ps... I wonder if .NET will ever support PHP *GRIN* On Nov 1, 2006, at 11:59 AM, Ed Lazor wrote: It's great to see Microsoft be so supportive of PHP. Go Andi! :) Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend

Re: [PHP] Directory name

2006-11-01 Thread Ed Lazor
I don't think web browsers are going to send you the name of the directory the file comes from. On Nov 1, 2006, at 10:50 AM, Sugrue, Sean wrote: I'm trying retrieve a directory name and a filename with a form. I want to use input type file so the user can browse for the file but keep the

Re: [PHP] OO website/program doubt

2006-11-01 Thread Ed Lazor
No variable is part of session data, unless you specifically add it yourself. Sorry, can't answer to AJAX, haven't had time to play with it. On Nov 1, 2006, at 12:50 PM, Meghdad Azriel wrote: Hello, The objects in an OO website/program is always alive in the session, or they die at

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread Ed Lazor
And writing windows native applications with php under Visual Studio may be interesting... I use RealBasic a lot for cross-platform development... it would be cool if PHP were the base language, instead of Basic *grin* -Ed -- PHP General Mailing List (http://www.php.net

Re: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-11-01 Thread Ed Lazor
processing begins. Then again, there's probably problems related to doing something like this. Any idea of what they would be? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing a connection to browser without exiting the script

2006-11-01 Thread Ed Lazor
dejavu! This thread was just on the mailing list recently... check the mailing list archives. -Ed On Nov 1, 2006, at 1:24 PM, David Négrier wrote: Hello there, I'm having a somewhat unusual question here, and I cannot find any way to solve it. I have a PHP page that displays

Re: [PHP] OO website/program doubt

2006-11-01 Thread Ed Lazor
Yes. Check the mailing list archive. We just had a discussion about 2 weeks ago that talked about this and gave a few examples. On Nov 1, 2006, at 1:30 PM, bruce wrote: yo rich (or others)... does php provide the ability to store objects in a session var -Original Message-

[PHP] PHP 5.1.6 on Mac OSX 10.4.8 w/MySQL 5.0.27 support

2006-11-01 Thread Ed Lazor
to use the same configure as them, but I end up with the same error. Well, I found some stuff on entropy.ch that I didn't try, mainly because they were using Apache 1.3 and I'm using Apache 2.2.3. Thanks in advance for any ideas you have. -Ed configure:58552: gcc -o conftest -I/usr

Re: [PHP] Stupid question of the day (Editing text file in $HOME via web)

2006-10-31 Thread Ed Lazor
permissions, and the file size. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Run script every 30 seconds

2006-10-31 Thread Ed Lazor
information, but it does sound like you'll eventually run into some bottlenecks as system usage increases ( and fairly quickly if you're collecting data every 30 seconds). -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Decide witch table within a union

2006-10-31 Thread Ed Lazor
On Oct 30, 2006, at 9:20 PM, Børge Holen wrote: On Tuesday 31 October 2006 02:27, Ed Lazor wrote: Someone asked what it was to be used for. It's for combining 4 forums into one witch shows the latest movement among them. More like an introduction sort of... Sounds cool. Are you using a pre

Re: [PHP] channels attribute value returns wrong

2006-10-31 Thread Ed Lazor
Just getting, but is there a 0, 1, 2, and 3 channel? On Oct 31, 2006, at 3:10 AM, dhatri gmail wrote: Hello, using function getimagesize(); I am trying to get channels attribute value of image, it returns 3 for cmyk image actually it should return 4, can you tell me why it happens so?

Re: [PHP] Is there such a thing?

2006-10-31 Thread Ed Lazor
don't work for you, odds are good that you're not going to find what you're looking for... mainly because PHP is designed to be an interpretive web language and there are other tools more suited for what you're trying to accomplish. -Ed -- PHP General Mailing List (http://www.php.net

Re: [PHP] only one at atime

2006-10-31 Thread Ed Lazor
time frame. Is that right? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Imagecopyresampled creates black pictures

2006-10-30 Thread Ed Lazor
is wrong here? No idea off-hand, but it would probably help if you you included more information like source code and details about the images that are not working. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Ed Lazor
Another idea from what I just sent: try googling synonym database. It looks like there are a few leads in there as well. On Oct 30, 2006, at 6:26 AM, Kevin wrote: Hi, Is it possible to automatically search for synonyms related to a word in a search engine for example if I create a

Re: [PHP] Encoding PC-850

2006-10-30 Thread Ed Lazor
Would this help? http://us3.php.net/manual/en/function.mb-convert-encoding.php On Oct 30, 2006, at 7:21 AM, [EMAIL PROTECTED] wrote: Hi! I need to be able to encode text to PC-850 but I have big trouble finding out info about this encoding. Does it even exist? I get a few google hits, but

Re: [PHP] str_replace on words with an array

2006-10-30 Thread Ed Lazor
It looks like you guys are coming up with some cool solutions, but I have a question. Wasn't the original purpose of this thread to prevent sql injection attacks in input from user forms? If so, wouldn't mysql_real_escape_string be an easier solution? On Oct 30, 2006, at 8:17 AM,

Re: [PHP] Is there such a thing?

2006-10-30 Thread Ed Lazor
/home/index.php?SMC=1pageID=compiler http://www.priadoblender.com -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Ed Lazor
, but it did look like there were a few interesting articles. Here's one of them: http://developer.apple.com/documentation/ UserExperience/Conceptual/SearchKitConcepts/searchKit_basics/ chapter_2_section_2.html -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] str_replace on words with an array

2006-10-30 Thread Ed Lazor
On Oct 30, 2006, at 9:19 AM, Stut wrote: Ed Lazor wrote: It looks like you guys are coming up with some cool solutions, but I have a question. Wasn't the original purpose of this thread to prevent sql injection attacks in input from user forms? If so, wouldn't mysql_real_escape_string

Re: [PHP] Decide witch table within a union

2006-10-30 Thread Ed Lazor
Someone asked what it was to be used for. It's for combining 4 forums into one witch shows the latest movement among them. More like an introduction sort of... Sounds cool. Are you using a pre-made forum package? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] only one at atime

2006-10-30 Thread Ed Lazor
working with end up building upon itself? Just wondering, because it sounds like you could end up hammering your database server. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Run script every 30 seconds

2006-10-30 Thread Ed Lazor
monitoring? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace on words with an array

2006-10-30 Thread Ed Lazor
On Oct 30, 2006, at 1:10 PM, Dotan Cohen wrote: On 30/10/06, Stut [EMAIL PROTECTED] wrote: Ed Lazor wrote: It looks like you guys are coming up with some cool solutions, but I have a question. Wasn't the original purpose of this thread to prevent sql injection attacks in input from

Re: [PHP] How do I get ini_set('output_handler', '') to work?!

2006-10-30 Thread Ed Lazor
I suppose I could re-compile my command line version with a different php.ini file, but that's kind of lame that I have to have two php.ini files for what ini_set() SHOULD handle. Would modifications via .htaccess work for you? -Ed -- PHP General Mailing List (http://www.php.net

Re: [PHP] Query question

2006-10-29 Thread Ed Lazor
. This is why I figured I'd need to use PHP to maybe put it in an array first or something. Thanks -Original Message- From: Joe Wollard [mailto:[EMAIL PROTECTED] Sent: October 28, 2006 10:30 PM To: Ed Lazor Cc: Beauford; PHP Subject: Re: [PHP] Query question Agreed, this should go

Re: [PHP] strange problem with count()

2006-10-29 Thread Ed Lazor
Side note, it sounds like $this-result is an object holding an array, not the array itself and print_r is automatically traversing the object. On Oct 29, 2006, at 4:27 AM, Gunnar Beushausen wrote: Hi! I've a strange problem with count. I wrote a routine to jump to the last position of

Re: [PHP] forms usage in web pages

2006-10-29 Thread Ed Lazor
Is anyone else getting multiple copies of posts? On Oct 29, 2006, at 9:52 AM, Larry Garfield wrote: There's nothing wrong with multiple forms on a single page, as long as all id attributes in all elements are unique on the entire page, not just within the form. Just make sure that each

Re: [PHP] Decide witch table within a union

2006-10-29 Thread Ed Lazor
PHP can't tell what table the data came from. On Oct 29, 2006, at 1:34 PM, Børge Holen wrote: Hi. I got this working (almost) How do I decide (inside?) the whileloop the table_nr, 1 to 4 witch the link is echo'ed from. I could add another field in each table telling witch table it is.

Re: [PHP] str_replace on words with an array

2006-10-29 Thread Ed Lazor
checkout the function mysql_real_escape_string() On Oct 29, 2006, at 3:13 PM, Dotan Cohen wrote: On 30/10/06, Paul Novitski [EMAIL PROTECTED] wrote: Hi Dotan, To get help with your problem, share more of your PHP code with the list so we can look at what you're doing. Also, give us a link

Re: [PHP] Decide witch table within a union

2006-10-29 Thread Ed Lazor
Definitely not. Review your design. If you need to know which table data comes from, then perform table specific queries. If you need to combine data from more than one table, code your application to respond accordingly. You may also need to review your database schema design in order

Re: [PHP] socket_recv

2006-10-29 Thread Ed Lazor
Depends on the volume and type of data that you're working with. It also depends on the type of connection between the server and client. Slower connections, unreliable connections, or general data, use smaller packets. Reliable connection or higher volumes of data, use larger packets.

Re: [PHP] Decide witch table within a union

2006-10-29 Thread Ed Lazor
not. Honestly, I think you're just being critical of what I said, because you thought I was being harsh and unfair when I wasn't actually trying to be. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Decide witch table within a union

2006-10-29 Thread Ed Lazor
Sorry, Ed, I had intended my reply to be friendly as well. I'm allergic to smiley-face icons, but I should have tried harder to convey my tone. Dang this poker-faced email! No worries. It's all good :) -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Shopping Cart

2006-10-28 Thread Ed Lazor
dismissed and why? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Uploading files.

2006-10-28 Thread Ed Lazor
Side note on the PHP FTP... I'm sure there are PHP FTP classes out there for you to use... google php ftp class and you'll see a few options to explore. On Oct 28, 2006, at 10:47 AM, João Cândido de Souza Neto wrote: Hi everyone. I´m in a big doubt about uploading files ins a safe way.

Re: [PHP] Re: PHP Sessions || Problems with AOL, Safari, etc.

2006-10-28 Thread Ed Lazor
Check php.ini session settings. There are some options in there for you to use in your scripts. Set up scripts to test whether session cookies are being saved and then route accordingly. On Oct 28, 2006, at 12:41 PM, sit1way wrote: Hey all. I run a members-only hockey report that

Re: [PHP] Re: A general UL script

2006-10-28 Thread Ed Lazor
Are you just trying to tell whether the form has been submitted? Or are you just trying to validate form data? -- verify form submitted - if (isset($_POST)) { // form submitted, process data } else { // display form }

Re: [PHP] A general UL script

2006-10-28 Thread Ed Lazor
You posted this earlier and people, myself included, responded. I don't know why you're reposting your original message rather than reply to what we went. If you're not happy with the answers we provided, please rephrase your question in order that have more luck in answering it. On

Re: [PHP] Query question

2006-10-28 Thread Ed Lazor
Use the mysql list :) On Oct 28, 2006, at 3:01 PM, Beauford wrote: Hi, I have a MySQL database with a date field and a bunch of other fields. The date field is in the format - 01/01/2006. What I want to do is query the database and create a table that shows just the year and how many

Re: [PHP] PHP 5 Hosting

2006-10-25 Thread Ed Lazor
Hi, I wanted to give some feedback on PHP 5 hosting in case it helps someone. I signed up with DreamHost last Thursday. I also signed up with OCS Solutions to compare the two services. I also maintain a server with CalPop. When I signed up with Dreamhost, I discovered that you have to

Re: [PHP] [OFF] A note on replying to this list

2006-10-23 Thread Ed Lazor
You're asking everyone else to change their email client when the quickest solution would be for you to change yours. On Oct 22, 2006, at 10:59 PM, theIggs wrote: Hello all! Sorry for the offtopic. Please, when you reply to PHP mailing lists, put the Re: element right in front of the

Re: [PHP] [ANNOUNCEMENT] Sparse 1.1b released - create Ajax forms!

2006-10-23 Thread Ed Lazor
Has anyone checked this for security? On Oct 23, 2006, at 11:26 AM, Daniel Orner wrote: A big new update for Sparse, the HTML-based framework for writing MySQL-backed CGI applications easily and quickly. Now, the generated forms output in fully degradable Ajax, meaning that if a user

Re: [PHP] FTP - folders

2006-10-23 Thread Ed Lazor
scp when I need secure transfers of data. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mapped Drive issue

2006-10-23 Thread Ed Lazor
Depends on your operating system. On Oct 23, 2006, at 6:31 PM, Rob Kritzer wrote: Yes, the directory on mapped drive Y does exist. I do think that it might have something with how PHP and Apache is running. How do I chanage how PHP is running under an account? Where do I tell PHP or

Re: [PHP] Mapped Drive issue

2006-10-23 Thread Ed Lazor
, wish they would give me back my Mac. On 10/23/06, Ed Lazor [EMAIL PROTECTED] wrote: Depends on your operating system. On Oct 23, 2006, at 6:31 PM, Rob Kritzer wrote: Yes, the directory on mapped drive Y does exist. I do think that it might have something with how PHP and Apache

Re: [PHP] Screen Shots

2006-10-22 Thread Ed Lazor
to graph the usage whenever you want. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] worst sites / standard format

2006-10-19 Thread Ed Lazor
Sorry, how does this relate to PHP? It seems like you're just trying to get us to visit your sites to bump up traffic. On Oct 19, 2006, at 8:44 AM, Chuck Stearns wrote: hey, check out the bar on the side of the ones with main.html. http://www.997thelake.com/main.html

Re: [PHP] Creating new table from distinct entries

2006-10-19 Thread Ed Lazor
This is definitely something you'll want to run by the MySQL mailing list. On Oct 19, 2006, at 10:02 AM, Alan Milnes wrote: PHP 4.4.4 MySQL 4.1.21-community-nt I have a table in my database that has a Primary key on 2 fields (MyID and MyChange) and a field that indicates if there is a

Re: [PHP] ENV vars

2006-10-19 Thread Ed Lazor
How are you running PHP? What are you trying to accomplish with setting the env var? On Oct 19, 2006, at 8:16 PM, jekillen wrote: Hello again; I'm wondering if it is possible to create an $_ENV var with a php script running under a web server. I'm not sure where to look in the manual or

  1   2   3   4   5   6   7   >