[PHP] htaccess / PHP

2003-12-01 Thread Ed Lazor
What do I put in .htaccess for Apache to process a named "archive" as a PHP file? I did it before and can't seem to find what I did. Requests to http://myhost.com/archive/page1.php would get processed by the file named archive and page1.php would just be a parameter that I could access from with

[PHP] htaccess / php

2003-12-01 Thread Ed Lazor
What do I put in .htaccess for Apache to process a named "archive" as a PHP file? I did it before and can't seem to find what I did. Requests to http://myhost.com/archive/page1.php would get processed by the file named archive and page1.php would just be a parameter that I could access from wit

[PHP] where to find volunteers / RPG lovers

2001-01-23 Thread Ed Lazor
ow of where I can go to post something like this, I'd appreciate if you'd send me a note to let me know. Thanks! =) Ed Lazor AtFantasy Alliance http://www.AtFantasy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] file uploads problem?

2001-02-22 Thread Ed Lazor
File uploads -was- working. I reinstalled the server with the RedHat packages apache-1.3.14-3.rpm php-4.0.4pl1-3.rpm php-mysql-4.0.4pl1-3 I'm using the same scripts, but file uploads is not working now. Correction... the file uploads to the server, but doesn't view pr

Re: [PHP] file uploads problem?

2001-02-22 Thread Ed Lazor
ry to view it, it just displays a box with a small x, as if the image wasn't there. I've verified the image is there. What would be doing this? -Ed At 05:30 PM 2/22/2001 -0800, Ed Lazor wrote: >File uploads -was- working. I reinstalled the server with the RedHat packages > >

[PHP] more info: Re: [PHP] file uploads problem?

2001-02-22 Thread Ed Lazor
I was curious, so I uploaded a file using the upload form and transferred the same file via ftp and did a diff on the two files. Here's the results: diff -a Poster.jpg Poster_test.jpg 0a1,2 > Content-Type: image/pjpeg > Does that help? -Ed At 06:01 PM 2/22/2001 -0800, Ed

[PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Ed Lazor
I upgraded my web server and now file uploads don't work. A test script is listed below. It puts the file on the server, but the file has Content-Type: image/pjpeg^M ^M pre-pended to it, thus breaking the file. Do you know why it's doing this and how to fix it? -Ed File Upload T

Re: [PHP] Please help - File Uploads, 2nd try

2001-02-24 Thread Ed Lazor
At 06:44 PM 2/24/2001 +, Gustavo Vieira Goncalves Coelho Rios wrote: >Ed Lazor wrote: > > > > I upgraded my web server and now file uploads don't work. A test script is > > listed below. It puts the file on the server, but the file has > > > > Content-

[PHP] PHP4 install question

2001-02-24 Thread Ed Lazor
I've had PHP installed through the RedHat RPMS listed below. php-imap-4.0.4pl1-3 php-manual-4.0.4pl1-3 php-4.0.4pl1-3 php-ldap-4.0.4pl1-3 php-mysql-4.0.4pl1-3 Unfortunately, I discovered there's a bug in this version, so I need to remove the rpms and install PHP by compiling the source. I've b

[PHP] question about php sessions

2001-03-04 Thread Ed Lazor
Hi =) Is it possible to track a user session across multiple domains? We have several related web sites and want to enable a user to login through one site and end up logged in to them all. I tested and it didn't work and I'm guessing it's a limitation of cookies. As in, a cookie created und

[PHP] what does $$ mean?

2001-03-04 Thread Ed Lazor
I'm studying some code from the net and was kinda curious. There are places where it references variables like this: $$testvar What's the difference between that and $testvar ? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ed Lazor
> >However, if you want more control over the authentication process I suggest > >making your own login form and using cookies, instead of HTTP > >authentication. Then you can log users out just by unsetting the cookie(s). > >This is how I will wind up going, EXCEPT the users will be required to

[PHP] banner exchange, how to?

2001-03-20 Thread Ed Lazor
Hi =) I'd like to setup a banner exchange with some friends. Some of them don't have PHP access, so I'm trying to come up with something that will work for everyone. I checked one site that's running a banner exchange and saw them using a cgi script like this: http://www.site.com/exchange.c

[PHP] web page grab

