popcornplya
-
Posts
83 -
Joined
-
Last visited
Never
Posts posted by popcornplya
-
-
Thanks man !
-
Not sure if this is the right section for this.... butttttt...
Does anybody know what code editor this is?
-
Helps
in Regex Help
I've done that.. but when I do
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*) /index.php?r=$1 [NC]
it wont work
-
Helps
in Regex Help
I need to rewrite
http://example.com/index.php?r=something
to
in htaccess
sorry if this is the wrong forum but any help?
-
It should work, it's most likely your server.
-
-
Sorry if this is not allowed, if it isn't feel free to delete it or whatever. (I am in no way making any money off of this, just trying to help)
If you need any free help with anything css/xhtml/photoshop related I might be able to help you.
-
Exactly the way you said it.
function somename () { if(this.value=='Search...') this.value=''; }
I doubt that's what you're after, but it's what you asked for.
That's what I was after, thanks.
-
What is the easiest way to put the following in a function?
if(this.value=='Search...') this.value='';
-
I haven't integrated this into Wordpress yet, it's still in normal html. And it's not 100% finished, it still needs a few things that I can't do till I integrate it into Wordpress.
-
Actually, you could center the page. I don't recommend using this technique. As absolute positioning is incorrect to center things!
Enclose all your contents within a div called - "html-center"
<body>
<div id="html-center">
.......... all your body contents
</div>
</body>
In your css:
#html-center {
width: (-specify width-)px; /* like - width: 800px; */
margin: 0 auto;
position: relative;
}
There you go! It'll center;
That will only center it for Firefox, Opera, etc. but not IE
to center in IE just add
text-align:center;
to body then in the #html-center reset it with
text-align:left;
-
Whats the difference between window.alert("lol"); and alert("lol"); and why do they have both of them?
-
And if you want the year to be automated, you can always add a dash of PHP in there that does just that for you:
<cite id="footer">Copyright © <?php date_default_timezone_set('America/Los_Angeles'); echo date('Y'); ?> </cite>
So as the years pass by, you don't have to worry about always managing it manually. You can use the List of Supported Timezones to set your appropriate timezone (here, I just used LA as an example). Without setting your timezone (or TZ environment variable) you will get a strict standards warning that it is unsafe to rely on the system's timezone settings if you have E_STRICT error reporting enabled. Thus, you can debug your script using
error_reporting(E_ALL | E_STRICT);
at the top of your page (for development purposes. Simply comment it out or delete it prior to live server upload [most servers probably won't spit out any errors / warnings for security purposes anyway, but a good habit none the less IMO]).
Thanks, I will add that now. I was using <?php echo date('Y'); ?> before your post.
-
Simply instead of
<div id="footer"> Copyright © 2009</div>
use
<cite id="footer"> Copyright © 2009</cite>
Ok thanks
I'll fix it up as soon as I can.
-
I wonder to upon reinspection? Did you fix it and forget about it?
btw I think you got link spam going on there which search engines might not be all that fond off, you're linking to the same page no less than 6 times (unless I misscount). Not to mention using different words all the time, very misleading.
Could put the copyright notice at the bottom in a <cite></cite>.
Not too sure what you mean about the copyright notice with the cite tag. Can you please explain a little more?
-
images are lacking the alt attribute.
where ?
-
Oh god... I don't know whether you want critiquing on the design or the site in general...
The website looks good, a few tweaks here and there and it would be very good. I used to be a computer technician so I am always cautious of these 'speed up your pc' sites, but your site looks good so I will continue to look around, but I was horrified when your download button linked to the site it did.
I know you have no control over the other site... but it screams 'scam' to me, where the web page is longer than my right arm, with 1000s of testimonials on it. If a frustrated computer user hit your site and was then linked to your affiliate, I doubt you would get a sale.
Anyway, you have a good design at least, maybe you could code your own cleanup tool in .net or something
ILMV
Sorry I've been on a vacation. The book I think is overpriced, but not a scam (I asked the guy if I can get a free copy to use it to help me build my design). But your right, I might make something of my own and use it on this design.
Thanks for your replies.
-
like a charm.....
also what version of php are you using? ive got 5.2.5.
<?php if( 1==1 && 2==2 && 3==3 && 4==4 && 5==5 && 6==6){ echo('hello'); } else{ echo'fuck'; }
I doubt PHP versions has to do with anything, but you never know
-
Just tried it, it works fine
<?php if(1==1 && 2==2 && 3==3 && 4==4) { echo "good"; } ?>
-
coded version
-
OH there we go
Looks great
-
Website is broken
-
-
Sorry, Crayon Violent, next time i'll be more specific. And thanks thorpe, that answers my question.
trying to find online PHP schools
in Miscellaneous
Posted