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

2004-08-16 Thread Ed Lazor
> -Original Message- > The best information would be if you can capture the exact HTTP > transactions involved. For example, using something like ethereal, capture > the request and response for Mozilla, and then do the same for IE 6.01 > SP1. > > Short of that, you could create a URL spec

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

2004-08-16 Thread Ed Lazor
> -Original Message- > Definitely, but most CSRF attacks are meant to spoof a request from the > legitimate user to some Web site where he/she already has privilege. Thus, > the receiving site is usually as much the victim as the user. > > I'm not sure if that makes any sense... :-) It do

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

2004-08-16 Thread Ed Lazor
> -Original Message- > So now I am completely clueless as to why this particular attacks works in > Mozilla but not in IE. Could you describe the problem again and give full detail? I think we need to better model the problem in order to present a more effective solution. The link below

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

2004-08-16 Thread Ed Lazor
I was able to confirm / reproduce what you're experiencing. I was also able to confirm that toggling IE 6's acceptance of 3rd party cookies changes the behavior. Create an HTML on your local machine with the following line: http://www.atfantasy.com/test/image_status.php";> It'll load an image t

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

2004-08-16 Thread Ed Lazor
> -Original Message- > However a CSRF attack is NOT trying to access a third party cookie. > > The web browser make the same GET request whether it is using TAG > or the user clicking on a link. So in either case the cookies are in the > context of the website to which the cookies belong.

[PHP] FirstPay.net

2004-08-17 Thread Ed Lazor
Does anyone have information on PHP and FirstPay.net? I'm looking at using them to do credit card processing and wondering how easy it will be to communicate back and forth with them, whether scripts are available, etc.. Thanks, Ed

RE: [PHP] OO Theory Question

2004-08-17 Thread Ed Lazor
> -Original Message- > > The real reason for having the login class like this is to eliminate > > database calls. I thought I could have one session variable that said yo > > uwere logged in, but then the database calls would still have to be made > on > > each page. Playing Devil's Advoca

RE: [PHP] OO Theory Question

2004-08-17 Thread Ed Lazor
> -Original Message- > I don't know - is it? I would think so. It's optimized for speed on small data sets. Does anyone else have an opinion on this? -Ed > > > "Ed Lazor" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]

RE: [PHP] RE: [SPAM] Re: [PHP] Sessions vs. IE security

2004-08-24 Thread Ed Lazor
> -Original Message- > Thanks for help. I have set up p3p policy to my site.. I passed it trouth > validator and IE can find privacy policy but it still doesn't allow me > cookies... I can't find information what exactly to specify in privacy > policy IE allows me third party cookies... >

RE: [PHP] PHP Oficial Certification

