[PHP] Problems with connections to mySQL

2001-08-20 Thread Marc Hanlon
I seem to be having a major problem with Apache 1.3.20 (Win32), PHP 4.0.6 and mySQL server 3.23.33 running on a Windows 98 SE machine. I use a single mySQL persistant connection through a globals.php3 file, it doesn't seem to be working as expected though, here is a copy of me NETSTATS and you'll

[PHP] Re: PHP within .html files

2001-08-16 Thread Marc Hanlon
It's not very usual for the simple reason that many people who have access to a PHP web server don't use it, they just use normal HTML. The problem with having HTML execute as PHP is that it uses the PHP module when it mightn't need to. On my webserver the extensions which are parsed as PHP are .p

[PHP] Re: Help, I'm so close!!!

2001-08-15 Thread Marc Hanlon
Brandon, I was told of a better way of sending POSTs without using cURL and it allows usernames and passwords to be used... // Format of $authorization is username:password (for password protected directories) // Code can be easily modified to add input parameters for User-Agent, Referer, Cookie

[PHP] POST from the script

2001-08-14 Thread Marc Hanlon
I was wondering if anyone knows how to make a script that is capable of doing it's own POST to a page without needing a form to be filled in. Basically it needs to perform the same sort of action as: www.anyplace.com/script.php?action=say&text=hello Unfortunately I cant change the script at the