> In setting up a form to allow a user to upload a file,
> upon submission of that form, you can get the actual
> file name that is being uploaded by accessing the
> variable:
>
> $userfile_name
>
> (assuming the form element's name where the user
> specifies the file is "$userfile").
>
> Is th
I have script for getting header of article from NNTP server using sockets:
";
}
?>
output have look so:
...
Path: csnews.vslib.cz!not-for-mail
From: "Antonin Mohaupt" <[EMAIL PROTECTED]>
Newsgroups: cz.comp.lang.php
...
but it is only
...
Path: csnews.vslib.cz!not-for-mail
From: "Antonin Moh
> What I want to do is have a drop-down menu where the options are files
This is matter of HTML or JavaScript
> located in a folder on the server that changes as items are added to or
> removed. Then the user can select an item from the menu, submit, and that
> page will load.
This is script f
> Greetings to All:
>
> I'm inexperienced, although enthusiastic about using PHP. I want to write
> data more effectively to a file.
>
> This doesn't work: fputs($frank, "Testing " $whatever " more testing
> \n\n\n");
> Right now, all I know is using three separate fputs statements. I'd like
t
> Hi,
>
> need some help with the code below. I am thinking of reusing this for
> building a thumbnail gallery from a database.
>
> First, is the code actually good? Do i do something that will slow down
the
> responses?
>
> Second, can anyone help me with a code sample to implement that will limi
> I'm using php/mysql. I want to be able to count the number of records that
> match something.
> I've used mysql_num_rows() and it does work, but is there a better way?
> Something like COUNT(*)? I've tried to use it, but all I get is Resource
ID
> #1 or something similar. Any ideas for the best
> OK I am trying to write a script that will bring data out of a database
into
> a select box. But what I need it to do is repeat 5 times or more depending
> on what it brings out. I can only get it to display one select box. Here
is
> what I got so far:
>
> require 'common.inc';
> // Connect to
- Pôvodná správa -
Od: "Luboslav Gabal ml." <[EMAIL PROTECTED]>
Komu: "Daniel Alsén" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Odoslané: 17. zárí 2001 23:39
Predmet: RE: [PHP] Help with database queries
> > Hi,
> >
>
How to close persistance connection to MySQL server ?
Luboslav Gabal
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
hi!
i've got the following problem and hope one of you is able to help me
solving that:
i've got a system in php that writes data (e.g. variable-name = $data)
to a mysql database. there are two more scripts: one for displaying the
data and one for writing the data into a formular. the displaying
hi,
i've got the possibility to create alias subdomains, which redirect all
to the document-root...
e.g.:
http://adam.domain.com redirects to http://domain.com
i want to redirect the users who access http://adam.domain.com to
http://domain.com/home/adam
how to do this best in php??
reguards,
11 matches
Mail list logo