2001-04-22 Thread Ed Lazor
Hi =) I'm trying to grab content from another web page. After having browsed through the mailing list archives and such, it looks like I'll need to use the eregi_replace function, but I'm not sure how to properly format the command. The goal is to get rid of everything from the start of the

[PHP] gd library

2002-01-30 Thread Ed Lazor
Hi =) Which version of the gd library comes with PHP? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] gd library 1.6 or younger

2002-01-30 Thread Ed Lazor
I'm trying to play with the gif functions this program supports. I'm having trouble finding it. Could someone e-mail it to me? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP] PHP Graphics Support

2002-01-31 Thread Ed Lazor
I must be doing something wrong and I'm wondering if someone here can help me figure out what it is. The goal is to add graphics support to my PHP installation. The test is a web page with the imagecreate function. Right now I receive Fatal Error: call to undefined function. Here's technic

Re: [PHP] gd library with GIF support

2002-01-31 Thread Ed Lazor
>Therefore it would be recommended to avoid problems in the future and >use PNG instead, however, if you want to use transparency in your images >bear in mind that a number of implementations do not support this. >For example the quicktime plugin that handles PNGs in Netscape 4.x . Yea... the ma

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor
> > > I would like to send an e-mail (the same e-mail) to 1,000 different > > people. > > > I want each persons name to be in the "To:" field. Is there a way to > > > customize it to where it can say Dear (having a different persons > name > > > corresponding to an e-mail address) so that i

RE: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor
At 06:25 PM 2/2/2002 -0500, Chris Cocuzzo wrote: >Godamnit. Shut-up about this already for godsakes and answer the >original question!! LOL hehe good point Chris. >"Ben Clumeck" <[EMAIL PROTECTED]> wrote in message > > I would like to send an e-mail (the same e-mail) to 1,000 different > > peop

Re: [PHP] RANT: Why doesn't PHP have built-in support for dynamic image generation?

2002-02-02 Thread Ed Lazor
Hi Erica, I feel your pain - I've been dealing with the same thing this week. I finally got the compile to complete and the system up and running, but it was painful. It seemed like everything was finished, but I've noticed high server loads (.8), trouble accessing web pages (I tested using

[PHP] include_path auto_prepend

2002-02-03 Thread Ed Lazor
Ack... I recompiled my server and screwed something up in the process. PHP files are parsed, but the include_path and auto_prepend variables are now ignored in my httpd.conf file. Any idea of what I did? I'm using virtual hosts and have php_value include_path php_value auto_prepend in virtu

[PHP] help - config setting directives in Apache config files not working

2002-02-03 Thread Ed Lazor
I found this on a web site... >When using PHP as an Apache module, you can also change the configuration settings >using directives in Apache configuration files and .htaccess files. What do you do if you compile apache and php together - ie. not a module? I compiled using the static method

[PHP] file redirect?

2002-02-10 Thread Ed Lazor
I'm trying to figure something out and thought I'd see if you guys have any ideas. The goal: tracking the number of downloads for files on the server. The approach: routing file downloads through /download.php like this: http://server/download.php?target=/myfile.zip What I tried that

Re: [PHP] file redirect?

2002-02-10 Thread Ed Lazor
At 12:58 AM 2/11/2002 +0200, Bogdan Stancescu wrote: >Well, you have to send the actual file - otherwise the result of a zero-length >file is not surprising at all. That makes sense. I thought the last line was doing that. How would I do it in a way that works for local and remote files? > >

[PHP] how can you tell the url of a remote script?

2002-02-20 Thread Ed Lazor
I have a script, which is called by scripts located on other sites. Is it possible to tell the url of the remote script that is calling my script? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regular expressions help please

2002-04-30 Thread Ed Lazor
I've been banging my head against regular expressions all night... help would be greatly appreciated. Could you give me examples on how to do the following? Pull everything except a specific word from a sentence. For example, pulling everything except the word run from "the water run was ste

[PHP] how do you route?

2002-05-02 Thread Ed Lazor
Is there a way to route every web page request through a specific script using PHP / Apache? I'm familiar with using ForceType to route all requests through /news/ to a script called news. Ie. ForceType application/x-httpd-php and creating a script called news

Re: [PHP] Re: how do you route?

2002-05-02 Thread Ed Lazor
cript.php > > Action php-parse /path-to/script.php > SetHandler php-parse > > >SetHandler "application/x-httpd-php" > > > > >On Thu, 2 May 2002, Ed Lazor wrote: > > > Is there a way to route every web page request through a specific sc

Re: [PHP] Virus I-Worm/Klez.H (Someone does not like me)

2002-05-02 Thread Ed Lazor
At 04:08 AM 5/3/2002 -0700, r wrote: >Hey all, >In the last 14 days i got 9 emails with this virus "I-Worm/Klez.H" >can anybody tell me how destructive this virus is and what exactly does it >do? http://www.symantec.com http://securityresponse.symantec.com/ There's a link on their main page with

[PHP] easy date question?

2002-05-28 Thread Ed Lazor
How can I find out the date of the 3rd Tuesday of any given month? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] easy date question?

