Re: [PHP] Creating a text file

2007-07-27 Thread Richard Lynch
On Mon, July 23, 2007 8:10 am, Daniel Brown wrote: On 7/20/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, July 19, 2007 8:33 am, Daniel Brown wrote: extract($_POST); You might as well just turn register_globals back ON (bad!) because you've just done a work-around on $_POST

Re: [PHP] How to skipping the range of values from each element of array??

2007-07-27 Thread Richard Lynch
On Sat, July 21, 2007 3:19 am, Jim Lucas wrote: sivasakthi wrote: Hi All, I have an array like that below, array( 'test %ts.%03tu %6tr %a %Ss/%03Hs %st %rm %ru %un %Sh/%A %mt %rv %st', 'squid %ts.%03tu %6tr %a %Ss/%03Hs %st %rm %ru %un %Sh/%A %mt %ea %st %st

Re: [PHP] Pirate PHP books online?

2007-07-27 Thread Richard Lynch
On Wed, July 25, 2007 5:15 am, David Powers wrote: Richard Lynch wrote: At no point did I intend to sound unsympathetic to your plight! I only wanted to make it clear that 99.9% of musicians are in the same boat with you, despite what you read in the newspapers. Understood. I simply

Re: [PHP] Find file version

2007-07-27 Thread Matt Carlson
Ya, I'm thinking it will be all exe's. I found microsoft's Filever program, but I can't get exec working properly (well, I can't get the results properly). I'm gonna keep searching, and hope I find how it determines file info. - Original Message From: Richard Lynch [EMAIL PROTECTED]

Re: [PHP] Find file version

2007-07-27 Thread Richard Lynch
On Wed, July 25, 2007 12:26 am, Matt Carlson wrote: I've been recently toying with the idea of creating a php script to emulate the function of File Hippo's program checker (checks certain programs for their version, and then uploads to file hippo to compare with what it is released to show a

Re: [PHP] Pirate PHP books online?

2007-07-27 Thread Richard Lynch
On Mon, July 23, 2007 6:00 am, David Powers wrote: The Harry Potter books have sold an estimated 325 million copies. Even if the author gets only 10 cents a book, that adds up to $32.5 million. I'm sure she gets a lot more than 10 cents a book, but it's the number of books sold that makes the

Re: [PHP] Pirate PHP books online?

2007-07-27 Thread Richard Lynch
On Mon, July 23, 2007 4:41 am, Sancar Saran wrote: Those publishers ripping the authors then they blame the pirates... Real steal was %95 of book prices Do feel free to start your own publishing company and print up some books at prices you consider more fair. -- Some people have a gift

Re: [PHP] Notice warnings and performance

2007-07-27 Thread Richard Lynch
On Wed, July 25, 2007 3:39 am, Erfan Shirazi wrote: The site I'm working on has a lot of notice warnings, thousands. And they are all about: (Notice: Undefined variable..) I was wondering if I set the php.ini file to not log these in file or display them, does all of these notice warnings

Re: [PHP] About XML XSLT

2007-07-27 Thread Richard Lynch
On Sat, July 21, 2007 12:17 am, Kelvin Park wrote: I'm trying to make a web site that it entirely XML/XSLT/PHP driven, without MYSQL. However, since I need to reuse the database from my last web site, I had to parse XML with PHP and save it as a file (e.g. xmlFile.xml) in my htdocs folder

Re: [PHP] No is_date() function?

2007-07-27 Thread Richard Lynch
On Wed, July 25, 2007 8:55 am, Ken Tozier wrote: I wrote a serialization function to turn arbitrary PHP variables into Macintosh plist compatible XML but see that there is no is_date tester as there is for bool, object, array etc. Is there a relatively simple (and robust) way to detect if a

Re: [PHP] problem with install php 5.2.3 on apache 2.2.4 in windows xp sp2

2007-07-27 Thread Richard Lynch
On Fri, July 20, 2007 7:57 pm, arvin lee wrote: system: windows xp sp 2 apache: apache_2.2.4-win32-x86-no_ssl PHP: php-5.2.3-win32-installer.msi i try to install php on my computer so that i can finish my homework, but after download these files nightmare begins. Install apache with

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Chris
Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6 HTML_SHORT_LENGTH BODY: HTML is

Re: [PHP] Pirate PHP books online?

2007-07-27 Thread Dotan Cohen
On 27/07/07, Richard Lynch [EMAIL PROTECTED] wrote: Piracy does not hurt the big boys in the least bit. They simply jack up the price for honest folk. You're only stealing, yes, Larry, actual money :-), from hard-working individuals who pay MORE for their legit copy when you pirate. That's

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Richard Heyes
0.6 HTML_SHORT_LENGTH BODY: HTML is extremely short Well, lengthen it then. 1.5 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding Don't do that. Use plain text or quoted printable. Any help/suggestions would be appreciated. Try HTML MIME mail - it does every

[PHP] OOT - Ajax definitiondear all,

2007-07-27 Thread Yeni Setiawan
Dear All, We all knew that AJAX is an achronym of Asynchronous Javascript And XML. When I use another data format like YAML or CSV, will it still be called as AJAX? Or just yet another asynchronous method? -- regards, Yeni Setiawan

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-27 Thread Richard Heyes
Dan wrote: ... You should also look at this: http://www.mnot.net/cache_docs/ Very informative. -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List

Re: [PHP] Objects

2007-07-27 Thread Nathan Nobbe
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: And the practical issues, well, few OOP courses really dive into that, to tell you the truth... This is why the study of design patterns is so important, imho. -nathan On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, July 25,

Re: [PHP] OOT - Ajax definitiondear all,

2007-07-27 Thread Satyam
- Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Yeni Setiawan [EMAIL PROTECTED]; php-general@lists.php.net Sent: Friday, July 27, 2007 1:51 PM Subject: RE: [PHP] OOT - Ajax definitiondear all, [snip] We all knew that AJAX is an achronym of Asynchronous Javascript And

Re: [PHP] Re: The Official OT Name Tedd's Grandson Thread

2007-07-27 Thread Tijnema
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, July 26, 2007 8:47 am, Daniel Brown wrote: On 7/26/07, Daniel Brown [EMAIL PROTECTED] wrote: or am I going retarded again? This has been confirmed. For whatever reason, Gmail isn't showing me the [PHP] mark in

Re: [PHP] Multiple session

2007-07-27 Thread Robert Cummings
On Fri, 2007-07-27 at 15:55 +0200, Erfan Shirazi wrote: Hi all I have a problem which I need some help with. I have a e-commerce site were the user must log in in order to use some of the functions. But I only want 1 active session for each user, so the user should not be able to have 2

[PHP] Multiple session

2007-07-27 Thread Erfan Shirazi
Hi all I have a problem which I need some help with. I have a e-commerce site were the user must log in in order to use some of the functions. But I only want 1 active session for each user, so the user should not be able to have 2 browsers opened and being able to log in with both. So I

Re: [PHP] No is_date() function?

2007-07-27 Thread Nathan Nobbe
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: 2) Some fancy OOP object (use OOP isa function) basically what i suggested in my initial reply; build a couple of custom wrapper objects around the stock php date / time functions. is_a is a relic from php4 that has been deprecated; go for the

RE: [PHP] OOT - Ajax definitiondear all,

2007-07-27 Thread Jay Blanchard
[snip] We all knew that AJAX is an achronym of Asynchronous Javascript And XML. When I use another data format like YAML or CSV, will it still be called as AJAX? Or just yet another asynchronous method? [/snip] AJAX makes a good catch-all term since the API is called XMLHttpRequest and the API

Re: [PHP] import spreadsheet

2007-07-27 Thread Chad Robinson
Angelo Zanetti wrote: Hi guys Does anyone have any resources or links as to how to import a spreadsheet but it might have different number of columns and many sheets (those tab things at the bottom). What I thought of doing was creating a table that has 10 fields and if the file thats being

Re: [PHP] OOT - Ajax definitiondear all,

2007-07-27 Thread Robert Cummings
On Fri, 2007-07-27 at 14:37 +0200, Satyam wrote: - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: Yeni Setiawan [EMAIL PROTECTED]; php-general@lists.php.net Sent: Friday, July 27, 2007 1:51 PM Subject: RE: [PHP] OOT - Ajax definitiondear all, [snip] We all knew

Re: [PHP] Hide the real URL

2007-07-27 Thread Eric Butera
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, July 26, 2007 8:41 am, Eric Butera wrote: filenames. Are you trying to protect them from unauthorized viewing? If you are trying to protect from unauthorized viewing, they probably shouldn't be in the webtree at all, as it's not

[PHP] New release of the WebMesh framework (API and MVC)

2007-07-27 Thread Gustavo Gomes
I would like to inform the new release of the WebMesh framework based strongly in PHP5 and which proposes a standard structure for PHP projects with intention of: - Force a better organization of the your project classes. - Encorage the usage of the PHP version 5. - Increase the code reuse level -

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-27 Thread Dotan Cohen
On 27/07/07, David Robley [EMAIL PROTECTED] wrote: Of course, one should not forgot Debbie Does DocType... I guess that would have an opening scene with dialog something like: I hope you don't mind me sharing memory while you are processing an array as the processor flicks garbage

RE: [PHP] DOM

2007-07-27 Thread Jay Blanchard
[snip] Out of curiosity, is there any effort in creating a new DOM that's easier for application builders (something like Visual Foxpro)? Does Web 2.0 or maybe 3.0 offer some new input types, say something like a real grid, or maybe a modal child popup? [/snip] [potential holy war bits] There is

Re: [PHP] Creating a text file

2007-07-27 Thread Daniel Brown
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Mon, July 23, 2007 8:10 am, Daniel Brown wrote: On 7/20/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, July 19, 2007 8:33 am, Daniel Brown wrote: extract($_POST); You might as well just turn register_globals back ON

[PHP] PHP and Java: accessing Java classes from PHP

2007-07-27 Thread Holografix
Hi I need to access some custom and native Java classes from php. I've tried the steps form php manual and php-javabridge from sf but I always get an apache crash. I don't need to run servlets and it's impossible to start servlet engine in the server (project requirements). The tutorials i've

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Tom Ray [Lists]
Chris wrote: Richard Lynch wrote: On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote: I'm trying to use PHP to compose an HTML formatted email Don't do that... 3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons: 0.6 HTML_SHORT_LENGTH

[PHP] import spreadsheet

2007-07-27 Thread Angelo Zanetti
Hi guys Does anyone have any resources or links as to how to import a spreadsheet but it might have different number of columns and many sheets (those tab things at the bottom). What I thought of doing was creating a table that has 10 fields and if the file thats being imported only has 4

[PHP] Re: DOM

2007-07-27 Thread Man-wai Chang
Thanks to all. -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Xubuntu 7.04) Linux 2.6.22.1 ^ ^ 17:35:01 up 15 days 19:39 1 user load average: 0.03 0.03 0.00 news://news.3home.net news://news.hkpcug.org

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-27 Thread David Robley
Dotan Cohen wrote: On 24/07/07, Ryan A [EMAIL PROTECTED] wrote: Php Fiction? Rasmus's List? Codin' in the Rain? LOL! That was good! Thanks needed that! Of course, one should not forgot Debbie Does DocType... Dotan Cohen Now you owe me a new keyboard that isn't full of a mouthful

RE: [PHP] import spreadsheet

2007-07-27 Thread Jay Blanchard
[snip] Does anyone have any resources or links as to how to import a spreadsheet but it might have different number of columns and many sheets (those tab things at the bottom). What I thought of doing was creating a table that has 10 fields and if the file thats being imported only has 4

Re: [PHP] PHP and Java: accessing Java classes from PHP

2007-07-27 Thread Holografix
Hi Thanks for the answer. I'm using php 5 (5.2.3). holo Nathan Nobbe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] if you cant get the php / java bridge to work and you cant run servlets than i dont know what other options you have. we used to use soap for communication

Re: [PHP] PHP and Java: accessing Java classes from PHP

2007-07-27 Thread Nathan Nobbe
if you cant get the php / java bridge to work and you cant run servlets than i dont know what other options you have. we used to use soap for communication between java and php where i worked last, but that would require servlets as well (afaik). the bridge is marked as experimental.. are you

[PHP] PDO with MS SQL Server - output parameters/return values not returned

2007-07-27 Thread Andrew Ballard
I am unable to get the values of output parameters for SQL Server stored procedures that have multiple parameters or return values for any procedures. I have tried this with both the odbc: and mssql: drivers on a Windows XP development machine. (The live application will be hosted on a Windows

Re: [PHP] Pirate PHP books online?

2007-07-27 Thread Ryan A
Hey, They simply jack up the price for honest folk. You're only stealing, yes, Larry, actual money :-), from hard-working individuals who pay MORE for their legit copy when you pirate. That is the end effect. That is why it really IS theft. Since this has been done to death in the

[PHP] Authentication

2007-07-27 Thread Dan Shirah
All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the machine and other data, is there a

Re: [PHP] Authentication

2007-07-27 Thread Daniel Brown
On 7/27/07, Dan Shirah [EMAIL PROTECTED] wrote: All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull

[PHP] Solution for writing a function layer between pecl-memcache and PHP

2007-07-27 Thread Sascha Braun - CEO @ Braun Networks
Hi dear Sancar, you seem really the best man in place as what I see in the mailing list :)) Thats really lovely I would like to say. Now lets come to the solution I need: public function memcache($pointer, $data=, $compress=, $timeout=0) // store or load data from the memcache { if

