[PHP] Run exe file: Yes it is possible.

2003-10-21 Thread Gabriel Peugnet
It depends on the server configuration. Tipicaly, the cgi-bin folder is used tu run scripts AND exe files. You have to put the exe file in cgi-bin and chek if this folder have permission tu run it. If not: give it. There are some sites that use exe instead of scripts to show pages. It gives more

[PHP] Links for PHP.

2003-10-16 Thread Gabriel Peugnet
Some body asked for links related to PHP. It's a good idea. Here are some. If some one has more feel free to tell us. PHP Hypertext Preprocessor http://www.php.net/ Build Your Own Database Driven Website Using PHP MySQL http://www.sitepoint.com/books/phpmysql1/ FAQTs - Knowledge Base - faqts

[PHP] Re: php site

2003-10-16 Thread Gabriel Peugnet
Answering, I sent a message Links for PHP. Kenny Lai [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] hey, does anyone have any good links they use for their php references? i'd also like to know how most people approach coding php from an OOP standpoint -- PHP General

[PHP] Re: Array to string?

2003-10-15 Thread Gabriel Peugnet
When I needed it I could'n find it so I made my own. function arrayToStr( $arr ){ $str = ; while( true ){ $linea = current($arr); $str = $str . $linea; if( next($arr) == FALSE ){ break; } $str = str . \n;// a newline separates each element. }

[PHP] Makeing automatic tags for email and www.

2003-10-15 Thread Gabriel Peugnet
Does some body knows if there is a function that adds tags to a string when it is an email or a web address? I want to convert [EMAIL PROTECTED] into (a href='mailto:[EMAIL PROTECTED]') [EMAIL PROTECTED] (/a) (I sustitued tags with parenthesis) It's a little tedious makeing the

[PHP] Re: Makeing automatic tags for email and www.

2003-10-15 Thread Gabriel Peugnet
, that automaticaly makes it. Gabriel Peugnet [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Does some body knows if there is a function that adds tags to a string when it is an email or a web address? I want to convert [EMAIL PROTECTED] into (a href='mailto:[EMAIL PROTECTED

[PHP] Re: Include all functions and performance

2003-10-15 Thread Gabriel Peugnet
PHP will load the entire file and consume memory. It will also check the sintax of the entire file. If your file grows to much it would affect the speed of showing your pages and if it is very big, you could find the limit of memory of PHP (8Mb by default). The Zend engine makes an on the fly

[PHP] Re: Passing variables between pages

2003-10-14 Thread Gabriel Peugnet
Like John said: You can use: In the second page: $user = $_POST['username'];// sent by the first page ... echo form ... input type='hidden' name='username' value='$user' ... /form; So, when you submit the form, in the third page you will be able to get the username. $user =

[PHP] Re: Pulling variables from a URL

2003-10-14 Thread Gabriel Peugnet
Every body have already gave you the answers. Just one more thing: the method you are useing is GET because you are passing variables in the URL so use of $_POST doesn't work. the only line you need is $username = $_GET['username']; after this you can do any thing with $username. -- PHP

[PHP] Who knows all the Header attributes.

2003-10-14 Thread Gabriel Peugnet
Could some one tell me where can I find the documentation for the Hedear() function? The manual does not provide it but just some examples. I know Header( Location: http... ), Header( Expires ... ). But want to know about: Content... Content-Disposition etc. Thanks. Gabriel. --

Re: [PHP] Who knows all the Header attributes.

2003-10-14 Thread Gabriel Peugnet
Mike, the site you refered me has the information I was looking for. Thank you very much. Gabriel. Mike Migurski [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Could some one tell me where can I find the documentation for the Hedear() function? The manual does not provide

[PHP] Thanks Chris.

2003-10-14 Thread Gabriel Peugnet
I see you are an authority in these matters. I've seen the page you told me to. Thank you so much. Gabriel. Chris Shiflett [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] --- Gabriel Peugnet [EMAIL PROTECTED] wrote: Could some one tell me where can I find the documentation