2002-05-28 Thread Ed Lazor
{ $C = $Day - $MonthStartDay; } else if ($MonthStartDay > $Day) { $C = 7 - $MonthStartDay + $Day; } return ($C + 1 + $Week); } At 05:55 PM 5/28/2002 -0700, Rasmus L

[PHP] How do you setup cacheing?

2002-02-21 Thread Ed Lazor
Hello, I have been trying to figure this out for a week now, with no luck. Posts to [EMAIL PROTECTED] have gotten no response. Anyone here happen to know how to do this? I understand that Apache serves database driven web pages more quickly using a proxy / cache. Most of the tutorials I hav

[PHP] Quickbooks

2004-07-23 Thread Ed Lazor
Has anyone had success accessing Quickbooks from PHP? Sorry for asking this a second time. The first time didn't generate any response and my email server hiccuped shortly after I made the post, so I likely missed any responses sent directly to me. -Ed

RE: [PHP] Include path

2004-07-23 Thread Ed Lazor
$baseDir = $_SERVER["DOCUMENT_ROOT"]; $templatesDir = $baseDir . "/templates/"; include($templatesDir . "header.php"); include($templatesDir . "body.php"); include($templatesDir . "footer.php"); > :-) > > Good solution, but the problem is once the program is > completed it goes out of my hands

[PHP] PHP vs. Java

2004-07-26 Thread Ed Lazor
Any comments or opinions on pros and cons, especially in terms of stability, security, and future upgradability? I know this is probably one of those religious war topics, but I'd still like your feedback. -Ed

[PHP] php 5 DOM tutorials / examples?

2004-07-26 Thread Ed Lazor
Any recommendations on books, links, tutorials, etc. for PHP 5's new DOM / XML stuff? Thanks, Ed

RE: [PHP] Urgent..my MYSQL dies..

