ok.. First thanks for helping me out...
Here is the file when it uploads into my directory:
http://www.mmaxtra.com/sphotos/muaythai23.jpg
Second, when I stated I added the file path into the directory...
When an user, adds there info, I take the path of the picture that has been uploaded and...
Hi I have completed the upload file part of my website... Now I want to let users view the file they uploaded...
So I created a table and Wanted to view the file through img src tag.. but it is not working...
In the database, I add the file path but in my directory it is added as a jpeg??
Here...
Basically what I am trying to do is the following:
1. Let the user upload a picture during registering there school.
2. The picture gets stored into sphotos directory.
3. Also the info gets stored into the database, but the photo is stored as a path to where the picture is in the directory.
4...
Ok, Thank you for the quick response, But I keep getting this error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in /home5/bharatki/public_html/mmaxtra.com/school2.php on line 107
I can't not figure it out???
Hi all:
I am trying to:
1. Let the user place in there info
2. upload there picture
3. Take them to the page to see list of schools..
Now here is my code so far but what I do not know how to do is:
1. upload the picture storing it in my sphotos folder?
2. letting the use view a list with...
Hi All
Happy Holidays...
I do not know what is wrong with my statement below:
var rLength= recordIds.length;
var rString = recordIds;
var startingPos = rString.lastIndexOf("recordIds");
var idName = rString.substring(startingPos+6,rLength);
var myNewString = idName.replace(/,/gi,"','")...
Hi all, Happy Holidays...
Ok I have a datetime field in my query which comes out like so:
2008-12-10T16:39:00.000Z
The actual datetime looks like so:
12/10/2008 10:39 AM
How do I change it or format it correctly to update a field in my other table...
I am querying off Table1 to get the info...
ohhhh ok... cool but how does one contenate in php.. Cause two users can have logo.gif but I like for it to be stored as schoolname_logo.gif or randomnumber_logo.gif....
Like
sphotos/".$school"_" . $_FILES["file"]["name"]); <== this does not seem to work??
hi do you have an example of this...
so instead of storing the image in my sphotos folder i would store it in the database under a blob with an attribute of varchar...is that right?
please provide an example thanks
Thanks for replying back... well this is my first upload page and yes I am using a database to store user info...
I would like to if I can when the user saves his/her info to store the picture as well into the table...
But do not know how to do that with pics... with data info yes thats easy...
Hi all:
how do i associate a picture with a user when they upload? the pic uploads fine but do not know how it goes back to the user? please help
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&&...
Hi I have the following:
SELECT account, name, paidAmount,Id,lob,creditStatus FROM adsBostonGlobeAdvert a WHERE NOT EXISTS (SELECT * FROM Master m WHERE a.account = m.account AND desk NOT IN ('PUR', 'WJMPURGE') AND current0 <> 0)
I am trying to say give me accounts that are in A...
Hi I am doing a counter, which if the for loop reaches 100 records to add into my array and then update the records in the database... But if there are more then 100 records then to clear our the list and do the for loop again to make sure everything is updated...
I have no idea what am I doing...
hi all:
I have the following statement:
select SF_Name,latitude,longitude, Math.acos(Math.SIN(Math.PI()* 40.7383040 /180 )*Math.SIN( Math.PI()*latitude/180 )
)+(Math.cos(Math.PI()* 40.7383040 /180)*Math.COS( Math.PI()*latitude/180) *Math.COS(Math.PI()*longitude/180-Math.PI()* -73.99319 /180)...
awesome thanks
I also tried this which seemed to work
select 'Map_done'=count(*) from SF_LOcations
where SF_INSERT_RECORD='n'
select 'MapNotDone'= count(*) from SF_LOcations
where SF_INSERT_RECORD='y'
select 'NA_Done' =count(*) from sfnafile
where sf_update_record='y'
Select...
Hi I have the following:
ALTER procedure latlong_export
@SF_GUID char(18)
,@SF_NAME char(28)
,@SF_STREET char(28)
,@SF_CITY char(21)
,@SF_STATE char(2)
,@SF_ZIP char(10)
,@SF_RECORD_TYPE varchar(18)
as
IF @SF_GUID = SF_GUID
insert into SF_Locations
(SF_GUID
,SF_NAME
,SF_STREET
,SF_CITY...
hi:
I have the following scenario:
Basically through my VB6 app, connection is made to my SQL Server to get addresses.
then URL is open and the url address is placed in which is actually an XML Web base file.
How do I get the data and bring it back to SQL Server for update to that record?
I...
Hi all:
I am new to ASP.NET (VB side )
But I have javascript code plus SQL Database connection and need to update the recordset with the value it populates into 2 textboxes.
Now I have no idea how to do that .... Can someone help..
Below is the structure to my code on my ASP page
<%@ Page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.