Everything posted by -=seth=-
-
generic dating website
does anybody know of any, or have used any generic off the shelf 'dating website software,' (ideally free) i was looking for the zen cart of dating websites thanks Seth
-
ahh for f... sake
i was just adding a new email address on my server when the phone rings, so i'm not concentrating when i click add to outlook, go to download and i've added not just the new email address but several unused ones including generic ones like info@website.com and webmaster@website, also there was 2 email addresses which i published on my site when i was green and before i knew about email harvesters result i just downloaded 516 spam emails, a years worth in one go, all mixed in with my genuine emails. In fact it took outlook 10mins to download then all, ignoring me the whole time while i tried to click cancel cancel cancel so if anybody collects spam emails i have 516 ready to go to a good home, in fact i thinking about offering them on ebay it wasnt even an important phone call
-
firefox problems, gap between divs
Thanks Wickham that’s fixed it, oddly I had tried the clear both attribute previously not sure what I’d done wrong but its working now. The second tip fixed the gap problem which surprised me, I hadn’t realised that the margin would make an affect outside the div, and I was expecting it to just stretch it Thanks for your help much appreciated
-
firefox problems, gap between divs
Ive been fiddling around with this for ages, it seems like such a simple thing to do and in IE7 its fine, but firefox for some reason i cant fathon 'a gap is appearing between the headline div and the one below it' also 'on the second headline div instead of stacking where it was placed in the page, it stretches all the way back to the 1st headline div' any ideas why i'm making such a mess of this thank Seth
-
Argh Hosting!
yep wont argue with that, presently i'm with heart, they are no means perfect but tolerable so far, i will say to anybody who'll listen however is stay well clear of 1and1 they are really really bad since i had my problems with them i've seen so many blogs and forum discussions about how bad they are, if only i'ld read them before
-
I can't access this site anymore.
had the same problem yesterday, today its back to normal
-
ecommerce trade fair
I dont know if anybody went to the ecommerce trade fair at earls court (last day tomorrow if you want to go) I went because I was hoping to find a pr company which specialises in online pr (unfortunately there wasnt any there) wandering around it struck me a year and a bit ago when I set up my 1st website how naive I used to be, those sales people from seo and marketing companies telling you they can achieve impossible targets back then I actually used to believe them. this woman from a an email marketing company called ExactTarget, who because she was absolutely drop dead gorgeous I let her go through her sales pitch she asked me how many people were in my database, I said 10,000, she said she could do a package for £4000 a year which included 5 email campaigns. Its just nuts, average cost of sales for an online store when you factor in vat, delivery cost, stock, payment processing etc, must be about 33% of your retail price, ie every £10 spent on an online shop the store owner gets £3.30 profit (before they factor in running costs) so to cover that £4000 cost you would have to £12000 worth of sales, even more bonkers when you think other email companies will do he same thing for £20 a month
-
new design
thanks guys, the menus are a weak point, its a lot of navigation and pages i need to piont to i' am struggling to find a solution
-
Peartree V4
i like the main image
-
I need some greate tips of SEO. Plz help me.
their title tag is seo india, which seems an odd keyword phrase to target, also they only have a page rank of 0 (not that page rank should be taken too seriously) are they really any good
-
new design
working on a new prestashop website its 98% finished, got a few things to do but i would love to know your experianced thoughts, opinions and how you think my customers and indeed google will respond to it www.grooming-health.com Grooming-Health.com also if anybody is running IE6 i would love to know if its working okay many thanks Seth
-
php advice
thanks for all your help guys
-
php advice
if i put it back to 'QUERY_STRING' how does it know its on the right type of page and whether to display or not, do i not need to define what the 'QUERY_STRING' is
-
php advice
thanks you guys, but with the second code the javascript still appears regardless of what i put in the 'QUERY_STRING' <?php if (isset($_SERVER['mysite.com/thepage.php'])) { $yourjava=''; } else { $yourjava='<p>please appear</p>' ; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>test</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <? echo $yourjava ; ?> </body> </html> I'm new to php and far from mastering it, is the above how the page is surposed to look
-
php advice
Thanks for being patient with me, but i still cant get this to work, what ever i replace variable_youre_checking_for with the javascript appears on the page, whether i put the exact url in full or in part, or whether i put something totally different
-
php advice
Stevo youre star thanks for the code and sorry i didnt reply sooner i'm still having problems getting it working, what do i put in the ['$variable_youre_checking_for'])) the java seems to display what ever i put there
-
php advice
I'm trying to find a php solution for something i'm doing but dont even know what its called so trying to find an online tutorial is proving impossible what i need is certain block of javascript code to only show up on pages with particular types of url's, ie the ones which dont have = and ?, the rest and where i want the above code shown have a mod rewrite to neat google friendly url's if anybody could tell me what the technique is called or point me to a tutorial it would really help me out thanks in advance Seth
-
alternative to curly brackets
the php is all part of the shopping cart i'm using (presta shop) the coding is quite extensive and i've been unable to figure out which bit the above javascript it is effecting, however when i put the above in my header the page loads blank, only the coding up to the above javascript loads this is the rest of the code in the header, but i have only a very basic understanding of how it works and obviously a lot of it ties up to other files within the shopping cart <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <base href="{$protocol}{$smarty.server.HTTP_HOST|escape:'htmlall':'UTF-8'}{$base_dir}" /> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:htmlall:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:htmlall:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta name="abstract" content="www.grooming-health.com - mens shaving, skincare and grooming" /> <meta name="copyright" content="www.grooming-health.com" /> <meta name="robots" content="all" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" /> <link type="text/css" rel="stylesheet" href="../ztestz.css" media="all" /> <script type="text/javascript" src="{$base_dir}js/tools.js"></script> <script type="text/javascript"> var baseDir = '{$base_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; </script> <script type="text/javascript" src="{$base_dir}js/jquery/jquery-1.2.6.pack.js"></script> <script type="text/javascript" src="{$base_dir}js/jquery/jquery.easing.1.3.js"></script> {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {$HOOK_HEADER} </head> <body> <div class="razor"> <div class="main"> {if !$content_only} {$HOOK_TOP} {/if} i have no idea how to progress from here and figure out why i cant include this pop up
-
alternative to curly brackets
in php there is an alternative to curly brackets, but is there also one for Javascript the curly brackets in my javascript code is effecting some of the php code i'm using, specifically i wanted to remove the the curley brackets from this piece of code <script> function PopupCenter(pageURL, title,w,h) { var left = (screen.width/2)-(w/2); var top = (screen.height/2)-(h/2); var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left); } </script> thanks Seth
-
php form HELP!
thanks Ben, but doesnt the below part of the code sort which field it will fall into $name=mysql_real_escape_string($_POST['name']);
-
php form HELP!
I am so stuck, after spending the morning staring at his form i cannot figure out why it wont work, its seems to be connecting to the database but none of the information it going into the fields i would be so grateful if someone could spot any errors thanks Seth <?php mysql_connect("******", "******", "******") or die(mysql_error()); mysql_select_db("******") or die(mysql_error()); $name=mysql_real_escape_string($_POST['name']); $email=mysql_real_escape_string($_POST['email']); $coffee=mysql_real_escape_string($_POST['coffee']); $surprise=mysql_real_escape_string($_POST['surprise']); $updates=mysql_real_escape_string($_POST['updates']); $recipies=mysql_real_escape_string($_POST['recipies']); $discounts=mysql_real_escape_string($_POST['discounts']); $distance=mysql_real_escape_string($_POST['distance']); $gender=mysql_real_escape_string($_POST['gender']); mysql_query("INSERT INTO `data` VALUES ('$name', '$email', '$coffee', '$surprise', '$updates', '$recipies', '$discounts', '$distance', '$gender' )"); ?> <?php if ($_POST && !$mailSent) { ?> <p>Your details has been received, thank you.<p> <?php } ?> <form action="" method="post"> <table class="table" width="455" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="right" valign="middle"> <p>Name: <p></td> <td align="left" valign="middle"><input type="text" name="name" size="25" /></td> </tr> <tr> <td align="right" valign="middle"> <p>Email: </p></td> <td align="left" valign="middle"><input type="text" name="email" size="25" /></td> </tr> <tr> <td align="right" valign="top"> <p>I would like: </p></td> <td align="left" valign="top"><input type="checkbox" name="coffee" value="coffee" /> Free Coffees<br /> <input type="checkbox" name="surprise" value="surprise" /> Surprise Presents<br /> <input type="checkbox" name="updates" value="updates" />Menu Updates<br /> <input type="checkbox" name="recipies" value="recipies" /> Recipies<br /> <input type="checkbox" name="discounts" value="discounts" /> Lots of Discounts</td> </tr> <tr> <td align="right" valign="top"> <p>I'm within, of Joy Food: </p></td> <td align="left" valign="top"><input name="distance" type="radio" value="2 mins" />2 mins<br /> <input name="distance" type="radio" value="5 mins" />5 mins<br /> <input name="distance" type="radio" value="10 mins" />10 mins<br /> <input name="distance" type="radio" value="15 mins" />15 mins<br /> <input name="distance" type="radio" value="20 mins" />20 mins<br /> <input name="distance" type="radio" value="further" />A bit further</td> </tr> <tr> <td align="right" valign="top"> <p> </p></td> <td align="left" valign="top"><input name="gender" type="radio" value="boy" />Boy<br /> <input name="gender" type="radio" value="girl" />Girl</td> </tr> <tr align="center" valign="middle"> <td colspan="2"><input class="submit" type="submit" value="Submit" /></td> </tr> </table> </form>
-
php form to txt file
that works unbelievably easily, thanks Kirsty you are the best
-
php form to txt file
I'm trying find out how i would go about creating a form which when filled in and submitted will save the information on a .txt file on the server i was hoping that each time information is submitted it will overwrite the previous data. its so a client can update his website without having to understand how to upload files to his server. there is a php 'includes' in the relevant page which takes the data from the text file so the client can change his opening times and special offers easily i tried googling it but most tutorials are for sending data from a form via email, if anybody could point me in the right direction it would really help me out thanks Seth
-
Divs layout random spacing
i'ld need to play with it to be sure but my 1st thought is has it got something to do with all those margin auto's, have you tried wrapping a div round everything and attach the margin auto to that, that way you would only need it once also try putting different background colours on each div to see which one is causing the gap
-
cant get rid of gaps between images
sorry needed to delete the link