James Smith wrote:
Hi,
I'm having a problem with loading a page full of thumbnails.
I'm useing this to load each thumbnail.
header("Content-type: image/jpeg");
readfile ($dir."/thumbs/".$filename);
but, if your connection to the server is too fast (eg, your on a lan
Alright, on my site, I have a news section, whenever i
goto insert new news in the Admin area, I have to
insert or /n in it, while typing in the news.
How do I make this a automated process I know it can
be done, but addslashes doesn't work and
htmlspecailchars() doesn't work what will?
Thank
yes, put the whole path in the quotes, ie:
copy($userfile_name,
"C:/full/path/to/imgs/artiker/$userfile");
Hope that works
--- Fredrik Arild Takle <[EMAIL PROTECTED]> wrote:
> I'm trying to upload i file through a webpage...
>
> --> add.php3
>
>
>
>
>
>
> --> do_add.php3
> copy($userfile,
The way you have it now, ur just storing the path to
the gif. from the form field, use
then in the insert area use:
$result = mysql_query("insert into (filename) VALUES
('$file')")
James
--- Yui Hiroaki <[EMAIL PROTECTED]> wrote:
> HI!
>
> I am using PHP in mySQL. I create table in datab
Is there a way that when a user signs up for a
user/pass on a site, to automatically update the
.htpasswd on the site? Right now I'm running a Win2k
Pro, with Apache installed and MySQL/PHP.
Thanks,
James
__
Get personalized email addresses fro
Here is the code i'm running for my file upload and it
work correctly:
// file with submit form
// This is the file that you want to use as post
// example is postfile.php
// That will copy the file.
here is the full function I have implemented with my
page to store path into mysql.
fun
Alright, when i was programming with PHP3, I would use
if statements like this:
if(!$submit) {
// display form
} else {
// display signup complete
}
to make multiple pages. Or I would do this:
if($action == "signup") {
if(!$submit) {
//display form
} else {
// display s
7 matches
Mail list logo