2004-07-27 Thread Ed Lazor
It depends on your configuration, OS, etc... > -Original Message- > From: Fitra Alfina [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 27, 2004 7:37 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Urgent..my MYSQL dies.. > > please give me a command line to startup MySQL using safe_mysqld -

RE: [PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread Ed Lazor
> > Can you see any obvious problems I might miss.? You're specifying a variable for the option's text, but you also need to specify the option's value. For example, if you were retrieving data from MySQL: while ($record = mysql_fetch_array($results)) { echo "" . $record["Title"] . "\

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Ed Lazor
Maybe they've upgraded something on the server that's somehow affecting your code? Against MySQL 4.0.18 Query: select NOW() Results: 2004-07-29 10:48:12 Query: select NOW()+300 Results: 20040732104424 The difference in result data format would lead to the problem you're experiencin

RE: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread Ed Lazor
Check out strtotime in the PHP manual. It gives a few examples of how to use the function that I think will answer your first question. Next, check out mktime, time, and date. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael T. Peterson > Sent: Tuesday, Au

RE: [PHP] javascript type cast OT

2004-08-03 Thread Ed Lazor
The person starting this thread has been flogged. The flogger has been flogged. The flogging floggers flogger has been flogged. And now, back to the further adventures of PHP... Hint: please kill lame thread > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent:

RE: [PHP] running a script

2004-08-03 Thread Ed Lazor
> -Original Message- > If you have register_globals on, you can access it via $id, otherwise use > $_GET['id'] Or $_POST['id'] if you're receiving data from a form (ie. processForm.php). -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

RE: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
header("Location: " . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 12:59 PM > To: Bing Du; [EMAIL PROTECTED] > Subject: Re: [PHP] Location header does not work? > > On Tuesday 03 Augu

RE: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
Oops... forgot to add https Header("Location: https://"; . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); > -----Original Message- > From: Ed Lazor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 1:36 PM > To: 'John Nichel'

FW: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
> -Original Message- > From: Ed Lazor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 2:33 PM > To: 'Bing Du' > Subject: RE: [PHP] Location header does not work? > > I tried the https address and it lagged badly on me as well. It did > even

RE: [PHP] javascript type cast OT

2004-08-03 Thread Ed Lazor
> -Original Message- > Was just wondering... Can you compile php with javascript support on a > Game Boy? Lol Nope, javascript is client-side and not part of PHP :P -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CMS Ideas Welcome

2004-08-04 Thread Ed Lazor
http://www.interaktonline.com/products/KTML/ > -Original Message- > Hi all, > > I could use some advice/pointers on a sold method for achieving this > feature on a site I am building. One of the features is an event > calendar. The events are listed by date, not in a calendar view, but a

RE: [PHP] Location header does not work?

2004-08-05 Thread Ed Lazor
I sent Bing specific code that will work: If (!IsSet($_SERVER["HTTPS"])) Header("Location: https://"; . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); Manually go to the URL specified. https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view&i d=159&Itemid=162 I

RE: [PHP] $HTTP_REFERER

2004-08-05 Thread Ed Lazor
Shaun, Jason is suggesting that you turn Norton off to help troubleshoot the problem. In other words, verify that Norton is the problem. Also, people are suggesting that the display of your web pages not depend so significantly on the HTTP_REFERRER variable. Perhaps we can help you come up with

RE: [PHP] Why do I keep getting a 501 mail error?

2004-08-05 Thread Ed Lazor
Why are you specifying the To field twice? I'd try removing the extra formatting around the email addresses for troubleshooting. > -Original Message- > From: Brian Dunning [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 05, 2004 8:43 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Why do I

[PHP] FW: IMPORTANT: Please Verify Your Message

2004-08-05 Thread Ed Lazor
Gawd this stuff sucks. Nothing like a spammer posing as the list itself and farming email addresses from members. -Ed > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 05, 2004 11:54 AM > To: [EMAIL PROTECTED] > Subject: IMPORTANT: Please

RE: [PHP] FW: IMPORTANT: Please Verify Your Message

2004-08-05 Thread Ed Lazor
> -Original Message- > Its odd, i've yet to get one of those. Either the spammers dns > doesn't resolve proper (cause my server rejects those) or if its > due to the fact I only reply-to-list. > > I'm assuming its a dns issue at this point. Hrm. But my email server rejects those also? -E

RE: [PHP] Re: IMPORTANT: Please Verify Your Message

2004-08-06 Thread Ed Lazor
In addition to what everyone else has said, and in case you're not aware of it, this type of response to spam / junk mail does two things. First, it confirms for the spammer that your address is valid - ie. Potential target for mass marketing. Second, it encourages the spammer to spam you as much

RE: [PHP] Dreamweaver & PHP

2004-08-06 Thread Ed Lazor
> Our site involves a lot of forms which our designer has churned out of > Dreamweaver. Now my task is to present the data in those forms after > retrieving it from MySql. > This takes up a lot of time and is error-prone too. Why do you say this? > Is there any better way of doing it? It d

RE: [PHP] Need Some Direction

2004-08-06 Thread Ed Lazor
Adding to what Miles says, use the fopen and fread commands (see manual on the PHP site) for accessing the PDF files so that you can send copies of them to the user. Examples are in the user comments of the manual. > -Original Message- > At 05:42 PM 8/5/2004, Aaron Todd wrote: > >So far I

RE: [PHP] Re: Getting data from table as a tree

2004-08-06 Thread Ed Lazor
You could use the value of base dir variable as a point of reference rather than having to manually configure a path in the app. > -Original Message- > news:[EMAIL PROTECTED] > > Hi > > Sometimes, some clients just want a few scripts. sometimes to fix or to > add > > some features in sites

RE: [PHP] RE: IMPORTANT: Please Verify Your Message

2004-08-06 Thread Ed Lazor
Spamcease. Apparently it's the guy's anti-spam software that automatically sends messages. Interestingly enough, I don't get one each time I send something to the list, just every once in a while. > -Original Message- > Who the hell is using this as their email address on a mailing lis

RE: [PHP] Dreamweaver & PHP

2004-08-06 Thread Ed Lazor
inayakam Murugan [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 7:46 AM > To: Ed Lazor > Subject: Re: [PHP] Dreamweaver & PHP > > On Friday 06 Aug 2004 8:00 pm, you wrote: > > > Our site involves a lot of forms which our designer has churned out > of > &g

RE: [PHP] Sessions Problem !!

2004-08-06 Thread Ed Lazor
You need to give us the error in order to help troubleshoot it. > -Original Message- > I'm kinda new at PHP and I was trying to install one of the mailing lists > and newsletter systems and during the installation process I got errors > evertime the session_start() function called .. > I

RE: [PHP] Session problems under heavy load???

2004-08-06 Thread Ed Lazor
I ran into this last month. It was a problem with the ISP's server. They were load balancing between different machines and PHP / Apache was having trouble accessing session files. > -Original Message- > From: BOOT [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 1:26 PM > To: [

RE: [PHP] Local version works - production breaks

2004-08-07 Thread Ed Lazor
It could be that you have local error reporting set to none. It could also be that you're using full paths when referencing files which then breaks when moving files to a new server. Basically, there's a lot of possibilities and I'm not going to have much luck helping unless you include error mes

[PHP] PHP performance

2004-08-10 Thread Ed Lazor
Any recommendations on how to make PHP run faster? I have a script pulling a lot of data from MySQL and generating reports and spitting out data (flush) as it's processing so I can see what's going on. It was taking around 10 seconds to process each order. I reduced the total number of orders

RE: [PHP] download script

2004-08-10 Thread Ed Lazor
The other guys addressed how to get the script working, but I thought I might also mention that you're presenting a potential security hole in your app by not filtering the file name before using it. You'll also want to use the realpath command on the full file name and path. > -Original Mess

RE: [PHP] SQL Functions

2004-08-10 Thread Ed Lazor
> > > http://pear.php.net/package/DB > > > http://pear.php.net/package/MDB > > > http://pear.php.net/package/MDB2 > > > http://adodb.sourceforge.net/ > > > http://www.phpclasses.org/browse/package/20.html > > > > I'm building a class for use with our PHP applications. > Packages > > like w

RE: [PHP] Cannot redeclare function

2004-08-10 Thread Ed Lazor
It's probably not PHP 5 and more likely that someone changed the php.ini error reporting settings in the process of upgrading (or maybe PHP 5 has a different set of default settings?). You should probably trace through your application and note what files are being loaded, in what order, etc.. so

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
> -Original Message- >This may have already been addressed, but did you index any key fields? I do have some indices created, but I'll check to see if there are more than can boost things. Thanks =) Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
Good point Jay. Luckily the server has dual 2.4gh xeon's with 2gig of ram *grin* > -Original Message- > [snip] > Any recommendations on how to make PHP run faster? > [/snip] > > A multiple CPU box. (It's a legitimate answer!) -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] download script

2004-08-10 Thread Ed Lazor
> > Why would this be a security hole if I do not filter the file name before > I > use it? > > Thanks, > > Aaron > > > "Ed Lazor" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > The other guys addressed how to g

RE: [PHP] Re: php tools

2004-08-10 Thread Ed Lazor
> -Original Message- > From: "Jay Blanchard" > > Open http://www.google.com in the browser of your choice > > Type "PHP IDE" in the little box that appears there. > > Click on the links of returned results. > > I clicked on all of the links and nothing happened except for some web > pages

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
> Lot of good that did. I just threw 8 socket 7 AMD processors into a > box, and PHP isn't even the slightest bit faster. Did you try a curveball when throwing the processors into the box? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
Thanks Vail, I'll check that out. -Ed > -Original Message- > If your problem is with a long running MySQL Query, and many of mine have > been, I would suggest you read > > http://dev.mysql.com/doc/mysql/en/Optimizer_Issues.html > > Your objective is to make sure that all your database

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
Ooo ahhh, thanks Curt =) > -Original Message- > To help figure out which queries are running slow there is the > php.ini setting: > > mysql.trace_mode=On > > Using this will have the php library analyze your queries and if > any of them do table scans php will issue a warning about it,

RE: [PHP] PHP performance [solution]

2004-08-10 Thread Ed Lazor
I added more indexes. The 20 minute report just took 40 seconds *grin* Thanks Everyone, Ed > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:07 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP performance >

RE: [PHP] PEAR SITE IF DOWN FROM MY IP

2004-08-10 Thread Ed Lazor
Probably so, because I can get there :P hehe > -Original Message- > From: Alfonso Baqueiro [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 3:14 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] PEAR SITE IF DOWN FROM MY IP > > Does pear admins custom to do nasty th

RE: [PHP] PHP performance

2004-08-10 Thread Ed Lazor
Your tag line caught my attention - have any specs on performance boosts provided by Zend? > The only host with the Zend Performance Suite! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Unleashed

2004-08-10 Thread Ed Lazor
Any idea when PHP Unleashed by John Coggeshall will be released? I've tried emailing him with no luck and the guys at Powell's don't know when it'll be available. -Ed

RE: [PHP] PHP Unleashed

2004-08-10 Thread Ed Lazor
Thanks Curt =) > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 7:53 PM > To: 'PHP' > Subject: Re: [PHP] PHP Unleashed > > * Thus wrote Ed Lazor: > > Any idea when PHP Unleashed by John Cogge

