Re: PHP Forms - upload VS text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok, thank you so much, I believe that I've got it now.


""Norland, Martin"" <Martin.Norland@xxxxxxxxxx> wrote in message 
news:67C5DCA3F0C94E4186175E682FBB36230B3BAD2B@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Ahh, ignore that - our tpl() is an echo() replacement that our codebase
has, which can take parameters to do fun things.  There's no logical
reason to use it in this place, except it's shorter  to type than echo,
and it's habit.

<Wiz 'o Oz> Pay no attention to the man behind the curtain.

:)

cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257

The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


-----Original Message-----
From: Rui Cruz [mailto:ruicruz@xxxxxxxxxxxxxx]
Sent: Friday, September 30, 2005 10:26 AM
To: php-db@xxxxxxxxxxxxx
Subject: Re:  PHP Forms - upload VS text. .

Humm.. in the form action you use a function called tpl();

What function is that, I find no reference of it on the php.net function

list.


----- Original Message ----- 
From: ""Norland, Martin"" <Martin.Norland@xxxxxxxxxx>
Newsgroups: php.db
To: <php-db@xxxxxxxxxxxxx>
Sent: Friday, September 30, 2005 3:36 PM
Subject: RE:  PHP Forms - upload VS text


<form action="<?php tpl($_SERVER['REQUEST_URI']) ?>" method="post"
enctype="multipart/form-data">

Beyond that it's just the $_FILES array and $_POST array.

cheers,
- Martin Norland, Sys Admin / Database / Web Developer, International
Outreach x3257

The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.


-----Original Message-----
From: Rui Cruz [mailto:ruicruz@xxxxxxxxxxxxxx]
Sent: Friday, September 30, 2005 8:18 AM
To: php-db@xxxxxxxxxxxxx
Subject:  PHP Forms - upload VS text. .

Hi, I'm a fairlly experienced developer but there's something that just
really gets to me...

I can:

    - Use a form to upload a file or files
    - Use a form to write text to whaever is needed (DB, e-mail
contents,
etc...)

but I CAN'T

    - Use the same form to do both.

I've tried so many diferent things and never got my scripts to upload a
file
and insert data to a DB.

I find it dificult to accept this. Is this normal or am I doing things
wrong? Could anyone shed some light on this issue please?

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux