Jump to content
xisto Community

ginginca

Members
  • Content Count

    247
  • Joined

  • Last visited

Everything posted by ginginca

  1. There's also a site age factor in google's formula. They have found that most of the spam sites don't have old domain names. So if your domain name is new, it is difficult to rank well for competing keywords (ones that are popular). This process takes about 9 months to a year. Getting your site in the index is generally not a lengthy wait. In my experience, about a week to 10 days. I use google sitemaps to submit. But having the entire site in the index, and having it rank well is a multi-step process. Another good tip is to use my msn my yahoo and my google, and put your site on your own homepage using whatever anchor text you want. Gin
  2. There are a few hosting issues you have to sort out. You need to have a catch-all mail account that catches everything to that domain. And there's something else to add to the cron job. If you end up getting it working I would be happy to work together with you on the FAQ's and so forth.
  3. Whether it is <?php include ('pagerank.php') ?> or <?php include'pagerank.php';?> I still have the same issue. The page appears at: http://www.londonlink.ca/check_web_site_page_rank.php You can view the code at http://www.londonlink.ca/check_web_site_page_rank.phps the includes file is http://www.londonlink.ca/pagerank.php
  4. I'm new to PHP and still have much to learn. I came across a free script to check google PR. You place a file called pagerank.php and then have an includes. So I did this: <?php include('pagerank.php') ?> Then I have my HTML (the page header and so forth), and added a form where they can input their URL. The form action is <form action="?url=<?php echo $_POST['url'] ?>" method="post" name="checkpr" id="checkpr"> First of all ... I seem to be missing something completely basic. My page isn't displaying at ALL as I expected. No graphic header and no form. It's actually showing all my HTML code instead of processing it. This happens when I put my include (as above) right at the top of the file. When I take it away, at least the graphics and the form look correct. So where is the CORRECT place to put the include code? Can someone make suggestions on how I messed up on this? Many thanks.
  5. Yes I see what you mean about the amount of code, and the page is already a bit of a monster.I'm thinking of making a function for it, and then putting it on a require_once page.I went with the number format because it looked like less coding. I originally tried the money_format but had errors. On my PC I have PHP5 installed.BTW, can you be online when I do my exam next month? (Just kidding.)Gin
  6. I haven't tried to run mine on my own PC, only online. But my impression is that the script is incomplete. I can't get the company on the phone. However I've been slowly working on correcting the errors myself. I have the site working. The concept of the programming is good. But it's like he never finished the project. This is one of the reasons I'm looking for beta testers to assist with checking it for problems. So far I have been able to correct any errors I have found. Have you tried uploading it to see if you still have the same problem online? Gin
  7. That looks like quite a bit of code to format variables. I tried something this morning that didn't work: I was attempting to follow what was on php.net for the instructions. Do I have an error in this (above) or am I just completely wrong about how I am going about it? Gin This worked:
  8. Hey Humphrey ...Our company is putting together an autoresponder service. (like aweber, get response etc.)We're giving away free accounts to those who sign up and help us with the beta testing such as telling about any issues, questions etc.If it's what you're looking for, sign up at http://forums.xisto.com/no_longer_exists/ Sign up for the free account and then I'll upgrade you to the pro version at no charge.The site has no graphics yet - so it's pretty plain to look at!As for tell-a-friend, if you have a copy of ZEND Studio (php editor), there's a snippet in there of what you're looking for in the email section. If you don't have it, zend has a free (lite) version (which also includes all the snippets).Gin
  9. On my entry form regarding the phone number we were talking about, I am asking them only for the area code. I want to make sure that submissions are only from area code 519 and 226. My field name is area_code I want it to stop processing the form if the value is not one of the above. But I will be also adding to the form, that if ANY of my fields are empty, not to submit it to the database. So I'm setting up a number of error checks. My submit form and result page are on the same php page. Does this make sense? //Check All Required Variables To Make Sure They Are NOT Empty if (empty($name) or empty($cat) or empty($url) or empty($email) or empty($area_code) or empty($city)) { print "one or more required fields are mising"; }//Check area code for valid region if (int($area_code) !=519 or int($area_code) !=226) { print "area code is not valid for this region"; } And if so, I'm not sure where on the page it fits into the structure, since it is all done on the same page. Here's where they submit from: http://www.londonlink.ca/submit_a_site.php
  10. formatting ...On my results page that you helped with yesterday (GET vs POST) I would like to format the numbers as $0.00.
  11. Of course you are absolutely correct and thank you. It works great now.I have to learn a couple of concepts here.(1) If I want to format my number output and don't have a programming background. Would I be looking to use the printf command? Or do I make my variable a float/double?(2) I need to also learn to do some error-checking, using if statements.I have a form that puts data into a database, but only want the submission to be processed if the 1st three digits of the phone number match from a list of two. The list will never change, so it doesn't have to be part of the database. (I'm going to put it into my form.) I plan on using a switch statement.What I don't quite get, is WHERE in my form the if statement goes.Thanks,Gin
  12. http://forums.xisto.com/no_longer_exists/ Same thing online as it was doing on my PC.
  13. Ah ... and you come to my rescue once again! Here's the code for the entry page. I'll post them online and try them there in case there's an issue with my PHP running on the PC here. <?php/** * Student Assignment - Chapter 4 * Order Form * */?><html><head><meta http-equiv="Content-Language" content="en" /><meta name="GENERATOR" content="Zend Studio" /><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Order Form</title></head><body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99"><form id="MyOrder" action="process_order.php" method="POST"><table align ="center" cellpadding="1" cellspacing="1" width="550" border="0"> <tr> <td colspan="5" height="50" align="center" valign="middle"> <font size="4" face="Arial, Helvetica, sans-serif"><B>Order Form</B></font><BR> <font size="2" color="Red" face="Arial, Helvetica, sans-serif">Check off the products you wish to purchase.</font> </td> </tr> <tr bgcolor="#CCCCCC"> <td align="center" valign="middle" width="50"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Select Items</B></font></td> <td align="center" valign="middle" width="200"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Product Name</B></font></td> <td align="center" valign="middle" width="100"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Price</B></font></td> <td align="center" valign="middle" width="100"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Size</B><BR>(S, M, L or XL)</font></td> <td align="center" valign="middle" width="100"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Qty</B></font></td> </tr> <tr bgcolor="#EEEEEE"> <input type="hidden" name="item_1_product" value="Zend Studio T-Shirt"/> <input type="hidden" name="item_1_price" value="14.45"/> <td align="center" valign="middle" width="50"><input type="checkbox" name="item_1_purchased" value="YES"/></td> <td align="center" valign="middle" width="200"><font size="2" face="Arial, Helvetica, sans-serif">Zend Studio T-Shirt</font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif">$14.45</font></td> <td align="center" valign="middle" width="100"><input type="text" name="item_1_size" size="5" value=""/></td> <td align="center" valign="middle" width="100"><input type="text" name="item_1_qty" size="5" value=""/></td> </tr> <tr> <input type="hidden" name="item_2_product" value="Zend Studio Jacket"/> <input type="hidden" name="item_2_price" value="125.75"/> <td align="center" valign="middle" width="50"><input type="checkbox" name="item_2_purchased" value="YES"/></td> <td align="center" valign="middle" width="200"><font size="2" face="Arial, Helvetica, sans-serif">Zend Studio Jacket</font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif">$125.75</font></td> <td align="center" valign="middle" width="100"><input type="text" name="item_2_size" size="5" value=""/></td> <td align="center" valign="middle" width="100"><input type="text" name="item_2_qty" size="5" value=""/></td> </tr> <tr bgcolor="#EEEEEE"> <input type="hidden" name="item_3_product" value="Zend Studio Mug"/> <input type="hidden" name="item_3_price" value="7.95"/> <td align="center" valign="middle" width="50"><input type="checkbox" name="item_3_purchased" value="YES"/></td> <td align="center" valign="middle" width="200"><font size="2" face="Arial, Helvetica, sans-serif">Zend Studio Mug</font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif">$7.95</font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif">N/A</font></td> <td align="center" valign="middle" width="100"><input type="text" name="item_3_qty" size="5" value=""/></td> </tr> <tr> <td colspan="5" height="40" align="center" valign="middle"> <input type="submit" name="submit" value="Order Now!"/> </td> </tr></table></form></body></html>
  14. Purchase some in-bound quality links. (Yahoo, business.com etc.)Spend lots of time submitting to free directories too. (Thousands)There's no such thing as a magic bullet. Even if you hire a good SEO firm it will still take some time.As for google if you are trying to rank for a competitive keyword you will have trouble if your domain is new. But a google site map makes all the difference in the world.
  15. I'm taking a PHP course at college and am working on an assignment. There's no database involved. I've declared my variables from a submit form on another page, and on the page I'm working on I'm trying to bring them up in a table. But my start-table command is outputting an error. Here's the code relating to where the error is: <?php//Get First Item if (isset($_GET['item_1_product'])) { $item_1_product = $_GET['item_1_product']; } else { $item_1_product = ""; //Default value if data missing } if (isset($_GET['item_1_price'])) { $item_1_price = $_GET['item_1_price']; } else { $item_1_price = ""; //Default value if data missing } if (isset($_GET['item_1_purchased'])) { $item_1_purchased = $_GET['item_1_purchased']; } else { $item_1_purchased = ""; //Default value if data missing } if (isset($_GET['item_1_size'])) { $item_1_size = $_GET['item_1_size']; } else { $item_1_size = ""; //Default value if data missing } if (isset($_GET['item_1_qty'])) { $item_1_qty = $_GET['item_1_qty']; } else { $item_1_qty = ""; //Default value if data missing } //Get Second Item if (isset($_GET['item_2_product'])) { $item_2_product = $_GET['item_2_product']; } else { $item_2_product = ""; //Default value if data missing } if (isset($_GET['item_2_price'])) { $item_2_price = $_GET['item_2_price']; } else { $item_2_price = ""; //Default value if data missing } if (isset($_GET['item_2_purchased'])) { $item_2_purchased = $_GET['item_2_purchased']; } else { $item_2_purchased = ""; //Default value if data missing } if (isset($_GET['item_2_size'])) { $item_2_size = $_GET['item_2_size']; } else { $item_2_size = ""; //Default value if data missing } if (isset($_GET['item_2_qty'])) { $item_2_qty = $_GET['item_2_qty']; } else { $item_2_qty = ""; //Default value if data missing } //Get Third Item if (isset($_GET['item_3_product'])) { $item_3_product = $_GET['item_3_product']; } else { $item_3_product = ""; //Default value if data missing } if (isset($_GET['item_3_price'])) { $item_3_price = $_GET['item_3_price']; } else { $item_3_price = ""; //Default value if data missing } if (isset($_GET['item_3_purchased'])) { $item_3_purchased = $_GET['item_3_purchased']; } else { $item_3_purchased = ""; //Default value if data missing } if (isset($_GET['item_3_qty'])) { $item_3_qty = $_GET['item_3_qty']; } else { $item_3_qty = ""; //Default value if data missing } ?><html><head><meta http-equiv="Content-Language" content="en" /><meta name="GENERATOR" content="Zend Studio" /><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Process Order</title></head><body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99"> <table align ="center" cellpadding="1" cellspacing="1" width="550" border="0"> <tr> <td colspan="5" height="50" align="center" valign="middle"> <font size="4" face="Arial, Helvetica, sans-serif"><B>Products Ordered</B></font><BR> </td> </tr> <tr bgcolor="#CCCCCC"> <td align="center" valign="middle" width="200"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Product Name</B></font></td> <td align="center" valign="middle" width="100"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Price</B></font></td> <td align="center" valign="middle" width="100"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Size</B><BR>(S, M, L or XL)</font></td> <td align="center" valign="middle" width="100"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Qty</B></font></td> <td align="center" valign="middle" width="100"><font size="2" color="Blue" face="Arial, Helvetica, sans-serif"><B>Subtotal</B></font></td> </tr> <tr bgcolor="#EEEEEE"> <td align="center" valign="middle" width="200"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_1_product; ?></font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_1_price; ?></font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_1_size; ?></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_1_qty; ?></td> <td></td> </tr> <tr> <td align="center" valign="middle" width="200"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_2_product; ?></font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_2_price; ?></font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif">N/A</td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_2_qty; ?></td> <td></td> </tr> <tr bgcolor="#EEEEEE"> <td align="center" valign="middle" width="200"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_3_product; ?></font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_3_price; ?></font></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_3_size; ?></td> <td align="center" valign="middle" width="100"><font size="2" face="Arial, Helvetica, sans-serif"><?php print $item_3_qty; ?></td> <td></td> </tr> </table> </body></html> (1) I'm getting no values coming up on this page when I submit. (2) Am I doing this correctly where I start and stop php continually down the page? Thanks, Gin
  16. I see you have signed up so I have upgraded your membership to the paid version. At this time there are no tutorials on how to apply this to your web site, but you can still start setting up autoresponders, as they are working. To have people sign-up for your autoresponder you will need to add some code to your web site. At this point I am adding a bunch of fields and variables, so you can use whichever ones you want. I'm trying to come up with the maximum (within reason) that someone will need to use. Then you can pick whichever ones you want. for example: name email address tel etc etc Then there will be some variables that you can use for yourself. In my case we will want them to tell us something about their business. (New business? Have a web site? etc). I want to make these variables work for everyone who wants to use them. The code will end up in your admin panel where it says HTML but not all the fields are in it yet. At the moment you can set up your first autoresponder, and decided what pre-written message you want to go out to them. Thanks for signing up. I look forward to your feedback on the site as it progresses. Gin
  17. I've backed up all the data already to another drive yesterday before I started monkeying around with it. Every few months I back up all of my email to a DVD. But if I restore from a previous backup, I'll lose all my in-box messages since the most recent back-up. Thanks for your thoughts and I'll search for something.
  18. Niran, will this do sequential autoresopnders too?For example ... day 1 - message 1, day 2 - message 2 etc.Gin
  19. I've only been doing php for about a year. So I still have so much to learn. But I started a course a few weeks ago at college to learn is properly.
  20. The bandwidth will be at our end. (I have to trust that it won't be abused.) Sign yourself up at http://forums.xisto.com/no_longer_exists/ Sign up for a free account and I will change it to a paid account in the admin panel. That definition is in the most "basic" application of an autoresponder. Where it gets VERY powerful is if you use it in conjuction of your web site. If you have information you want to give someone it is sent automatically. Here's an eample you might use it for: You can give away a short MP3 clip sample of your music (a teaser). But as far as your web site is concerned it will be on autopilot. They get the file without you having to to anything ... and voila you have a person on your list. Then you can set it up to 2 days later (or whatever interval you choose) send a second email. As you build your mailing list, you can email announcements ... upcoming important gigs, or a new CD release ... or you got a new bass player ... or whatever. You use it for follow-up (all on auto-pilot). It makes your site become a more useful tool for your band. About 95% of web sites don't even understand the usefulness of this technology. Aweber and getresponse charge $20/month for this service and are very popular with people who "make money" online as opposed to people who just "have a web site". The reason I'm giving it away free is because we are setting it up. We're new, and need to understand better how it works, and know what types of questions our customers will have. Your account won't be temporarily free. If you use it, you'll have it free for as long as you want it. There are no graphics yet on the site. We won't be doing that until we know that everything works properly. Sorry if I'm rambling. But if you have questions please ask away. Gin
  21. I'm looking for some suggestions on what to do about this.All of a sudden yesterday all my sent messages disappeared.When I look in my mail folder, what was previously my sent items is still there. But now the file name looks like this: SENTIT~1.DBX rather than sent items.dbxI tried renaming it back, and reopening outllook express, but the folder is still empty.The data is there but not being read.Does anyone have any suggestions?Gin
  22. If you visit aweber.com or get response.com they do a very good job explaining the benefits of having one. Here's my quick version. If you have material you want to automatically send your web site visitors, they enter their email address onto a form and the material is forwarded by the server. You can set it up to have follow-up messages after that. We'll be having a "lite" version which is free and then a paid version with all the features. I'm offering the PAID version free for life in exchange for someone testing and using the system. Gin
  23. I hadn't had to run a sql file before. So I didn't realize I was doing it wrong. The problem was in my method. In the box for the sql file in PHPMYADMIN I was entering the url instead of copying and pasting the contents of the file. Once I got that figured out it worked just fine. :)All part of the learning curve!
  24. Okay I'm drooling with envy. I only have about 720 G between three drives.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.