[PHP-WIN] === Application Error 1000 ===

2009-12-04 Thread L��a �ern�k
Operating system: Windows Server 2008 R2, SP1, 64bit In the system are created 2 scheduled tasks. uloha_1 and uloha_2. The role uloha_1 runs every 5 min. The role uloha_2 runs every 5 min. Tasks uloha_1 is run this command: C:\inetpub\wwwroot\wscctyrlistek\php\php-cgi.exe -f C:\inetpub\wwwroot\

Re: [PHP-WIN] Re: Run batch files using php

2004-04-29 Thread Harpreet K. Singh
I run the batch file double clicking on it and it copies the files from one server to the other. I run the copy command in dos prompt it runs perfect I try running the same copy command or running the same batch file using exec in my php page and i get access is denied. What do i need to do to c

Re: [PHP-WIN] Convert string to date

2004-03-25 Thread Harpreet K. Singh
gt; 112 gives the date format as "mmdd", and that should > solve your problem. > > -Original Message- > From: Harpreet K. Singh > To: 'Php-Windows ' > Sent: 23-3-2004 19:06 > Subject: [PHP-WIN] Convert string to date > > I have a report that ha

[PHP-WIN] Convert string to date

2004-03-23 Thread Harpreet K. Singh
I have a report that has an expiration field I want to sort by expiration but when clicked it sorts alphanumerically and shows january 01 before march 03 no matter what the year. If i do select expiration and sort it works fine but if i say select [expiration]=convert(char(10), expiration, 101) i

Re: [PHP-WIN] Sending arguments to a SP in PHP

2004-03-04 Thread Harpreet K. Singh
Because it is a string The first variable is a sql statement which is a string the call to the SP is as follows exec limitselect 'select var1, var2, var3 from table1 order by var1',10,100 - Original Message - From: "Gerardo Rojas" <[EMAIL PROTECTED]> To: &

[PHP-WIN] Sending arguments to a SP in PHP

2004-03-04 Thread Harpreet K. Singh
I am using PHP and sql server 2000. I have a stored procedure which takes 3 arguments. The first argument is a string and the rest 2 are integers. For some reasons the call to the stored procedure is being trimmed. My call is as follows $oldquery="select var1,var2,var3,var4. from table order

[PHP-WIN] Running an exe from local drive

2004-02-24 Thread Harpreet K. Singh
I am trying to run an exe file from my php page. But i get an error Access is denied I am trying to open the file using javascript document.location=fp Thismight be a javascript question but if any one can help that would be great Regards, -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] Passing value in URL to form

2003-03-09 Thread Stephen K Knight
I have managed to pass information through a URL and extract it and insert it into a form on a php document. Can this be done for an html document? Passing the value through the URL to an html page with form and then through a URL again into a php doc. I tried the same method I used in the php do

[PHP-WIN] Passing value in URL to a form

2003-03-09 Thread Stephen K Knight
Is there a way to pass a value from on html page to another on a different server through a URL and have that value input into a form. The value trying to be passed is a record id from a database. I tried retrieving the value from the URL with It carries the id number over in the URL, however it

[PHP-WIN] Im almost there just a little more help

2003-03-07 Thread Stephen K Knight
?> If someone could fix this I would greatly greatly apreciate it! In Kindness Stephen K Knight -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] I am try to upload an image to a folder on my web server

2003-03-06 Thread Stephen K Knight
code below. Can someone please look and help me so that I can upload the image to that folder. Thank you! In Kindness Stephen K Knight \n"; // echo "newname = '" . $newname . "';\n"; // echo "\n"; } -- PHP Windows Mailing List (http://

[PHP-WIN] I am having probles getting apache to work with php

2003-03-06 Thread Stephen K Knight
I am currently running on a Windows Box the OS is ME I have installed apache 2.0.44 and I have downloaded the newest PHP download for windows. I have read the configuration manual repeatedly for getting the php into the apache httpd.conf doc file. but I still cannot get php to be recognized. Can a

[PHP-WIN] Re: results of mysql_fetch are returning the incorrect records

2002-08-15 Thread K. Lee
I tried echo the sql in this function but I do not know where it print the statement. This function is inside *.inc file which is require in the html that I am printing the results of the query. So, to answer your question, I using the data to display on a html page. I am returning an array fro

[PHP-WIN] results of mysql_fetch are returning the incorrect records

2002-08-13 Thread K. Lee
I have problems with mysql_fetch return the wrong records. If I execute the sql statement in mysql, I receive the correct results. When I used mysql_fetch function, it does not return the correct results. Below is my function and the format sql statement function companiesByBusiness_ZipCode_Bu

[PHP-WIN] create a file (simple)

2002-08-10 Thread K. Lee
This is my first using php. I trying to do something by creating file to see the sql statement I am sending to my database. I assuming php does not have way throw up a simple message box. Anyway, if I could get this file to create that would be great. Any help would be appreciated. function wr

[PHP-WIN] create file (simple)

2002-08-10 Thread K. Lee
I am new at php. I trying to debug my code. So, I am trying to print out my sql statement to a file to make sure the syntax is correct. I trying to find a way to print out to a message box or something. I guess php does not have that capability or I cannot find the function that will help me d

AW: [PHP-WIN] php mail()

2002-01-24 Thread k . krohn
Hello Fabian! Try this: Works fine for me, should work for you, too. Be carefull with $extra_header. If you forget a blankspace or an \n, it won't work. More Infos at: http://www.php.net/manual/en/function.mail.php (German: http://www.php.net/manual/de/function.mail.php ) Karsten > I hav

[PHP-WIN] Re: duplicate entries

2001-08-01 Thread k
#x27;$hostname'"); if (mysql_num_rows($result) != 0) { echo "I'm sorry, I can't do that. A duplicate hostname was found."; } } else { // DO INSERT } "Pete K." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] (Pete K > Maybe so

[PHP-WIN] Re: fork?!?!

2001-08-01 Thread k
I have 4.0.6 running and I'm still getting the "Unable to fork" error that they say was fixed in 4.0.6. Maybe they don't have the latest Microsoft patches or something but this stinks. David "Arkegide" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > >

RE: RE: [PHP-WIN] duplicate entries

2001-07-24 Thread Pete K.
49-(0)7531-89207-13 >e-mail: mailto:[EMAIL PROTECTED] >internet: http://www.suchtreffer.de >_______ > > > >> -Original Message- >> From: Pete K. [mailto:[EMAIL PROTECTED]] >> Sent: Tuesday, July 24, 2001 4:

[PHP-WIN] duplicate entries

2001-07-24 Thread Pete K.
Maybe someone can help. this script catches all duplicate entries, in the hostname field of my database. The problem is, if the hostname field is left blank, [not all devices have a DNS name], the script sees the blank field, and thinks it's a duplicate. How can I reword it, so it prevents typed

AW: [PHP-WIN] free php hosting

2001-04-11 Thread k . krohn
Hello! I heard about www.f2s.com, but didn't tried it yet... Karsten > -Ursprüngliche Nachricht- > Von: sunker [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 11. April 2001 10:35 > An: [EMAIL PROTECTED] > Betreff: [PHP-WIN] free php hosting > > > dear all, > > anybody know about php