Search results

  1. freecrm

    Insert records from a local csv file

    Thanks Guys.. For starters, my file is a comma seperated values file as follows (Copied directly from notepad but with \n at new lines): For ease of testing, this file is located at www.freecrm.x10hosting.com/testdata.csv "FIRSTNAME","LASTNAME","COMPANY"\n "Joe","Bloggs","Joe Bloggs...
  2. freecrm

    Some PHP Help

    Unless you have a very strange login/validation script, the above tools should work fine and they are pretty standard. If you want any of us to have a go - try posting the login script and let us know all session variables you have running.
  3. freecrm

    Insert records from a local csv file

    OK - finally come back to this and I'm still struggling... And to be honest, I don't know much about arrays or foreach!!! I have put in the following: <?php mysql_select_db($database_freecrm, $freecrm) or die(mysql_error()); if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"]...
  4. freecrm

    Some PHP Help

    Good point!!! :) This is what happens when you butcher part of a larger script!
  5. freecrm

    iframe Troubles

    Absolutely right Scoochi. By clicking a hyperlink in an iframe, you are simply asking the browser to process a redirect script and will not in itself alter the parameters for another iframe. One question: how is your "featured" iframe page laid out? You say it loads one image but is that all...
  6. freecrm

    Some PHP Help

    OK, Logout needs some additional features (in addition to the cookie clear out above) to completely clear the session. Very simply, just add the following code to a seperate page and amend the variables to suit your site. // *** Logout the current user. // specify the redirect after...
  7. freecrm

    Need help on our consumer portal

    After your private message, it sounds as if the CAPTCHA system will be ideal for you then. Firstly, it stands for "Completely Automated Public Turing test to tell Computers and Humans Apart". Secondly, it is a simple graphic image with a text field, placed usually at the base of your form...
  8. freecrm

    Insert records from a local csv file

    Cool - thanks - I'll get back to you when I've done some dev and testing. P.S. - like the text area option - this will avoid many formatting issues.
  9. freecrm

    PHP Registration Script Not Working

    Your session start is fine. Just looking through my Dreamweaver generated scripts, the redirect headers are formed like this... header(sprintf("Location: %s", $gotopath)); But I'm not sure why! Just one thing - I assume that this is your index page - in which case, why don't you use...
  10. freecrm

    Need help on our consumer portal

    I'm not sure I fully understand your requirements, which is probably why you haven't had many responses. Firstly, I'm not clear about the relationship between the portal and the company website. I assume from your comments that the "Portal" is just an extension of a larger hosted domain...
  11. freecrm

    Insert records from a local csv file

    Using MySQL/php. All I need to do is to allow a user to insert records into a MySQL table from a .csv file on his/her local computer... Sounds simple.. Hmmm...:nuts: I have looked into DATA LOAD LOCAL INFILE, but aparently, this only works from the server in which the code/data resides...
  12. freecrm

    LOAD DATA LOCAL INFILE help...

    Good advice :) and it did help a lot! I have added this into the code and narrowed the error to these lines.. OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\n' which I have now removed! Now I'm getting this error.. File 'C:\Temp\testdata.csv' not found (Errcode: 2) I've tried to...
  13. freecrm

    database in php

    OK - I find using mysql query systems a little cumbersome and too syntax dependant. Simple steps 1) go to your cpanel (link provided in your first setup e-mail from x10) 2) about half way down, there is a section for databases - click on MySQL wizard. The wizard will take you through...
  14. freecrm

    LOAD DATA LOCAL INFILE help...

    I've done quite a bit of reading on this but the subject is fraught with pitfalls. I need to import data from a local csv file and have created the following code (adds to existing data). <?php require_once('Connections/freecrm.php'); mysql_select_db($database_freecrm, $freecrm) or...
  15. freecrm

    ][REQ][50 credits]Ideas for my site[REQ][

    Looking at your source code, you could definately do with adding some meta descriptors and potentially keyword (although these aren't used as much these days) to increase your search engine rankings. Also - although your title includes retro-studios, you can add different terms for each page...
  16. freecrm

    [REQ][500] FOr another comment box (You'll see why below)

    OK - b and c are very different. b) an insert script uses a MySQL insert statement that puts data into the database - i.e. when a user physically enters text into a form field and the php puts that into a table. For instance <body> <form> <input name="datecreatedfield" type="hidden"...
  17. freecrm

    [REQ][500] FOr another comment box (You'll see why below)

    OK - this is weird and getting more confusing... Do you a) want one type of comment insert script that works on various pages. b) want different types of comment insert script that works on various pages but enters the data to the same DB c) want the results from the comments to show...
  18. freecrm

    [REQ][500] FOr another comment box (You'll see why below)

    Not quite sure what you are asking here... Could you let us know what was in XPlozion's comment box? What do you mean by "gave it the same comments on all of tha page that I gave the php script to" If you want a comment insert script, the script will be the same but looking at your last...
  19. freecrm

    [?] how to send mail in php?

    You may find this topic of use: http://forums.x10hosting.com/programming-help/77904-problems-form-submitting-html-php.html
  20. freecrm

    ftp, http and myphpadmin down.

    Is this another update or a temp problem? Edit: Thanks for the PM Corey - and my apologies for not reading the announcements! Please close this thread.
Top