RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Acer
Acknowledging the problem is the first step in recovery. -Original Message- From: Michael Geier [mailto:[EMAIL PROTECTED]] Sent: August 4, 2002 2:22 AM To: Acer Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding Acer, Did you ever consider the fact that ASP, JSP and CF

[PHP] which function can do so ?

2002-08-04 Thread Ryan
I am exactly a beginner of php. This question may be easy. I have a php program which want to achieve the url from browser. e.g. webmail.xxx.com then how the index.php is able to know it is xxx.com ?? which function in php can do so?? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Justin French
on 04/08/02 3:55 PM, Acer ([EMAIL PROTECTED]) wrote: so fine zend is ripping people off, what's the point? well it has been damaging to php is my point. no one knows what php is and no one will pay you to do php. why blame zend on this? no matter what rasmus says that 600 people have

Re: [PHP] which function can do so ?

2002-08-04 Thread php @ banana
you mean redirect? header(Location: www.stuff.com); make sure it goes before any output to screen or html tags or it won't work, I am exactly a beginner of php. This question may be easy. I have a php program which want to achieve the url from browser. e.g. webmail.xxx.com then how the

Re: [PHP] which function can do so ?

2002-08-04 Thread Andrew Brampton
I read his question as wanting to know how to figure out the URL of his site, use the varible $_SERVER['HTTP_HOST'] or $HTTP_HOST on old PHP versions, that will return the full domain, from the www. to the .com so you may want to do some spliting of that varible to figure out what just the bit in

Re: [PHP] which function can do so ?

2002-08-04 Thread Justin French
Have a look at the predefined variables in PHP... particularly the $_SERVER array. http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve r I think you'll want $_SERVER['HTTP_HOST'], but it will depend on your PHP version, server environment, etc etc. Justin French on

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread David Freeman
I know I shouldn't do more to keep this going but I'll make this one, and only, post. this all started when rasmus had a problem with the click in my original post From what I read, Rasmus made a correction to your opinion. You are entitled to your opinion, but perhaps you should learn

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Jason Wong
On Sunday 04 August 2002 15:53, David Freeman wrote: Now that Nick has released the free accelerator and an inexpensive ($0.50 per shot) encoder it might change but I don't know if it's too late. Great for Nick (whoever he is). $0.50 isn't necessarily cheap though. I have one of my

[PHP] mysql_connect

2002-08-04 Thread Mantas Kriauciunas
Hey php-general, $db_host = localhost; how do i set with ip ? it works with localhost but it doesn't work: $db_host = IP.IP.IP.IP; or $db_host = Http://IP.IP.IP.IP/;; P.S IP i set numbers P.S.S i need to connet to mysql on other server thanks, sorry for dumb

RE: [PHP] mysql_connect

