> -Messaggio originale-
> Da: Alf Stockton [mailto:[EMAIL PROTECTED]
> Inviato: lunedì 12 settembre 2005 17.45
[...]
> So my code reads:-
>
> if(($rs = TRUE)) {
^^^
Is it your code or do you forget many "=" in the example?
It should be if(($rs === TRUE))
Darvin
--
PHP
> -Messaggio originale-
> Da: Nick [mailto:[EMAIL PROTECTED]
> Inviato: martedì 19 aprile 2005 18.04
> A: php-windows@lists.php.net
> Oggetto: Re: [PHP-WIN] Call to undefined function printer_open()
>
>
> yeah, but thats only to print an single line, not a whole word file (MS
> office word
Have a look at the example at
http://it2.php.net/manual/en/function.printer-draw-text.php
it may help you.
Darvin
> -Messaggio originale-
> Da: Nick [mailto:[EMAIL PROTECTED]
> Inviato: martedì 19 aprile 2005 15.04
> A: php-windows@lists.php.net
> Oggetto: Re: [PHP-WIN] Call to undefined
> From: Ricardo J. Oliveira [mailto:[EMAIL PROTECTED]
>
> Hi,
> When I try to list my printers with the printer_list function with these
> options PRINTER_ENUM_NETWORK | PRINTER_ENUM_REMOTE the array returned are
> empty.
Hi
First the manual says that PRINTER_ENUM_NETWORK and PRINTER_ENUM_REMOT
> -Original Message-
> From: Nicola Romita [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2003 12:58 PM
> i get this message..and I'm sure my code is clean...(just from a book)
>
> Fatal error: Call to undefined function: mssql_connect() in
> D:\webster\php\mssql.php on line 10
> From: Harpreet [mailto:[EMAIL PROTECTED]
>
> I am using php with sql server. I have a field expiration which is of type
> datetime.
>
> I add a date for the expiration as '06/24/03 09:09:09' using a web form.
> When i try to display the same expiration in an edit form using
> $row["expiration"]
http://www.php.net/manual/en/function.set-time-limit.php
Darvin
> -Messaggio originale-
> Da: Bobo Wieland [mailto:[EMAIL PROTECTED]]
> Inviato: lunedì 27 gennaio 2003 18.36
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] maximun execution time
>
>
> Is there some way to get around the time l
Hi Ray
you may use $_SERVER['PHP_SELF'] or turn on the parameter 'register_global'
For more info:
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve
r
Darvin
> -Messaggio originale-
> Da: Ray [mailto:[EMAIL PROTECTED]]
> Inviato: venerdì 17 gennaio 2003 13.40
>
Hi Rui,
I may suggest you to copy the *.dll files from the dll directory into
system32 or int the same directory where you have the php.exe. I noticed
this behaviour when I installed php 4.3, and, with this trick, I got it
work, but I haven't read carefully the new file 'install', probably you may
Ciao Franco
> After many test and many consideration I decide to use SAX
> instead DOM or XSLT
> because XPath it is must stable. But the performance it is not
> equal like DOM.
Do you had successed to parse the external parameters entities with Expat?
If yes, could you explain me how you make it
Do you have enabled the GD extension ?
Darvin
> -Messaggio originale-
> Da: Matt Babineau [mailto:[EMAIL PROTECTED]]
> Inviato: mercoledi 24 aprile 2002 18.02
> A: 'Php-Win (E-mail)'
> Oggetto: [PHP-WIN] Image generation question
>
>
> I have been trying to generate images dynamicall b
> $filename = "/home/sites/www.ktjconsulting.com/web/demo/cms/cms.htm";
> $fp = @fopen("$filename", "w+") or die ("Could not open File");
> fputs ("$EditorValue"); < LINE 4
^
Is it an error in your e-mail, or really you have that code?
The statement should be "fputs(
See this colomns
http://www.zend.com/zend/spotlight/sendmimeemailpart1.php
Darvin
> -Messaggio originale-
> Da: George Pitcher [mailto:[EMAIL PROTECTED]]
> Inviato: giovedì 28 marzo 2002 12.26
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] mail() with attachments
>
>
> Hi guys,
>
> I'm doi
Hi Murphy
this is a very dumb answer... you may test if Approve.length is equal to
zero before the second loop, so you may change your code to
for(int i = 0; i < View.length; i++)
if(Approve.length==0) { do something }
else {
for(int l = 0; l mailto:[EM
Hi Mark,
what is the value of $MID? Have it the table name or any other unespected
value?
Cheers
Darvin
> -Messaggio originale-
> Da: Mark Sweeney [mailto:[EMAIL PROTECTED]]
> Inviato: sabato 2 marzo 2002 0.17
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] error query
>
>
> Sorry to bother,
Travis, you hve register_globals set to off. You my turn it on, or,
according to security issue, use $_REQUEST["testvar"].
Regards
Darvin Andrioli
> -Messaggio originale-
> Da: Travis Wyatt [mailto:[EMAIL PROTECTED]]
> Inviato: lunedì 4 febbraio 2002 7.51
&g
Gary wrote:
> I am porting a website from a Unix server to IIS 5.0 on W2K Advanced
> Server. The PHP code currently is using Shared Memory calls. My
> developer tells me the information is shmop-based.
>
> Here's a sample of the code. The site is not functioning as it's
> supposed to and I beli
Paul wrote
...
> When trying to configure the ini file to accomodate email, I rightly or
> wrongly edited the 'php.ini-recommended' file to my SMTP entry to:
>
These are "suggested" configuration. You may use one of them and configure
it to match your requirement. About mail parameter, I haven't
Try $_SERVER["PHP_SELF"]
Darvin
> -Messaggio originale-
> Da: David [mailto:[EMAIL PROTECTED]]
> Inviato: domenica 6 gennaio 2002 3.12
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] Re: $PHP_SELF
>
>
> Steve Yates said something on 05 Jan 2002, in php.windows:
>
> > "David" <[EMAIL PROTECTE
Do you have comment out the line "extension=php_printer.dll" in your
php.ini?
Regards
Darvin
> -Messaggio originale-
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Inviato: giovedì 4 ottobre 2001 17.53
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] printer_open() undefined
>
>
> Hi t
Hi Ronald
I suggest you to define the line
ScriptAlias /php/ "e:/internet/homepage/blank/php/"
as an alias, ( Alias /php/ "e:/internet/homepage/blank/php/" )
and then define a new scriptalias for php.exe.
I.e.
ScriptAlias /phpexe/ "c:/php/"
Action application/x-httpd-php "/phpexe/php.exe"
Grea
Hi Daniel
Are the file size less then the parameter "upload_max_filesize"?
Darvin
> -Messaggio originale-
> Da: Sichta Daniel [mailto:[EMAIL PROTECTED]]
> Inviato: giovedi 23 agosto 2001 9.23
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] Upload
>
>
> Hi there,
> cfg: w2k, Apache 1.3.20, p
The PHP use the C_style to access to the command line. So $argv[1] is the
first parameter, $argv[2] the second and so on...
$argc is the number of parameters.
Greatings
Darvin
> -Messaggio originale-
> Da: SereyVuth Hong [mailto:[EMAIL PROTECTED]]
> Inviato: martedì 21 agosto 2001 17.
Change your code in:
}
?>
You will obtain an array, named test, with 5 elements.
Bye
Darvin
> -Messaggio originale-
> Da: Sichta Daniel [mailto:[EMAIL PROTECTED]]
> Inviato: martedi 21 agosto 2001 15.15
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] Array
>
>
> Hi there !!
> cfg: php
Have you inserted "extension=php_printer.dll" in you php.ini ?
Darvin
> -Messaggio originale-
> Da: Deleo Paulo Ribeiro Junior [mailto:[EMAIL PROTECTED]]
> Inviato: sabato 11 agosto 2001 15.44
> A: Lista PHP
> Oggetto: [PHP-WIN] Printing functions
>
>
> Hello!
>
> I have sent some ques
I've got the same problem with IE 4.01, so I looked for it at MIcrosoft and I got:
According to RFC 2183, servers should be able to force a Save-As type dialog box by
sending a "Content-Disposition: attachment" server response header to the client when
sending the requested file back to the bro
Hi,
change the following lines:
from
ScriptAlias /php/ "php"
to
ScriptAlias /php/ "c:/path/to/your/php/directory/"
and the third line from
Action application/x-httpd-php "php/php.exe"
to
Action application/x-httpd-php "/php/php.exe"
At the end reboot Apache.
Darvin
-Original Message
It seems that Apache doesn't recognize your script as php file.
First have you rebooted Apache after you modified httpd.conf? If so,
check the following lines:
ScriptAlias /php4/ "f:/php/php4corrente/"
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php4/php.exe"
This
Hi John,
I got this message the that I installed the release 4 of PHP.
In that case it was caused by an error in php.ini. In that file I configured some dll
that I hadnt installed, or, as someone wrote, php can't found.
Have a look for "X-Powered" in the past ( last year.. ) threads of this
You may use the function isset.
Try this code:
if (!isset($id)) { // variable not set
}
Regards
Darvin
-Original Message-
From: Dwight Sparling [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 3:44 AM
To: [EMAIL PROTECTED]
Subject:[PHP-WIN]
Check the contents of '$tblIngress' and '$tblText', some characters , such as ' , may
give you this error .
Darvin
-Original Message-
From: Glenn [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 2:08 PM
To: [EMAIL PROTECTED]
Subject:[PHP-WIN] PHP4 and MS Access
Ignatius wrote:
> try assigning it to another variable first:
> for
> $tag = "$tag_num$i";
> $type = "tag_type$i";
> $sql = VALUES (..., $tag, $type);
The last statement must be:
$sql = VALUES (..., $$tag, $$type);
so you get the value of the variable na
Hi Mike
I'm wrinting an intranet site where my colleagues can write notes about their job, so
I'm interested to your post.
I evaluated many ways to write this notes.Html? No, nobody knows html.
Word? Yes it may be a possible solution. As you wrote its usefull get only the text,
because I get th
33 matches
Mail list logo