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
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
_
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
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
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
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