No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
16 Posted Topics
Having trouble with this Mod_Rewrite line: [CODE]RewriteRule ^user/(.*)/faves/page([0-9]*)$ user/faves.php?user=$1&p=$2 [NC,L][/CODE] This works successfully for, say /user/someuser/faves/page2, giving user = someuser and page = 2 It also works for /user/someuser/faves/ - with or without the ending slash, but it does not work with /user/someuser/faves/page1. First thought is that it's down to … | |
I've got lists of links which change order when you click the "most" or "least" buttons, have a quick look at it, easier to understand: [url]http://pinchweb.com/browse/[/url] The problem is, I see a lot of repeated code, which seems pretty inefficient. There's 4 filters - leastrec (least recent), mostrec, leastpop (least … | |
I have many redirect scripts on my site (they compute some PHP then redirect to the relevant page) - however on google webmaster they all kept coming up as "Soft-404" errors, which I read are bad for PR. A while ago I restricted googlebot's access to my /site/ folder, which … | |
Anyone have any experience with Soft-404 errors on non-error pages on Google webmaster? I'm getting a lot of "Soft-404 (404-like content)" crawl errors in my account. The links all actually work, but google's crawler doesn't seem to like them, which I doubt will do me many favours. The problem seem … | |
I'm having trouble with some basic AJAX, I'm very new to it but have found a similar chunk of javascript that I've altered to my needs (kind of). I have a <div> that I want to change upon the click of a link. It contains a list of entries, ordered … | |
I've come across a strange glitch with my website: [URL="pinchweb.com"]pinchweb.com[/URL] I've managed to make it so as to not require any browser-specific code so it's relatively generic. All except one strange glitch on the navigational bar while using the Opera browser. About the top quarter of the navbar image is … | |
This is by far the most bizarre thing I've come across in my experience of web development. When I click a link to page.php, it takes me to page.php and the layout is fine (surprisingly not the bizarre bit). However, if I then refresh that very same page, the layout … | |
I'm looking to create a 3D environment for an escape-the-room game that I'm making with Flash. I'm hoping I'll be able to do it with the 3D features of Adobe Illustrator but am unsure. I need to be able to move the view-point angle in the pictures to take the … | |
I'm having trouble redirecting a form via JS. This code (accidentally) works fine as long as there is only one variable: [CODE]<SCRIPT language="JavaScript"> <!-- function Page(thisform) { with (thisform){ var page = thisform.p.value; } } //--> </SCRIPT>[/CODE] [CODE]<form class="box" action="/user/fave.php" onsubmit="return Page(this);">[/CODE] Which just adds the variable to the URL … | |
Wasn't sure whether to put this with PHP or Mysql I'm having trouble with the below code, it only does the inner while loop once, while still cycling past it every time. It should update the "favourite" integer column in each "link" by checking if it's in the favourites of … | |
I'm looking to re-order a table while keeping the table's id column constant. ie, Links has entries in no particular order, whereas LinksPopular is a duplicated table but I want it ordered by category X, while leaving the id category unchanged. That way the first most popular is at id … | |
Nevermind, finally found something, SSI's seem to sum it up perfectly. Now I just need to get my head around these little buggers.. Thanks anyway :) Free for close/delete/whatever you like. | |
Using py2exe I've made an exe file which processes a file then creates a new file which details the errors found in the original file. However, at the moment I have to change the file allocation in the code each time I want to do it on a different file … | |
My internet browsing skills have failed me and I can't seem to find any solution to this. I image it'll be easy for you guys though and I'd be incredibly grateful if you could help me. I'm new to Python so a relatively simple explanation would do me very well, … | |
I'm quite new to Python (and programming past pascal) so I'm looking for a relatively simple-to-understand way to do this. All help is much appreciated. I'm looking for the program to take a variable as if it were just normal code, I'll explain via example. I want the code to … | |
Hey guys, new here. Decided to start learning Python and this community looks like a perfect place to learn with the help of others. A bit of a forum-related problem at the moment though, when the browser is loading "ad.amgdgt.com" it takes about 4 minutes to load each time I … |
The End.