Jump to content

ltbaggz

Members
  • Posts

    23
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ltbaggz's Achievements

Member

Member (2/5)

0

Reputation

  1. that is what i am currently using, and it works fine on IE, but not on firefox. any idea? here is the formats that i am trying. firefox will recognize the first link as shown, but will not open a new window or do anything when the link is clicked. the second one, firefox recognizes it as http://sharename/ and tells me the page can not be found. IE works with both. <a href="file://sharename/" target="_blank">here </a> <br> <a href="\\sharename/" target="_blank">second </a> one other thing with firefox is if i type in file://sharename/ into the address bar, then it will come up, it seems that it is some kind of security with firefox not allowing public links to open folders on your computer, which makes sense. ive looked at the security settings but havent been able to find anything, any ideas. thanks, Drew
  2. What i am looking to do is to use a link in a web based administrative tool to allow the user to click and open up a folder on a network drive in our office. The access to this is limited to only in house employees (about 20). does anyone have ideas of how this can be accomplished and minimize security risks? I am currently playing around with some activeXojbects in javascript, but im open to any other suggestions as well. thanks for the help. oh and the site is hosted offsite. drew
  3. Just a couple of quick questions: 1. what is the best tool for connecting to a mssql database for updating and altering tables? Is it the MSSQL Server Express Utility? 2. Is there any kind of developlment version that doesnt need a license that is only accessible to the local machine? I have poked around the mssql site a little but figured i would ask some people who have experience with it. THanks, Drew
  4. im not sure exaclty where this thread belongs, but what im trying to do is create a mail merge from a database query with the end result being displayed in either ms word or as a pdf. I can generate a csv file and save it to the users computer and then have them run the merge, however i would really like this to be a clean process and have all the processing done server side and just spit out the result to the user ready for printing. ideally i would like to create a pdf file with all of this information in it. i currently have it working for one entry and creates the pdf, but when i try to loop through the query it does not work. if any body has any suggetions or ideas about this process i would appreciate it. or if someone has a completely different approach i am open to ideas. thanks drew
  5. recently took on a project, and i have a general development question. there is a menu being generated from a database, and menu objects are built based on the database information. there is a javascript function that pieces together the information and it creates a link like this parent.frames[2].location.replace(url + '.php' + Math.Random(1)); my question is why the math.Random, what advantages does this have? debugging? if anyone has thoughts on this i would appreciate it.
  6. sweet, thanks a lot for the help, i would have been playing with it for while.
  7. i am trying to divide up a string using the explode function and i am having soem problems.  the string is created like so: example2, 3:35&example1, 0:10& what i want to get out of it is array1[0] = example2 array1[1] = example1 array2[0] = 3:35 array2[1] = 0:10 the string can be any amount of elements long. if any one has a quick answer i would appreciate it, im going to keep working on it now. thanks Drew
  8. sovled. [i][b]fenway: How?[/b][/i]
  9. dont know too much about javascript and i need to do some form manipulation with it.  basically i want to take the info from a normal input text value into a select option box using the onlick event. what is the best way to go about doing this? [code] <p> <label for="type">Type:</label> <input type="text" size="30" id="type" name="type" /> </p> <input id="add_type" type="button" value="Create >>"  onClick="create_type();" /> <div id="types_entered"> Types<br /> <select name="input" multiple="multiple" size="4" > <option value="15">insert value here </option> </select> </div> [/code]
  10. Here is what im trying to do, populate a drop down/list menu from a database query(this is done).  having a name and a associated value with it.  when it changes i want to be able to access the value associated with the chosen element.  however i dont want to have a standard form with a submit button.  the process will be, pick a value from the dropdown or list then associate this value in a GET style link.  I am thinking that im going to need some kind of javascript function using the onchange attribute of the dropdown but then im not sure how to get it into php variable that does the query.  ahh well i just read over it and it makes sense to me but someone who has no idea what im talking about might not... hopefully this makes sense.
  11. yeaup that is the route i am taking, originally i wanted to have the delete button right on the page, but thats not going to work out, so im gonna have to do it that way.  oh well, it will eventually work one way or another. thanks for the help drew
  12. Thanks for the input, i was trying to stay away from using checkboxes, i felt buttons fit in the application better.  But i may have to resort to it.  Thanks for the input i like that little trick with the query.  I might just do a link to a page that describes the entry to be deleted, and the user can either edit it or delete it.  Have to figure something else out. Thanks Drew
  13. if i use input type=button value=uid i have unique entries but then how do i access it when the button is clicked?  what should the php read (i know im in the html forum) but i have something like this [code] if(isset($_POST[uid_1])) { do something } [/code] so here i check uid_1 now what if uid_2 is clicked?  is there a way i can have php account for this and see what is set and access its value?
  14. if i use a input button then i need a hidden value as well to be able to pass the id to delete.  when my php generates this form it can have any number of entries, the name="delete" is the same for all of the different buttons to choose from and when it is submitted, the $_POST variable does not contain the proper id to delete. this is because im declaring multiple inputs with the same name.  I could change the script to append an index onto the name but then how do i determine what button is pressed, when i check for it in my script?  hope this makes sense.
  15. I am using a loop to display form buttons to remove certain items from a database.  I have tried a couple of different styles and although it will work in firefox it will not work in internet explorer.  I am displaying a delete record button with a value of a distinct entry in the database. here is a snippet from my code [code]<form method="post" action="do_it.php"> <li id="list_item"> <button name="delete" value="72" type="submit">Delete</button> </li> <li id="list_item"> <button name="delete" value="77" type="submit">Delete</button> </li> </form>[/code] this is what my php script generates, ie will not recognize the submit.  if i use input tags then i am also having a input hidden value with the database record to be deleted as well as the button and when i access it in the $_POST variable it does not contain the correct value of the record to be deleted.  I am not sure how to make this name value unique and then be able to access it in the $_POST when i run my query.  hopefully i explained in a way that can be understood. Thanks Drew
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.