RE: [PHP] PHP logic - Whats going on here?

2004-08-11 Thread Ed Lazor
Wow, Michael. Nice response. -Ed > -Original Message- > From: Michael Sims [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 11, 2004 9:03 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] PHP logic - Whats going on here? > > Kim Steinhaug wrote: > [snip] > > For some reason the above

RE: [PHP] Mailinglists are honey for Spammers

2004-08-11 Thread Ed Lazor
> -Original Message- > SPAM wrote: > > Currently i'm working on a php script > > You forgot the part where you ACTUALLY ASK A QUESTION... Hehe I wonder if this is covered in the Newbie Guide -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

RE: [PHP] updating a frame from within php...

2004-08-11 Thread Ed Lazor
> Have been trying to find a way to do this myself. One idea I had to do > this from within PHP was to define the nav frame as a function which > would be called based on the actions in the main window. The nav frame > function would use the target elements to send their output to the > correct f

RE: [PHP] Adjust two or more mysql rows ?

2004-08-11 Thread Ed Lazor
I don't think you can have a single mysql query do what you're wanting. Break it into mutiple queries. > -Original Message- > Hi List, > > I have a qty posted via a form field, lets say 46. > > In my mysql table I have two rows which I want to reduce their qty fields. > > 1 row has a

RE: [PHP] Adjust two or more mysql rows ?

