Giulio wrote:
Hi,
I'm developing an application that uploads file to a server using http.
the app calls a php on the server sending all the data just like a web
form post.
It works just fine uploading little files, now i'm concerning about
having the apllication split large files in little
Marek,
thank you for your answer,
Il giorno 27/apr/05, alle 1:28 PM, Marek Kilimajer ha scritto:
Giulio wrote:
My problem is that I'm using, to make the system as general as
possible, and make it work even on servers where php doesn't have
write privileges, ftp functions instead of filesystem
I tryied using ftp_put() with startpos parameter, but I receive an error
Appen/Restart not permitted, try again
I tryed both FTP_AUTOSEEK on and off, and both pasv true and false
I imagine that this is an ftp server error message, and not a php
error, since I have searched it on php
Giulio wrote:
I tryied using ftp_put() with startpos parameter, but I receive an error
Appen/Restart not permitted, try again
I tryed both FTP_AUTOSEEK on and off, and both pasv true and false
I imagine that this is an ftp server error message, and not a php error,
since I have searched it on
Giulio wrote:
I tryied using ftp_put() with startpos parameter, but I receive an error
Appen/Restart not permitted, try again
http://www.proftpd.org/docs/faq/linked/faq-ch4.html#AEN408
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Jul 10, 2002 at 12:45:01PM -0400, Chris Earle wrote:
I'm just curious if there's a function that allows you to see how many lines
there are in a file.
I don't recall there being one. Simple way:
$Array = file('file.name');
echo count($Array);
--Dan
--
PHP
or use the unix command wc
$num_lines = `wc -l $file`;
Martin
-Original Message-
From: Analysis Solutions [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 2:13 PM
To: PHP List
Subject: Re: [PHP] Appending to a file
On Wed, Jul 10, 2002 at 12:45:01PM -0400, Chris Earle wrote
= `wc -l $file`;
Martin
-Original Message-
From: Analysis Solutions [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 2:13 PM
To: PHP List
Subject: Re: [PHP] Appending to a file
On Wed, Jul 10, 2002 at 12:45:01PM -0400, Chris Earle wrote:
I'm just curious if there's a
On Tuesday, June 25, 2002, at 08:42 PM, Brian White wrote:
I was actually thinking about this the other
day - every now and again I find my self
yearning for SGML, where you could have
just declared the wrapping element end
tag omissable, and then you would never
have to worry about it -
rantmode
Hey - if you read my post a little more carefully
you would see that I was bemoaning the effective
passing of *SGML*. I was on a nostaligia trip.
I am well aware that SGML is a bit of a complicated
beheamoth, but it you have a decent SGML parser
( such as Omnimark or SP) you could do
On Tuesday, June 25, 2002, at 09:31 AM, William S. wrote:
I know I need to introduce: fread() and fseek().
but not sure how to put it all together.
If you know for a fact that the ending tag for each file is consistent
and always that same tag, here's an idea. Determine or specify the
Yes, that worked. Nice and effective solution.
Thank you.
On Tue, Jun 25, 2002 at 09:51:21AM -0400, Erik Price wrote:
snip
If you know for a fact that the ending tag for each file is consistent
and always that same tag, here's an idea. Determine or specify the
length of the ending tag
On Monday, April 8, 2002, at 11:09 AM, Jas wrote:
Ok this is an unusual problem, at least to a newbie like myself... I am
trying to develop a user form to select an image from a directory by
use of
a select box that once the item is selected it will put that selection
into
a db field
So putting it into an UPDATE statement it would be something like this
right?
UPDATE CONCAT $table_name SET ('http://localhost/images') ad01=\$ad01\;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday, April 8, 2002, at 11:35 AM, Jas wrote:
So putting it into an UPDATE statement it would be something like this
right?
UPDATE CONCAT $table_name SET ('http://localhost/images')
ad01=\$ad01\;
No, like this:
The table is named test_table
The column you want to add this to is
Actually, I tried it a different way and I got the results I needed... this
is what I did,
$file_var = http://www.bignickel.net/full_ad/;;
$db_name = db_name;
$table_name = table_name;
$connection = mysql_connect(localhost, user_name, password) or die
(Could not connect to database. Please try
On Mon, 8 Apr 2002, Jas wrote:
$sql = UPDATE $table_name SET ad01_t=\$file_var$files\;
Is this really what you wanted? It would set ad01_t to the same thing for
every single row in your table.
If that is what you wanted, then I think your database design is a little
weird.
miguel
--
PHP
17 matches
Mail list logo