[PHP-WIN] Using W32api functions in PHP

2003-02-18 Thread Andrew Thomas
Hi, I am trying to use some W32api functions in PHP (to do some Windows NT Domain login stuff). Problems I am having: I have looked at: http://www.php.net/manual/en/ref.w32api.php Which gives a simple example of using dl() to load the appropriate dll extension, then registering the functions

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Babineau
Can you post the code? --> -Original Message- --> From: Palli [mailto:[EMAIL PROTECTED]] --> Sent: Tuesday, February 18, 2003 11:14 PM --> To: [EMAIL PROTECTED] --> Subject: Re: [PHP-WIN] Problem with file upload!! --> --> --> Hello --> --> This is what I've done sofar... --> --> 1. t

[PHP-WIN] Re: Information not being correctly parsed

2003-02-18 Thread Andrew Ferguson
That should be: "Anyways, now my pages are __not__ being parsed correctly." "Andrew Ferguson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I recently upgraded to PHP 4.3.1 from 4.2. I use the nusphere bundle, and > they had not yet incorporated the new versio

[PHP-WIN] Information not being correctly parsed

2003-02-18 Thread Andrew Ferguson
I recently upgraded to PHP 4.3.1 from 4.2. I use the nusphere bundle, and they had not yet incorporated the new version yet. Anyways, now my pages are being parsed correctly. Basically, I'm trying to post information through the url (i.e. randompage.php?male=y&age=43), and then have PHP retrieve it

Re: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Palli
Hello This is what I've done sofar... 1. the I_usr account on your server must have rights to the temp folder that php stores its temporary files, and also to the destination folder that you wish to copy a 'good' file. 2. the syntax for the path of the move command requires both a folder and the

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Babineau
You need to goto the folder permissions and add permission for the user "IUSR_" and give that user write permissions specifically to the folders that are envolved. I had the exact same error message you got and I did this and it worked. So whatever user your webserver is running on needs to have pe

Re: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Palli
Hi again!!! and thanx matt! This didnt solve my problem Im running on XP and im using IIS 5.1. I've change the server user to Administrator but I still cant upload a file. Can anybody help me "Matt Babineau" <[EMAIL PROTECTED]> wrote in message 000401c2d7ad$66febdc0$6610a8c0@webdevx">n

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Babineau
I have also gotten the same exact error, it has to do with the permissions on the server and the IUSR_x having WRITE permissions to the folder you want to move the file to and to the PHP TEMP folder (I think). --> -Original Message- --> From: Palli [mailto:[EMAIL PROTECTED]] --> Sent: Tue

php-windows Digest 19 Feb 2003 00:22:53 -0000 Issue 1594

2003-02-18 Thread php-windows-digest-help
php-windows Digest 19 Feb 2003 00:22:53 - Issue 1594 Topics (messages 18573 through 18586): A table question 18573 by: Ferzan Re: [PHP WIN] Executing cvs commands in PHP (newbie) 18574 by: Bobby Rahman Visual C++ with PHP 18575 by: Christine Gonzalez 18576 b

Re: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Palli
Hello again! now I get another error; Warning: move_uploaded_file(/frettamyndir/fastfood.jpg) [function.move-uploaded-file]: failed to create stream: No such file or directory in C:\riddarinn\Process.php on line 16 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\P

RE: [PHP-WIN] Problems installation of Apache 2.0.44

2003-02-18 Thread Chris Kranz
You also need the file php4ts.dll in either the apache directory, the windows root, or in the path directive... chris kranz fatcuban.com -Original Message- From: Luis Ferro [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 15:07 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Problems inst

RE: [PHP-WIN] Problem with file upload!!

2003-02-18 Thread Matt Hillebrand
You need to write: Matt |-Original Message- |From: Palli [mailto:[EMAIL PROTECTED]] |Sent: Tuesday, February 18, 2003 3:21 PM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] Problem with file upload!! | | |Hello I'm wondering what is wrong whit my code. I´m trying to |upload an image but

[PHP-WIN] Problem with file upload!!

2003-02-18 Thread Palli
Hello I'm wondering what is wrong whit my code. I´m trying to upload an image but I keep getting this error message?? Notice: Undefined index: NewsPicture in C:\riddarinn\Process.php on line 17 This is my code : ... ... // my process site ... if (move_uploaded_file($_FILES['NewsPicture'][

