- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Trading Forex for living and coding MetaTrader expert advisors and indicators (https://www.robotfx.r
31 Posted Topics
So I'm trying to use a free service to get the visitor's location and redirect them to the proper page. The problem is that these free services don't always work; freegeoip has a limit of 10000 requests per day and I'm not sure about telize. What I want to do … ![]() | |
So, I've found this code somewhere on the net (don't remember) and I'm trying to embed it into my site, just in case some of the visitors would need to use it. It creates short URLs (from 4 services) of a particular address. What I don't understand, and I hope … | |
Well, I'm still a noob when it comes to PHP (or anything), so I'll just give an example. If you go here: http://www.gmodules.com/ig/ifr?synd=googlemodules&w=500&h=350&mid=0&url=http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml you'll see the XML gadget displaying nicely in the browser window. Of course, if you load only the gadget in the browser (http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml) the page will display … | |
Well, I hope this is the right forum, first of all. Here's my issue: I have a lot of images stored in subfolders like this example: [I]/Stallone/photos[/I] or [I]/Aguilera/photos[/I]. I'd like to move all the images from the [I]photos[/I] folders one folder up, if possible. I'm hoping maybe there's a … | |
Hi, I have a complicated (for me) question and it is driving crazy... I just can't find the issue. Basically I'm trying to enable the browser cache for a certain php file. I'm using a script called osdate but don't have much success getting help on their forum. To explain … | |
Anyway, simple for others, not for me :( I'm trying to redirect this "v1/plugins/recipe_menu/recipes.php?0.view.1446.5.0" to this"offline.html" I have this in my htaccess: [CODE]Redirect permanent /v1/plugins/recipe_menu/recipes.php?0.view.1446.5.0 http://retete-culinare-diverse.ro/offline.html[/CODE] ...but doesn't do anything. Can someone help me here, please? | |
Hi I'll get straight to the point. I'm using this code [CODE] $sex = @$_GET['v'] ; $sex= trim($sex); //trim whitespace from the stored variable $sex = htmlentities($sex); $age= @$_GET['age'] ; $age = trim($age); //trim whitespace from the stored variable $age = htmlentities($age);[/CODE] ... to get the age and sex credentials … | |
Hi I have a lot of photos in a lot of folders (all under the /stars folder) and every picture has a thumbnail, too. The thumbnails have a '_t' in their name, like this 'picname_t.jpg'. What I'd like to do is to delete all the thumbs ('*_t.jpg' files) recursively, using … | |
Hi I have this radio button: [CODE]<label><input name="click" onclick="document.write('<script language=JavaSc'+'ript src=http://cursvalutarbnr.net/f1.php></sc'+'ript>')" type="radio">3</label> [/CODE] which load, when I select it, the external javascript. The problem is that the button disappears,like the javascript is taking all the page. I'd like the javascript to load in a specific div, to avoid this and … | |
Ok guys, here's the story: my server in configured so it would parse all the html request as php, did this so I can insert php code in to html files... and is working. But, I have 2 html pages that I'd like for the server to parse as html, … | |
I hope I can explain this. I have a table which contains a field named ID. This is set as PRIMARY. Because users registered on my site and after that deleted their accounts (so a lot of rows got deleted, too) the table rows now are jumping, for example, from … | |
Hello Is there a way to disable the php error logs per directory, if it is enabled globally?! I have this htaccess but it seems not to work: [CODE]<IfModule mod_php5.c> php_value display_errors 0 php_value allow_url_fopen 0 php_flag display_startup_errors off php_flag html_errors off php_value docref_root 0 php_value docref_ext 0 php_flag log_errors … | |
So, here's the picture: page1 has, at the bottom of it, a frame loading page2. The question is: can use a javascript (how?) in page2, so when the page1 loads, it will focus to the frame loading page2? Thanks! | |
I'm using wget to run some scripts without any problems, but I've complicated a little the script and I'd like to use this command: [CODE]wget -o /dev/null -O /dev/null - http://site.com/script-to-sent-email.php?feed=http://feeds.feedburner.com/myfeedaddress&email=email@email.com >> /dev/null 2>&1[/CODE] The [I]script-to-sent-email.php[/I] is supposed to send a feed to an email box - it uses the … | |
Hi! I'd like to make this mysql command into a script and run it as a cron: [CODE]DELETE FROM xx_posts WHERE post_content=''[/CODE] However, I don't know how. So the question is what should the php file look like to access and delete the empty wordpress posts from the database? Thank … | |
Hi! I'm looking for a way to search and replace certain strings in a database table I have. Those are the commands I execute now from within phpmyadmin: [CODE]UPDATE `feeds` SET `title` = REPLACE(`title`,"ă","a") UPDATE `feeds` SET `title` = REPLACE(`title`,"î","i") UPDATE `feeds` SET `title` = REPLACE(`title`,"ÅŸ","s") UPDATE `feeds` SET `title` … | |
Hi! I'd like to show the ads on my page only to visitors coming from search engines. I'm looking for a php script that can do the trick - if lucky and I'll find it, I'll integrate it in my page. If you know of such thing or how to … | |
Hi! Since I've changed the os to centos (from ubuntu) the include and require functions don't seem to work properly in my php scripts... so some of them are useless now. To explain better, it works only if I give the full path to the included file - so if … | |
Anyone has any idea why I cannot disable the FileETag ? I have this in my apache config file: FileETag None, I have restarted the server, I'm running on centos 5 and apache 2.2.3. Still, everytime I'm using the Yslow tool in Firefox I got errors that I should disable … | |
So, I have 2-3 php scripts that I run as crons calling them using wget: [I]/usr/bin/wget -o /dev/null [url]http://example.com/cronrss.php[/url][/I] These files (cronrss.php) are getting copied in the example.com directory every time the cron runs, every new file having a new number (/home/example/cronrss.php1, ...cronrss.php2 etc) So, what could be the reason … | |
So, I have Wordpress and Buddypress the latest installed and also other plugins and, on the same server, an osdate script. The osdate can upload files of any kind, with no problem. both have no restriction in the htaccess file, they use the same php.ini etc. However, every time I … | |
I've just installed Cent OS 5 on my server and I'm trying to configure it using Webmin. Now I've reached the Apache section and I want to install/uninstall apache modules, but in the apache configuration page cannot see the modules section. This is very strange. Previously I had Ubuntu and … | |
Hi! I'd like to know if there's a way to save a webpage address, as HTML (like the browser displays it) and store it under a folder. What I want to do for my website is to create some sort of cache image of the index page, available for me … | |
Hi! Does anybody know of a [U]script capable to read feeds and store them in static files[/U]? Also, if possible, to [U]create an index of these files, too, so visitors on the website can find them easily by date or name,[/U] for example? What I'm trying to do is to … | |
Hi! I'm using various CMSs on my server and since I don't know PHP coding and also don't have the time to modify the scripts, I'm searching for an easy way to disable the MySQL errors. I'm talking about the errors that show in browser whenever the database table is … | |
Hi! I have a PHP script I've downloaded from somewhere (don't remember where, but the developers link is dead) and I want to modify it. Actually I want an extra page. The script has 2 files, tw.php and parse.php. In tw.php you should enter your twitter account (user+pass) and the … | |
I'm looking for a popunder script that will work for both IE8 and FF3 (as they dominate now). Of course, any other browser is welcome :) Note: I've also tested the flash but I've excluded it from the start, since the flash player is enabled by default to block them. … | |
So, is been a month now since IE8 doesn't remember the usernames, passwords and whatever else I type in forms. And this is very annoying, of course. And even bigger problem (I think they're related) is that the Windows Live and Messenger can't log me in, though I can access … | |
When another site includes one of my images, like [CODE]<img border="0" src="http://www.daniweb.com/forums/myimages/misc/dani/largefeed.gif" width="24" height="24">[/CODE], for example, in their own page, can I redirect it to another place? [I]I think is not possible, but it doesn't hurt to ask.[/I] So far I can only redirect images on my site if someone … | |
Hi! I have a free script from Scriptol which I use to display feeds content on my site. The script has a form where you can submit a feed url and it will display on the same page the feed rezults. The problems is: - I want to make it … | |
Hi, all! I have a problem I hope someone smarter then me will fix :) So, I'm integrating a javascript in my site: [CODE]<script language="JavaScript" src="/js/ortodox.js" type="text/javascript"></script>[/CODE] as you can see, is in a separate .js file. The site loads too slow, because of this. What I'd like to do … |
The End.