Jump to content

vchris

Members
  • Posts

    1,529
  • Joined

  • Last visited

Everything posted by vchris

  1. vchris

    Importing DB

    Well now the issue we have is uploading the .sql which is 170mb and the uploader only accepts 50mb at a time...
  2. vchris

    Importing DB

    So I need to import a database into PHPmyAdmin. The database I have was exported from phpbb2, it's a .sql. Can I simply import that database in PHPmyAdmin? I currently have a database created in phpmyadmin with no tables. Should I completely delete the database before uploading?When importing I have multiple choices of character encoding, I'm not sure which one to choose. The 2 I recognize are UTF8 and ASCII. Which one should I choose? Also there is a compatibility mode to select. The backed up db was done on a mysql server so I guess I should choose mysql40 or mysql323, right?
  3. I've done a bit of xml and xsl but how would I use php with xml and xsl? Would it be written in the xsl, xml or a separate php document. Eventually I'll be programming with xml so I thought I should start getting into it. Or if you have a tutorial on how to use php with xsl shoot me a link.
  4. I got a php book which has an example of a shopping cart. It's well explained but never tried to create one. I don't remember the name of the book since I don't look at the cover lol... I only look at the content.Or maybe it was PHP for geniuses!!!
  5. I don't know why you guys use -10px, to me it seems simple. Remove padding and margin and then add whatever. In some designs padding may be more useful than margin and vice versa but if it's a simple list with no really complicated navigation stuff then just remove padding and margin and add something like padding-left: 5px; or margin-left: 5px; .
  6. vchris

    Windows Vista

    The way it works is automatically after applying online you get the 1 month for reviewing your application. The reviewing is done by an automated filter program. They can have thousands of application for 1 offer. Basically if you don't have exactly what is requirement for that job, your application will be rejected. What you need to do when applying is copy/paste exactly what is asked. Once you pasted the initial filter they will review it by hand. It'll say online that your application has been referred to the proper department. I'm at that point for a couple of them and it's some have been there for long (couple months). Don't stop applying no matter what. Doesn't mean you're referred that you'll get contacted asap.
  7. vchris

    Windows Vista

    Yeah I do. I didn't wait. I first got this job with a work term after college. My contract was over so I went to work somewhere else. About a year after they wanted me back for some work so they rehired me, I've been working there for over a year.I've applied for other government jobs and I've been waiting for ever, like more than 6 months...
  8. vchris

    Windows Vista

    So I finally got Windows Vista Ultimate on my new PC and it's beautiful. The only issue I have is with my sound card. It's a creative 5.1 surround digital... I can only use 2.1 at the moment. Creative didn't put out a new driver for vista yet and it could be a couple months. Other than that it's great! The aero interface is awesome! I love how when viewing music files, vista automatically reads the ID3 tags and display whatever I want to see (I can choose the columns, artist, album..). Very easy to install and fast. I think that once all the bugs are fixed and most of the drivers are available then it'll be really worthwhile but in the mean time for someone like me who enjoys gaming, I would stick with XP. I do love that Aero though so sexy!New system is:MB: Asus CrosshairCPU: AMD X2 64-bit 4800+RAM: OCZ 2GB DDR2 6400Videocard: EVGA GF8800 GTS 640mb
  9. vchris

    Year counter

    I have something like this in my text: "It's been 8 years...". In a year it won't be 8 years it'll be 9 years. So I'd like to create a counter that will increase the years every year and I'm not sure how to do this in php.
  10. Same here with validation without JS. It's a lot more secure validating server side and you don't have those annoying pop-ups. I'm not crazy about JS also...
  11. He edited his first post.id name should be one wordmaxlength="30 should be maxlength="30"cols"45" should be cols="45"
  12. ^ +1Here's some sites to add if you don't already have them.CF: http://www.cfquickdocs.com/ http://livedocs.adobe.com/coldfusion/7/htm...le=part_cfm.htmCSS:http://www.cssplay.co.uk/menus/index.htmlalistapart.com/Client-side:http://www.tizag.com/http://www.htmldog.com/
  13. Show us your code so we can better help you.
  14. RESOLVEDThe error was in the javascript that the previous programmer programmed. He had: function validateSearchText() { if (document.searchText.keywords.value == "") { alert("Please enter a search string"); return false; } document.searchText.submit(); document.searchText.keywords.value = ""; return true; } document.searchText.keywords.value = ""; erased the field before the data was sent. I commented that line out and works fine!
  15. It's not actually my site, I am just trying to fix some issues. I'll try the get method and url.kwords instead. I'll let you know how it goes.EDIT: Yes header_e.cfm is an include file on all pages. I forgot to mention 1 thing, when I print out the values of my form when submitting from the header_e.cfm (only when different than search_e.cfm) I get the cri value and submit value but not the keywords value. So some of the form data is being sent except for that keyords field. I have checked many times the field names.I just tried with get and url and still the same problem.
  16. I've done this effect before and I used a span.
  17. hmmmm... This seems like an interesting conversation
  18. There's something I don't understand about this issue.I have a form on header_e.cfm <form action="search_e.cfm" method="post" name="searchText">Search RET Documents<br /><input type="text" name="keywords" size="30" /> <input type="submit" value="Search" name="Operation1" onclick="return validateSearchText();" /><br /><input type="radio" name="cri" value="or" checked="checked" />Any Match<input type="radio" name="cri" value="and" />Exact Match</form> As you can see it is submitted to search_e.cfm. On search_e.cfm I search the db for the search string. The problem if I'm on main_e.cfm and do the search in the header, the search page will not get the "keywords" string. When I print the value of form.keywords I get blank. If I do my search in the header of search_e.cfm I get the correct results and the search string is printed out with form.keywords. ...<cfset kwords= ReplaceNoCase(keywords, " ", "%,%", "ALL")><cfset kwords= "%" & kwords & "%"><cfoutput>kwords: #kwords#<br />form.keywords: #form.keywords#<br />form.cri: #form.cri#<br />form.submit: #form.operation1#</cfoutput>...
  19. Nice site you got there but why do you have everything done on admin.php? To me it seems more complicated than having separate pages for each link. I like it when I open a php page and see a short page instead of 1 huge page of 1000 lines or more. But whatever makes you happy, just a thought I had.
  20. ah! Now I actually feel great having erased your news
  21. Why does it say 2 comments when there is none?
  22. Sorry I didn't mean to erase your news...
×
×
  • Create New...