Jump to content

abinidi

Members
  • Posts

    1,418
  • Joined

  • Last visited

Everything posted by abinidi

  1. You're not going to believe this, and I hardly believe this myself. But when I go to File Manager, the information that I see listed is different from what is listed when I FTP into my account. The files in File Manager were deleted yesterday or the day before, (using FTP) but they are still showing up in File Manager for some reason, while the files I added today using FTP are not showing up in File Manager. Any suggestions? I'm on server 40. (I know, I know. I should probably open a help desk ticket.... I'll go do that now. But other suggestions or solutions would also be welcome.) cPanel version of file list: FTP version of file list:
  2. I'm also not a Front Page user, but you should look for a PUBLISH or UPLOAD or similar option in your FrontPage program. You'll have to supply FTP information, but then FP can FTP to your website and upload the files that are needed. Using the built-in publisher makes uploading and maintaining files much easier. (At least that is how it works in Dreamweaver. I'm sure FP has something similar.)
  3. What version of WordPress are you using? What plugins? Have you checked the database in phpMyAdmin to see if there is data being stored in the database? (I'm wondering if you're having trouble getting data INTO the database or back OUT of the database.) What theme are you using? Have you tried using a different theme? Did you make any mods to the theme you're using? You might try the default theme to see if your posts show normally there. Oh, and welcome to the forums.
  4. I think you're going to have to provide a bit more information. What kind of form are you using? Did you write it yourself? What language? PHP? JSP? JavaScript? Can you provide a code sample of the part you can't get to work? Your question is too vague to get any kind of knowledgeable response. But reply with answers to some of these questions and I'm sure that somebody will be able to help you. Oh, and BTW, welcome to the TCH forums.
  5. Yeah. My physics professor in college tried to get us to believe that was true; that it was every color BUT green, and that is why we could see it. This is why I graduated in English. Don't you think English grammar is much easier to understand than physics? Oh wait. Never mind.
  6. And, to be honest, WordPress is a VERY EASY install and upgrade. Its not THAT much harder to install it yourself. Try it; its easier than you think its going to be! If you get stuck or have a question, pop over to the WordPress forum (here at TCH) and we'll help out. You can do it. I promise. I think I could even talk my grandmother through installing WordPress. Its that easy. And she doesn't even have an e-mail account. (Ok. Maybe my grandma couldn't do it. (Sorry Grandma.) But if you can subscribe to and post to a TCH forum, then we can get you going on WordPress. No problem )
  7. As I understand it, TCH doesn't have control over what cPanel bundles or makes available. As long as we use cPanel, we are pretty much stuck with whatever cPanel provides for automatic installations. Maybe I'm wrong here, or misunderstanding, though... If so, somebody will be along and correct me.
  8. I recently created my first database from scratch. Here is one website I used that I found to be helpful: h**p://hotwired.lycos.com/webmonkey/99/13/index2a.html?tw=backend The linked article is called "Your First Database". Maybe it'll help you too. Best wishes.
  9. I'm on a Mailman list for a website I frequent (not affilaited or hosted by TCH), and I've found out that to post to that particular Mailman list you have to post in plain text, not HTML or rich text. That is a setting that you'll have to set in your mail client. However, I'm not sure if those settings are specific to that list, or if it is a general Mailman list application issue. But I thought I'd let you know, in case it helps your specific situation. Good luck.
  10. Prayers and best wishes for a speedy recovery......
  11. Here Here!! (or is it Hear hear? )
  12. Hi rnmcd, When you are using PHP, and you submit a form, any input items within that form are passed to the target page as variables. So if you have the following code: ><form name="myForm" method="get" action="somepage.php"> <input type="text" name="UserID" size="15" maxlength="15"> <input type="submit" name="submit" value="Login"></form> Lets say a user comes to the page, and enters their UserID into the form. If they enter 12345, and click submit, they will be redirected to somepage.php?UserID=12345 That information is shown in the URL because you used the method="get" attribute in the form tag. Now, on the page somepage.php the UserID variable is ready to use, and has the value 12345 (or whatever the user entered on the previous page). But maybe you don't want to pass the UserID in the URL (for security reasons). Then you could use the method="post" attribute in the form tag, like this: ><form name="myForm" method="post" action="somepage.php"> <input type="text" name="UserID" size="15" maxlength="15"> <input type="submit" name="submit" value="Login"></form> This does basically the same thing, but it doesn't append the variables to the URL. So if a user came to the page and entered 45678 into the text box, and clicked the submit button, they would be redirected to somepage.php (notice the lack of the ? and variables after the file name). But the great thing is, the variables are still passed to somepage.php, and you can use them on somepage.php for whatever you need. So you can use the POST method, or the GET method to pass form input from one page to another as a PHP variable. If you use the POST method, then the variables aren't placed in the URL. If you use the GET method, the variables are placed in the URL. Be careful with the GET method, though, because I believe there is a finite limit to the size of a URL. So if you have a user who enters a blog post, you wouldn't want to pass that with the GET method, because it would be way to long. However, if you are passing a session ID or something, and you want users to have a unique URL, then you can use the GET method. Recently I was designing a web application for my wife's thesis. Users logged in and were assigned to a specific treatment. I passed the treatment variable with the GET method to all the URLs so I could have IF/THEN php statements to determine what to do on each page, based on the users treatment. I could have used the POST method, but I liked being able to see the variable in the URL because then I knew it was being passed correctly from page to page. It was my first php project, so that helped me find my errors. I hope that was what you were asking.... If you need more help, let me know. When the user enters data into the UserID text field and clicks the Login button, they will be redirected to "somepage.php?UserID
  13. I don't know what the best solution was, but here is what I did. I noticed that on my preview page any apostrophes were coming out as being escaped, so I'd get: Paul\'s famous pancakes. So on that preview page, I added the following code to all the fields that allow text: >$variableName = str_replace("\'","'",$variableName); echo $variableName; $variableName= str_replace("'","",$variableName); This converted the \' to a normal apostrophe, so when they were previewing it, it looked right to them. Then it removed all apostrophes from the text, and the data is stored in the database without apostrophes. This works fine for me, because I'm going to extract the data from the database and put it in a book. I'm not going to display it online. However, I'm not sure what the solution would be if I wanted to display the data online, because in that case, you'd want to leave the apostrophes in the text. I'm just not experienced enough with PHP to understand how it is escaping my characters automatically in order to correct it when you pass the variable from one page to a second page as a variable, then store it again as a variable to pass to a third page. I hope that made sense.
  14. I'm collecting recipes, and I've created a form in HTML. Users click on a "preview" button to check out their response before they click on a submit button to enter it in the database. Everything works perfectly except when users put an apostrophe in one of the form fields. Say for example, I'm entering my famous pancake recipe. I use the recipe title: Paul's famous pancakes On the preview page, the output is shown as: Paul\'s famous pancakes. In order to get that variable to the next page where I do the entering of the data into the database, I pass the variable as a hidden value in a form so when it POSTs to the next page I can just use the same variable over again. But when you look at the data that is inserted into the database, it is cutting off everything after the "l" in Paul. I tried using the $variable = str_replace("\'","'",$variable); command, but it doesn't seem to be working for me. Anybody have any suggestions on what I should do? I can post my code, if necessary...
  15. 334 for me too...
  16. Funny! That video wasn't there before. Thanks, Mission!
  17. We went looking at Christmas lights last night, and my brother took us past a place in our town that is doing something very similar to the display here. I'll tell you what, in person, it is phenomenal. Really spectacular. This guy uses over 100,000 lights, and what I thought was really cool was the "band" on the wall above the garage (they are shown in the video); they move at the right time for their instruments; and there is a "talking" Rudolph whose mouth moves with the song lyrics. It was really incredible. Here is the website for the guy in my area: http://christmasutah.com. The website is poorly designed (which I think is funny; the guy can work wonders with a MIDI controller with his computer, but he can't design a decent web page), but follow the link to the FOX 13 news story and you can see part of the show in action. Pretty cool.
  18. Seems to be working fine for me. Same behavior in both browsers. I wonder if this was really worth 17 hours?! I almost guarantee you that long before hour 17 I would have given up and said "there's got to be an easier way to do this using tables/layers...." Congratulations on workign it out!
  19. If I'm not drifiting too far off topic.... I don't mind some telemarketing calls either. I just hate it when they try to con you into doing something by pretending (or making it appear as if) they have a legitimate existing business relationship when they don't. On the other hand, the other week I entered a drawing for a car at the local mall, and I got a call from one of those timeshare companies. We went to the presentation and got 75 bucks in gift cards to Kohls department store. (We told the timeshare company "no"; but hey, I'll go listen to "a 90 minute presentation" if they want to give me 75 bucks...) Then last night I went to Kohls and got a 300 dollar winter coat (marked down 66% to 100.00) and all I had to pay was 30 bucks. That was pretty cool. So I don't hate all telemarketers/marketing companies. Just the ones that pretend to be what they aren't. THAT really ticks me off.
  20. Oh. Gotcha. For some reason, I was seeing somethign different before in IE. Maybe an earlier version somehow. Sorry I can't help. I looked at the code, and I'm not sure what's not working. However, I'm not a CSS coder. I find tables easier to use for positioning. I'm sure somebody who is a CSS aficionado will know what to do.
  21. jayson, I'm not sure what your message means. I tried your site, and the mouse over doesn't work for me at all in IE. I'm not sure what you are talking about in terms of a background image. Sorry. Can you clarify please?
  22. I'm a VERY NEW php person, but I would probably try putting in a javascript popup or something for testing purposes that will display the value of the $phonenumber variable. I'd want to know how the information was being entered into the variable to see if that helped to illustrate where the problem was. I dunno. Bruce (or somebody else) will probably be able to help you more than that. Just a small suggestion for a PHP beginner. (Who knows. Maybe you already thought of that and this is way over my head...)
  23. /Paul gets on soapbox [soap box] I consolidated my student loans last year, and I'm still getting loan consolidation letters in the mail. The one I got the day before yesterday really ticked me off, though, because it started with: This kind of stuff should be illegal. It is like when I get "bills" in the mail to renew my domain name -- only they aren't from my registrar, and the price is 3-4 times what my registrar charges. If you read carefully it says "this is not a bill", but the way it is formatted, I'm sure that there are people who pay it without giving it enough attention. Sorry. I'll get off the soapbox now. [/soapbox] Have a great day. And don't fall prey to unscrupulous marketers!
  24. Wayne, Can you give a more specific example of what you are trying to accomplish? Maybe if you gave a specific example we'd be able to point out where this type of vulnerability might lie. Regards,
  25. Those instructions *do* make it look easier. Maybe I'll try it tomorrow when I get a little more time. Thanks Bruce!!
×
×
  • Create New...