[PHP-WIN] I cant run an external command

2002-12-03 Thread s
Hi, I wrote a form for add user on email server but the line $f =shell_exec( `d:\imail\adduser.exe -u $userid -p $password2`); return alway error -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 3 Dec 2002 10:30:22 -0000 Issue 1468

2002-12-03 Thread php-windows-digest-help
php-windows Digest 3 Dec 2002 10:30:22 - Issue 1468 Topics (messages 17238 through 17238): I cant run an external command 17238 by: s Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To

Re: [PHP-WIN] I cant run an external command

2002-12-03 Thread Luis Moreira
Exactly what is the error ? What OS are you running ? There is a difference between using the character ' and the character ", you know ? For instance, the script $filename="test.txt"; $f = shell_exec("notepad.exe $filename"); will open TEST.TXT, but is younger brother $filename="test.txt";

[PHP-WIN] Re: I cant run an external command

2002-12-03 Thread J.Veenhuijsen
Maybe this is caused by Safe-mode If php is in safe-mode shell_exec won't run Jochem S wrote: Hi, I wrote a form for add user on email server but the line $f =shell_exec( `d:\imail\adduser.exe -u $userid -p $password2`); return alway error -- PHP Windows Mailing List (http://www.php.net/

[PHP-WIN] GD with Gif upport for 4.2.2

2002-12-03 Thread erich
Hi where i can find a compiled GD extension with Gif support for PHP 4.2.2 for a WAMP Installation ?? Any Help ? Greetings -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] data format..

2002-12-03 Thread Sandeep Murphy
Hi, I have a PHP - MySQL site on one hand and various types of clients .. mean to say, I hv clients who need the data in the MySQL db supplied to them in MS Access, Excel, Dbase formats such that they can integrate the data directly into their existing type of database. for Excel, I can probab

Re: [PHP-WIN] data format..

2002-12-03 Thread DL Neil
Hi Sands, I have a PHP - MySQL site on one hand and various types of clients .. mean to say, I hv clients who need the data in the MySQL db supplied to them in MS Access, Excel, Dbase formats such that they can integrate the data directly into their existing type of database. for Excel, I can pro

RE: [PHP-WIN] data format..

2002-12-03 Thread Sandeep Murphy
Thnx Neil, tried that but didnt comeup with very helpful info.. prob am not doing the search right.. wud appreciate some tips.. cheers. -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: terça-feira, 3 de Dezembro de 2002 16:37 To: Sandeep Murphy; [EMAIL PROTECTED] Subjec

[PHP-WIN] checking if is FORM is POSTED

2002-12-03 Thread Matt Babineau
What is the best way to check if a form is posted so people can't post to my forms? I want to make sure that the post is coming from the right page and that it is indeed a post operation. Thx, Matt

[PHP-WIN] Do NEbody have example of the following ??

2002-12-03 Thread Raheel Hussain
function SetDomain(d) { document.domain = d; } hi , I was reading the following quiestion and its description but couldn't get to the edge of it. but if some body give the example of what have witten(answer to the question) below here it is // What is the best way to write an application for

[PHP-WIN] Pointers??

2002-12-03 Thread Raheel Hussain
function SetDomain(d) { document.domain = d; }What is the actuall user of pointers in PHP ? or where can they be used. ?? - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RE: [PHP-WIN] checking if is FORM is POSTED

2002-12-03 Thread Dash McElroy
You can check $_SERVER['REQUEST_METHOD'] to see if the data has come from POST, and check $_SERVER['HTTP_REFERER'] to see what page the data came from. However, note that the HTTP_REFERER method cannot be trusted because the following are possible: 1. User could have referers turned off (Mozilla c

[PHP-WIN] Script lifetime

2002-12-03 Thread Radovan Radic
Hi folks I need to ask something about scripts&browser First, i didnt know that script is still working even if the user closes the browse (scripts that work long time) My problem was that some scripts are running very long (long queries) and even if i set set_time_limit() it wont help because bro

Re: [PHP-WIN] data format..

2002-12-03 Thread Cam Dunstan
sands, comma delimited text (or tab delimited) will do for all of them, unless the dbase app does not have import facility, in which case you could structure up the data into genereic dbase format yourself, its a fairly simple format, a header with info about fieldnames, sizes and types, followed b

Re: [PHP-WIN] data format..

2002-12-03 Thread Leon
Hi I have only one major problem with the solution below and that is as follows: MySQL does not follow SQL standards ie: You could have been using data types that would not import to a PgSQL server and there is little to nothing you can do about that!!! Sorry to be the one to tell you this, but

php-windows Digest 4 Dec 2002 07:04:04 -0000 Issue 1469

2002-12-03 Thread php-windows-digest-help
php-windows Digest 4 Dec 2002 07:04:04 - Issue 1469 Topics (messages 17239 through 17251): Re: I cant run an external command 17239 by: Luis Moreira 17240 by: J.Veenhuijsen GD with Gif upport for 4.2.2 17241 by: erich data format.. 17242 by: Sandeep Murphy

[PHP-WIN] Session Variables

2002-12-03 Thread Jed R. Brubaker
I am having a problem with a simple script that uses session variables. It is a user authentication script and none of my users have had any problems with the exception of one individual. The session variables simply don't carry over. I am half convinced that it is user error, but have any of you r