[PHP-WIN] Problems installation of Apache 2.0.44 on Win2K

2003-02-18 Thread Moses Johnson
Hello, I would be gratefull if someone could point me in the right direction. I have sent hours trying to resolve this and even had to reinstall my operating system - windows 2000. I seem to followed all the instructions,in terms of moving the php.ini file to the C:/winnt folder and php4ts.dll

Re: [PHP-WIN] Problems installation of Apache 2.0.44

2003-02-18 Thread Luis Ferro
And for using with Apache 2, it must be: php4apache2.dll Cheers, Luis Ferro Teladigital.net Per Lundberg wrote: On Sun, 2003-02-16 at 18:24, Moses Johnson wrote: when I add LoadModule php4_module c:/php-4.3.0-win32/sapi/php4apache.php in the apache configuration file and tried to start a

Re: [PHP-WIN] Problems installation of Apache 2.0.44

2003-02-18 Thread Per Lundberg
On Sun, 2003-02-16 at 18:24, Moses Johnson wrote: > when I add LoadModule php4_module c:/php-4.3.0-win32/sapi/php4apache.php in the >apache configuration file and tried to start apache > I get this error message on starting apache " syntax error on line 173 of c:/ >Program File/Apache Group/Apach

[PHP-WIN] PHP & MySQL

2003-02-18 Thread Dean Hayes
I installed MySQL and was able to create one database. The next time i tried to create a new database i tried to use a underscore (_) in the table name and it came back with an error that mysql_query() was not a function of mysql. I was able to change this by asigning the CREATE TABLE to $creat

[PHP-WIN] Problems installation of Apache 2.0.44

2003-02-18 Thread Moses Johnson
Hello, I would be gratefull if someone could point me in the right direction. I have sent hours trying to resolve this and even had to reinstall my operating system - windows 2000. I seem to followed all the instructions,in terms of moving the php.ini file to the C:/winnt folder and php4ts.dll

Re: [PHP-WIN] Visual C++ with PHP

2003-02-18 Thread Christine Gonzalez
This actually is a little more complicated, javascript calls a function thart is unbder php therefore it is starting php which is running under apache, I need a way to start a function that can only be run by php, but this needs to be started by an application written in Visual C++, it not only

RE: [PHP-WIN] Visual C++ with PHP

2003-02-18 Thread Jill . Ramonsky
I don't think you actually NEED anything fancy. Just run it from the command line, surely? > php -q filename.php You can configure many good text editors to run commands like that. (TextPad can do it for at start), so you can click on a menu item to run the command instead of needing a DOS box, b

[PHP-WIN] Visual C++ with PHP

2003-02-18 Thread Christine Gonzalez
Does anyone know how to start a PHP application through Visual C++ or C++, I can start it from Javascript, but now I need to start it from either Visual C++ or C++, or I could possibly use Java Thanks Christine -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

[PHP-WIN] RE: [PHP WIN] Executing cvs commands in PHP (newbie)

2003-02-18 Thread Bobby Rahman
hiya I have cvs running on my Win98 machine. I want to call cvs log, cvs diff functions within an html page via php. Has anyone got any suggestions how to call these external functions. I am having troubles getting exec() working so am now trying with system()any traps waiting for me?

[PHP-WIN] A table question

2003-02-18 Thread Ferzan
Hi, this is my first post. I'am a newbie in both newsgroups and php.I wrote the following code to pick picture names from the database and then insert them in a table.But unfortunately I could not manage to make rows equal. I mean I want to have four regardless of how many pictures are there(ther

php-windows Digest 18 Feb 2003 11:04:55 -0000 Issue 1593

2003-02-18 Thread php-windows-digest-help
php-windows Digest 18 Feb 2003 11:04:55 - Issue 1593 Topics (messages 18565 through 18572): < Previous and Next > Buttons 18565 by: Matt Babineau 18566 by: J.Veenhuijsen 18571 by: Chris Kranz PHP Classes, what the heck?? 18567 by: Matt Babineau 18569

[PHP-WIN] Ynt: String Compare

2003-02-18 Thread Ferzan
Brennan Mann <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello Everybody, > > Is there a way to do a hex view on strings. Right now my if statement is > evaluating to false when I compare these two strings: > S1: 1000 > S2: 1000 > If ($s1 == $s2) should e