RE: [PHP-WIN] test message

2004-01-16 Thread Mike Brum
Not being able to replay is a common problem with VCR's. Please take yours to a local repair shop or, if it's still under warrantee, you should be able to send it back to the manufacturer and get free repairs for only the price of shipping. Good luck. -Original Message- From: Svensson, B

RE: [PHP-WIN] Windows XP hang problem

2004-01-12 Thread Mike Brum
It seems to me like you did all the testing you need to and that the problem is F-Secure. Why not give them a call and ask support what's going on since it's prohibiting the execution of one of your executables? Beyond that, I work with anti-virus software - there has to be a way to exclude direc

RE: [PHP-WIN] Calling a function from a hyperlink

2004-01-10 Thread Mike Brum
Can you be a bit more clear on "calling a function from a hyperlink"? If you're referring to that in the JavaScript sense, then no. If you mean "how do I submit a form from a text link" then that's also done through JavaScript, but it still POSTs/GETs a page on your server and you return content.

RE: [PHP-WIN] mail()

2004-01-07 Thread Mike Brum
It's very possible that they're not letting you relay through them since you're not providing any authentication for that mail server but just trying to send (as far as it can tell) "random mail from an unknown sender". The mail server can't tell the difference from your script from that of any ot

RE: [PHP-WIN] i need help

2003-11-27 Thread Mike Brum
Do you have register_globals on? If not, try this: Your username = " . $HTTP_GET_VARS['username'] . ""; echo "Your password = " . $HTTP_GET_VARS['password'] . ""; ?> Regards Mike -Original Message- From: Hasan Barýþ Karayel [mailto:[EMAIL PROTECTED] Sent: Thursday, November 27, 2003 1

RE: [PHP-WIN] Call to undefined function: imagecreatefromgif()

2003-10-12 Thread Mike Brum
Please refer to the function entry for imagecreatefromgif(). You'll note that it's been a function that's been discontinued from GD due to copyright issues. http://www.php.net/manual/en/function.imagecreatefromgif.php -M -Original Message- From: Guus Bil [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP-WIN] Session Problem

2003-10-05 Thread Mike Brum
Assuming this is tied into your other problem (which I read first), then the problem here is that it appears you're on a Windows machine and you don't have php.ini set up correctly. You need to set the session.save_path in php.ini to point to a directory that exists. Mine, for example is this: se

RE: [PHP-WIN] Session prob

2003-10-05 Thread Mike Brum
You need to start the session. sesstion_start(); Read up - http://us3.php.net/manual/en/function.session-start.php -Original Message- From: Disko_kex [mailto:[EMAIL PROTECTED] Sent: Sunday, October 05, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Session prob Why isn´t

RE: [PHP-WIN] page cannot be displayed error

2003-09-26 Thread Mike Brum
Now, if you put a .htm, .txt, .jpg or other file (anything NOT .php), then do you see those files when placed in the same directory? -M -Original Message- From: Jim [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 2:28 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] page cannot be

RE: [PHP-WIN] Writing to a file

2003-09-25 Thread Mike Brum
I guess this all depends on how you're writing to the file. Without code, I'm not sure what the specific problem is. One way to do this would be to read the file into an array and replace the line in that array. Then, write the newly constructed array to file. This way, at write time, the former d

RE: [PHP-WIN] Looping problem

2003-09-25 Thread Mike Brum
Here's something I'd do: $tmp = 1; for(loopconditions){ [do stuff]; if($tmp > 1){ iterations is not the first time through } else { this is the first iteration of the loop } $tmp++; } -M -Original Message- From: Gerardo Rojas [mailto:[EMAIL PROTECTED] Sent: Thursday, S

RE: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Mike Brum
And is that DLL in the folder specified? -Original Message- From: Gareth Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:36 PM To: Mike Brum; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] upgrade imap dll problem Mike, extension_dir does point to the correct directory

RE: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Mike Brum
I can think of two ways to probably fix this - 1) If you want to get rid of the error you should be able to comment the line in your php.ini file: extension=php_imap.dll 2) If you look at your extension_dir directive in the php.ini file, I'm guessing it says something like extension_dir = d:\

RE: [PHP-WIN] PHP randomly is not parsing a valid script

2003-09-22 Thread Mike Brum
If you're positive that it's the server(s), then why not take another machine, install PHP & Apache, port the code and confirm that it's code-independant? -M -Original Message- From: Francesco [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 8:09 AM To: [EMAIL PROTECTED] Subjec

RE: [PHP-WIN] Automatic load .php page

2003-09-21 Thread Mike Brum
That depends on you actual code. There's the header(location: http://url.to.page/); command that you could use, but if you're already starting a session, I believe that you can't use the header() command since the session already sends the header. Though you could always include(); the member_are

RE: [PHP-WIN] Re: Apache or IIS

2003-08-02 Thread Mike Brum
What I've found is that if you're going to making a quick & dirty little dev environment on a personal machine and you're running Windows, then using IIS is just fine. It's extremely quick and easy to set up and it's easy to learn even if you don't know what you're doing and are making "educated gu

RE: [PHP-WIN] Display new Page after Form is processed

2003-06-05 Thread Mike Brum
In the script that you use to actually enter the information into your DB simply output HTML headers and print what you want to the screen. A basic example: Thank you for your submission..."; ?> -M -Original Message- From: Oliver Steimer [mailto:[EMAIL PROTECTED] Sent: Wednesday, Jun

RE: [PHP-WIN] Redirect to Home Page

2003-03-31 Thread Mike Brum
You can easily do that with JavaScript. if (document.location.href != "index.html"){ document.location.href = "index.html"; } My syntax might be screwy (haven't done JavaScript in a while) but you get the idea. -Mike -Original Message- From: Wade [mailto:[EMAIL PROTECTED] Sent: Monda

RE: [PHP-WIN] Re: php as exe in windows

2003-03-25 Thread Mike Brum
There's a few problems with that - Let's say someone closes the window it's running in - then it's gone. Or let's say there's an error and it haults or Windows just messes up (Windows - mess up? - never!). With the Scheduled Task option, you can add limits on how long it's going to run and other o

RE: [PHP-WIN] php as exe in windows

2003-03-24 Thread Mike Brum
The first step is to obviously install PHP and have it associated with .php files on your system and create your script that works 100% when you just double-click on the file. After that's working, create a .bat file that makes a call to the PHP executible (C:\PHP\php filename.php). Then, create