I have a form which I want to post multiple values from one function to another using
checkboxes.
Having one value is simple- the form submits the value $File and is then retrieved in
the target function via $_Request['File']
So far so good.
Now I want to have multiple values for $File, because
Thanks for everyones help
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: 15 July 2003 10:19
To: 'caspar kennerdale'; Php-General
Subject: RE: [PHP] Moving Files/ Temporary Names
> -Original Message-
> From: caspar kennerdale [mailto:
In your application code ... you can implement a move() function that
can either call the unix (mv) or windows (move) commands to move the
file to another location (same permission restrictions apply). The
thing about move is, its a copy + delete function in one, so you have
to be careful about pe
>
> I am trying to crate the function that will allow the
> administrator to Move a selected file to a different folder.
> I have looked at move_uploaded_file () and it seems that
> the source file to move needs to actually be the file's temp name.
> If the file has recently been uploaded then
I was hoping someone might clarify what may seem like a basic point. I looked in the
archives but didnt seem to get my answer.
I am creating a basic set of functions that will form the back bone of an image
gallery and a directory handler.
I am trying to crate the function that will allow the a
Sorry If this is the wrong list for this topic, I hope someone can shed some
light onto my problem.
I am building a php/ Mysql web site for a client which is a picture gallery.
The web site has 3 frames (required by the designer so that the whole thing
doesnt refresh all the time).
Frame 1- Navig
www.editplus.com
-Original Message-
From: Scott St. John [mailto:[EMAIL PROTECTED]]
Sent: 22 April 2002 06:26
To: .ben
Cc: PHP
Subject: Re: [PHP] PHP editor for windows
Macromedia/Allaire Home Site 5.0 has PHP color coding, not auto-complete,
but you can customize it for auto-complete
function firstfunction(){
code;
code;
code;
secondfunction();
}
-Original Message-
From: Alia Mikati [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2002 06:38
To: [EMAIL PROTECTED]
Subject: [PHP] functions
hi
i would like now how can we call a function within another function in
php?
thx
www.editplus.com
-Original Message-
From: Andrew Chase [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2002 09:08
To: [EMAIL PROTECTED]
Subject: [PHP] RE: editors
I like emacs - freely available for Windows and Linux, and if you use
php-mode for font locking you get nice automatic indentation
Thanks to all
-Original Message-
From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2002 07:22
To: 'Caspar Kennerdale'; '[EMAIL PROTECTED]'
Subject: RE: [PHP] while() query
Hi Caspar!
$counter = -1;
while(++$counter <50)
{
This may be a baisc programming query, to which I dont have the ansa,
but can you do a while () loop, but set a condition so that it misses one
ie
$counter = -1;
while(++$counter <50){
do a task on all between 1 and 50 except on 39
}
Thanks
--
PHP General Mailing List (http://www.php.net/
Is declaring properties at the beginning of a class imperative or good
programming practice.
All the documentation I have seen states that you must do this,however if
the properties I am setting in each function are listede in the parenthesis
i.e
function test($var1,$var2){
}
then my classes st
and what of it
-Original Message-
From: Vincent Kruger [mailto:[EMAIL PROTECTED]]
Sent: 30 March 2002 14:08
To: caspar kennerdale
Subject: oh no
you a fucking pommy.
god dam
And a message for bvr and caspe kennerdale.
You are obviousely Americans
setting the record straight- this is a huge assumption- and I'm not
american, and you didnt even spell my name correctly!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
after your last two spams I'd be surprised if anyone would be will to answer
your questions
-Original Message-
From: Vins [mailto:[EMAIL PROTECTED]]
Sent: 30 March 2002 10:15
To: [EMAIL PROTECTED]
Subject: [PHP] Qmail Question
I have qmail on my server.
I've set up and email address to
can you use class extends feature to refernce more than one class-
so a class called contnet could call functions fromone called html and one
called db?
thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
just a quick query, hopefully someone can help (sorry for these repeat
schooboy questions)
re classes-
Can you create an instance of a class and use its 'value' within an instance
of another instance of the same class?
For example I have created two classes- html.class and db.class
I am creat
I'm in the slow process of transferring my contetn management system over to
full object oreinted code.
I have a function within a class which gets the field name and type
information from a mysql table, puts this into an array and then returns a
table with a form field for each field.
I specify
Sorry Another question-
Do instances of classes remain in 'communication' with each other if
declared my different functions in a case switch statement.
At present I have an admin.php which is one long swtich statement.
Wihin each is a list iof functions which created the elements of the page
Actually I've alreasdy worked it out- sorry
-Original Message-
From: caspar kennerdale [mailto:[EMAIL PROTECTED]]
Sent: 17 March 2002 10:31
To: [EMAIL PROTECTED]
Subject: [PHP] mysql fetch field
I seem to be getting unexpected information from a mysql fetch field query.
My tabl
I seem to be getting unexpected information from a mysql fetch field query.
My table has three fields- here is the schema-
CREATE TABLE template (
id smallint(6) NOT NULL auto_increment,
name mediumtext NOT NULL,
multiple tinyint(4) DEFAULT '0' NOT NULL,
PRIMARY KEY (id),
UNIQUE i
version which goes live and a commented version which I compile the html
fromand also distribute.
Does anyone here have experience with phpdoc?
-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2002 17:29
To: caspar kennerdale
Cc: [EMAIL PROTECTED]
Subject: Re
So you could have as much commented text without any detriment to the pages
performance?
great
-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2002 17:17
To: caspar kennerdale
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] server load
Flex - the tools
Would a 10kb file which has 5kb of comments take longer to process in php
than the same file wihout the comments which is 5kb?
Or are the comments ignored as far as server load and speed to delivery are
concerned?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
can you therefore have $array[0][9][2][3]
if you had an array within an array within an array within an array.
(not sure i'd want to, but you never know)
$array[0][1] is how you access multi-dimensional arrays.
Niklas
-Original Message-
From: Caspar Kennerdale [mailto:[
access multi-dimensional arrays.
Niklas
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
Sent: 15. maaliskuuta 2002 15:18
To: [EMAIL PROTECTED]
Subject: [PHP] array within an array
I have an sql query which calls * rows from a table.
Each row is an array of table field
I have an sql query which calls * rows from a table.
Each row is an array of table field values.
This is how I understand the heirachy
$table_row_array[0] = $field_row_array[]
$table_row_array[1] = $field_row_array[]
$table_row_array[2] = $field_row_array[]
Now $table_row_array is being drawn
This is not truly a php programming question but a problem I have when
programming php on which I was hoping someone would shed some light.
When I write php code I generally upload directly to a server via ftp. As I
am on a pretty fast adsl line I have never seen toi the need to have a sever
setu
embed the javascript within the php using echo or print
-Original Message-
From: Way, Paul [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 16:26
To: '[EMAIL PROTECTED]'
Subject: [PHP] Opening new browser window.
Is there anyway that I can open a new browser window in php, lik
I am just getting my head around classes, so forgive me if this is a
schoolboy error!
In order to learn I am re-writing my content management system and am in the
process of writing an HTML.class and a MYSQL.class.
so far so good. I spawn new instances of a table for example, sending
parameter,a
-Original Message-
Sorry this is offtopic
I have set up a cron job and this is the message I havereceived
Your terminal lacks the ability to clear the screen or position the cursor.
any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
so i have a mail script which allows people to send attachments. This is
activated by an htmlform, which allows users to select the file from their
hard drive and post to the recipient.
The problem I have is this-
The file attachment is sent via email as a .dat file.
If I specify the name of th
I have just installed mandrake
something that is annoying me with KDE is that the default view within the
file manager is with icons.
Is is possible to have the tree or detailed view as the default.
I briefly looked at the prefences and could find it anywhere
Thanks
--
PHP General Mailing
I've insatlled mandrake 8.1 from the ISO's I downloaded frrom their site.
Everything seems fine, but when I try to execute any software ie startx or
even pico from the command line then I get a cannot be found message
As I navigate through the directoires it seems that they have not been
install
$new_mail_body .= "--$mail_boundary--";
return mail($mail_to , $mail_subject, $new_mail_body, $mail_headers);
?>
-Original Message-
From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 26, 2001 14:42
To: Caspar Kennerdale; Php-General
Subje
can anyone recommend a site or discussion list relating to email
I have a form to mail script which sends attachments - it all works if I
have my private email address as the recipient,
however if I use my work email address the mail comes out with no attachment
but displays gobbledigook like-
I was under the impression you could only edit flash within proprietary
products like flash itself, livemotion
especially if the file has already been exported to swf
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 22, 2001 02:32
To: [EMAIL PROT
Thanks I'll give it a go
-Original Message-
From: Brian Clark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 16:26
To: PHP is not a drug.
Subject: Re: [PHP] php- cgi
Hi Caspar,
@ 11:11:25 AM on 11/21/01, Caspar Kennerdale wrote:
> yes ideally with cron- I know
automation issue
thanks
-Original Message-
From: Brian Clark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 16:04
To: PHP is not a drug.
Subject: Re: [PHP] php- cgi
Hi Caspar,
@ 10:54:13 AM on 11/21/01, Caspar Kennerdale wrote:
> I have a script that when I execute
I have a script that when I execute via a browser retrieves information.
Ultimately I want this automated. There has been mention on these lists
about compliling php as cgi, which I think may help
This also may help out with some timeout issues that arise.
can anyone point me in the right dire
ahh
write permission the folder- duh- not thinkingtoday
thank alot
-Original Message-
From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
Sent: 16 November 2001 18:14
To: Caspar Kennerdale; Php-General
Subject: Re: [PHP] quick friday query
check under what user Apache is ru
I am writing files to my server using
$fp = fopen("myfile.txt", "w");
this all works. However in the php manual it says that by using the "w"
switch that php will create the file if it doesn exist
However this does not seem to work
I can only write to a file that already exists and has CHMOD 7
flock".
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-----
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 11:00 AM
To: Php-General
Subject: [PHP] timing
I have a script that when is executed parses and html file and writes
th
I have a script that when is executed parses and html file and writes the
contents to a text file.
I need to then read this text file from another apllication
Is there a way of timing this operation, so that my other app does not try
to access the file before being written?
--
PHP General
thanks for the ideas
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 15:23
To: Jon Haworth; [EMAIL PROTECTED]
Subject: RE: [PHP] cron not allowed
thanks jonwas more of a 'how are you going to' rather than 'how is it
possible' :-)
e
I have a php script I'd like to run at regular intervals, but my isp will
not set a cron job for it but will for a perl script
Is there anyway round tis, or does anyone one know of a perl script that
might then execute the php script if I can get that to be automated?
thanks
--
PHP General M
I am yrying to read free urls from a moreover.com to a director app which
will be a news reader without a browser
'm using php top extrat the headlines
each headline looks similar to this
("http://c.moreover.com/click/here.pl?l27536670";)
If a browser goes to this page then it is redirected
On the attachment subject,
does anyone know how to specify multiple mime types?
I have my attachment script, however people may be using it to send gifs,
swfs, or text files
I am specifyinmg the mime types like this
$type = "image/gif";
$header .= "Content-Type: $type;
wuld I do something
48 matches
Mail list logo