- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
PHP/SEO Freelancer
87 Posted Topics
Re: [QUOTE]You may use the Webmaster Marketplace forum to post that you are offering an online service (such as advertising) that is directly related to a webmaster audience. It is not meant for advertising your website, products for sale, etc. [/QUOTE]Is there a place in this forum for promoting a free … | |
Re: [QUOTE=nessy]I know I've got to learn PHP- that's what I'm scared aboooot :(. :sad:[/QUOTE]Never be scared when someone else is paying you to learn something :D Sarah | |
Re: You may also want to have a holding page which has a meta refresh on it. This is a strategy used on forums and a great many sites. | |
Re: I'm no fan of javascript but this may be a valid time to use it, as javascript will use the clock on my PC and not the server - as your concept of morning may not be mine :cool: Sarah | |
Re: I'd tend to have <input type='text' name='email[34]' value='tom@aol.com'> or even <input type='text' name='row[34][email]' value='tom@aol.com'> and then work through the array to update the data. | |
Re: This is awesome. I followed a link from my daily email "digest" that vBulletin sends me for the forums I subscribe to. I open a stack from various forums and then work through the Firefox tabs reading them. Got to the DaniWeb post and didn't know where I was - … | |
Re: header() doesn't have to be at the very top of your code but it does have to be before there is even one character sent to the browser. This might be a blank line before the <?php or maybe you include header.php before you process the page - well you … | |
Re: For search engine positioning you can't go past [url="http://www.digitalpoint.com/tools/keywords/"]DigitalPoint's keyword tracker[/url]. It allows you to track keywords for more sites than just your own so you can track your performance against a competitors. I track my clients - and since some are competing for the same keywords it can be … | |
Re: It's probably not a php version problem usually $sql and $query are the same thing and you use $result for the result set. That improves readability but doesn't fix anything [code]$result = mysql_query($query) or die(mysql_error() . '<br />'. $query); while($row = mysql_fetch_array($result)){ var_dump($row); }[/code] this should show where the problem … | |
Re: I use a free script called [url=http://phpmailer.sourceforge.net/]phpMailer[/url] which lets you do attachments really easily as well as embedded images. The docs and examples all go with it but if you get stuck just post back here. | |
Re: You get mambo from [url]http://www.mamboserver.com[/url] and there are a bunch of add ons available at [url]http://www.mosforge.com[/url] - it's excellent! | |
I've just started getting digests (are they a new initiative?) but the last one I received 3 times! Is something playing havoc with the mailing program? | |
Re: I don't know about realestate blogs - yet but... I have some personal stuff on a subdomain at << url deleted >> and my blog at << url deleted >> and the subdomain is PR4 while the blog is PR5 that has to show a bias towards the blog * … | |
Re: I put a stack of effort into my own blog and don't want to dilute that by having a second blog. Can I put excerpts from my blog into this one with "read more" type of thing? | |
I'm an early adopter with software so I've been using Picasa since the early days. Unfortunately my first experiences with XP were sooooo bad that I've only just moved to it on my SOHO machines (but have used it extensively elsewhere). So, brand new hard drive, OEM install of XP, … | |
Re: I doubt that most of you will earn a significant amount from adsense so I'd recommend setting it up and checking infrequently, and always from the same computer. From what I've heard Google are fair and fast at sorting out errors. I also recommend avoiding the [url="http://sarahk.pcpropertymanager.com/blog/dodgy-adsense-ads/179/"]creative techniques[/url] that are … | |
Re: on this section of code [code]@$numm = mysql_num_rows($reg); if ($numm == "1"){ die('Someone already has an account with that email, you can't have multis'); }[/code]your error message has a ' in it so change it to[code]die("Someone already has an account with that email, you can't have multis");[/code]or[code]die('Someone already has an … | |
Re: That very much depends on how you have structured your database and you don't give that info. for #1 I'd recommend you pass MySQL (etc) the actual dates for the query rather than leave it to work it out. Only a few extra lines in your script and faster in … | |
Re: [QUOTE=Slashdoc](Most people wouldn't even know, and those who post to raise their PageRank are probably spammers).[/quote]That's an interesting take. I subscribe to a number of forums and post to a) refine my skills; b) see what people are having problems with that is not covered elsewhere and write a blog … | |
Re: In this line [code][color=#007700]for ([/color][color=#0000bb]$j [/color][color=#007700]= [/color][color=#0000bb]0[/color][color=#007700];[/color][color=#0000bb]$j [/color][color=#007700]< [/color][color=#0000bb]107[/color][color=#007700];[/color][color=#0000bb]$j[/color][color=#007700]++) { [/code]you are assuming there are 107 lines when there aren't. You'd be better to use [code]for ([color=#0000bb]$j [/color][color=#007700]= [/color][color=#0000bb]0[/color][color=#007700];[/color][color=#0000bb]$j [/color][color=#007700]< [/color][color=#0000bb]count($arr)[/color][color=#007700];[/color][color=#0000bb]$j[/color][color=#007700]++) { [/code][/color][/color] | |
Re: None of that seemed easy to understand Yes -> is used for objects such as[code]$apple = new Fruit(); $apple->color = 'red'; $apple->price = 1;[/code] while => is used for arrays[code]$apple = array(); $apple['price'] = 1; $apple['color'] = 'red'; $pear = array('price' => 2, 'color' => 'green');[/code]and yes, it gets used … | |
Re: How about in the top of the web development section? else try weberforums.com they have a javascript subforum. I doubt it's busier than this one though. | |
Re: You will need to call it as the image source each time it's required eg[code]<img src='myimage.php?image_id=10001'><br /> <img src='myimage.php?image_id=12032'>[/code] | |
Re: rofl, sorry, not fair on a first post, but you had to be a model didn't you?! Couldn't just be a normal person looking for help. Anyway, search on Google for "php tutorial" and follow some of the simple examples to get you started. Your myspace experience will have taught … | |
Re: I believe there is a file called meta.php which writes that information. | |
Re: I'd say it's because MySQL will only accept one database command at a time. When you put the full string into phpMyAdmin it's code will break it up into 3 update commands and send them down. You have to do this yourself. | |
Re: this line[code] mysql_query("INSERT INTO nonmembers($name, $website, $comment)) VALUES(name, website, post_text) ");[/code]should read[code] mysql_query("INSERT INTO nonmembers (name, website, post_text) VALUES ('$name', '$website', '$comment')");[/code]or to be really good[code]$sql = "INSERT INTO `nonmembers` (`name`, `website`, `post_text`) VALUES ('{$name}', '{$website}', '{$comment}'); mysql_query($sql) or die(mysql_error() . '<br>' . $sql);[/code] | |
Re: Several problems you may enconter: * she's on dial up and her IP changes everytime she connects * she's on adsl and her IP changes occassionally I'd have to wonder that the board admin isn't chasing this - it sounds like you have either a con artist or a disturbed … | |
Re: You'll find lots of good info on Graphics at the PHP site: [url]http://www.php.net/gd[/url] | |
Re: you have array variables in the string, but the coding is incomplete. it should be [php] echo "RGB values of the pixel at position {$x} - {$y} are: {$colorrgb['red']} {$colorrgb['green']} {$colorrgb['blue']} \n Apha value is: {$colorrgb['alpha']}" ;[/php]The {} make the world of difference! | |
Re: The braces tell php that the string inside is a variable name, a nice safe way of getting the data [php]print("{$links['URL']}");[/php]In an array it can't quite work out what to do here because it sees the array name and then doesn't know what to do with the square brackets [php]print("$links['URL']"); … | |
Re: What are the rules for the split, number of characters, the semi colon? If it's the semi colon take a look at [url=http://www.php.net/explode]explode[/url] | |
Re: I'm not convinced that hitting the database is such a bad thing. Other factors come into play. From my IT background I was schooled into making as few database hits as possible. I've learnt from experience that it's just not necessary. | |
Re: rather than create a global variable I'd have done it this way[code][color=#000000][color=#007700]function [/color][color=#0000bb]Times[/color][color=#007700]() { if ([/color][color=#0000bb]time[/color][color=#007700]() < [/color][color=#0000bb]mktime[/color][color=#007700]([/color][color=#0000bb]12[/color][color=#007700],[/color][color=#0000bb]00[/color][color=#007700],[/color][color=#0000bb]00[/color][color=#007700]))[/color][color=#0000bb] $Time [/color][color=#007700]= [/color][color=#dd0000]'AM'[/color][color=#007700]; else [/color][color=#0000bb]$Time [/color][color=#007700]= [/color][color=#dd0000]'PM'[/color][color=#007700]; return $Time; } $thisTime = Times();[/code][/color][/color] | |
Re: That's cool. I've haven't graduated beyond [url=http://sudoku.com.au/]Sudoku[/url] - but I'm addicted. It's in our [url=http://www.nzherald.co.nz/category/1500944/index.cfm?c_id=1500944]local paper[/url] too and it's a good thing they have it online or who knows what state my marriage would be in. Share the chores, no problem. Share the puzzle, no way! | |
Re: When the user clicks on the link they are doing it on the "client" so you need something like javascript. To save the value you can use sessions or cookies. Rather than us giving you examples, maybe you'd like to tell us what the problem is that you're trying to … | |
Re: What exactly are you trying to scrape, just the links? Take a look at [url]http://sarahk.pcpropertymanager.com/muck/linkmanager.php[/url] - it's a cut back version of my [url=http://sarahk.pcpropertymanager.com/blog/link-manager-for-link-exchangers/31/]Link Manager for Link Exchangers[/url] script - but I've added in the ability to manage image links. | |
Re: The class stores the database connection to help it control the database. It's a matter of form, not necessity. It then looks to see if the user has "defined" for tracking to be turned on and runs some hitcounter codes. The code is a database controller and this type of … | |
Re: :sad: I obviously hang out in the wrong part of this forum. I've never heard of any of you! | |
Re: I'd need to know what you are getting if you [code][color=#000000][color=#0000bb]echo $row_Recordset1[/color][color=#007700][[/color][color=#dd0000]'when'[/color][color=#007700]];[/code][/color][/color] | |
Re: try [url="http://www.php.net/preg_replace"][color=#000066]preg_replace[/color][/url] [color=#66cc66]([/color][color=#ff0000]"#[^0-9]#i"[/color], [color=#ff0000]''[/color], [color=#0000ff]$field[/color][color=#66cc66])[/color]; which will strip out anything that isn't a number | |
Re: I use a free script from sourceforge called [url="http://phpmailer.sourceforge.net/"]phpMailer[/url], it's awesome. One of the big issues I've had has been to have an email work in Outlook, and webmail, and thunderbird etc. phpMailer seems to have sussed out all the answers to these problems. | |
Re: I charge US$50 but I'm offshore so my rates may not be relevant. | |
Re: A client has since scrapped his phpBB forum for vBulletin but we found it was an issue with one of the tables having a <td width='100%'> that caused the problem. Now, you'll find this all over the place so it's a matter of working through the scripts to find the … | |
Re: or use this free toolkit. Quite simple once you get your head around some basic examples... [url]http://www.ros.co.nz/pdf/[/url] | |
Re: It's probably the CSS and the way it's applied on the site. Or it could the tags. IE is kinder with tags that don't match or aren't closed. [code]<p><i><b>This</i></b></p>[/code] may work in IE but probably won't in Firefox. Can you give us the URL? | |
![]() | Re: What is your system going to offer that [url="http://www.mamboserver.com"]Mambo[/url], [url="http://www.drupal.org/"]Drupal[/url], [url="http://www.xoops.org/"]Xoops[/url] etc don't? It's a huge effort to create your own, when you could take an existing one and extend it further as part of their community. Sarah |
| |
Re: If the forms are separate and the page is refreshing after each submit there shouldn't be a problem? Can we see your page? Sarah |
The End.