this doesn't work. It will still write the new line after the line (I matched).
Everytime I read a line from a file, the $fd gets incremented, so when I say fwrite,
$fd is already pointing to the next line in the file? Any suggestions as to working
around this? I can't rewrite the entire
I can\ only assume that it does work ok with a linux-based
webserver or it wouldn't be in there. In fact, if I put in is_file()
instead of !is_dir, it returns nothing at all.
That code wont work on a unix based system since in many cases
files does not have an exstensions at all, like
-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
- Original Message -
From: Svensson, B.A.T. (HKG) [EMAIL PROTECTED]
I can\ only assume that it does work ok with a linux-based
webserver or it wouldn't be in there. In fact, if I put in is_file()
instead of !is_dir, it returns nothing at all.
That code wont work on a unix based
Hi,
I have 3 dynamic arrays which is related data pulled from a mySQL database,
the first being day $days[],second being amount $amount[] and third being a
specific code $code[]. What I need to do is display a table with 1 to 15 in
the left hand column (days) but where the array $days[] contains
Hi,
I have 3 dynamic arrays which is related data pulled from a mySQL database,
the first being day $days[],second being amount $amount[] and third being a
specific code $code[]. What I need to do is display a table with 1 to 15 in
the left hand column (days) but where the array $days[] contains
Hello,
please unsubscribe me from the PHP-WIN - mailinglist.
Thank you !
Hermann
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
please unsubscribe me from the PHP-WIN - mailinglist.
Thank you !
Hermann
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
please unsubscribe me from the PHP-WIN - mailinglist.
Thank you !
Hermann
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Herman,
Use the link at the bottom and unsubscribe yourself.
please unsubscribe me from the PHP-WIN - mailinglist.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
Hello,
please raise my sallary!
-Original Message-
From: Herzog, Hermann
To: [EMAIL PROTECTED]
Sent: 29-9-2003 12:30
Subject: [PHP-WIN] unsubscribe
Hello,
please unsubscribe me from the PHP-WIN - mailinglist.
Thank you !
Hermann
--
PHP Windows Mailing List
Would something like
SELECT day, SUM(amount) AS amount_sum, DISTINCT(code) AS code
FROM some tables
WHERE some conditions are true
GROUP BY day,amount _sum, Code
be usefull for you? Or do you already do this?
-Original Message-
From: Mike Quinn
To: [EMAIL PROTECTED]
Sent: 29-9-2003 6:30
Just a question for the purpose of giving a proper answer:
is it possible to have different codes on the very same day?
-Original Message-
From: Mike Quinn
To: [EMAIL PROTECTED]
Sent: 29-9-2003 7:11
Subject: Re: [PHP-WIN] Matching arrays to build tables
Hi Svensson,
Thanks for that.
Sorry,
very well spotted and I should have said so before - the codes will be the
same as they will be related to the same transaction.
Thnks,
Michael
B.A.T. Svensson [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Just a question for the purpose of giving a proper answer:
is
Hi,
I'm having a problem with the following query (ODBC on M$ Access):
select Pack.*, Transacts.*, Extracts.* from Pack, Transacts, Extracts where
(
Pack.End date() and Pack.Term='Lent' and Transacts.Week=1 and
Transacts.Pack_ID=Pack.Pack_ID and Extracts.ID=Transacts.Extract_ID)
ORDER BY
Hi George,
Just at a quick glance it might be to do with the Date(); Remove that
clause and see what happens. I could be wrong.
Rgds,
Michael
George Pitcher [EMAIL PROTECTED] escribió en el mensaje
news:[EMAIL PROTECTED]
Hi,
I'm having a problem with the following query (ODBC on M$
I am not sure I understand your problem or what it consist
of, but maybe you might like to do it like this then:
SELECT day, SUM(amount) AS amount_sum, DISTINCT(code) AS code
FROM some tables
WHERE some conditions are true
GROUP BY day, amount_sum, code
ORDER BY code, day
Displaying this result
The date format in my query works fine with Access.
I solved the problem by splitting the query into two separate queries and it
now works fine.
Cheers
George
-Original Message-
From: Disko_kex [mailto:[EMAIL PROTECTED]
Sent: 29 September 2003 1:25 pm
To: 'George Pitcher'
Subject:
I got a very modest email from Bill Baron with the following code which
works absolutely perfectly even though Bill never tested it! (Slick!).
Thank's a million for that Bill and also thanks to Svensson for all the
help - very much appreciated. Here is the code which I modified ever so
slightly
Here is my problem:
Using both the Get and Post methods my variables are missing on the
resulting page. Example of code is listed below:
form method=post url=result.php name=form
input type=text name=namebr
input type=text name=urlbr
input type=submit value=send
?php
if ((!$name) || (!url)) {
php-windows Digest 29 Sep 2003 16:00:56 - Issue 1932
Topics (messages 21583 through 21607):
Re: Problem: URL Encoded Parameters
21583 by: Warren Vail
21584 by: The Hub
21585 by: The Hub
Re: Writing to a file
21586 by: Fabian Cenedese
Re: File Ext
I believe you need to add the value=your value goes here in the form.
-Original Message-
From: Jas [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 10:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] form vars missing...
Here is my problem:
Using both the Get and Post methods
You know I have tried that as well... ex.
input type=text name=fname value=fname
And I have tried adding a hidden form element as well... ex.
input type=text name=fname value=fname
input type=hidden name=fname value=fname
All to no avail, I am thinking IIS is my problem but I am going to try it
you also need reference the values as such
$_POST['fname']
in the action script.
-Original Message-
From: Jas [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 11:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] form vars missing...
You know I have tried that as
so prior to php 4 it was (!$var_name) and from php 4 on it is
(!$_post['var_name'] ?
jas
Gerardo Rojas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
you also need reference the values as such
$_POST['fname']
in the action script.
-Original Message-
From: Jas [mailto:[EMAIL
apache 2.0.47
php 4.3.3
win XP Pro
With the above combination most of the scripts I have don't work under
Apache, however they do running Omni HTTPd.
With Apache for example remote includes fail:
Warning: failed to open stream: Bad file descriptor
Failed opening 'http://somedomain.com/test.htm'
try calling fopen by itself and then do fread()
$fd = fopen($file, 'r')
$buffer = fread($fd, 1)
-Original Message-
From: manon [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2003 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] php 4.3.3 on apache 2.0.47
apache 2.0.47
One doesn't need the VALUE when the INPUT is of type TEXT. Sematic
of VALUE is in this case defined as defualt text to display in
edit box. If left out, it displays a null string, e.g. an empty
field.
On your specific problem I have no suggestions though
-Original Message-
From: Jas
Jas
Here is my problem:
Using both the Get and Post methods my variables are missing on the
resulting page. Example of code is listed below:
form method=post url=result.php name=form
input type=text name=namebr
input type=text name=urlbr
input type=submit value=send
?php
if
Sorry yeah i noticed the form element was using the wrong syntax on this
page but I didn't copy/paste into the newsgroup.
The results of the form for the 'url' field would be whatever the user
decided to type into the particular field (ex. http://www.somewebsite.com)
and the resulting page just
2. As others indicated: you aren't giving any value to your text inputs.
That should not effect the functionality. The VALUE tag is only required for
radio buttons and check boxes . Point 1) is on target, fix that and it
should work.
For reference see:
That should not effect the functionality. The VALUE tag is
only required for
radio buttons and check boxes .
You are correct.
I tested this on my IIS 4.0 server with PHP 4.3.3RC2.
The reason for no values is most likely due to bad syntax in action.php
No errors are reported but
Has anyone done this with PHP? I'm looking for the best way to create a web
service on a hosted server. Currently, the provider is running the SOAP:Lite
(PERL) module, but I'd rather not have to learn PERL.
___
This message and any attachments are intended only for
Use nuSoap.php It is an include file that I have used to create a few
web service client pages.
http://dietrich.ganx4.com/nusoap/index.php
http://www.google.com/apis/
?php
require_once('nusoap.php');
$Search = something;
$soapclient = new
Hey,
I need to connect to a ftp server in a IFRAME within a script. The only
problem is that the url to loginto this account is
ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED] is there a way to get this
account to login to the ftp server with the ftp function and have the normal
ftp upload window
35 matches
Mail list logo