Jump to content

darnell

Members
  • Posts

    27
  • Joined

  • Last visited

darnell's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. THANK YOU! It is a step in the right direction.
  2. Hello, I am trying to put together a form that allows people to pretty much make their webpage themselves.... the coding will then be emailed to us and we can basically cut and past. My problem is I know didly squat about perl... and had someone put something together for me. So, below is the script. I also have a questions 1) Do I need to upload this via ftp with certain settings (777..). Any help would be appreciated. Thanks in advance. #!/usr/local/bin/perl # setup prefix for replacement in template... # case sensitive $tprefix = "VFITEMPLATE-"; # form variable name prefix... # case sensitive $fprefix = "vfi-"; #filepath for the template file... $templatefile = "template.html"; # return URL from name (put a HIDDEN value in the submission # form called the value of this with the return URL) $ returl = "returl"; # email to send the completed HTML to $sendto = "support@voiceforinmates.com"; # email address it will come from... $sendfrom = "support@voiceforinmates.com" # subject for the email $esubject = "Completed VFI Template"; ###### CODE BELOW ###### # get form post data... parse_formdata( ); # load template into memory... open (X, "<$templatefile"); $tdata = ""; while(<X>) { # read every line ($_is the value of the last <X>) $tdata .= $_; } close(X); # ok... go through our form variables that start with $fprefix # and swap out every $tprefix-varname with the value from the form # submission... foreach $fvar (@formvars) { if (substr($fvar ,0, length ($fprefix)) eq "$fprefix") { # matches our prefix... $fname = substr($fvar, length ($prefix), lenght($fvar)); $value = $Form{$fvar}; # find all of them in $tdata (the copy of the template) $tname = "$tprefix$fname"; (@vx) = split (/$tname/, $tdata); $ntdata = ""; foreach $vx (@vx) { $ntdata .= $vx; $ntdata .= $value; } # we append an extra>>> wipe it out... $tdata = substr ($ntdata,0, length ($ntdata)-length ($value)); } } # ok... send the email open (X, "|/usr/sbin/sendmail -t"); print X "To: $sendto\n"; print X "From: $sendfrom\n"; print X "Subject: $esubject\n\n"; print X "$tdata"; print X "\n\n"; close(X); # we're done! # send them to $returl print "Location: $Form{$returl}\n\n"; exit # my subroutine for parsing form post in perl sub parse_formdata { if (uc($ENV{'REQUEST METHOD'}) eq 'POST') { read (STDIN,$inbuf , $ENV{'CONTENT LENGTH'}); $clen = $ENV{'CONTENT LENGTH'}; } else { #assume its GET $inbuf = $ENV{QUERY STRING'}; $clen = length ($inbuf); } # split it up... my @fsets = split(/\&/, $inbuf); # clean them up... foreach $f (@fsets) { my ($var ,$marg) = split(/\=/,$f); $marg =~ tr/+/ /; $var =~ s/%(..)/ chr(hex($1)) /eg; $marg =~ s/%(..)/ chr(hex($1)) /eg; $Form{$var} = $marg; push(@formvars,$var); } }
  3. Hello, does anyone know if there is a free php script or cart that works with TCH and Google Checkout. The problem I am having is that Google has a "checkout button" however if you wish to give a customer the option of addons you need a cart or somekind of script.. from what I can see. Thanks for any support given.
  4. Hello everyone, although I am not certain anyone here can help I figured at the very least this would be a warning to others. We have had a REAL issue with a company named Maltuzi buying misspellings of our domain name. After ALOT of research I have discovered this is due mainly to where you go to register your domain. Example: We goto totalchoicehostings link and from there we clicked to see if a certain domain was available. However many sites (and I am not stating totalchoice does this) if you do not buy the domain at once somehow your domain name request is then sent to this major purchasing company who decides to "taste" your domain name to see if it generates traffic.... I suppose the long story short of this is they now have a few misspellings of our domain name and have placed a bunch of pay per click links on their site litterally using info off of our site. They will take words, statements whatever from us and use it in their page to generate hits. Many are mistakenly going there site instead or trying to e-mail us yet mispelling the domain name... Apparently they also practiced this with Microsoft who from what I can see has a lawsuit against them... At any rate PLEASE be careful with who you use to see if a domain name is available. From what I see you need to go right to the source internic.com I believe.... Sincerely, Darnell
  5. I appreciate the response, I thought this may be the case. I have upgraded a few times already just not certain I will not exceed my current plan...(or worse any plan totalchoice has to offer) I hold very large legal transcripts online. (in pdf).. some are over 2,000 pages long.
  6. Ok, this may or may not be a silly question and I am not a computer genius by any means (smile). I am about to install a Network Drive mainly for accessibility of the same files thru out my home. However I am reading something that may benefit me greatly (if I am reading it correctly). I would like to store files that are generally on my website on this hard drive, where they could click on the link and still get the file. Is this possible? I ask due to the fact that I will be exceeding my storage capacity through my hosting service SOON! and would like a better option. In case it is important I am on broadband cable... the drive I am refering to will be installed through a hub. Thanks for everything.
  7. Thank You, this has been going on all weekend. The end response I have been getting from the help desk.... is this is a Frontpage issue. Was hoping someone else had come across this and could possibly help resolve. They've just passed this up to their level 2 technical support center. Again, thanks.
  8. Windows XP network Connection will not work The mail forms on my website are all of a sudden coming up "do not have permissions" Hello, this problem began over the weekend. First I would like to state the only things I have done different to the site. 1. I went to your redirect option and pointed a few url's... 2. I went to the subdomain option and forwarded a name just to see how it worked (it was erased afterwards) Ok, this being said I have spoken to Alex and Jason regarding these issues. They asked me to do a full back up, download everything to MY computer. I did (however) the download was corrupted. I have opened the zipped download and it seems to all be there so where the corruption lyes I am not 100% certain. Now that I have this download what do I do next? Unfortunately, I do not fully understand what they ask to fix the issue. They state these are all MS Frontpage issues. The reason I can not use windows XP Network Connection (which I have used for 5yrs now) is due to Frontpage. I am a novice to this whole thing and design my 90% of my site through frontpage due to the site itself being fairly straight forward (no java etc...) This is a messaging service and it being down for 3 days now seriously affects business. I am willing to go back a few days back up if this helps correct the issue. If I recall (yesterday was a hectic day due to mothers day and a birht day) they stated the only back up they had was for the 12th. Please let me know what it will take to correct this issue. More info on the problem below: When I goto cpanel and try to install frontpage extensions I get this as part of the results (however it says fp is installed) .........Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Error #20003 Message: Cannot create folder "_vti_cnf". (OS Error #13 Message: Permission denied) Thank You for taking the time to look at this posting. Darnell
  9. Thank You, upon leaving the message I saw somewhere else where he posted information on MySQL. I was just about to write and let everyone know that I had found something. Thank You again for all the support you guys give.
  10. Ok, after finding out that I can not use the form upload option that comes with Microsoft Frontpage due to totalchoice using Apache.... not complaining totalchoice has had great service... At any rate I have gone an acuired form making software. Due to the fact I have absolutly NO understanding of it.... Again, I use frontpage. In order for me to go any further I need these 3 questions answered Anyone willing to help a novice would be greatly appreciated. c) Enter your MySQL database full path in the "MySQL host" field; e) Enter your MySQL database login and password in corresponding fields; f) Enter your MySQL database name in the "MySQL database name" field;
  11. Thank You for the response, all the more reason NOT to use MSN
  12. I log into cpanel and go to mail then autoresponders and the main page pops up and then I scroll to the bottom and click add new responder and the page comes up. After I have put all the information in and click the create autoresponder button, it takes me to an error page, 1 of 2, either, page cannot be found or please put in email address to be created. Are there server issues or something we don't know about?
  13. Hello, is anyone else having trouble with the tchstatus online service and MSN? My icon only shows a question mark. I have googled various status icon and instant message services and read that there are issues with MSN and outside services... Thanks
  14. Hello everyone, and thank you for taking the time to read this post. More often than I would like the online status icons. The the online tch... service are not viewable on my site. Unfortuantely, I do not see anything where I can simply place the images on OUR site as apposed to having to grab them from tch themselves. Am I doing something wrong? Or is this simply a small sacrifice we are willing to accept? I for one would rather have my icons not show from time to time then totally scrap the service Thanks in advance Darnell Barber
×
×
  • Create New...