2004-08-26 Thread Ed Lazor
The site has a spot where you can search for locations in your area that give the test. Buy a voucher and then call the nearest place giving the test and schedule to take it. > -Original Message- > From: Matt M. [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 26, 2004 9:30 PM > To: Cur

RE: [PHP] PHP Oficial Certification

2004-08-28 Thread Ed Lazor
> -Original Message- > Of course, we tried very hard to make this one have a fair amount of value > but not just be difficult for the sake of being difficult. Why not offer multiple PHP certifications varied by topic and complexity? Will certs expire? =) -- PHP General Mailing List (h

RE: [PHP] PHP Oficial Certification

2004-08-28 Thread Ed Lazor
> Well i think in a way that getting programmers certified is one thing. I > also think that there might be a need for software certification. > Where it would validate that the standars have been fallowed, check the > quality of the code, check for security, check for proper docummentation > (comm

RE: [PHP] 5.0.1 broke mbstring regex?

2004-08-29 Thread Ed Lazor
> I feel it may actually be a PHP error with mbstring regex in the > newest PHP 5.0.1 - but won't know until another PHP user on another > platform gives it a try. Have you checked OS library dependencies? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

RE: [PHP] Hire a developer

2004-08-29 Thread Ed Lazor
> -Original Message- > joshua wrote: > > > If you wish to have more > > information on this project, please contact me off-list: > > joshua$abbott[at]crystalstream[dot]net > > > > replacing: > > $ with . > > [at] with @ > > [dot] with . > > I am interested. Can you please contact me at >

RE: [PHP] Weblog -Blog software wrtten in PHP and My SQL

2004-08-31 Thread Ed Lazor
> -Original Message- > Does anyone know of Blog sw available in the marketplace written in PHP > and > maybe MySQL? Go to Google and search for "blog php". I just did and there were several options available. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] General copyright question

2004-09-01 Thread Ed Lazor
Google: "how to copyright" > -Original Message- > From: Kevin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 8:41 PM > To: [EMAIL PROTECTED] > Subject: [PHP] General copyright question > > Hi there, > > I have seen some scripts that are copyrighted and one can not modi

RE: [PHP] Session understanding

2004-09-02 Thread Ed Lazor
> -Original Message- > ... Is there a better way to do this ... I was hoping to not have to pass > variables between each page by including them > in the URL. How come? It sounds like you're going to end up adding a lot of complexity to the app if you're just trying to hide a specific com

[PHP] PHP OOP Question

2004-09-07 Thread ed . lazor
Is it bad practice for a class to have a variable and method of the same name? For example: class product { var $Name; function Name() { return stripslashes($this->Name); } } Thanks, -Ed This message was se

[PHP] image size?

2004-09-09 Thread Ed Lazor
Is there a way to get the size of an image created using the imagecreate function? The PHP manual section on image functions mentions getimagesize, but that only works on remote or local files. Thanks, Ed

RE: [PHP] Re: image size?

2004-09-09 Thread Ed Lazor
> -Original Message- > Ed Lazor wrote: > > Is there a way to get the size of an image created using the imagecreate > > function? > > I'm guessing it would be xsize x ysize x colour depth = size in bits ? What's the default color depth? -Ed

RE: [PHP] image size?

2004-09-10 Thread Ed Lazor
> -Original Message- > On Friday 10 September 2004 06:59, Ed Lazor wrote: > > Is there a way to get the size of an image created using the imagecreate > > function? > > Size as in ... ? I was looking for the size of the image in bytes. -Ed -- PHP Ge

[PHP] PHP5 OOP

2004-09-10 Thread Ed Lazor
Any recommendations on the best PHP5 OOP book to get? I have Advanced PHP Programming by George Schlossnagle. It's turning out to be a great book, but I'd like to read more on PHP5 OOP. The first chapter recommends two books, but both deal with OOP from the perspective of C++, C#, and Perl.

RE: [PHP] PHP5 OOP

2004-09-10 Thread Ed Lazor
Thanks everyone for the recommendations =) > -Original Message- > On Fri, 10 Sep 2004 15:09:57 -0700, Ed Lazor <[EMAIL PROTECTED]> wrote: > >Any recommendations on the best PHP5 OOP book to get? I have Advanced > PHP > >Programming by George Schlossnagle. It&

[PHP] Class dependencies

2004-09-11 Thread Ed Lazor
I'm creating classes that rely on the presence of other classes that I've created. Does PHP5 provide a way to specify these dependencies or a way to check these dependencies when the class is instantiated? For example, class Automobile would fail to instantiate if class Tire wasn't available. I

RE: [PHP] Class dependencies