Re: [PHP] Authentication

2007-07-27 Thread Nathan Nobbe
on *.nix you could do something like $users = explode(' ', `users`); $users will then be an array w/ the usernames of the currently logged in users. user names may appear more than once, per the users documentation. no clue or care on windows for me :) -nathan On 7/27/07, Dan Shirah [EMAIL

Re: [PHP] Authentication

2007-07-27 Thread cebesius
Maybe this: $_SERVER['PHP_AUTH_USER'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Regards, Carlton Whitehead - Original Message - From: Dan Shirah [EMAIL PROTECTED] To: php-general php-general@lists.php.net Sent: Friday, July 27, 2007 1:51:51 PM

Re: [PHP] Solution for writing a function layer between pecl-memcache and PHP

2007-07-27 Thread Nathan Nobbe
judging by the method invocation you have shown site::memcache($pointername, $dataset); that indicates site is a class and memecahce is a method defined in site, which is being invoked statically in this case. and in the definition of memecache you showed, the definition does not have the static

Re: [PHP] Authentication

2007-07-27 Thread Jim Lucas
[EMAIL PROTECTED] wrote: Maybe this: $_SERVER['PHP_AUTH_USER'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Regards, Carlton Whitehead - Original Message - From: Dan Shirah [EMAIL PROTECTED] To: php-general php-general@lists.php.net Sent: Friday, July

Re: [PHP] Solution for writing a function layer between pecl-memcache and PHP

2007-07-27 Thread Sascha Braun - CEO @ Braun Networks
Thank you very much Nathan. You mean I should change the the method from public to static? Is that right? I hope I was getting you right. I now juggled around abit with the code, and as it happens most of the time, in case I invoke the XML object, that the file given was not read right. When i

Re: [PHP] Solution for writing a function layer between pecl-memcache and PHP

2007-07-27 Thread Nathan Nobbe
ppp and static / non-static are unrelated topics. the former is regarding access control or visibility into the members (variables or methods) of a class. the latter is regarding whether a member can be called from the context of an instance or not. essentially static means to associate a

Re: [PHP] Solution for writing a function layer between pecl-memcache and PHP

2007-07-27 Thread Sascha Braun - CEO @ Braun Networks
I checked out the book from mister rethans and mister gutmans and mister bakken, mh, its seems easier to simply say how the book is named :)) To check out, what exactly it means, to create static and public and so on methods. Yeah, I can easely call them static, as you prefered. But now there

[PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited. We are being asked to encrypt this file for internet transfer. We are also being asked to create a secure process by which to transfer this file across the interent. Currently: the lab

[PHP] PHP has encountered an access violation

2007-07-27 Thread Eric Lommatsch
Hello, We are in the process of configuring PHP version 5.2.3 to run on IIS so that we can install some PHP applications on this server. When we attempt to open pages on this server we are getting error messages like PHP has encountered an access violation at 019DC4CD when we try to open pages.

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
So, what is the easiest way to get and installan SSL certificate? "Richard Lynch" [EMAIL PROTECTED] 7/27/2007 1:46 PM On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote: We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited. We are being asked to

RE: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Jay Blanchard
[snip] We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited.   We are being asked to encrypt this file for internet transfer. We are also being asked to create a secure process by which to transfer this file across the interent.   Currently: the lab

Re: [PHP] PHP has encountered an access violation

2007-07-27 Thread Nathan Nobbe
maybe try 5.2.2 or 5.2.1 just to see if there is a version issue. -nathan On 7/27/07, Eric Lommatsch [EMAIL PROTECTED] wrote: Hello, We are in the process of configuring PHP version 5.2.3 to run on IIS so that we can install some PHP applications on this server. When we attempt to open

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote: We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited. We are being asked to encrypt this file for internet transfer. We are also being asked to create a secure process by which to transfer this

Re: [PHP] PHP has encountered an access violation

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 3:15 pm, Eric Lommatsch wrote: We are in the process of configuring PHP version 5.2.3 to run on IIS so that we can install some PHP applications on this server. When we attempt to open pages on this server we are getting error messages like PHP has encountered an

[PHP] Profile / Debug w/o server modification?

2007-07-27 Thread Instruct ICC
Are there any magic functions like __sleep and __wakeup that get called upon entry and exit of user functions or user object methods? Something like __hookEntry For User Functions __hookExit For User Functions __hookOoEntry For User Object Methods __hookOoExit For User Object Methods Basically

Re: [PHP] Multiple session

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 8:55 am, Erfan Shirazi wrote: I have a problem which I need some help with. I have a e-commerce site were the user must log in in order to use some of the functions. But I only want 1 active session for each user, so the user should not be able to have 2 browsers opened

Re: [PHP] Authentication

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 12:51 pm, Dan Shirah wrote: I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? That data is not transmitted, by design, in an HTTP request.

Re: [PHP] import spreadsheet

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 4:01 am, Angelo Zanetti wrote: Does anyone have any resources or links as to how to import a spreadsheet but it might have different number of columns and many sheets (those tab things at the bottom). What I thought of doing was creating a table that has 10 fields and if

Re: [PHP] Re: The Official OT Name Tedd's Grandson Thread

2007-07-27 Thread Tijnema
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 27, 2007 7:35 am, Tijnema wrote: It's quite logical that it is done this way, if you understand how a mailing lists works ;) When you send a email to the mailing list, you send it without [PHP], and so Gmail thinks that's

Re: [PHP] HELP: Text editor that deals with BOM very well

2007-07-27 Thread brian
Chris wrote: Ryan Lao wrote: Hello everyone, Just need to ask a simple question, where can a find a text editor that deals with byte order mark very well? I've been using dreamweaver for a few years now but im not impressed by how it deals with BOM. i need a text editor that can view a bom

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Satyam
There are two different things you might want, ensure that the data is not seen by eavesdroppers while in transit or ascertain that the data comes from who says it is. The first, you manage with SSL as with any other secure transaction, as already sugested. For the second is what you might

Re: [PHP] Re: The Official OT Name Tedd's Grandson Thread

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 7:35 am, Tijnema wrote: It's quite logical that it is done this way, if you understand how a mailing lists works ;) When you send a email to the mailing list, you send it without [PHP], and so Gmail thinks that's the message title. Once it arrives at the mailing list

Re: [PHP] PHP and Java: accessing Java classes from PHP

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 10:31 am, Holografix wrote: I need to access some custom and native Java classes from php. I've tried the steps form php manual and php-javabridge from sf but I always get an apache crash. I don't need to run servlets and it's impossible to start servlet engine in the

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Jim Lucas
John A DAVIS wrote: So, what is the easiest way to get and install an SSL certificate? Richard Lynch [EMAIL PROTECTED] 7/27/2007 1:46 PM On Fri, July 27, 2007 3:21 pm, John A DAVIS wrote: We have various labs that submit coliform sample results in an ASCII file, quoted/comma delimited.

Re: [PHP] Authentication

2007-07-27 Thread Dan Shirah
My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user with what I have pulled from ldap and verify the user's name is valid. If the username is valid I will assign it to a variable and use that variable to store the

Re: [PHP] Hide the real URL

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 8:20 am, Eric Butera wrote: Not everyone has the option to do that. Plus I think it is unintuitive to have things outside of your actual web site. You can disallow traffic with Apache fairly easily if you're paranoid of such things. I used to do this. Until one day I

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
Here is the application checklist that I have to answer. It is a new EPA rule called "CROMERR" (Cross Media Electronic Reporting Rule). http://www.epa.gov/cdx/cromerrr/index.html(check out the Federal Register link for exact wording if you want---not for the timid at heart--your government

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread carlton . whitehead
Easiest? If you have IIS (like my test environment), you can use the SelfSSL tool to make a self-signed SSL certificate. Generally these aren't so great for a production environment, but you said *easiest*. SelfSSL is part of the IIS 6.0 Resource Kit:

Re: [PHP] Authentication

2007-07-27 Thread Satyam
If memory doesn't fail me, if you work with IIS and protect the source pages of the application so that IUSR_x (the generic anonymous user) doesn't have access to those files and instead grant access to the NT users or groups which you want, the IIS when working with IE clients will take

Re: [PHP] Multiple session

2007-07-27 Thread mamad876
Hi, The idea is to add some kinda ping to your web site with Ajax so as far as you receive pings you know that the use kept his/her browser open and when it stops sending pings either the browser is closed or the net connection is down, and then delete the user session and try to log it out.

RE: [PHP] Authentication

2007-07-27 Thread Jay Blanchard
[snip] My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user with what I have pulled from ldap and verify the user's name is valid. If the username is valid I will assign it to a variable and use that variable to store

Re: [PHP] HTML Email Composing Problem.

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 11:01 am, Tom Ray [Lists] wrote: I would have to agree with you Chris, there a many legitimate reasons for having HTML mail. I was trying to be a nice guy and send both the plain text version and the html version out but like I said, I couldn't get it to stop displaying

Re: [PHP] Profile / Debug w/o server modification?

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 3:49 pm, Instruct ICC wrote: Are there any magic functions like __sleep and __wakeup that get called upon entry and exit of user functions or user object methods? Something like __hookEntry For User Functions __hookExit For User Functions __hookOoEntry For User Object

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 3:52 pm, John A DAVIS wrote: So, what is the easiest way to get and install an SSL certificate? The basic trust model of an SSL cert is: You fill out a form and pay them $200 (or so) and they trust you. Doesn't make a whole lotta sense to me, really, but there it is. I

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 4:01 pm, [EMAIL PROTECTED] wrote: If you have IIS (like my test environment), you can use the SelfSSL tool to make a self-signed SSL certificate. Generally these aren't so great for a production environment, but you said *easiest*. SelfSSL is part of the IIS 6.0 Resource

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread John A DAVIS
Very good! Very good! Thank you. Lots of stuff to mull over. John A. DavisProgrammerState of Oregon DHS OISCNE, MCSE "Don't think of the problem, think of the solution" "Satyam" [EMAIL PROTECTED] 7/27/2007 2:19 PM  There are two different things you might want, ensure that

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 4:12 pm, John A DAVIS wrote: Here is the application checklist that I have to answer. It is a new EPA rule called CROMERR (Cross Media Electronic Reporting Rule). http://www.epa.gov/cdx/cromerrr/index.html (check out the Federal Register link for exact wording if you

Re: [PHP] Authentication

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 4:02 pm, Dan Shirah wrote: My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user with what I have pulled from ldap and verify the user's name is valid. If the username is valid I will assign

Re: [PHP] Authentication

2007-07-27 Thread Chad Robinson
Dan Shirah wrote: My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user with what I have pulled from ldap and verify the user's name is valid. If the username is valid I will assign it to a variable and use that

Re: [PHP] Pirate PHP books online?

2007-07-27 Thread Larry Garfield
On Friday 27 July 2007, Richard Lynch wrote: Understood. I simply want to lay to rest the idea that piracy is somehow OK because it's getting back at the big boys, who can afford it anyway. Piracy also hits hard-working individuals, to whom the loss of income usually does make a

Re: [PHP] Authentication

2007-07-27 Thread Sancar Saran
On Friday 27 July 2007 20:51:51 Dan Shirah wrote: All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull

[PHP] how to use imagestring() function with Chinese String

2007-07-27 Thread Davis Chan
Hi! I am trying to use the imagestring() function to put a string of Chinese characters from a $_GET variable onto an image. However, the characters do not display right (English is fine). Is there a way I can fix this or it is the limitation of the function itself? Thanks. -- PHP General

Re: [PHP] Profile / Debug w/o server modification?

2007-07-27 Thread Instruct ICC
From: Richard Lynch [EMAIL PROTECTED] But xdebug and apd are probably moot. BTW, I'm not using separate development and production machines. Right there is your first problem. Solve that first. If you mean get a dev box. You don't know how long I've been asking for one to match the

Re: [PHP] Hide the real URL

2007-07-27 Thread Eric Butera
On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 27, 2007 8:20 am, Eric Butera wrote: Not everyone has the option to do that. Plus I think it is unintuitive to have things outside of your actual web site. You can disallow traffic with Apache fairly easily if you're paranoid

RE: [PHP] Authentication

2007-07-27 Thread Instruct ICC
From: Dan Shirah [EMAIL PROTECTED] All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the

Re: [PHP] how to use imagestring() function with Chinese String

2007-07-27 Thread brian
Davis Chan wrote: Hi! I am trying to use the imagestring() function to put a string of Chinese characters from a $_GET variable onto an image. However, the characters do not display right (English is fine). Is there a way I can fix this or it is the limitation of the function itself? Thanks.

Re: [PHP] Hide the real URL

2007-07-27 Thread brian
Eric Butera wrote: On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 27, 2007 8:20 am, Eric Butera wrote: Not everyone has the option to do that. Plus I think it is unintuitive to have things outside of your actual web site. You can disallow traffic with Apache fairly easily

Re: [PHP] Hide the real URL

2007-07-27 Thread Eric Butera
On 7/28/07, brian [EMAIL PROTECTED] wrote: Eric Butera wrote: On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 27, 2007 8:20 am, Eric Butera wrote: Not everyone has the option to do that. Plus I think it is unintuitive to have things outside of your actual web site. You

Re: [PHP] Hide the real URL

2007-07-27 Thread Tom Ray [Lists]
Eric Butera wrote: On 7/28/07, brian [EMAIL PROTECTED] wrote: Eric Butera wrote: On 7/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 27, 2007 8:20 am, Eric Butera wrote: Not everyone has the option to do that. Plus I think it is unintuitive to have

Re: [PHP] About XML XSLT

2007-07-27 Thread mamad876
Hi all, I agree with Jim, for start you can play with .htaccess and ModRewrite module. for more information see apache docs or you can also check out how in httpd.conf accessing .htaccess from clients browser is limited and you can use the same code for all of your .xml and .xslt files. Best