Re: [PHP-INSTALL] Can 4.x and 5.0 coexist on the same machine?

2004-08-04 Thread Jorge Reteguin
Of course you can. You can even run them at the same time. This is the trick. PHP 4.X Install Apache 1.3.X or 2.0.X from source in: /usr/local/apache Install PHP 4.x as a dynamic module of this apache (apxs or apxs2) Configure this apache to listen on port 80 (default) PHP 5.X In

Re: [PHP-INSTALL] Form variables don't come through on new installation

2004-02-16 Thread Jorge Reteguin
I do agree. Anyway I recomend NOT TO enable register_gloabls. zareef ahmed wrote: HI, A typical problem with newbies. FOR REFRENCE :: register_gloabls are now off by default in all php distribution. Yor can visit www.php.net 's manual pages for more description. zareef ahmed saifi _

Re: [PHP-INSTALL] Form variables don't come through on new installation

2004-02-13 Thread Jorge Reteguin
Cliff Addy wrote: Try as I said before. abc.cgi?act=4&pass=def #!/usr/local/bin/php $act = HTTP_GET_VARS['act']; ... code ... ?> this way you can do: echo "-- act: $act -- "; I'm porting some php cgi scripts from our old web server to a new one. In know zip about php and didn't create th

Re: [PHP-INSTALL] post variables not working?? (Oops:))

2004-02-13 Thread Jorge Reteguin
Why don't you send a piece of your code ? Chris wilson wrote: we're already using SUPERGLOBAL_POST, its just that they stopped working. the GET variables are coming through fine, just not the posts. also, I was told it would'nt be an intermittent thing. Does this make any sense? :) thanks! Ch

Re: [PHP-INST] Re: PHP and MySQL configuration

2002-11-25 Thread Jorge Reteguin
try this: ../configure --with-mysql=/usr/ > I am having troubles getting MySQL to work with PHP. I keep getting > this error when I try to connect to MySQL. I get this error: > > Fatal error: Call to undefined function: mysql_connect() in > /var/www/html/cobatrack/index.p

Re: [PHP-INST] Problem With Form Data

2002-11-14 Thread Jorge Reteguin
Maybe you would have to enable globals in php.ini But I would really recomend you not to do it. Instead, you should use $HTTP_POST_VARS['yourPostVariable'] and $HTTP_GET_VARS['yourGetVariable'] in your scripts! I hope this solves your problem. :) > Could this be a PHP setting I need to modif