2004-09-11 Thread Ed Lazor
> -Original Message- > What you can do is something like this: > > 1> function __autoload($class_name) { 2> static $_stack = array(); 3> 4> // push the calls of autoload here 5> array_push($_stack, $class_name); 6> 7> if ( [EMAIL PROTECTED]("$class_name.php") || 8>!cl

RE: [PHP] Enabling PHP5's SOAP on Windows

2004-09-11 Thread Ed Lazor
Add to php.ini Extension=php_soap.dll I didn't see a line in php.ini to uncomment, but I found a page that confirmed this: http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Windows/Q_21080398 .html > -Original Message- > From: John Smith [mailto:[EMAIL PROTECTED] > Sent: Satur

RE: [PHP] Convert textarea post data from plain text to html using php..how?

2004-09-11 Thread Ed Lazor
> -Original Message- > On Sunday 12 September 2004 07:01, Brent Clements wrote: > > Do you guys happen to have an easy easy to do this? > > > > I need to convert plain text submitted via a textarea form field to html > > formatted text. > > > > Is there a way to do this with php? > > $ht

RE: [PHP] MS Outlook 2003 Mail listing

2004-09-12 Thread Ed Lazor
Check out the manual on the date function. It allows you to get names from dates. The PEAR date stuff will allow you to do date math. > -Original Message- > From: Rajesh [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 12, 2004 10:04 PM > To: [EMAIL PROTECTED] > Subject: [PHP] MS Outl

RE: [PHP] Class Instance Inheritance

2004-09-13 Thread Ed Lazor
Here's one way, but this may not be completely what you want because the value of variable foo doesn't change. -Ed Class foo { Static $foo; Function foo() { $this->foo = 10; } } > -Original Message- > From: Gerard Samuel [mailto:[EMAIL PROTECT

RE: [PHP] Can I name a session variable using another variable?

2004-09-13 Thread Ed Lazor
Here's another option as well, in case it helps out: $var1 = "Pizza"; $var2 = "var1"; $var3 = $$var2; print "var3 = $var3"; Output: var3 = Pizza > -Original Message- > Ok, assuming everything's working correctly except for the use of > $prevtime in the SESSION, then here's one answer

[PHP] extended class question

2004-09-13 Thread Ed Lazor
How come the output to this script is "World Trade Center" instead of "Pizza Delivery"? Thanks, Ed var1 = "World Trade Center"; } function get_var1() { return $this->var1; }

RE: [PHP] Re: image size?

2004-09-13 Thread Ed Lazor
es the size of the > created image based on the dimensions of the original. > > Paul Birnstihl wrote: > > > Ed Lazor wrote: > > > >> Is there a way to get the size of an image created using the > imagecreate > >> function? > > > > &

RE: [PHP] extended class question

2004-09-13 Thread Ed Lazor
> Because test's var1 is private. > > test->var1 isn't accessible by class testing, so the assignment you're > doing in testing's constructor is assigning "Pizza Delivery" to > testing->var1 instead. > > When you call $test2->get_var1() you're calling the parent's get_var1() > method, which print

RE: [PHP] Re: image size?

2004-09-14 Thread Ed Lazor
> -Original Message- > Let me explain more fully: > I call a script like this: > > > > The script figures out if the image named in $_GET['file'] is portrait > or landscape, and creates a thumbnail of the same orientation. I would > like to get the x and y values of the image out of t

[PHP] Image question

2004-09-14 Thread Ed Lazor
PHP's creating an image and I'm trying to store it into MySQL. Instead of raw binary data, all I'm getting is a resource reference. To test this and keep things as simple as possible, I took and created an image with createimagefromjpeg. Here's some example code of what I'm talking about: $url

RE: [PHP] Image question

2004-09-14 Thread Ed Lazor
Got it. Thanks Jason. > -Original Message- > > Imagejpeg($im); // successfully displays image > > Use the ob_*() functions to capture the output. See archives for details. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image question

2004-09-14 Thread Ed Lazor
data from the database in a way that I can continue to manipulate it with the image functions, like imagejpeg($data)? Thanks, Ed > -Original Message- > From: Ed Lazor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 14, 2004 5:20 PM > To: 'Jason Wong'; [EMAIL PRO

RE: [PHP] mysql_connect does not connect

2004-09-18 Thread Ed Lazor
This has got to be one of the funniest threads I've seen on the PHP list in a really long time. However, unless someone can come up with more humorous replies, I vote that it be killed. -Ed > -Original Message- > From: Jason Davidson [mailto:[EMAIL PROTECTED] > Sent: Saturday, Septem

RE: [PHP] List Etiquette

2004-09-18 Thread Ed Lazor
> -Original Message- > >What side is that? Doesn't it depend on national preference? > > When I overtake others, I usually take to the other lane ... is that the > wrong side, or the right side of the road, for what I'm doing ? Depends on your perspective :P hehe -Ed -- PHP General Mai

RE: [PHP] Does PHP need another mailing list???

2004-09-22 Thread Ed Lazor
Here's are two ideas: 1. Add a section to the PHP mailing list page with information on where to find official mailing lists for Apache, Javascript, and MySQL. Also add a link to the FAQ section created in idea #2. 2. Add a new FAQ section on what information to collect when troubleshooting PH

RE: [PHP] intenger

2004-10-14 Thread Ed Lazor
Do you mean an integer? As in $i = 5; Print $i; ? > -Original Message- > From: Juan Pablo Herrera [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 14, 2004 10:19 AM > To: [EMAIL PROTECTED] > Subject: [PHP] intenger > > Please, i need output a intenger, what function can i use f

RE: [PHP] User Defined Forms

2004-10-14 Thread Ed Lazor
> I have interviewed a few users and it has become instantly > apparent that > they all work differently and record slightly different > information about > their clients making it impossible to produce a general set > of forms that > would encompass all users. I haven't done any other forms of

RE: [PHP] Strange Problem with ctype_digit

2004-09-27 Thread Ed Lazor
> -Original Message- > CODE: > print ctype_digit( 1094164380 ); > ?> > END OF CODE > > When I run the above code, my apache server performs an illegal operation > and shuts down. It will keep doing this every 20 seconds or so until you > restart/stop the server manually. Does anyone else

[PHP] regular expression help

2004-09-28 Thread Ed Lazor
Today I discovered that my ISP can't upgrade to PHP 5. They use Plesk for server Administration and PHP 5 apparently breaks Plesk. Plesk says they'll make PHP 5 support available as soon as it starts coming default on RedHat Enterprise. Unfortunately, I now have a bunch of scripts that require

RE: [PHP] regular expression help

2004-09-29 Thread Ed Lazor
Thanks to everyone who sent in patterns =) They worked like a charm =) > > $pattern = "/\{\$(.+?)\}/i"; > $replacement = "\"\.\$$1\.\""; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Images in PHP and MySQL

2004-09-30 Thread Ed Lazor
Images take up more space when stored in the db, because you're storing raw binary data. Gif and jpeg are compression methods that convert binary data into something smaller that can be stored in a file. The recent tests I did took 270megs of images and stored them into 180megs of jpg files. -Ed

RE: [PHP] Stored procedures in Mysql

2004-09-30 Thread Ed Lazor
> -Original Message- > Not Really. Are you sure? http://dev.mysql.com/doc/mysql/en/Stored_Procedures.html > > On 30 Sep 2004, at 21:50, Sagar C Nannapaneni wrote: > > > Hi folks, > > > > I wonder whether Mysql supports procedures and triggers > > > > :? > > > > /sagar -- PH

[PHP] array sort question

2004-10-01 Thread Ed Lazor
Any ideas on how I could sort this array by Title? $menu[1]["ID"] = 5; $menu[1]["Title"] = "Test 1"; $menu[2]["ID"] = 3; $menu[2]["Title"] = "Test 4"; $menu[3]["ID"] = 56; $menu[3]["Title"] = "Test 8"; $menu[4]["ID"] = 44; $menu[4]["Title"] = "Test 3"; Thanks, -Ed

RE: [PHP] array sort question

2004-10-02 Thread Ed Lazor
Thanks for the example using array_multisort. I'd been wondering how I could use that function to do what I want. It looks like it's more flexible in the long run, but I was able to use Paul's recommendation to do what I want. Here's the code I ended up using: function cmp ($a, $b) { return

[PHP] Question about handling credit cards

2004-10-04 Thread Ed Lazor
I'm looking at online stores and it seems like a lot of them maintain copies of credit card numbers. Is this true? That seems like a "bad thing" to me, especially in terms of liability and risk of hackers. On the flip side, it seems like there are legitimate reasons. For example, if you bill th

[PHP] UPS Online Tools and PHP?

2004-10-04 Thread Ed Lazor
Has anyone integrated the UPS Online Tools with their site using PHP? http://www.ups.com/content/us/en/bussol/offering/technology/automated_shippi ng/online_tools.html -Ed

RE: [PHP] Re: UPS Online Tools and PHP?

2004-10-05 Thread Ed Lazor
Thanks Manuel, I'll check it out. -Ed > -Original Message- > http://www.ups.com/content/us/en/bussol/offering/technology/automated_ship > pi > > ng/online_tools.html > > You may want to take a look at this class that supports UPS: > > http://www.phpclasses.org/shiptrack -- PHP Genera

RE: [PHP] A question of style....

2004-10-05 Thread Ed Lazor
Chapter 1 of Advanced PHP Programming, by George Schlossnagle, ISBN 0-672-32561-6. http://www.blueshoes.org/en/developer/coding_guidelines/ > -Original Message- > So I'm sitting here writing code and I'm thinking about my own style of > writing > and formatting my php code(I use a mix of

RE: [PHP] Order of extensions in php.ini matters?

2004-10-05 Thread Ed Lazor
You have the correct order. Exif relies on functionality provided by mbstring.dll, therefore it must be loaded after it. > -Original Message- > I'm trying to use the EXIF extension (PHP 5, Windows > XP). Order didn't seem to matter before (PHP 4). But > now, if my php.ini is like: > > ex

RE: [PHP] Images in PHP and MySQL

2004-10-06 Thread Ed Lazor
> On Friday 01 October 2004 05:52, Ed Lazor wrote: > > Images take up more space when stored in the db, because you're storing > raw > > binary data. Gif and jpeg are compression methods that convert binary > data > > into something smaller that can be stored in a

RE: [PHP] Muti-Dimensional Array Help Please

2004-10-07 Thread Ed Lazor
> -Original Message- > From: Nick Wilson [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 6:40 AM > To: php-general > Subject: [PHP] Muti-Dimensional Array Help Please > > hello all, > > I have some text files in a directory that contain newline delimited IP > addresses. Here

[PHP] mcrypt install question

2004-10-07 Thread Ed Lazor
PHP is installed from rpm's. Is it possible to install mcrypt / libmcrypt from rpm and enable it in PHP without having to recompile? Thanks, Ed

RE: [PHP] anonymous from address using mail()

2004-10-07 Thread Ed Lazor
$mail_from = "From: Sagar"; > -Original Message- > Hi all, > > I'm using mail("[EMAIL PROTECTED]",$subject,$message,$mail_from); > > But i get an email with a from address as anonymous@ > > I want to show the from address to be like "From : Sagar" > plzz help me out > > /sagar -- PHP

RE: [PHP] session_save_path

2004-10-07 Thread Ed Lazor
Can you do an .htaccess solution? If so, you could probably just set session save path with PHP_VALUE in the .htaccess file > -Original Message- > From: Al [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 8:25 AM > To: [EMAIL PROTECTED] > Subject: [PHP] session_save_path > >

RE: [PHP] mcrypt install question

2004-10-07 Thread Ed Lazor
Did you install it and PHP automatically recognized things or did you have to enable something in php.ini and restart? I checked the php.ini file on the server and there's nothing mycrypt or crypt. > -Original Message- > On Thu, 7 Oct 2004 08:37:19 -0700, Ed Lazor <[E

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Ed Lazor
> The most strange thing is, that the problem appeared at a > time, when no > changes to the program was made. > > ANYBODY RAN INTO SOME SIMILAR THING? I haven't run into this, but it'll be easier to help troubleshoot this if you could post sample code.

RE: [PHP] 'Intelligently' truncate string?

2004-10-19 Thread Ed Lazor
or after the entity, since when displayed it will only > equate to one > character more or less. Check out the user contributed notes in manual for substr. There's an example there of how to keep words intact and it sounds like it might apply to your situation. Ed Lazor, President http:

RE: [PHP] CPU usage @5% during 2 minutes

2004-10-19 Thread Ed Lazor
> >How any rows are you pulling from the database? > aprrox. 12.000 but there are only around 50-100 new rows at a maximum > within a day, and there were almost as many before the > problem appeared. You're creating a form with over 12,000 options in a select statement? > > > >What's the very

[PHP] PHP Sessions Question

2004-07-08 Thread Ed Lazor
What kind of problems could be happening server-side that would result in PHP sessions randomly disappearing? And, is there a way to log or track this information? Oh, and best of all, any recommendations on solutions? I have a PHP / MySQL application that's been running at a host provider fo

[PHP] PHP Hosting

2004-07-08 Thread Ed Lazor
Hey, does anyone have experience hosting PHP / MySQL apps on EV1servers.net, ServerBeach.net, or CIhost.com? I'm looking for value, reliability, and quality support. Any other recommendations are also greatly appreciated. -Ed

RE: [PHP] Re: PHP Sessions Question

2004-07-08 Thread Ed Lazor
Thanks Jason, I'll keep the information handy for creating my own session handler in case other options I'm exploring right now don't work. On garbage collection, it happens sometimes within seconds and sometimes within minutes. It tends to occur in batches with lulls of 20 to 30 minutes. So, fo

RE: [PHP] Any suggestion for my php project?

2004-07-09 Thread Ed Lazor
Track activity using a web log analyzer rather than trying to integrate something with the site. Try webtrends.com for an example. > hi, all: > We have a bioinformatic website that focus on experiment submission and > data analysis. The old site was written in PHP. Now, we try to > re-organize

[PHP] search string / query format

2004-07-09 Thread Ed Lazor
I'm going to create a search page that accepts input similar to places like Yahoo and Google. Example input would be: Keyword AND keyword2 Keyword -keyword2 +keyword3 "keyword keyword2" -keyword3 Rather than reinvent things though, I'm wondering if anyone here happens to have a script o

RE: [PHP] search string / query format

2004-07-09 Thread Ed Lazor
> -Original Message- > > I'm going to create a search page that accepts input similar to places > like > > Yahoo and Google. > [snip] > > Also, I've heard that MySQL's indexing can > > support some of this, but I'm not sure how much. > > Using a FULLTEXT index and searching in BOOLEAN m

RE: [PHP] CMS solution + web sites in CVS.

2004-07-11 Thread Ed Lazor
Hey Lukasz, I had a similar situation. Documents are now stored in MySQL. Authors can log in and add or edit their own documents. I control the look and feel of the main site. You can see an example by creating an account on AtFantasy.com and logging in. It takes advantage of modules from Int

RE: [PHP] php reserved characters...

2004-07-12 Thread Ed Lazor
> can someone > > point me to a list of the actual php reserved > > chars/words couldn't seem to track them down > > on the php site/google... http://www.php.net/manual/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Opinion: PHP Sessions or Cookies

2004-07-13 Thread Ed Lazor
I'm using PHP sessions for user tracking. My host provider's server is dropping session data. He swears it's my scripts and says I should be using cookies for better security. That goes completely opposite to my understanding, so I'd like to run it by you guys. Which is more secure: PHP session

RE: [PHP] Opinion: PHP Sessions or Cookies

2004-07-13 Thread Ed Lazor
> -Original Message- > Looks like /tmp directory is out of space. Change the directory to your > own, it's more secure anyway. I keep watching and /tmp seems ok space-wise, but I like the idea of overriding where session files are stored. I just made that change and I'm waiting for feed

[PHP] FW: NO SUCH ADDRESS

2004-07-13 Thread Ed Lazor
Am I the only one getting these every time I post to the list? > -Original Message- > From: GUNSMOKE MAIL DAEMON [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 13, 2004 3:13 PM > To: Ed Lazor > Subject: NO SUCH ADDRESS > > This is an automated message fro

RE: [PHP] encryption needed?

2004-07-13 Thread Ed Lazor
I wouldn't encrypt the ID, but I can't help wonder why you don't want people knowing the company's ID. They can get access to it if you're storing it client-side. This is like using a single script to view documents where you provide the ID of the document to display. http://localhost/view.php?I

RE: [PHP] FW: NO SUCH ADDRESS

2004-07-13 Thread Ed Lazor
> -Original Message- > Everyone is getting it. But we cannot know wich address is giving back > this message, as it is not reported. Just we know the domain it comes > from. The guy lists [EMAIL PROTECTED] as his email address on the site. I bet that's the one bouncing. -Ed -- PHP Gene

RE: [PHP] A question not directly related to PHP

2004-07-13 Thread Ed Lazor
How are you resolving hostnames? Are relevant IPs/Hostnames in your hosts file? Does the local machine have mynotebook mapped to 127.0.0.1? > -Original Message- > A curious thing has been happening. When I run the PHP script on my > machine using localhost, the script executes perfectl

RE: [PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Ed Lazor
> -Original Message- > have you tried storing your session data in a database? Storing session > data > in a database has some advances over the standard file based solution, > mainly data security und comfort. For example, if you want to get the > number > of the active sessions just do

[PHP] Dynamic to Static

2004-07-14 Thread Ed Lazor
Is anyone taking a dynamic PHP / MySQL site and storing or cacheing it statically in order for pages to display more quickly when visitors access the site? If so, what solutions are you using to achieve this? Thanks, Ed

RE: [PHP] upload an image and store it in mysql

2004-07-14 Thread Ed Lazor
You're seeing raw data and need to specify the mime type with headers. Search the mailing list archive, there's a few example scripts in there. Just keep in mine that you need to create a separate script that handles the display of images. > Thanks, that seems to work. Although trying to ret

RE: [PHP] RE: php vs. cgi app

2004-07-15 Thread Ed Lazor
> -Original Message- > When you say cgi vs. php, I'm going to assume you mean cgi versus apache > module (correct me if I misunderstand). To be honest I don't know > enough about the internals of the apache module to tell you why it's > better for an apache server (would love it if someone

RE: [PHP] track click throughs

2004-07-15 Thread Ed Lazor
Check the script that records the click. It shouldn't have any output, spaces, or extra lines before or after > -Original Message- > From: cab [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 15, 2004 9:39 PM > To: [EMAIL PROTECTED] > Subject: [PHP] track click throughs > > Hi, > > n

RE: [PHP] Using SSL and PHP

2004-07-16 Thread Ed Lazor
You add an S to http ;) Beyond that, some servers allow one webspace for your files and encryption is based on whether you specify the S or not. Some servers have separate directories for http and https files. > -Original Message- > Hi everyone. > > We've recently decided to move all o

[PHP] RedHat Network Up2Date

2004-07-17 Thread Ed Lazor
Is the RedHat Network Up2Date really only on version 4.3.2 of PHP? If so, any idea why they're so far behind? Any idea of when it will be brought current? I have an ISP telling me that the security of their systems rely entirely on the RedHat Network. They acknowledge that RedHat's behind an

RE: [PHP] php.net like doc pages

2004-07-17 Thread Ed Lazor
phpNuke is also popular. > -Original Message- > You could always use a wiki. ;-) I've found tikiwiki to be very well > suited to such things. > > On Sat, 17 Jul 2004 17:44:29 -0500, [php]Walter <[EMAIL PROTECTED]> > wrote: > > Anyone know a blog (I think) that will let me create documenta

RE: AW: [PHP] Sending the output of a web page to a printer

2004-07-21 Thread Ed Lazor
You can also use wget to grab the web page and then pipe it to lpr > -Original Message- > > OK, but here's the rub: > > > > I need to print a web page. Any ideas? > > > > you should be able to use > > exec('lpr page.html'); -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: AW: [PHP] Sending the output of a web page to a printer

2004-07-21 Thread Ed Lazor
Can you already send jobs to the printer from SSH? > -Original Message- > From: Vern [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 21, 2004 3:27 PM > To: [EMAIL PROTECTED] > Subject: Re: AW: [PHP] Sending the output of a web page to a printer > > OK, welll this may be off topic then,

[PHP] Quickbooks

2004-07-21 Thread Ed Lazor
Anyone have info on integrating Quickbooks / PHP / MySQL? -Ed

RE: AW: [PHP] Sending the output of a web page to a printer

2004-07-21 Thread Ed Lazor
The example depends on how you're printing from SSH. You'll need to check whether wget is available on the system as well. "man wget" to see it's various parameters. wget http://www.yahoo.com | lpr but like I say... it depends on a few things on your end... > -Original Message- > Th

RE: [PHP] using exec/system function within php/apache app

2004-07-21 Thread Ed Lazor
Use the PHP passthru function. The manual has examples of how you can get the output from your commands in order to test things. > -Original Message- > hi... > > i'm trying to track down issues that i seem to be having with using > exec/system shell functions within web/php apps on apa

[PHP] PHP 5 Hosting

2006-10-11 Thread Ed Lazor
Anyone ever use A2Hosting.com? Or better yet, any recommendations on a PHP 5 web hosting company that you're happy with - measured in terms of quality support, they know what they're doing, and they have good prices? Bonus points for good drive space, bandwidth, and SSH access. I ran a

Re: [PHP] PHP 5 Hosting

2006-10-12 Thread Ed Lazor
Thanks for the feedback Kyle, much appreciated. DreamHost does look pretty good price-wise. Two others I was referred to are HostBaby.com and OCSSolutions.com. Have a good one :) -Ed On Oct 11, 2006, at 10:12 PM, Kyle wrote: Hello, I would suggest dreamhost at www.dreamhost.com. Their

Re: [PHP] OOP slow -- am I an idiot?

2006-10-12 Thread Ed Lazor
On Oct 12, 2006, at 10:18 AM, Richard Lynch wrote: I can't architect a good OOP solution to a problem that hasn't been fully defined, any more than one can architect a house without knowing all the rooms that are needed... Sorry to jump into the middle of the conversation, but I thought this

Re: [PHP] OOP slow -- am I an idiot?

2006-10-12 Thread Ed Lazor
Comments / Questions below. On Oct 12, 2006, at 12:15 PM, Stut wrote: Except that is the attitude that leads to painful OOP in PHP. PHP is not the same environment as C++. The environment (classes, objects, etc) needs to be created and destroyed with each request. I definitely agree that P

Re: [PHP] OOP slow -- am I an idiot?

2006-10-12 Thread Ed Lazor
On Oct 12, 2006, at 4:36 PM, Stut wrote: You may end up refactoring code if your application changes that much, but a good OO design should also mean that when changes of that magnitude occur the changes required are limited to relatively small sections of code. Ok, I think we're using t

Re: [PHP] canon jpegs

2006-10-12 Thread Ed Lazor
Until someone has more specific information, my first thought was to wonder which version of PHP and GD you're using in case they aren't the latest and greatest. If you're aren't, then I'd upgrade, retest, and go from there. I'd also check to see if you run into the problem with images fr

Re: [PHP] OOP slow -- am I an idiot?

2006-10-13 Thread Ed Lazor
On Oct 13, 2006, at 1:35 AM, Tony Marston wrote: What a coincidence! That's exactly my approach, but I've taken it one step further. I always start with a properly normalised database which I can then import into my daa dictionary application. From there I can press a button and create a c

Re: [PHP] OOP slow -- am I an idiot?

2006-10-13 Thread Ed Lazor
On Oct 13, 2006, at 1:54 AM, Stut wrote: Youch!! Your implementation seems to be focused on development efficiency rather than runtime efficience. In all but rare research projects this is backwards for a web-based system. This is exactly the practice I am trying to discourage. It's a well-

Re: [PHP] Send process to background

2006-10-13 Thread Ed Lazor
On Oct 13, 2006, at 12:12 PM, Richard Lynch wrote: On Fri, October 13, 2006 11:05 am, André Medeiros wrote: I am working on a backup system that needs to be called through a webpage to start the process. I am trying to do this on a one-file-only sollution. The thing is, the first request to t

Re: [PHP] Windows ENV['_'] equivalent

2006-10-13 Thread Ed Lazor
On Oct 13, 2006, at 11:53 AM, Richard Lynch wrote: So, I have this automated testing script I wrote, and I want to make it work on more than just my computer. In cygwin, and in Linux, EVN['_'] has the nice path to the binary CLI which is running -- which I call again in a backticks for each te

<    1   2   3   >