Jump to content

the-sexy-slug

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://one4u.0lx.net

Profile Information

  • Gender
    Male
  • Location
    United Kingdom

the-sexy-slug's Achievements

Member

Member (2/5)

0

Reputation

  1. I am getting an email with this error all the time when I run the cron script bellow this is the error/warning email I am getting :- tar: Removing leading `/' from member names This is the cron I am running :- cd /home/user/access-logs rm -f /home/user/accesS_logs.tar.gz tar -zcvf /home/user/accesS_logs.tar.gz /home/user/access-logs/* cd /home/user/ mutt -a accesS_logs.tar.gz emailaddress@gmail.com -s "RAW Log Backup" -f /home/user/mail_body < /dev/null I have removed my email address and username for security reasons Any help would be most greatfull as I have been trying to solve this now for the past 10 hours! Thanks all in advance
  2. Thanks for your reply. I will check them out I will update this thread as and when I have worked out the search form I am off now to do some newbie stuff lol Thanks again for you help.
  3. It would be a standard search form box on my site not any externam sites. What ever they put in that search box would then be made into a php page/file and linked to a sidebar file and echo the search term also in the generated page. Its a little project as I have seen a few flat file blogs etc that do not have this feature and I just thought it would be an interesting project to learn php with.
  4. Hello This is what I am wanting to do can it be done in php without database or mysql? Basically what I would like to do is from a seach box on my site I would like to take the search term that the user inputs into that search box and then place that seach term on a php page that is automatically generated with the filename search-term.php and is added to a sidebar. The keyword would also be placed on the webpage with a tag %searchterm% so I can have text "you searched for %searchterm%" and it will echo the users search term that they put into the search box. Like I said I am new to php coding so this is a project that I would like to try. It will involve auto generating php files and auto adding links to pages and keyword grabbing. I would like to do this with out mysql or databases.
  5. Thank you thorpe for your help and sorry for posting in the wrong forum. I have tried what you suggested in the search.php file in my wordpress test blog and it has given me a syntax error:- Parse error: syntax error, unexpected '{' Also yes you are correct I am not great at php but I am very slowly learning.
  6. Hello I would like a little help. What I would like to do is to use the default wordpress search function and instead of it searching the blog database for results what I would like to do is to use the keyword that was entered in the wordpress blog search box and display a page that will just basically echo that search term. I do not want it to show results from my blog like posts or pages just the search term. I know that sounds strange but can it be done and if it can how is it done. I am not very knowledgeable on the wordpress coding. Thanks.
  7. Yes each page would have a different feed. The feed will contain around 100 links that I would like to keep but split into pages like page 1 - 2 - 3 etc to the benifit of my web site design and make my site more usable.
  8. Hello I am looking to put a rss feed on my web pages. Each page will have a different feed. The feed gives me 100 results. What I would like to do is to show those 100 results but not show them all in one page. What I would like to do is to split those results into 5 pages showing 20 results for each rss link. Like I said each page will have a new rss link and I am on paid shared hosting so it would need to have little rescourse impact on there hosting servers. Is this possible and if so how would I acheive this please. I am a new learner in PHP with very little knowledge but as I work more with the code the more I am SLOWLY begining to understand how it works Thanks all for your help in advance.
  9. Hello I would like a little advice please. I would like to geo target certain Javascript ads to certain coutry visitors that visit my site. What I am interested in doing is using the Maxmind javascript api which can be found here:- http://www.maxmind.com/app/javascript And then I would like to target the ads for different countries on my site. For example:- UK: will see uk ads in pound sterling US: will see ads in us dollars AUSTRALIA: will see australian ads Etc... How could I accomplish this in Javascript? The reason why I am not using PHP is due to the site I am making is to be hosted on a server that does not have PHP. Thanks all in advance for your kind help. PS. I will be using Generated Javascript code for the ads.
  10. Nightslyr you are a saint Thank you for your kind help. Option 1 worked a treat
  11. It is the code that the EPN or the Ebay partner Netword Editors tool kit creates. Thanks
  12. Hello I am trying to post a javascript code an example would be adsense into a php script and all I am getting is this error:- This is my very simple script: <?php echo "<script language="JavaScript" src=""></script>"; ?> I have not posted the full script as it is a affiliate link script. Thanks in advance
  13. Thanks for the reply. I have changed the > and < with the < etc as you suggested and I still get the same error. What I am trying to do is to post a ebay affiliate link that I created using there ebay tool kit program. It produces a javascript code that you paste in your website. And for some reason it is not working when I paste into the php.
  14. Thank you for yout reply. That seams to work with text but when I put in a javascript ad code it gives me an error:- Any advice to help me show javascript ads for different locations would be very much appreciated. I have been trying to solve this problem now for months. Thanks all in advance for your advice.
  15. Hello I am trying to show/geo target content for certian countries that my visitors to my site are from. I have doing a little research on google and have found a few script but for some reason they do not work. I know about the geoip database from maxmind but I am looking for a remote solution as the geoip database is said to be a heavy strain on servers if you get a lot of visitors. I am hosted on a shared server so I do not want to get my account suspended for over working the server. Also I have a few sites that will use this idea. This is a script I found whilst googling and all it does is give me an error. <?php $ip = $_SERVER [ 'REMOTE_ADDR' ]; $country = file_get_contents ( 'http://api.hostip.info/country.php?ip=' . $ip ); if ( $country == "US" ) { echo "<American-English Ringtone Ad Tag>" ; } elseif ( $country == "AU" OR $country == "UK" OR $country == "IE" ) { echo "<British-English Ringtone Ad Tag>" ; } else { echo "<YPN Ad Tag>" ; } ?> This is the error it gives me:- What I am trying to do is to geo target Javascript ads for different countries. When I add the javascript ad it gives me that error. If I just put in normal text then it works ok. Thank you all for your help in advance.
×
×
  • Create New...

Important Information

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.