website photo upload
Started by
nickt
, Apr 24 2006 10:28 AM
#1
Posted 24 April 2006 - 10:28 AM
#2
Posted 24 April 2006 - 10:47 AM
Pretty vague, not sure where you are speaking of...
My first guess would be that the folder does not have "write" permissions set.
Linux servers will require the folder to be chmod 777 to write to it.
My first guess would be that the folder does not have "write" permissions set.
Linux servers will require the folder to be chmod 777 to write to it.
#3
Posted 24 April 2006 - 11:00 AM
is there any other reason this could be doing this i changed the writes to 777
#4
Posted 24 April 2006 - 11:09 AM
Is your server a linux one?
#5
Posted 24 April 2006 - 11:10 AM
ya its linux
#6
Posted 24 April 2006 - 11:47 AM
So are you like making a folder on your folder say /images and say you put images in the like jpeg files.
Are you trying to put the images in your html pages? And what are they displaying like?
Are you trying to put the images in your html pages? And what are they displaying like?
#7
Posted 24 April 2006 - 11:48 AM
Is it just coming up with a red cross in the corner of the image?
#8
Posted 24 April 2006 - 11:51 AM
check your paths...
you might need to provide an actual server path (ex. /home/nickt/public_html/images)
you might need to provide an actual server path (ex. /home/nickt/public_html/images)
#9
Posted 24 April 2006 - 11:53 AM
ya there is a red x should i edit a php file i was thinking about the img.php file to change the path
#10
Posted 24 April 2006 - 11:53 AM
Yes, that might be the problem or you might need to clear out your internet cookies and files.
#11
Posted 24 April 2006 - 11:55 AM
could u help me with what file i need to edit
#12
Posted 24 April 2006 - 11:56 AM
this is what it says in the img.php file
<?php
// include FormValidator class
include 'SPAF_FormValidator.class.php';
// start session
session_start();
// instantiate the object
$spaf_obj = new SPAF_FormValidator();
// stream image
$spaf_obj->streamImage();
?>
<?php
// include FormValidator class
include 'SPAF_FormValidator.class.php';
// start session
session_start();
// instantiate the object
$spaf_obj = new SPAF_FormValidator();
// stream image
$spaf_obj->streamImage();
?>
#13
Posted 24 April 2006 - 11:58 AM
I don't know a LOT about php coding, but that first include shouldn't it be:
include ('SPAF_FormValidator.class.php');
and then the actual path to that file if it is not root??
include ('SPAF_FormValidator.class.php');
and then the actual path to that file if it is not root??
#14
Posted 24 April 2006 - 12:01 PM
In a html file, it is...
<img src="/images/image.jpg" />
You might need...
<img src="/home/nickt/public_html/images/image.jpg" />
<img src="/images/image.jpg" />
You might need...
<img src="/home/nickt/public_html/images/image.jpg" />
#15
Posted 24 April 2006 - 01:48 PM
thanks it works now
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users