Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: zishan876
  • Order by date
  1. zishan876

    View Uploaded File??

    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...
  2. zishan876

    View Uploaded File??

    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...
  3. zishan876

    Upload File?

    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...
  4. zishan876

    Upload File?

    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???
  5. zishan876

    Upload File?

    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...
  6. zishan876

    DateTime Function?? PLEASE HELP

    Awesome, How do I eliminate the GMT and place in AM PM?? Cool Thanks Happy Holidays
  7. zishan876

    SubString Help

    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,"','")...
  8. zishan876

    DateTime Function?? PLEASE HELP

    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...
  9. zishan876

    randon number

    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??
  10. zishan876

    randon number

    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
  11. zishan876

    randon number

    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...
  12. zishan876

    randon number

    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")) &&...
  13. zishan876

    Query Issue??

    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...
  14. zishan876

    Counter... Please help For Loop???

    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...
  15. zishan876

    does anyone know trig?

    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)...
  16. zishan876

    IF then in Store Proc

    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...
  17. zishan876

    IF then in Store Proc

    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...
  18. zishan876

    how to retrieve data from XML File

    thank you thank you thank you so much... you were very helpful
  19. zishan876

    how to retrieve data from XML File

    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...
  20. zishan876

    Need Guidance... Update recordset from Textbox.value

    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...

Part and Inventory Search

Back
Top