[PHP-WIN] Re: Filemanager Problems...

2002-01-01 Thread G Schneider
Hi, well without knowing anything about your script, filemanager.php, I would guess that your script is wanting to access another directory (other than the directory it currently sits in). But scripts cannot do that if PHP's Safe Mode is switched on. Your webhost decides wether Safe Mode should

[PHP-WIN] Re: Real Simple, But I'm New!!

2001-12-29 Thread G Schneider
Hi Lee, I'm not quite sure what you mean, but to include other files into a PHP script, you use the include("file.html"); function. So, if you have a page called news.html and you want to include it into a PHP page called display.php, you would use some code like this: And the link to the pag

[PHP-WIN] MySQL: What if .... ?

2001-12-10 Thread G Schneider
What do you do if the only root user has removed all his own privileges? How do you rectify the situation without reinstalling MySQL? Thanks, - Jefferrs P.S. This message is also being posted to alt.comp.lang.php, alt.php, and alt.php.sql -- PHP Windows Mailing List (http://www.php.net/) To

Re: [PHP-WIN] my MySQL hacked?

2001-12-10 Thread G Schneider
> wrote in message 000601c1800f$423b1e80$273abe18@utkalika">news:000601c1800f$423b1e80$273abe18@utkalika... > move to a unix box never trust IIS/W2k ! > > -Original Message- > From: G Schneider [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 08, 2001 10:39 AM >

[PHP-WIN] Re: Plug-in detection.

2001-12-10 Thread G Schneider
"Mark Hope" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm looking for a way to detect the flash plug-in, writing a suitable > include file for those that have the plug-in, and another include for > those that don't. > > Can anybody point me in the right di

[PHP-WIN] my MySQL hacked?

2001-12-08 Thread G Schneider
Okay, okay okay... I got up this morning to discover that my MySQL server has had ALL its databases DELETED except for the mysql.* one. When looking in the mysql.user table, I discovered that there were now TWO "root" users - except the new one required NO password. Also, another root-access use

[PHP-WIN] PHP's XML parser doesn't work

2001-10-19 Thread G Schneider
Hi, I use the PHP XML parser to display various information on a page. I find that sometimes, the XML parser will cut off the begining of words and sentances, that are stored in my XML files. So if I have a list of information like this: Instructions To Build A Car Instructions To Bulild A

[PHP-WIN] Re: I need some help or a .45 magnum

2001-08-06 Thread G Schneider
If the mail function doesn't work - PHP may never give you an error message. It may just hang. Many providers don't let their SMTP servers accept relays. This is needed for the PHP mail() function to work. -- http://www.webmastersdog.com where website own

[PHP-WIN] Re: test it please

2001-07-29 Thread G Schneider
Maybe I should clarify: What I would like is for someone to *download the source code* and then try it out on *their own* server. I already know that it works on my server. I'm just not sure about others. Thanks! "G Schneider" <[EMAIL PROTECTED]> wrote in message [E

[PHP-WIN] test it please

2001-07-29 Thread G Schneider
Hi, I've written a PHP guestbook with the slight twist of it not requiring a database. Anyway, I would appreciate it if someone would download the source code, and then try it out on their own server. I am asking this because I tried it on f2s.com (a free PHP webspace provider) and it did nothing

[PHP-WIN] Re: php-newbie is wondering ...

2001-07-28 Thread G Schneider
Your problem is probably that the mail() function doesn't work, yes? Well, this is usually because providers will not allow their SMTP server accept things called 'relays'. PHP needs to use a SMTP server that *does* accept relays. Ask you provider to either: 1) Allow their SMTP server to accept

[PHP-WIN] ImageGammaCorrect($image, $newingamma, $newoutgamma);

2001-07-26 Thread G Schneider
Hi, I have found that the following function: ImageGammaCorrect($image, $newingamma, $newoutgamma); ...does not work in PHP 4.0.6 with GD images that you create using the: ImageCreateTrueColor() ...function. Why is this? And, more importantly, how can I get around this problem? Thanks, Jeffe

[PHP-WIN] Re: Make file.php look like file.htm ???

2001-07-26 Thread G Schneider
You could put the php file inside a frameset. Other than that, I'm stumped. But allowing the user to see the .php extension might be quite good advertising, really. There are loads of sites that have no shame in making every page end with .asp - so we might as well fight back with the .php exten

[PHP-WIN] Re: latest version of PHP won't let you....

2001-07-25 Thread G Schneider
t;>news:[EMAIL PROTECTED]... > > "Del" is a DOS command. Try: > > exec ("cmd.exe /c del $file"); for NT and W2K or > exec("command.com /c del $file"); for Windows 9X and ME > > Glenn > > "G Schneider" <

[PHP-WIN] latest version of PHP won't let you....

2001-07-25 Thread G Schneider
After installing the latest version of PHP for windows, I have found that it won't let you use the exec() function. e.g. if you want to delete a file on a windows server, you would use exec("del $file"); rather than unlink("$file") which is for UNIX based servers. Or am I wrong and there is just

[PHP-WIN] Re: PHP in Opera browser and TTF issues.

2001-07-25 Thread G Schneider
I would say that the Opera problem lies with the Opera browser itself. I doubt there is anything to get around the problem. It all depends how the image is saved. For example, I recently was viewing a website all about Gnome, and none of the images or logos loaded in in IE, but when I looked at t

Re: [PHP-WIN] Orangey GD!

2001-07-24 Thread G Schneider
doesn't look more orange after I click "make changes" for me. > > On Wed, 25 Jul 2001, G Schneider wrote: > > > Hi there, > > > > Here's a strange one for you: My provider just installed the latest version > > of PHP on the server - and now whe

[PHP-WIN] Orangey GD!

2001-07-24 Thread G Schneider
Hi there, Here's a strange one for you: My provider just installed the latest version of PHP on the server - and now whenever GD is used to alter images, it turns them *orange*. Take a look for yourself (try changing the width or height of the image): http://www.webmastersdog.com/gd/gd_example1

[PHP-WIN] fork?!?!

2001-07-24 Thread G Schneider
Hi all, I get this message when I try to delete a file using PHP: Warning: Unable to fork [del wmd_banner.png.temp.png] in c:\webspace\openhosting4\GB***\webmastersdog.com\www\testfile.php on line 608 the code I'm using is the 'ole exec("del $file");thingy you have to use on Windows

[PHP-WIN] No extensions work!

2001-07-12 Thread G Schneider
Hi, could *someone* please try to help me? I've been using PHP for a while now on my Win98 machine with no problems. But I just upgraded to PHP4.06 and when installing it, I accidentally got the new install to overwrite my php.ini file. So, I had to go back into the php.ini file to add the exte