2002-08-04 Thread Paul Dale
This is probably a mysql permissions issue not a php issue. If you have admin rights on that database GRANT ALL PRIVILEGES ON DATABASE_NAME.* TO USER_TO_ALLOW_CONNECTIONS_BY@HOST_TO_ALLOW_CONNECTIONS_FROM; (Where DATABASE_NAME is the mysql database to allow connections to, as in use database

Re: [PHP] Decode email

2002-08-04 Thread Paul Roberts
the imap function will do this. http://za2.php.net/manual/en/ref.imap.php Paul Roberts http://www.paul-roberts.com [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 04, 2002 1:06 AM Subject: [PHP] Decode

Re: [PHP] Re: Protect PHP coding

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

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Duncan Hill
On Sun, 4 Aug 2002, Acer wrote: Acknowledging the problem is the first step in recovery. *plonk* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session problem with https

2002-08-04 Thread Andre Dubuc
I've followed the threads on sessions, and discovered, to my horror, that I was passing the session id through cookies. Attempting to repair this 'problem' has been fun (with 200+ files). Somehow, the session variables are not passing through once they encounter an https page. I'm using the

Re: [PHP] alternative to phpadsnew?

2002-08-04 Thread Andrey
O.A.S.I.S the fastest of all. Look for it omn sourceforge.net With OASIS you can deliver up to 500,000 views per hour. PHP/Mysql based. Regards, Andrey -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 03, 2002 4:44 PM To: [EMAIL PROTECTED]

[PHP] PHP/MySQL Error Log Parser

2002-08-04 Thread Paul Maine
How can I set up MySQL error logging? Is there any PHP MySQL error log parsers? Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Acer
First I don't know who Nick is, never meet him and just stumbled onto his project. He created phpa (http://www.php-accelerator.co.uk) and is used by yahoo. He has built the encoder (http://www.php-encoder.com) from his experience in phpa so it being in beta or not is up to you to evaluate. Now

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Acer
Okay let me clarify, I think that if Zend did not exist then php would be in a better position. Why? Because something like php-encoder would of filled the void sooner and everyone would of benefited from encoders and accelerators. So far it really does feel like a bait and switch act since

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Acer
No we shouldn't criticise a commerical company because I never hear bad things about Microsoft on here. -Original Message- From: David Freeman [mailto:[EMAIL PROTECTED]] Sent: August 4, 2002 3:54 AM To: 'Acer'; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Protect PHP coding I know I

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Justin French
on 04/08/02 11:45 PM, Acer ([EMAIL PROTECTED]) wrote: Okay let me clarify, I think that if Zend did not exist then php would be in a better position. Why? Because something like php-encoder would of filled the void sooner and everyone would of benefited from encoders and accelerators.

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Zeev Suraski
Just a couple of facts: 1. If Zend did not exist, PHP 4 wouldn't have existed, at least not in any way similar to what PHP 4 looks like today. FYI, with PHP 3, it was impossible to write accelerators, encoders, debuggers and whatnot. 2. Zend published its value-add software *2 years* ago,

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Acer
Okay like I said before, Zeev is agreeing with me that php is zend and zend is php. However, if zend dropped off the face of the planet, there would be programmers to fill that void. Again call me a cynic but zend develops php but if you pay them several thousand then it will run 4 times

[PHP] Mkdir!

2002-08-04 Thread Georgie Casey
When I create directories in PHP through the mkdir() command, what number should I set the mode so I have the priveleges to delete the directory through FTP? I used to always set them to 777 but then when I try to delete the directories in FTP, it doesnt let me, and I have to write a PHP script

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Zeev Suraski
At 18:12 04/08/2002, Acer wrote: Okay like I said before, Zeev is agreeing with me that php is zend and zend is php. However, if zend dropped off the face of the planet, there would be programmers to fill that void. No, I am not. Zend was a key figure in the development of PHP, without which

[PHP] Upgraded to 4.2.2 on Win2k - server (including ASP) crashing

2002-08-04 Thread Jack Baty
I upgraded from 4.1.1 to 4.2.2 on Win2000 running IIS. I immediately starting having problems with IIS hanging after a few requests. I tried all sorts of nonsense and its only got worse. In desperation, I copied all of the dll's in the php distribution into /winnt/system32, overwriting the

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Maxim Maletsky
No we shouldn't criticise a commerical company because I never hear bad things about Microsoft on here. Read archives :-) Maxim Maletsky [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: May i?

2002-08-04 Thread Manuel
You can reset the id with this command: ALTER TABLE $tablename AUTO_INCREMENT = 242 : : Flavio Bastos Amiel: : : : : : INVALID_ADDRESS_IN_GROUP@.SYNTAX-ERROR., Flavio Bastos Amiel:: wrote:let's see if i can do it... i got a news site. everything was going

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Manuel Lemos
Hello, On 08/03/2002 01:58 PM, Acer wrote: There is a free php accelerator so I don't know why you would pay for one. www.php-accelerator.co.uk The same guy (Nick) has also just made an encoder. It is in beta testing right now and there's no windows version yet but that should be coming

php-general Digest 4 Aug 2002 17:32:16 -0000 Issue 1505

2002-08-04 Thread php-general-digest-help
php-general Digest 4 Aug 2002 17:32:16 - Issue 1505 Topics (messages 111045 through 111074): Re: Protect PHP coding 111045 by: Acer 111046 by: Michael Geier 111047 by: Acer 111049 by: Justin French 111053 by: David Freeman 111054 by: Jason

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Manuel Lemos
Hello, On 08/03/2002 03:05 PM, Rasmus Lerdorf wrote: Because it is a silly thread and I shouldn't be replying at all. Others in the group either have more sense or have given up on answering php-general questions. I believe the point is that you always be passive when it comes to

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Maxim Maletsky
Acer, In case you didn't know: Zeev Suraski and Andi Gutmans made PHP4 out of PHP3 (correct the details if you wish). Then, they founded Zend (ZEev aNDi) and run it successfully. Two guys always religiously contribute to PHP. Their role in PHP project is of an IMMENSE (no, words are not

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Manuel Lemos
Hello, On 08/03/2002 10:44 PM, Justin French wrote: The people for Zend have to eat to live. And don't we all? That is the main problem. If we need to pay USD $3,000 to be able to compile our PHP programs, doesn't that make not viable for most of us to sell our PHP programs as closed source?

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Manuel Lemos
Hello, On 08/03/2002 10:49 PM, Justin French wrote: Don't get me wrong rasmus, I don't have any problems with you. It's just fishy when some guy in the UK was able to put together a php accelerator for free and a php encoder for $0.50 a pop while zend is charging several thousands. You have to

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Manuel Lemos
On 08/04/2002 04:08 AM, Justin French wrote: on 04/08/02 3:55 PM, Acer ([EMAIL PROTECTED]) wrote: so fine zend is ripping people off, what's the point? well it has been damaging to php is my point. no one knows what php is and no one will pay you to do php. why blame zend on this? no

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Manuel Lemos
Hello, On 08/04/2002 11:55 AM, Zeev Suraski wrote: Just a couple of facts: 1. If Zend did not exist, PHP 4 wouldn't have existed, at least not in any way similar to what PHP 4 looks like today. FYI, with PHP 3, it was impossible to write accelerators, encoders, debuggers and whatnot.

RE: [PHP] Re: Protect PHP coding

2002-08-04 Thread Maxim Maletsky
Manuel, I feel like you want Zend to develop things for free like they develop Zend Engine. I think it is right for them selling Zend Encoder and IDE. Companies still trust these products more than the free packages you mentioned. Do not forget, PHP is running on Zend. There is really a lot of

Re: [PHP] RegEx (back referencing)

2002-08-04 Thread Analysis Solutions
On Sat, Aug 03, 2002 at 05:03:36PM +0100, Phil Ewington wrote: Hi, I am am writing a function to color code and indent JavaScript source using regular expressions and cannot seem to get back referencing working. What you're using isn't back referencing, it's utilizing substrings. Back

[PHP] defining separate form element within While statment

2002-08-04 Thread Jim Long
Hi, I'm having trouble passing $the_score to edit_s1_php3: // Display the scores while ( $row = mysql_fetch_array($result) ) { echo( form . p . $row[last_name] . , . $row[first_name] . /p . $row[s1] . input type='text' name='the_score' size='3' . a

[PHP] Re: Vote to ban Acer

2002-08-04 Thread Manuel Lemos
Hello, If there is anybody that should be banned are those that promote the descrimination of individuals just because they have different opinions, just like you are doing. -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Protect PHP coding

2002-08-04 Thread Manuel Lemos
Hello, On 08/04/2002 03:35 PM, Maxim Maletsky wrote: I feel like you want Zend to develop things for free like they develop Zend Engine. I think it is right for them selling Zend Encoder and IDE. Companies still trust these products more than the free packages you mentioned. Do not forget,