2004-08-11 Thread Ed Lazor
I think John's right. Your schema sounds like it needs some serious work, especially if you're storing identical details with every single transaction. Go back and study relational database basics before trying to create an inventory management system or you'll end up in a world of hurt. -Ed

RE: [PHP] updating a frame from within php...

2004-08-11 Thread Ed Lazor
> -Original Message- > in the event the user disbales j'script, i'm looking for an alternative... There is none. Assuming the client has disabled everything on their end means you only have HTML to work with in presenting content. Are you understanding this concept? Btw, I forgot to men

RE: [PHP] PHP logic - Whats going on here?

2004-08-11 Thread Ed Lazor
> -Original Message- > > Wow, Michael. Nice response. > > Could we please trim our posts? Thank you. Sorry. Thought I'd sent it to him only. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mod rewrite urls

2004-08-12 Thread Ed Lazor
It might be easier to do something like ForceType application/x-httpd-php Then you could have your url http://mycompany.com/view/10/?a=1&b=2&c=3 You can do the same thing with / but the scope ends up pretty big and creates a lot of extra unnecessary processing. -Ed > -Original Messa

RE: [PHP] Email Address Testing

2004-08-13 Thread Ed Lazor
Aren't there PHP SMTP classes that allow you to verify the validity of an email address? > -Original Message- > >[snip] > >Question: Is it possible to know which one of my hundreds if not > >thousands of email addresses are invalid without ever going through my > >return to sender addres

