It uploads it to: /home///php/
and renames it with the article ID number + the original name eg.
41button.gif
should that work??? It does!!! How would you suggest doing it??
in article [EMAIL PROTECTED], Jason Wong at
[EMAIL PROTECTED] wrote on 1/31/2002 3:00 AM:
> On Thur
On Thursday 31 January 2002 05:13, will hives wrote:
> I have this version when I add the image on the add article page, and that
> works fine...
>
>
>
> if ($picture != 'none') {
>
> $path = "/home///php/";
> $path1 = "http://www..net/php/";;
> $b_id = mysql_insert_i
I have this version when I add the image on the add article page, and that
works fine...
if ($picture != 'none') {
$path = "/home///php/";
$path1 = "http://www..net/php/";;
$b_id = mysql_insert_id();
$new_pic_name = "$b_id$picture_name";
$imageFile = $path1.$new_p
On Wednesday 30 January 2002 19:27, will hives wrote:
> THIS IS THE DOING EDIT SCRIPT:
[snip]
> if ($picture) {
>
> $path = "/home///php/";
> $path1 = "http://www..net/php/";;
> $b_id = mysql_insert_id();
> $new_pic_name = "$b_id$picture_name";
> $imageFile = $path
Jason,
here it all is
thanks for this...
Cheers
Will
HTML EDIT UPLOAD PAGE:
my contact management system: add a contact
">
Name & email information
name:
" size=35
maxlength=75>
email:
"
size=35 m
On Wednesday 30 January 2002 17:10, will hives wrote:
> The code attached was just the code which ran the html form there is
> another page which contains all the form details, this code just does the
> editeing and shows you what it's done.
Could you post the code which does the editing and, in
The code attached was just the code which ran the html form there is another
page which contains all the form details, this code just does the editeing
and shows you what it's done.
Cheers
Will
in article [EMAIL PROTECTED], Jason Wong at
[EMAIL PROTECTED] wrote on 30/1/02 3:20 am:
> On Wednesd
On Wednesday 30 January 2002 05:32, will hives wrote:
Please do not use HTML mail, thanks!
> I have produced an admin area which allows users to add, edit and delete
> stories plus images. Everything has gone great, thanks to all of you who
> answered previous postings.
>
> Just stuck on the ver
I have produced an admin area which allows users to add, edit and delete
stories plus images. Everything has gone great, thanks to all of you who
answered previous postings.
Just stuck on the very last point...editing...the script below updates the
name and email fine, but uploading a new image i
9 matches
Mail list logo