RE: [PHP] Email Address Testing

2004-08-13 Thread Ed Lazor
Right. It's been a while, but I vaguely remember playing an SMTP class a while back that would actually establish a connection with the remote server and verify whether the address was a valid recipient. Of course, I also seem to recall that it took forever and bogged up a lot on addresses like A

RE: [PHP] auto include?

2004-08-13 Thread Ed Lazor
Yea, it depends on whether your server allows you to put settings in .htaccess. Try putting an invalid command in there like NotAValidDirective and test to see if your pages stop working and whether you get a log error saying that the htaccess file includes an invalid command. -Ed > -Origin

RE: [PHP] auto include?

2004-08-13 Thread Ed Lazor
> > Jon > > On Aug 13, 2004, at 7:10 PM, Ed Lazor wrote: > > > Yea, it depends on whether your server allows you to put settings in > > .htaccess. Try putting an invalid command in there like > > NotAValidDirective > > and test to see if your pages stop

RE: [PHP] String compare of 7 text strings

2004-08-13 Thread Ed Lazor
Nice solution =) > -Original Message- > sort ( $array ); > if ( $array[ 0 ] !== $array[ count ( $array )-1 ] ) { > // Not all fields in the array are the same... > } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php+iptables

2004-08-14 Thread Ed Lazor
You might want to do a search for "PHP Firewall" and look at the other projects already out there. http://phpfwgen.sourceforge.net/ > -Original Message- > From: Joel n.solanki [mailto:[EMAIL PROTECTED] > Sent: Friday, August 13, 2004 9:53 PM > To: Robby Russell > Cc: php-users > Subject:

RE: [PHP] RIP Programming

2004-08-14 Thread Ed Lazor
Did you Google? "RIP programming"? And if that doesn't work, you'll probably have to clarify the term RIP. > -Original Message- > From: Harlequin [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 14, 2004 11:47 AM > To: [EMAIL PROTECTED] > Subject: [PHP] RIP Programming > > I know,

RE: [PHP] Language Searching

2004-08-14 Thread Ed Lazor
You should probably run this past the MySQL mailing list. They'll have a lot more success on how to search the database like this. -Ed > -Original Message- > From: Karl Timmermann [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 14, 2004 12:16 PM > To: [EMAIL PROTECTED] > Subject: [PH

RE: [PHP] newbie again, submit buttons don't work

2004-08-15 Thread Ed Lazor
Assuming you're using post, add $cmd = $_POST["cmd"]; Before you use $cmd and see if that makes a difference. If it does, register globals is likely disabled which is good. > -Original Message- > From: yawstick [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 15, 2004 7:58 AM > To: [E

RE: [PHP] Compile

2004-08-16 Thread Ed Lazor
Is it true that turck is faster than Zend? > i think you are looking for something like turck mmcache. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Compile

2004-08-16 Thread Ed Lazor
Wow. I just saw the $2,880 price tag on the Zend Encoder. I guess Turck is better?! Who cares if it's a little bit slower than Zend (or even faster according to the Turck site). That's a lot of moola! > -Original Message- > http://www.zend.com/store/products/zend-encoder.php > > On Mo

RE: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-16 Thread Ed Lazor
Geesh, this sounds scary. Are you requiring account login before processing payments? > -Original Message- > I have a simple PHP store, and it appears that someone is using it to > test credit card numbers. I'm getting a very high number of small > orders every day, but a lot more decline

RE: [PHP] CSRF attack not possible in I.E. 6.01 SP1?

2004-08-16 Thread Ed Lazor
> -Original Message- > Jay Blanchard wrote: > > FYI -> This is (or use to be) a PHP list > > If I have a web server running php, how do I change the oil in my car? Have you tried the OilChange class from PHPClasses.org? ;) -Ed -- PHP General Mailing List (http://www.php.net/) To unsubs

RE: [PHP] CSRF attack not possible in I.E. 6.01 SP1?

2004-08-16 Thread Ed Lazor
What if you add a random seed to the URL? > -Original Message- > Hello Chris, > > I can't share the exact code ;) , but here is something very similar: > > http://slashdot.org/my/logout"; height="1" width="1"> > > If I load a web page with the above code, it should log me out of > s

  1   2   3   >